Manually dogfooded v0.5.0 by launching with FLEETCROWN_WEB_URL pointed
at an intentionally-unresolvable host. The fallback to the bundled
renderer worked — log shows "cloud unreachable (-105: ERR_NAME_NOT_RESOLVED)
... falling back to bundled local renderer" and "loaded bundled local
renderer (cloud-independent mode)" — but then:
Failed to load URL: https://this-host-definitely-does-not-exist.invalid/
with error: ERR_NAME_NOT_RESOLVED
failed to load web shell: Error: ERR_ABORTED (-3) loading
'file:///.../out/renderer/index.html'
[desktop] loaded bundled local renderer (cloud-independent mode) ← second call!
The bundled renderer was loading TWICE because two paths both called
loadBundledRenderer():
1. setImmediate(...).catch on the cloud loadURL promise rejection
2. did-fail-load on the network failure event
Both fire for the same DNS error. The second loadFile() aborted the
first with ERR_ABORTED, polluting the logs and risking torn state.
Fix: did-fail-load is the single source of truth for the swap. The
setImmediate catch just logs the error and lets did-fail-load do the
work. One swap, no race.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The local-first promise: Fleet Runner is functional when the cloud is
down. Before v0.5.0, a Vercel outage or DB quota event (like the one we
hit today) left the desktop app showing a "FleetCrown is offline" data
URL with a retry button — useless. v0.5.0 falls back to the bundled
local renderer instead, which talks to the main process via IPC and
keeps every local capability (dispatch into Zellij, watcher, agent
session inspection, token management) working without the cloud.
Flow:
1. Boot → splash → try cloud web shell (fleetcrown.vercel.app)
2. Cloud unreachable / did-fail-load → load bundled renderer
3. User clicks "Try cloud" in the bundled renderer header
→ probe-cloud (fetch /api/health, 4s timeout)
→ if reachable: switch-to-cloud (loadURL the web shell)
→ if not: stay in local mode, surface the result
New IPC channels (preload bridge updated):
- probe-cloud → boolean (fast reachability check)
- switch-to-cloud → boolean (navigate window back to web shell)
The bundled renderer already had IPC for dispatch/projects/token/poller
(see App.tsx — it was the dev-only renderer until now). v0.5.0 promotes
it from "developer surface" to "primary surface when cloud is down."
Limitation (documented, not blocking): the bundled renderer's UX is
simpler than the cloud web app — no full project cards, no /today, no
/settings. Future v0.6+ work: render those locally too by reading
~/.fleetcrown/events.jsonl + ~/.claude/sessions/*.md directly. The
plumbing for that already exists in home/ and the embedded watcher.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Grab-and-place migration kit so we can move off Neon (which capped our
data transfer earlier today) on ~30 min notice when the quota resets or
we upgrade the plan just long enough to dump.
scripts/db/dump-from-neon.sh
pg_dump + emit a manifest of pg_stat_user_tables row counts. Plain SQL
format (auditable, diff-friendly). Halts the script if SOURCE_DATABASE_URL
is missing.
scripts/db/restore-to-target.sh
psql --single-transaction --set ON_ERROR_STOP=on against the new host.
Refuses to overwrite a target that already has users rows (set
RECREATE_DB=1 to force). After restore, compares pg_stat_user_tables
row counts against the source manifest and halts if any table
mismatches — keeps a botched migration from making it to "flip Vercel."
scripts/db/SETUP_HETZNER.md
Runbook from "open Hetzner account" to "Vercel deployed + smoke passes"
for a CX22 (~€4.5/mo). Covers Postgres 17 install, SSL, ufw, fail2ban,
pg_hba, env swap, smoke. ~30 min end-to-end.
scripts/db/SETUP_ORACLE_FREE.md
Same shape for Oracle Always-Free ARM (4 OCPU / 24 GB / free forever).
Calls out the gotchas: dual firewall (Oracle Security List + iptables),
ARM-specific Postgres package source, idle-reclamation risk.
scripts/db/README.md
6-step end-to-end migration cookbook tying the scripts and runbooks
together. Why pg_dump over Drizzle migrations: data move, not schema
sync. Why keep the Neon dump cold for 30 days post-migration.
Today the toolkit can't actually run end-to-end because Neon's quota is
blocking pg_dump. That'll clear on monthly reset (or with a one-month
plan upgrade just long enough to dump). When it does, the full migration
is a coffee break, not a project.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Two cheap egress reductions before deeper restructuring:
1. /api/control GET response carries `Cache-Control: private, max-age=5`.
Multi-tab users, rapid SWR refetches, and sub-component re-mounts now
serve from the browser's local HTTP cache instead of running the full
query chain on every navigation. Per-user payload so we use `private`
(no shared edge cache). 5s freshness keeps the page feeling live while
absorbing burst traffic.
2. Fleet Runner runtime-state pusher: 30s → 60s. The daemonOffline check
considers >90s without a push as offline, so 60s still leaves a 30s
safety margin while halving heartbeat egress. The daemon still shows
"sync 30s ago" worst case, which is fine.
Context: the production Neon DB hit its data-transfer quota a couple of
hours ago, taking down every DB-backed endpoint (/control, /settings,
/system, sign-in, daemon poller, runtime-state pusher). Local Postgres
keeps working, but the prod outage exposed how chatty the cloud paths
were. These two changes plus the upcoming migration to self-hosted PG
(no egress charge) put us on a healthier baseline.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CRITICAL — v0.4.0 through v0.4.3 shipped the poller (cloud → local
commands) but no pusher (local → cloud heartbeat). Result: /control
correctly received dispatch but the web UI rendered "Local daemon
offline · last seen Xm ago" the whole time, because /api/control's
isRuntimeAvailable() check only flips to true after somebody POSTs to
/api/control/runtime-state within the last 90 seconds. Nobody was.
Added desktop/src/main/pusher.ts:
- Loads ~/.config/fleetcrown/fleet-runner-token (same path as poller).
- POSTs /api/control/runtime-state every 30s with: openTabs from
getZellijTabs(), projects: [], observedAt: Date.now().
- Fires once immediately on start so the "daemon online" indicator
flips within seconds of launch, not after the first 30s tick.
- On 401/403: stops itself (token rejected, nothing to retry).
- Other failures: logged, skipped, retried next tick (network blip,
cloud outage, etc.). Daemon shows "offline" worst-case, no data loss.
Lifecycle wiring in src/main/index.ts:
- startPusher() in whenReady alongside startPoller()
- restartPusher() in save-token IPC + deep-link auth path
- stopPusher() in clear-token IPC + before-quit cleanup
Verification path: launch v0.4.4, ensure token in
~/.config/fleetcrown/fleet-runner-token, watch /control on the web —
the "Local daemon offline" banner should disappear within ~5s and
"sync just now" should appear instead. Then autopilot ("Autonomous"
mode) can be set and dispatched intents will fire end-to-end through
the poller → injectIntoTab → Zellij chain.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CRITICAL — Vercel deploys had been failing silently for hours with:
Error: A Serverless Function has exceeded the unzipped maximum size
of 250 MB.
Every commit since I started bundling more in desktop/ (electron-updater,
@sentry/electron, bundled Zellij ~35 MB, AppImage build outputs ~500 MB)
made it worse, but the root cause was older: Next.js's output:
"standalone" tracer was copying the WHOLE `desktop/` subtree (542 MB —
the entire Electron app + its node_modules + AppImage artifacts) into
every serverless function bundle, even though nothing in the web app
imports from desktop/.
Result: bundle was 627 MB locally (one function ≥250 MB on Vercel) ⇒
deploy step errored ⇒ none of my last ~6 commits actually shipped to
production. Including the /control crash fix (95fb08b), the palette
close fix, and the prompt reordering. Users were still seeing the
broken page.
Fix: next.config.ts outputFileTracingExcludes["*"] now excludes
- ./desktop/** (the Electron subproject — never touched by the web app)
- ./squashfs-root/** (AppImage extraction artifact left from local debug)
Verified locally: standalone bundle 627 MB → 78 MB. Well under the limit.
.gitignore also now excludes squashfs-root/ so the next AppImage extract
doesn't surprise anyone.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Two UX bugs surfaced from real-user testing on /control:
1. Command palette didn't close when expected.
- Escape was handled only via the input's onKeyDown — the moment focus
left the input (mic button, result row click, voice transcription
state), Escape did nothing. Fixed by attaching a window-scoped
keydown listener while open.
- Click-outside used `target === currentTarget` on the outer flex
container. The visible backdrop is a separate sibling element, so
any click that hit the backdrop (i.e., every "click outside the panel"
attempt) had target ≠ currentTarget and the close fired never.
Fixed by switching to a panelRef.current?.contains(target) check.
- sessionStorage key migrated from "cockpit.palette.recent" →
"fleetcrown.palette.recent", with a one-shot read of the legacy key
so existing users don't lose their recents.
2. Control loop primitives ordered backwards — "Hard stop" was first
in the palette, "Onboarding audit" was last. Hard stop is a sendNow
kill switch; surfacing it at the top of search results meant a single
click could ship it accidentally.
New order, safest first → destructive last:
1. Orient (read-only diagnostic)
2. Unblock (diagnostic)
3. Roadmap check (read)
4. Onboarding audit (read)
5. Raise blocker (writes a structured file, escalation)
6. Hard stop (destructive kill switch, LAST)
PROMPT_TEMPLATES array order IS the SSOT for palette ordering; this
is the source-of-truth fix, not a UI sort hack.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v0.4.2 set linux.executableArgs: ["--no-sandbox"] but verification on a
fresh AppImage download showed it STILL crashed at FATAL setuid_sandbox_host.
Inspected the generated AppRun script and confirmed the flag was missing:
electron-builder only injects executableArgs into the .desktop file's
Exec= line, not the AppRun. So OS-menu launches via .desktop worked but
direct execution of the AppImage (double-click, ./binary from a shell,
electron-updater swap) did not.
Fix: a custom afterPack hook (desktop/scripts/afterPack.cjs) wraps the
real Electron binary in a small shell stub that bakes --no-sandbox into
argv before exec'ing the real binary. The AppRun unknowingly invokes the
wrapper, which in turn invokes the real binary with the flag. This is
the pattern Slack, Discord, VSCode, Cursor, and Obsidian all use.
Layout in appOutDir after afterPack:
fleet-runner ← bash wrapper (new, 0755)
fleet-runner-bin ← real Electron binary (renamed from fleet-runner)
Idempotent: skips if -bin already exists, so multi-arch builds don't
double-wrap. Scoped to electronPlatformName === 'linux'.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ControlPanel.tsx had `data!.prompts` and `data!.zellijTabs` on lines 144-145,
non-null assertions that lied to the TS compiler. At runtime, every time
the SWR fetch hadn't resolved yet (cold paint, slow network, post-deploy
client reload) `data` was null and the page crashed before render with:
Cannot read properties of null (reading 'prompts')
The page was shipping a hard error in prod for any visitor whose
useControlData() hook hadn't returned data by the time React tried to
compute cardProps. Every other data-derived value on the page (pageState,
snapshots, liveTabRows, dashboard, attention) was correctly guarded with
`data ? ... : null`; this one slot wasn't.
Fix: `data?.prompts ?? []` / `data?.zellijTabs ?? []`. The cardProps
closure is well-formed with empty arrays. ProjectOperationsView only
invokes the closure when a snapshot is selected — which requires data
to be non-null — so the empty arrays are never actually walked against
a real project, they're just typesafe placeholders for the initial paint.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v0.4.1's app.commandLine.appendSwitch('no-sandbox') ran too late: the
SUID sandbox helper aborts the process at FATAL *before* Electron's
main.ts loads, so any switch we set in code never gets a chance to
take effect. v0.4.1 AppImage still crashed identically to v0.4.0.
Correct fix: linux.executableArgs in electron-builder config — adds
--no-sandbox to the AppRun wrapper script that launches the binary, so
the flag is in argv before chrome-sandbox is invoked.
.deb installs are unaffected (and don't need the flag) — dpkg postinst
chmod 4755's the chrome-sandbox helper at install time, so the SUID
sandbox works the normal way there. AppImage can't run postinst, hence
this asymmetry.
Replaced the misleading in-main.ts switch with a comment explaining the
ordering constraint, so future-me doesn't try the same thing again.
Verification approach: AppImage built by CI will be unpacked and the
AppRun script inspected to confirm --no-sandbox is included.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CRITICAL: Fleet Runner v0.2.0 through v0.4.0 crashed on launch from a
fresh Linux AppImage install with:
FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was
found, but is not configured correctly. Rather than run without
sandboxing I'm aborting now.
The Chromium browser-process sandbox needs chrome-sandbox to have mode
4755 owned by root. AppImage's squashfs mount strips setuid, so the
binary aborts before any of our code runs. This is the same wall every
Electron AppImage hits (Slack, Discord, VSCode, Cursor, Obsidian) — they
all ship --no-sandbox.
Fix: app.commandLine.appendSwitch('no-sandbox') at module load, scoped to
process.platform === 'linux' (mac .dmg / Windows .exe don't have the
SUID-host wrinkle and keep their browser-process sandbox on).
Verified: v0.4.0 AppImage launched cleanly with --no-sandbox CLI flag —
web shell loaded, embedded watcher picked up 22 registered projects from
~/.config/agent-projects.conf, auto-update fired and correctly reported
"no newer version." v0.4.1 with the flag baked in means users no longer
need to know about it.
Anyone on v0.2.0/0.3.0/0.4.0 needs to manually re-download once. From
v0.4.1 onward, electron-updater handles future upgrades without user
action.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Closes the FC↔OC read loop. The subscription mirror (Loop A) writes
FleetCrown subscriptions into OrangeCat as services. This commit adds the
inverse: the dispatch strategist now reads the actor's OrangeCat services
+ products via @orangecat/sdk's .list() (which is already integration-key
authenticated server-side — no OC change required) and surfaces a brief
"Commercial context" section into the Groq prompt.
src/lib/integrations/orangecat-context.ts (new):
- getOrangeCatContext() — fetches services + products in parallel, caches
5 min in-memory, races a 1.5s timeout. Returns null silently when no
ORANGECAT_API_KEY is set. Falls back to stale cache on transient OC
failure rather than blocking dispatch.
- renderOrangeCatContext(ctx) — compact text rendering for the prompt.
Empty when nothing commercial to report (so the strategist proceeds
with FC-only context, unchanged behavior).
src/app/api/control/dispatch/route.ts:
- buildPrompt() gains an orangeCatContext param.
- Call site fetches OC context in parallel with Groq composition.
- Strictly non-fatal — any OC failure swallowed via .catch(() => "").
This is the smallest end-to-end demonstration of bidirectional FC↔OC
integration. When ORANGECAT_API_KEY is set, the agent's auto-injected
prompts can carry "this actor sells N services on OrangeCat (X, Y, Z)"
context, letting Groq prefer revenue-adjacent work when handoff signals
are weak. When the key is absent, behavior is identical to pre-commit.
Followup gaps (not in this commit):
- @orangecat/sdk lacks .get(id) — would need OC's entityCrudHandler to
switch from supabase.auth.getUser() to resolveRequestAuth before the
SDK could expose it. /list works today; /[id] does not.
- Transaction history endpoint not yet wired — would let the strategist
see "you have $X coming in this month, prioritize delivery work."
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- CLAUDE.md: drop the "migration from cockpit name in progress" qualifier on
the Postgres database stack note. The rename completed; tracking it as
in-progress in 2026-06 is noise.
- docs/desktop-app.md: prepend a "Status: SHIPPED through v0.4.0" banner so
future readers understand the doc is the original execution plan kept for
context, and the @cockpit/* package names / cockpit-daemon.sh / 0.1.0
artifact references inside are pre-rebrand historical. Points at the
authoritative current sources (desktop/src/main/index.ts, home/README.md,
marketing-content.ts, mirror-desktop-release.sh).
Both stale items would have led a new reader to think work was still in
flight when it isn't.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Closes the Loop A persistence story. After
syncSubscriptionToOrangeCat() succeeds, the subscription row now stores
the OrangeCat service id back, so the /money page can render a per-row
"OC ✓" badge and future backfill jobs can target only the still-null
rows.
Schema (drizzle migration 0021):
- subscriptions.orangecat_service_id (uuid, nullable). Null = not
mirrored (integration off, sync failed, or row predates the
integration). Apply via `npm run migrate`.
- Partial index on (user_id) WHERE orangecat_service_id IS NULL — the
shape the "what still needs syncing" backfill query will use; the
column is mostly null for now.
orangecat.ts:
- syncSubscriptionToOrangeCat() now writes the back-link after a
successful POST. The DB update is also non-fatal — OrangeCat already
has the truth, and the next /money render still reflects the synced
state once the column is populated.
UI (/money page SubRow):
- New "OC ✓" badge appears next to the subscription name when
orangecatServiceId is present. Hover shows the OrangeCat service id
for cross-system debugging.
SDK bump:
- @orangecat/sdk moved from 0.1.0 → 0.2.0 (file:vendor/). 0.2.0 adds
.list() on every resource, which a future backfill script uses to
enumerate what's already on the OrangeCat side before re-syncing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ZellijLivePanel.tsx was 327 lines, with ~118 of those dedicated to
rendering the live tab rows in two flavors (desktop table at md+,
mobile card stack at smaller widths). Both render the same row data
with the same callbacks; the file's actual orchestration logic
(header, composer, empty states, refresh/repair actions) was buried
beneath the dual rendering.
Moved both renderings to ZellijLiveRows.tsx as a single component
taking rows + highlightTab + focusTab + closeTab + onFocusProject.
The desktop table and mobile cards are still mounted together (Tailwind
toggles via hidden md:block / md:hidden), behavior identical.
ZellijLivePanel.tsx now drops 3 transitive icon imports (Focus,
Terminal-no-wait-still-used-by-empty-state-icon, Trash2) used only by
the row renderings. The isHighlighted helper moved into the rows file
since both views consume it.
ZellijLivePanel.tsx: 327 → 214 lines.
ZellijLiveRows.tsx: 151 lines (new).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
queue-list.tsx was 317 lines. Reading the file to find the
drag-and-drop orchestration meant scrolling past 130+ lines of row
rendering (checkbox + drag handle + position pill + content/edit
textarea + send/remove actions), even though the rows are purely
presentational.
Moved QueueItemRow + the SortableQueueItem dnd-kit wrapper + the
RowProps type to queue-item-row.tsx. Behavior is identical — same JSX,
same drag/edit/select interactions, same field-sizing on the edit
textarea. queue-list.tsx drops 9 transitive imports (useSortable, CSS,
GripVertical, Pencil, Send, X, CheckSquare, Square, cn) that were
only used by the row.
queue-list.tsx: 317 → 174 lines.
queue-item-row.tsx: 163 lines (new).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
A real product has a footer with legal links. Adding them.
New surface:
- /privacy — what we collect (account, agent tokens, project records,
minimal ops logs) and what we don't (no analytics, no tracking, no
data sale). Plain-English honest, names the third parties (Vercel,
GitHub, Neon), explains user rights.
- /terms — pre-incorporation framing, acceptable use, no warranty,
security disclosure channel.
- /license — source-available / personal-use friendly with explicit
carve-outs for commercial redistribution. Notes the upstream OSS
licenses for bundled deps (Electron, Zellij, etc.).
- /docs/quickstart — 7-step path from "saw the site" to "first agent
dispatched." Honest about Gatekeeper / SmartScreen warnings, the one
required agent CLI install, and the projects config.
Plumbing:
- PublicFooter component, three groups (Product / Legal / Source), v0.4.0
badge. Rendered by PublicSurface so every public marketing page gets it
automatically — no per-page opt-in.
- Existing ui-public-footer class wired up (was defined in globals.css,
unused until now).
This is web-only — no desktop release needed. Vercel auto-deploys on push.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ProjectGrid.tsx was 330 lines, with a 130-line inner ProjectCard
component defined above the main ProjectGrid render. Reading the file
meant scrolling past the entire tile layout to find the grid's actual
search/filter/sort logic.
Moved the tile to ProjectGridCard.tsx as a self-contained component
with its own ProjectGridRow type. Behavior is identical — same JSX,
same styling, same per-tile imports. The outer ProjectGrid now imports
ProjectGridCard + the type, drops 7 transitive icon/helper imports that
were only used by the tile (ArrowRight, GitBranch, Globe,
IvyDispatchButton, MaturityBar, StatusBadge, HealthBadge,
getProjectLinks, RESERVED, buildProjectIvyPrompt).
Renamed inside the new file from "ProjectCard" → "ProjectGridCard" to
distinguish from src/components/control/ProjectCard.tsx (different
component, different folder). The type "Project" was likewise renamed
to "ProjectGridRow" to make the source-of-truth shape (rows from
getProjects in db/queries/projects) explicit.
ProjectGrid.tsx: 330 → 176 lines.
ProjectGridCard.tsx: 170 lines (new).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ControlPanel.tsx was 405 lines, with ~45 of those dedicated to building
the per-project props bag consumed by <ProjectCard /> — pure callback-
wrapping noise (try/catch around three async ops, plus mechanical prop
shape) that obscured the page's actual render flow.
Moved the factory to control-panel-card-props.ts as a plain function
`buildCardProps(deps)(project)`. Behavior is identical:
- Same closure semantics (a fresh factory per render, same as before).
- Same try/catch around inject/runWithBrain/runCustomPrompt (the
comment about why both setError AND throw are needed is preserved —
mobile dogfood found the global banner was off-screen, so the inline
per-card error in useProjectCardActions is the one users see).
- The 6000ms toast clear is now TOAST_LONG_MS (from the previous
timings constants commit — same value, named intent).
ControlPanel.tsx: 405 → 376 lines. Net total up slightly because the
new file's type definitions are explicit, but the concern separation
is the win: ControlPanel's render flow now reads as state → derived →
effects → JSX without the callback-wiring detour.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Two unrelated cleanups bundled because they're both one-line drift fixes:
1. desktop-release.yml: bump actions/checkout, actions/setup-node, and
actions/upload-artifact from v4 → v6. Silences the Node.js 20
deprecation warning that's been showing on every build, ahead of
GitHub forcing Node 24 on 2026-06-16. Other workflows (audit.yml,
ci.yml) were already on v6 — desktop-release was the holdout.
2. marketing-content.ts: revert Intel-mac references that accidentally
landed in 1e96998. The mac binary is still arm64-only — pointing
users at a Fleet-Runner-mac-x64.dmg URL that doesn't exist would
404 in their faces. Brought back in sync with what ships.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
First real cross-product call from FleetCrown into OrangeCat. Whenever a
FleetCrown user adds a subscription on /money, the same record is
mirrored into OrangeCat as a `service` owned by the FleetCrown group
actor. Mao now sees FleetCrown's monthly burn inside the OrangeCat
ledger — the bitbaum studio narrative gets its first real data point.
- Adds @orangecat/sdk@0.1.0 as a file:vendor/ dep
(vendor/orangecat-sdk-0.1.0.tgz committed; mirrors npm-install
semantics for dev + Vercel until the SDK is published).
- src/lib/integrations/orangecat.ts: singleton client, no-ops when
ORANGECAT_API_KEY is unset. syncSubscriptionToOrangeCat() is
fire-and-forget — never throws, never blocks the subscription POST.
Stable Idempotency-Key (`fleetcrown_sub_<id>`) so retries dedupe
cleanly when server-side dedup lands.
- src/db/queries/money.ts: hook fires after the DB insert returns.
Whether the OC sync succeeds or fails is irrelevant to the user
response — the local subscription is already persisted.
- .env.example: documents ORANGECAT_API_KEY + ORANGECAT_API_BASE.
Reliability defaults baked in by the SDK: 20s timeout, 3 exp-backoff
retries on network / 5xx / 429 honouring Retry-After, User-Agent
identifying FleetCrown, AbortSignal-clean.
Failure modes are non-fatal and logged with enough context for backfill:
- ORANGECAT_API_KEY unset → silent no-op (most dev envs today)
- OrangeCat returns OrangeCatError → console.warn with code+status,
subscription still saved locally
- Network error → SDK retries internally, then console.warn
Follow-ups (each its own commit, all post-this-spike):
- schema: add subscriptions.orangecat_service_id column so the link
persists and the UI can render a "Synced ✓" badge
- once /api/v1 exposes GET via integration-key auth, run a backfill
job for existing subscriptions
- when OrangeCat publishes the SDK to npm, replace the vendor/ tarball
with a normal version range
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The v0.3.0 mirror caught a real reliability gap: the draft release on
maonakamoto/fleetcrown only had Linux assets, even though all three matrix
jobs reported success. Likely a race in electron-builder's GH provider
when concurrent matrix jobs publish to the same draft.
Fix: read from the workflow run's artifacts instead. Each matrix job runs
upload-artifact unconditionally with everything it built, so the workflow
artifacts always reflect the complete set — no race, no partial draft.
- Resolves the workflow run ID automatically (latest successful run on the
fleet-runner-v<version> tag ref) or accepts an explicit run ID arg.
- Flattens the per-OS artifact subdirectories before upload.
- Asserts ≥ 5 assets before publishing (sanity floor — partial uploads
fail loudly instead of silently mirroring a broken release).
The draft-release path is no longer used and the cleanup hint at the end
now warns the draft is "likely incomplete."
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Three small cleanups bundled as one commit.
1. New src/lib/constants/timings.ts — SSOT for UX-intent setTimeout
durations. Previously sites scattered 300/1200/1500/2000/3000/4000/
6000 ms for the same intents (toast clears, copy feedback, modal
auto-close, search debounce) with sibling files disagreeing on the
right number. Seven named constants now describe intent, not
duration:
SEARCH_DEBOUNCE_MS = 300
MODAL_AUTO_CLOSE_MS = 1200
FEEDBACK_SHORT_MS = 1500 ("Sent", quick checkmark)
FEEDBACK_MEDIUM_MS = 2000 ("Copied", saved icon)
TOAST_SHORT_MS = 3000 (single-line informational)
TOAST_MEDIUM_MS = 4000 (errors needing read time)
TOAST_LONG_MS = 6000 (verbose multi-line commit output)
No behavior change — each call site picks the constant that matches
its existing value. 19 files routed through the new constants.
2. src/app/api/ivy/route.ts: the lone console.log in the codebase
("[ivy] falling back to Groq") promoted to console.warn — it's a
non-error operational signal worth surfacing in Vercel logs at a
higher level than log/info.
3. Already shipped in deca859 by accident-merge of staged deletions:
src/components/shell/PlaceholderView.tsx and ThemeToggle.tsx (both
confirmed zero importers).
Skipped intentionally:
- src/app/api/agent/launch/route.ts (3000ms retry interval) and
src/app/beacon/live/BeaconLiveClient.tsx (2000ms SSE reconnect):
different intent (system backoff, not UX feedback). Leaving inline.
- src/components/control/ZellijLivePanel.tsx 700ms post-action refresh
buffers: only used in one file, sub-second propagation guard, not
the same intent as FEEDBACK_*_MS. Leaving inline.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Wires electron-updater so Fleet Runner checks for new releases on launch
and downloads them in the background. Users on v0.3.0+ never have to
manually re-download — the next-launch upgrade prompt takes care of it.
Implementation:
- Adds electron-updater@^6.8.3 to desktop deps.
- main.ts: setFeedURL points at maonakamoto/fleetcrown-releases (the
canonical public host) regardless of where electron-builder publishes
the build. This decouples the build pipeline's draft target from the
user-visible update channel — the mirror script in
scripts/mirror-desktop-release.sh reconciles them.
- checkForUpdatesAndNotify() fires once at boot, disabled in dev to avoid
interfering with the local Electron cycle.
- Listener on 'update-downloaded' surfaces an OS notification "Update
downloaded — restart Fleet Runner to apply it." The actual install is
staged automatically via autoInstallOnAppQuit.
Caveat: existing v0.2.0 users still need one manual download to v0.3.0
(their binaries don't know about the new feed URL). From v0.3.0 onward,
every subsequent release auto-propagates.
Marketing copy (setup step 02) updated to mention the auto-update flow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The desktop-release workflow's electron-builder publish lands as a DRAFT
release on maonakamoto/fleetcrown tagged v<version> (no fleet-runner-
prefix — that's an electron-builder limitation). The canonical public
download host is maonakamoto/fleetcrown-releases tagged fleet-runner-v*.
scripts/mirror-desktop-release.sh:
- Downloads the draft assets from fleetcrown by their v<version> tag.
- Creates the fleet-runner-v<version> release on fleetcrown-releases (or
uploads missing assets if it already exists — idempotent).
- Prints the cleanup command for the now-redundant draft.
Workflow comment updated to point at the script and TODO the cross-repo
PAT path (RELEASES_REPO_TOKEN) that would let electron-builder publish
directly to fleetcrown-releases and eliminate the mirror step entirely.
No runtime changes — purely the post-release tooling.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Fleet Runner v0.2.0 GH Actions build produced working binaries for Linux,
macOS (Apple Silicon), and Windows (x64). All three platforms now flip from
status: "comingSoon" → status: "ready" with real /releases/latest/ URLs on
maonakamoto/fleetcrown-releases.
- Marketing URLs use /releases/latest/download/... pattern → future version
bumps don't require a marketing-content edit per release.
- macOS panel: honest Gatekeeper bypass instructions (we're not signed yet).
- Windows panel: honest SmartScreen "Run anyway" instructions.
- Linux command updated for the new artifactName (Fleet-Runner-linux-*.AppImage).
- Prerequisites: Zellij flipped from "required" to "bundled — no install
needed." (v0.2.0 ships Zellij inside the AppImage / .dmg / .deb / .exe.)
- Setup step 03 updated: no more "make sure Zellij is installed" — only
the agent CLI is on the user.
Cleanup:
- ComingSoonPlatformPanel + its Link / coming-soon types removed — every
platform is ready, no dead branches.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
electron-builder's macOS target requires icon.png ≥ 512x512; the procedural
generator was emitting 256x256, blocking the macos-latest job in the v0.2.0
release with:
⨯ image desktop/resources/icon.png must be at least 512x512
Bumped to 1024x1024 (retina-ready) — well above the minimum and macOS's
iconset generation downscales automatically. Linux/Windows already accepted
256 so this is purely additive there.
Unblocks the macOS build leg of the fleet-runner-v0.2.0 release.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The single source of truth for nav items is @/config/navigation, but 13
files across pages and cards still hardcoded the bare path strings
(href="/control", "/goals", "/events", "/system", etc.). If a route URL
ever changed (e.g. /memory → /knowledge), this required a grep-and-
replace across the codebase instead of a single edit in one config.
Changes
- src/config/navigation.ts: export the previously-internal NAV record
(typed via `satisfies Record<string, NavItem>` so callers still get
precise types per-key). Sidebar sections + NAV_ITEMS + MOBILE_NAV_ITEMS
continue consuming the same object — no duplication added.
- 13 files swap hardcoded href strings for NAV.<key>.href:
components/today/RecentRunsCard.tsx (×3 /control)
components/today/GoalsDueCard.tsx (/goals)
components/today/HabitsCard.tsx (/habits)
components/today/EventsDueCard.tsx (/events)
components/today/StuckGoalsCard.tsx (/goals)
components/today/SummaryBar.tsx (×6: /goals×2, /events, /control×3)
components/system/MemorySummaryCard.tsx (/memory)
components/shell/AppFooter.tsx (/system)
components/shell/sidebar/SidebarFooter.tsx (/settings)
components/projects/ProjectDetailHeader.tsx (/control)
components/projects/ProjectPromptsTab.tsx (/prompts)
app/beacon/live/BeaconLiveClient.tsx (/control)
app/(app)/today/page.tsx (/control)
Audit afterward: grep for hardcoded nav hrefs in src/ returns zero hits
outside config/. tsc + eslint clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The desktop subproject's package-lock.json was in .gitignore, so the
desktop-release workflow's strict `npm ci` had no lockfile to read and
failed with EUSAGE.
- Remove `desktop/package-lock.json` from .gitignore — workspace lockfiles
belong in version control for reproducible builds.
- Commit the generated lockfile.
- Add desktop/.npmrc with `legacy-peer-deps=true`. electron-vite@2.3.0
declares peer vite ^4||^5 but the project intentionally runs on vite@6.
Locking the flag at the project level keeps both local `npm ci` and the
workflow's `npm ci` happy without modifying every install call site.
Unblocks fleet-runner-v0.2.0 release build (second failure mode after the
root lockfile fix in 01d68b0).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Three additive mobile-UX fixes flagged in product-expert dogfood —
nothing existing changes, no rewrites.
1. Top bar shows the active route label on the left at md:hidden widths
(resolved via NAV_ITEMS + isCurrentPath — same source the bottom nav
uses), giving phone users a "where am I?" cue without relying on the
page-level h1 that scrolls away. The full-width search button now
collapses to icon-only on mobile so the title has room.
2. The Ivy button in the bottom nav was a literal 🌿 emoji; replaced
with Lucide Sparkles for consistent rendering across iOS/Pixel/
Samsung/etc. and visual coherence with the rest of the icon system.
3. Sign-out lived only in the desktop sidebar (.ui-sidebar hidden
md:flex), so phone users had no in-app exit. Added a Sign out row
at the bottom of the "More" sheet using the same next-auth signOut
+ ROUTES.SIGN_IN pattern the sidebar uses.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The cockpit→fleetcrown rename in e30c842 renamed packages/agent to
@fleetcrown/agent but the root lockfile still recorded it under the old
@cockpit/agent name, leaving the workspace entry missing entirely. Vercel
deploys masked this (they run `npm install`, which auto-heals the lockfile);
the desktop-release workflow uses strict `npm ci`, which surfaces it as
npm error Missing: @fleetcrown/agent@0.1.0 from lock file
Unblocks fleet-runner-v0.2.0 release build. No source/runtime changes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collapses the new-customer install path from "download → install Zellij →
install agent CLI → copy token → paste in app" into "download → click
Open in Fleet Runner". Bumps Fleet Runner to v0.2.0.
Desktop (Fleet Runner v0.2.0)
- desktop/scripts/download-zellij.mjs (new): prebuild fetches the pinned
Zellij binary (v0.41.2) into desktop/resources/bin/ for the target
platform; electron-builder packs it into the AppImage / .deb / .dmg.
Idempotent — skips if the file is already present; FORCE=1 re-downloads.
Handles linux-x64/arm64, darwin-x64/arm64; PRs add more.
- desktop/src/main/index.ts: bundledBinDir() prepends the bundled binary
dir to process.env.PATH before any home/ or zellij call resolves, so
every existing exec("zellij ...") picks the bundled binary first with
the user's $PATH as fallback. Zero call-site changes.
- desktop/src/main/index.ts: fleetcrown:// protocol handler (single-
instance lock, mac open-url event, Linux/Win argv scan, cold-start
buffering). On a deep-link click, the token in ?token=ck_... is saved
via the same path as manual paste and the poller restarts immediately.
- desktop/package.json: version 0.1.0 → 0.2.0; prebuild now also runs
bundle:zellij so dist:linux/mac/win all ship the binary.
Web
- src/components/settings/AgentTokenSettings.tsx: "Open in Fleet Runner"
button next to the freshly-revealed token, hrefed to
fleetcrown://auth?token=<token>. Falls back gracefully if Fleet Runner
isn't installed or the protocol isn't registered.
- src/components/public/DesktopDownload.tsx: CopyableCommand wraps the
CLI command shown after download with a Copy button (Check icon for
2s on success). Clipboard API failures are silent — the code stays
selectable.
- src/app/globals.css: ui-public-download-command-row + -copy classes
to keep the SoC of the public-download surface intact.
- src/config/marketing-content.ts: install copy rewritten around the
new one-touch story (Linux command uses ~/Downloads/Fleet.Runner-*
wildcard; Claude Code becomes required since shipped agents don't ship
with a bundled CLI; prerequisites prose tightened).
.gitignore: excludes desktop/resources/bin/ — the binary is fetched at
build time, not source-controlled (10MB+ per platform).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ui-control-operations-header was @apply hidden md:flex …, which hid the
"page freshness timestamp + New project" row entirely below 768px. Mobile
users on /control had no top-of-page affordance to create a project.
Removed the hidden md:flex prefix; the class already declares
flex-col gap-4 … sm:flex-row sm:items-center sm:justify-between, so the
row now stacks correctly on phone and reverts to the existing two-column
desktop layout at sm+ widths.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Unanchored `desktop/` in .vercelignore matched every `desktop/` directory
at every depth, including the new `src/components/desktop/` web bridge
(FleetRunnerAutoMint, FleetRunnerStatusPill, types). Build failed with
"Module not found: Can't resolve '@/components/desktop/...'".
Leading slash anchors the pattern to repo root so only the top-level
desktop/ Electron project is excluded.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds a command poller to the Fleet Runner main process that long-polls
/api/control/commands, executes 'inject' commands via the same
injectIntoTab primitive scripts/fleetcrown-daemon.sh uses, and PATCHes
each row done. Atomic claim (FOR UPDATE SKIP LOCKED) means Fleet Runner
and the bash daemon can run in parallel without collisions.
Desktop
- desktop/src/main/poller.ts — long-poll loop, status state machine
(idle/connecting/connected/error), backoff, token-rejected detection,
pure formatTrayTooltip helper.
- desktop/src/main/index.ts — wires the poller into the tray tooltip,
broadcasts status to all renderers, restarts on save-token, stops
cleanly on before-quit, adds clear-token + get-poller-status IPC.
- desktop/src/preload/index.ts — exposes clearToken, getPollerStatus,
onPollerStatus on window.fleetRunner.
Web (renders inside web-shell mode; null in normal browsers)
- src/components/desktop/FleetRunnerAutoMint.tsx — when window.fleetRunner
is present, mints a "Fleet Runner (auto)" agent token via the same
NextAuth cookie session and persists it via IPC, restarting the poller.
- src/components/desktop/FleetRunnerStatusPill.tsx — top-bar chip
subscribed to live poller status, with detailed tooltip.
- src/components/desktop/types.ts — single Window["fleetRunner"]
declaration shared by both components.
- AppShell + AppTopBar — mount points.
Other command types (focus_tab, launch_agent, switch_agent,
repair_helper, auto_continue) report a clear "not yet supported" error
so they get cleared from the queue instead of jamming it — full
coverage stays with scripts/fleetcrown-daemon.sh until a follow-up.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Desktop:
- Fleet Runner ships in web-shell mode by default — the AppImage loads
https://fleetcrown.vercel.app (the same React tree the browser serves) so
desktop and web stay at parity from one codebase. FLEETCROWN_WEB_URL overrides
for previews/dev; `=local` disables web-shell for IPC dev work.
- Stable artifact naming via `artifactName: Fleet-Runner-${os}-${arch}.${ext}`
so /releases/latest/download permalinks work; package.json publish target
corrected from "cockpit" → "fleetcrown".
CI:
- New desktop-release.yml workflow: build matrix on macos-latest, windows-latest,
ubuntu-latest fires on fleet-runner-v* tag push. Each runner produces signed
installers via electron-builder --publish always and uploads to a GitHub
Release. workflow_dispatch with dry_run=true builds-only for pipeline tests.
Download UX:
- Page redesigned for non-technical visitors: hero → web vs desktop comparison
→ platform-aware CTA → 3-step "what happens next" → plain-language prereqs
with required/optional badges → developer drawer (collapsed).
- mac/Windows surfaces no longer point at the repo as a "download" — they show
a Coming Soon panel with a release-feed subscription and an honest "Use the
web app instead" escape hatch. Build-from-source demoted to a dev drawer.
- ~30 new ui-public-download-* semantic classes for the new patterns; design
guard remains clean.
Navigation:
- /download added to the sidebar Site section so logged-in users have an in-app
entry point to the desktop app.
- Homepage redirect dropped for signed-in users (onboarding flow preserved);
hero + footer CTAs now surface "Open FleetCrown →" when authenticated.
Marketing copy:
- Roadmap NOW phase reflects the desktop ship (web-shell, embedded watcher,
multi-OS pipeline); NEXT phase reframed to "Distribution and auto-update"
with concrete remaining work (signed mac/Win binaries publicly shipping,
auto-update, native package channels, IPC bridge polish).
- Investors "what we have built" copy updated to mention the desktop app + CI.
Pre-existing fixes folded in:
- Control surface: AttentionBar deduplicates the "Needs attention" reason chip;
control-presenter labels the session-with-mtime-but-no-readiness case as Idle.
- Scripts: cockpit → fleetcrown rename sweep across beacon/install/deploy.
- /api/system/daemon route updates.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
vercel --prod from CLI ignores .gitignore for paths it doesn't know
about, so the 1.1GB desktop/ tree (AppImage + .deb + unpacked Electron)
was being uploaded and hitting Vercel's 100MB file-size limit.
Excludes desktop/, .local-toolchain/, .python-vendor/, backups/, and the
usual build/cache dirs. .git/ + node_modules/ + .next/ are listed
explicitly so CLI deploys behave identically to git-triggered ones.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Closes the loop on the github username rename. Replaces every
g-but → maonakamoto reference in:
- desktop/package.json (electron-updater publish.owner — drives auto-update)
- desktop/README.md, src/config/marketing-content.ts (clone/release URLs)
- scripts/install-fleetcrown-{app,daemon,beacon-window}.sh (systemd Documentation=)
- scripts/wait-for-vercel.sh (example output in code comment)
- src/app/api/project/bootstrap/route.ts (default github user fallback)
- legal/IP_ASSIGNMENT_MEMO.md (repository location only — natural-person
identification preserved until bitbaum AG / FleetCrown GmbH incorporate)
Local + global git config (user.name, user.email) and the origin remote
URL already updated outside the tree. GitHub auto-redirects the old URLs
but flipping them eliminates the leak and matches the pseudonymous-founder
direction.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Architecture decision doc proposing Fleet Runner v2 own the agent PTY
directly (node-pty + xterm.js) instead of injecting into zellij. Fixes
both the onboarding wall (zellij + named tabs + agent CLI as prereqs
for any value) and the recurring zellij WouldBlock panic on large
writes. Extends docs/desktop-app.md; doesn't supersede it — proposes
a parallel desktop-7 track shippable alongside packaging work.
Flips real-name JSDoc examples in initials.ts and Avatar.tsx to
"Mao Nakamoto" to match the pseudonymous-founder direction. Legal
docs intentionally untouched — they need a natural person until a
contracting entity exists.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
User walkthrough of /control on prod surfaced three issues:
1. Same value (dashboard.waitingCount) was labeled "waiting" in the page
header and "ready" in the chip strip below — one number, two labels,
reads as broken arithmetic ("2 waiting" vs "1 needs you · 0 working ·
2 ready · 1 open"). Header tags are now dropped; ControlFleetStatus
owns the count display end-to-end with reconciled vocabulary.
2. DaemonStatusBanner showed the "Install Grok/Claude/Cursor/Gemini/Codex"
one-click installer buttons in the cloud-+-daemon-offline state. The
buttons POST to /api/agent/install-cli which queues a command for the
daemon to pick up — with the daemon down and no local daemon reachable
from cloud, the click silently no-ops and the helper text ("When your
Local Agent Helper is running…") directly contradicts the banner above
it. Now suppressed in that state; still rendered in the never-seen
setup flow and on local runs.
3. The desktop Workspaces panel was always-open and rendered the same
project set as the Projects grid above it whenever the daemon was
offline (cloud cached state). Two list layouts of the same fleet read
as duplication. Now wrapped in a <details> that defaults closed when
daemon offline / never-seen and open when live — quick send-to-any-tab
stays one click away when it's useful, doesn't shout when it isn't.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Carried over Grok's in-progress rebrand of user-visible copy: CONTRIBUTING,
SECURITY, all content/thoughts/* essays, whitepaper, IP assignment memo
(also correcting fleetwave GmbH → fleetcrown GmbH per the earlier user
correction), agent-cli-registry-spec, and three src/ comment/identifier
spots (control route, intent panel doc, refresh-event handler name). No
behavior changes — purely copy + comments. Repository directory remains
"cockpit" for git-history continuity per the legal memo's clarification.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Embedded watcher gains an optional onIdle subscriber; the desktop main
process passes a callback that fires an OS notification (with a health
badge prefix and the handoff "done" line) every time a dispatched agent
writes its handoff. Clicking the notification surfaces the main window.
This closes the fire-and-walk-away loop: dispatch an intent, switch
context, get pinged when it lands.
Tray + window icon: replaces the placeholder nativeImage.createEmpty()
with the FleetCrown control-window mark, pre-rendered to PNG by a small
pure-Node generator (scripts/generate-tray-icon.mjs — wired into
prebuild + dev). 22px tray, 44px @2x, 256px window/builder icon. Icons
checked in under desktop/resources/ with a targeted gitignore exception
so packaged binaries pick them up without a build step. electron-builder
config gains buildResources + extraResources so the PNGs ship with
AppImage / deb / dmg / nsis.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Captures post-lock-in evaluation: shadefleet/shadyfleet (sanctioned-tanker
"shadow fleet" association inverts "nothing hidden" trust principle),
piracyfleet (theft/illegality), and especially fleetclown (inverts crown
authority into joke, destroys serious-infrastructure tone). FleetCrown
remains locked; if domain pressure rises, buy fleetcrown.com rather than
swap to any available variant that violates the criteria.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Removed erroneous separate 'FleetWave' project/relations from DB.
- Updated all code, consts, docs, banners, CLAs, legal, READMEs to correctly present FleetCrown itself as the customer of OrangeCat (both as projects/profiles on the platform).
- Integration remains: shared wallet, customer stakeholder edge, live on orangecat.ch.
- Sessions updated.
No separate 'fleetwave' entity; the customer use case is FleetCrown.
- Central config for the real customer FleetWave + OrangeCat/FleetCrown customer model (shared wallet, projects, relations).
- Money page now uses the const (no dup).
- Enables easy surfacing of the integration anywhere.
Part of building complete product for FleetWave customer.
- FleetCrown is customer of OrangeCat (stakeholder 'customer' edge, shared wallet).
- Both + FleetWave as projects/profiles on orangecat.ch for Mao Nakamoto.
- Added integration banner in /money page (visible UX for the customer relationship).
- Updated CLAUDE.md, README, legal/IP memo, marketing-content to reflect current names, FleetWave customer, rebrand.
- Legacy 'cockpit' paths kept per branding-design for transition.
- Data updated live in DB (rename, wallets, relations, new FleetWave project).
- Makes the full stack work for real customer FleetWave; scales to others.
Changes in both cockpit and orangecat for good UX and functioning product.
- Shows clear badges for "watcher embedded" and "real event log" (the new capabilities).
- Collapsible raw for debug.
- Makes the local app surface its functioning integration proudly and clearly.
- Added structured lastDispatch state.
- Dispatch result now renders as a proper .runner-card with:
- Clear INJECTED / MANUAL PASTE NEEDED badge
- "PROMPT SENT TO AGENT" block showing the actual renderedPrompt (the important thing the user/agent sees)
- Tiny meta with project/intent/runId
- This turns the local app interaction from "JSON blob appears" into a usable, clear experience.
- Cleaned the last couple text-[10px] in the new card to use --text-micro var.
Website side already has the Download nav entry + explicit future promises.
Continuing the "impeccable website + functioning web + local apps" directive.