Two defects hit one Skif dispatch on 2026-09-25, and either alone loses work.
1. The dispatch was NACKed "claude cannot generate because its usage limit
is exhausted" 14s in, while Claude was visibly working on the brief. The
capacity check scanned the WHOLE PTY buffer with a topic-word regex
("rate limit", "credit", "context window"), so the echoed prompt, the boot
banner or a file the agent printed read as a quota wall. Now it reads only
what the CLI printed after the injection, ignores lines that are just the
prompt echoed back, and for Claude defers to its own session status: a
session still generating has not hit a wall.
2. Two minutes later the box runner restarted and killed every session. The
post-deploy drain waited for agent processes to EXIT, and interactive CLIs
never exit, so it always ran to its 30-minute cap and then killed whatever
had started most recently. It now counts agents that are WORKING: an idle
Claude does not hold the restart; generating, waiting mid-task, or any
status it cannot read does.
Fleet Runner 0.8.32 (desktop/ changed, so it ships as a release).
Tests: terminal-run-view (echo vs real wall, mutation-checked) and a new
test-drain-and-restart-runner.sh (18 checks, four mutations each caught).
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
All of desktop's advisories sit in desktop/package-lock.json with no direct
dependency to bump, so Dependabot never proposes a fix. desktop is NOT part of
the pnpm workspace (that covers packages/* and bridge), so it takes npm
`overrides` in its own package.json.
Five pins, each the advisory's own first_patched_version and bounded to one
major (^0.8.15 on @xmldom/xmldom stays inside 0.8.x). nanoid is not in GitHub's
alert list -- `npm audit` finds it locally -- so the dashboard count understates
the exposure. `npm audit`: 0 vulnerabilities.
The bump to 0.8.31 is required, not cosmetic: desktop code reaches a machine
only when a fleet-runner-v* tag is minted from this version, so pins without a
bump would stay on the server and on no machine. desktop-release-drift.ts
enforces that and the matching FLEET_RUNNER_RELEASES entry.
Redo of loki#803, closed 2026-09-23 as a stale draft. Main moved to 0.8.30 in
the meantime without these pins.
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* chore(deps): bump the minor-and-patch group across 1 directory with 3 updates
Bumps the minor-and-patch group with 3 updates in the /desktop directory: [@sentry/electron](https://github.com/getsentry/sentry-electron), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).
Updates `@sentry/electron` from 7.17.0 to 7.19.0
- [Release notes](https://github.com/getsentry/sentry-electron/releases)
- [Changelog](https://github.com/getsentry/sentry-electron/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-electron/compare/7.17.0...7.19.0)
Updates `@types/node` from 26.4.0 to 26.6.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
Updates `vite` from 8.2.2 to 8.3.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.3.0/packages/vite)
---
updated-dependencies:
- dependency-name: "@sentry/electron"
dependency-version: 7.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: "@types/node"
dependency-version: 26.5.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor-and-patch
- dependency-name: vite
dependency-version: 8.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor-and-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore(desktop): land three stranded dependency bumps as one release
Takes #713 (@sentry/electron 7.17.0 -> 7.19.0, vite 8.2.2 -> 8.3.0) and #619
(js-yaml 4.2.0 -> 4.3.2, transitive) and ships them together as
fleet-runner-v0.8.30.
WHY THEY WERE STUCK, and why the gate was right
Each was red on desktop-release-drift, which refuses a change that reaches a
machine unless `desktop/package.json` is ahead of the last released tag and
`FLEET_RUNNER_RELEASES` has the matching entry. Desktop code does not ship
itself: without the bump, a merged change is live nowhere and `git log` looks
healthy anyway. Dependabot cannot know to do that, so every desktop bump it
opens is born red.
That is the gate working. The failure was upstream of it: the auto-merge sweep
had deadlocked (fixed in fleet#123 today), so nothing surfaced them either.
#619 had sat since 2026-09-11, #713 since 09-14.
ONE RELEASE, NOT THREE
Merging the PRs separately would mint three runner releases for what is a
single maintenance update, and every operator would see three identical-looking
updates. Combined here so the version moves once.
js-yaml is a lockfile-only (transitive) bump, so it is spliced into the merged
lockfile rather than reformatting the file wholesale.
NOT INCLUDED: #524 (electron 43.4.1 -> 44.3.0). A major Electron bump replaces
the Chromium and Node inside every installed runner, and a green build proves
it packages, not that it runs. That deserves its own change with a real smoke
test, not a ride-along in a maintenance commit. Closing it; dependabot will
re-raise at a current version (44.4.3 today).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(runs): a fast task closes its run — delivery is stamped when the prompt lands, not when the runner acks
The e2e health probe did everything right and its run never closed. The
agent was injected at 05:12:55, wrote `status: ready` at 05:13:06, and the
runner acked at 05:13:11 — because between injecting and acking it spends up
to eight seconds (plus retries) checking that the agent is actually
generating. `deliveredAt` was stamped at the ack, and closeRunFromSession
requires the handoff to POST-DATE delivery, so the run's own handoff read as
stale. It sat `waiting` until the hourly reaper called it a timeout.
Every task shorter than that check hits this, which is every health probe and
most one-line fixes — the runs most likely to be used as proof that the loop
works.
The runner now records the moment of `injectPty()` and reports it in the ack;
the server prefers it (`deliveryStampFor`) within bounds that keep the floor
honest: never before the run was created (60s of clock slack), never in the
future, otherwise the ack time as before. Tested on the verbatim timings above.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
* chore(desktop): ship the delivery-stamp fix as Fleet Runner 0.8.25
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
desktop/ changed in the rename, and the drift gate refuses a desktop change
that does not carry a new version — merging one leaves it on the server and on
no machine. Bumped, with the /releases entry that the same gate requires.
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The product, its assistant, the repo, the host and every unit on the box now
share one name. 638 files, ~3,000 mentions: UI copy, config, env keys
(FLEETCROWN_* -> LOKI_*), systemd units (fleetcrown-* -> loki-*), docs,
articles, the deploy workflow other repos reuse, and nine file names.
- Three article slugs carried the old name and had been shared; permanent
redirects keep those links alive (next.config.ts).
- test-no-retired-name.sh now also forbids the old product name across the
whole repo, so the rename cannot creep back through templates and examples.
- ASSISTANT_STACK collapses the product and the assistant into one entry,
because they are now the same name.
Infra was cut over ahead of this merge: /opt/loki, loki-* units, the `loki`
database and role, loki.orangecat.ch (old host 308s to it; /api, /widget,
/embed keep proxying), GitHub repos bitbaum/loki and bitbaum/loki-releases.
The Resend sending domain stays fleetcrown.orangecat.ch until the new domain
is verified in DNS.
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
* feat(feedback): say WHY the agent is quiet, not just that it is
George dispatched a fix at 15:45:29. The first output arrived at 15:58:43 —
thirteen minutes later, and only because he opened a terminal by hand and
found the agent sitting at a Claude sign-in. The row said "the agent never
reported any output". True, useless, and the reason was ten seconds away.
Silence has two meanings and the operator can only act on one. "Thinking" is
nobody's problem; "waiting for a human" is theirs, right now. The runner could
already tell them apart — detectAuthFailure reads the transcript for a 401 or a
/login notice — but it only ever asked ONCE, inside an 8-second window at
inject time. That run passed the check and then went quiet, and nothing looked
again.
The heartbeat is the thing that watches the terminal for the whole run, so it
is where the question belongs. After 90 seconds of no output the runner asks,
and the answer rides the next beat; the route stamps payload.blocked and emits
one `blocked` event per stretch; the row reads "Needs you to sign in" with
Watch opening the terminal where you answer it. 90 s is chosen so the reason is
ready BEFORE the ten-minute mark forces the row to say something.
One subtlety worth the test that pins it: a blocked agent prints nothing, so
the "no output, no beat" rule would have suppressed exactly the beat carrying
the reason. Silence WITH a reason is now the message — still one beat per
window.
detectAuthFailure moved to desktop/src/main/agent-auth.ts: the poller starts the
heartbeat, so importing it back would have been a cycle.
163/163 unit files, lint, check:desktop, prettier green.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* chore(desktop): 0.8.23 — the runner says why a quiet agent is quiet
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(runner): refuse a dispatch whose workspace is not on this machine
The box clones on demand; a laptop Fleet Runner does not. Handed a project
whose dirPath exists only on the box, it launched claude in a directory that
does not exist and reported "inject did not stick" three times while the box
sat idle (2026-09-10). Routing now locks box-rooted projects to the cloud;
this is the runner's own refusal for any command that still arrives, so the
ack names the real cause instead of a guess.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
* chore(runner): 0.8.22 — the workspace refusal reaches machines
The drift gate is right: a desktop/ change that is meant to reach laptops
needs the bump that says so. Adds the changelog entry for the refusal.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
* feat(feedback): the row shows the work happening — runner heartbeat, Working · N min, Watch into the terminal
Between 'submitted' and 'closed' a run wrote nothing anywhere, so Feedback
read a busy agent as Queued and, from minute ten, as Not running. The box
runner owns the agent's PTY and sees every byte; it now beats
PATCH /api/control/runs/:id/progress (at most every 45 s, only when the PTY
printed) and the cloud stamps payload.lastProgressAt + a 'progress' event.
deriveFeedbackWork reads the heartbeat: fresh = 'Working · 47 min' for as
long as the run takes; gone quiet = 'Stalled' with how long it worked and
how long it has been silent; never any = 'Not running' after 10 min measured
from delivery. Every delivered phase is watchable, so the row's button is
'Watch' into /terminal?project=… whenever a PTY exists, and 'Open on
Control' only while Queued.
A project with no repository and no folder gets 'Connect a repository'
instead of Implement, and the dispatch route refuses the same case with a
422 that says what to do — the Annushka failure class, closed at the source.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* fix(control): Watch follows the same watchable rule as the Feedback row
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* chore(desktop): 0.8.21 — Fleet Runner reports run progress while the agent prints
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* docs(changelog): Fleet Runner 0.8.21 — run progress heartbeat
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
* docs(cloud-primary): nothing left that describes the old substrate — docs, marketing, comments, focus_tab
The cloud-primary series (#615 routing, #618 OrangeCat auto-kickoff, #624
Fleet Runner 0.8.19, #630 web PTY-only) changed what the product IS. This
sweep makes every surface that describes it say so, so neither an agent
reading the repo nor a person reading the site is told about zellij tabs,
presence-based routing, a cold-start restore, or a handoff that "starts
nothing".
Inventory-driven (≈105 doc lines, ≈30 user-facing strings, ≈22 code
comments, 2 repo-level items), not a grep-and-replace:
User-facing
- /download prerequisites: the "Zellij — bundled" card is gone; copy says
each agent runs in a terminal Fleet Runner owns.
- Quickstart, license page, executor copy (cloud is the default; "This
computer" is a per-project choice under Runs on), marketing pillars,
whitepaper (owned-PTY design, "where a project runs is a decision, not a
guess", ZSH typing-guard section deleted), Control terminal panel strings
(components renamed LiveTerminalPanel / LiveTerminalRows), peek drawer
copy, GitHub release notes for 0.8.19, repo description + topics.
Agent-facing
- README, CLAUDE.md, AGENTS-adjacent SSOTs: cloud-local-workflows.md now
states the stored routing rule; priority plan closes B6; multitenancy plan
routes by builder_pref; HANDOFF.md staleness table + terminals section;
the 2026-09-10 cold-start handoff gets a dated "superseded" section; the
two shipped proposals (fleet-runner-pty-ownership, desktop-app) carry a
status banner; home/README describes the eight modules that exist;
desktop/README describes 0.8.19; roadmap seed marks the migration done;
box-runner unit and log drop FLEETCROWN_RUNNER_PTY; 22 code comments.
Code (one coherent retirement)
- focus_tab is removed from the pending-command contract, the desktop
validator and poller, enqueueTabCommand's type, the validator test and the
failure classifier (START_SESSION | RETRY). The runner had rejected it
since 0.8.19; now it cannot be enqueued at all.
Verified: tsc, eslint, 148/148 unit files, 130/130 home self-tests,
check:desktop (typecheck + build).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WSNERoZZqW2TgqbAGHSQZf
* chore(desktop): 0.8.20 — the focus_tab retirement touches desktop/, so it ships as a release
The release-drift gate is right: a desktop change without a bump goes red on
main once the next tag is minted. 0.8.19's changelog date is corrected to the
release's real publishedAt.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WSNERoZZqW2TgqbAGHSQZf
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The "Could not bring zellij up" toast fired on every Fleet Runner boot. It
came from a cold-start that could not work: `restoreFleetOnBoot` fetched the
user's last runtime snapshot — whichever channel pushed last, so on the laptop
it got the box's fleet with `/home/ubuntu` paths — wrote a zellij layout for
it, and spawned `zellij --session fleet --layout` detached with no TTY. A
zellij client needs a terminal to bring up its server; probed three ways on
2026-09-11, that spawn never produced a session, every time. The toast said
"Open Settings to retry"; Settings had a Restoration section that the desktop
never read (autoRestore hardcoded true) and no retry.
Since 0.8.3 the owned PTY was the default with zellij kept as the fallback for
tabs it could not find. The fallback is where every stuck dispatch ended:
"no zellij tab with that name in any active session" (2026-09-10 21:08, an
inject into Heidi), a keystroke typed into "Tab #9", a session spawned that no
terminal could show. This release deletes the fallback instead of hardening it
a fourth time.
Runner:
- poller: inject requires a live owned PTY and fails loudly otherwise (the
cloud enqueues a DISPATCH for a project with no session, so a miss is a
real error); launch/dispatch/switch own the PTY with no fallback; close and
peek answer from the PTY or say there is none; focus_tab is retired;
install_cli runs the installer in an owned PTY; the zellij session/tab
helpers, the pre-flight `ensureSessionForCommand`, the ETIMEDOUT
translation, and FLEETCROWN_RUNNER_PTY are gone.
- pusher: open tabs are the owned PTYs; pane records no longer join through
ZELLIJ_PANE_ID or stamp a session name.
- index: no cold-start on boot, no bundled-binary PATH prepend, no zellij in
the prerequisites scan; peek-tab reads the owned buffer.
- desktop/scripts/download-zellij.mjs and the prebuild download are deleted.
Web (the pieces that existed only for the cold-start):
- /api/control/runtime-state/desired (cross-channel snapshot read) deleted.
- Settings → Agent → Restoration (FleetLifecycleSettings + its API) deleted;
the users.fleet_settings column stays (migrations never DROP) and is unread.
- src/lib/zellij-bootstrap.ts and zellij-layout-generator.ts deleted.
Fleet Runner 0.8.19; changelog entry written for the person who installed it.
Claude-Session: https://claude.ai/code/session_01WSNERoZZqW2TgqbAGHSQZf
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
main is RED and the merge queue is stopped. Not from a code defect — from a
release gate doing exactly its job.
Dependabot's @types/node bump (#411) edits desktop/package-lock.json, which
determines what gets BUILT into the runner. Nothing bumped desktop's version
alongside it, so desktop-release-drift correctly reports "1 file changed since
fleet-runner-v0.8.16, version still 0.8.16" — a change that would live on the
server and on no machine at all. That is the failure the gate was written for,
after six commits went missing at v0.8.12.
Because the sweep only merges onto a green base, this blocked every open PR,
none of which had anything to do with it.
Worth naming the shape, because it will recur: a dependency bot can trip a
release gate, and its PR can never carry the bump itself — the bot does not
know the repo ships a desktop binary. So the bump always lands afterwards, from
a human or an agent, and until it does the whole queue is stuck behind a red
main. Nothing here changes behaviour; the release exists so the lockfile ships.
pnpm run verify passes.
Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Found by using /control in a browser as a user, on a phone-width window,
start to finish: pick a project, type a prompt, send it, follow the outcome.
1. "PASTE FROM HISTORY" WAS SHOWING THE OPPOSITE OF WHAT IT PROMISES
The card offered back conversational asides — "you do it. open in browser and
do it" — as reusable work. Not a rendering bug: those really were dispatches.
The selection was wrong.
Measured on prod, 30 days: 1859 distinct custom prompts, of which 1823 (98%)
were sent exactly ONCE. The query ordered by recency, so it surfaced the three
most recent one-offs — by definition the prompts least likely to be wanted
again — while the genuinely reused ones sat unoffered: "continue" 115×, a
git-diff review prompt 63×, "go ahead" 14×, "keep going" 8×.
Requiring two uses cuts the pool from 1859 to 36 and leaves exactly what the
feature is named for. Nothing is lost: Activity keeps every dispatch with a
re-run control. One-offs just stop competing for space on the card.
2. THE CLAMP I SHIPPED IN #479 WAS INERT, AND I COULD NOT SEE IT
`block ... line-clamp-2` computes to `display: block; -webkit-line-clamp: 2`.
`-webkit-line-clamp` does nothing without `display: -webkit-box`, and
Tailwind's `block` utility overrode it. It LOOKED fixed because an unclamped
box just wraps — which reads fine until the sentence is long.
Checked live in the browser: a 460-character next_step grew that box from 48px
to 96px and pushed the composer, the thing you act with, off the bottom of the
viewport. So my "it renders fully now" was measuring the ABSENCE of a clamp.
Dropping `block` makes it work; three lines, not two, so a typical next_step
(~256 chars) still reads in full and a pathological one is bounded and
reachable (clicking loads the whole text into the composer).
THE GATE: responsive-audit now flags a line-clamp that is declared but not
enforced. It cannot test `display === "-webkit-box"` — Chrome reported
`flow-root` for a clamp working correctly — so it tests BEHAVIOUR: an element
declaring N lines that renders more than N. Run against live prod it says:
"Suggested next (profile)…"[ui-link-subtle-button.block.line-clamp-2]
declared 2 lines, renders 4 (display:block)
naming the offending class. That is this exact bug, caught in shipped code.
3. A FAILURE MESSAGE THAT NAMED THE WRONG AGENT
A real dispatch returned: "launched claude (pty) + injected, but the agent
isn't generating yet … Retry, or switch the project agent away from grok if
this repeats." One sentence naming the agent that ran and, as advice, one that
did not — a literal left over from when grok was the default. `agent` was in
scope; the auth branch above it interpolates it correctly.
Gated in failure-message-pairing: a failure message that NAMES an agent must
interpolate ${agent}. Stated that way rather than "no agent ids", because the
auth message legitimately says `~/.claude/.credentials.json` and `claude
setup-token` — a real path and a real command — and already names the right
agent. The check joins `+` continuations so a message split across two lines is
judged whole; per-line it got that one wrong.
Mutation-proven: restoring the "grok" literal → 20 passed, 1 failed, naming the
line. Restored → 21/21.
pnpm run verify passes.
Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* chore(ci): GitHub owner catomean -> bitbaum
* docs(hetzner): update _box-env.sh comments for the completed org migration
The GH_OWNER/WORKFLOW_OWNER comments described a future state (repos moving
to bitbaum while fleetcrown stayed personal) that sweep-gh-owner.sh just
made true, then obsolete: fleetcrown itself is in bitbaum now too. Comments
describing a plan that already happened are worse than no comment — they
send the next reader looking for a divergence that isn't there.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y9rKLxddothnXEtY6KDziN
* chore(desktop): release 0.8.15 — the org-migration owner literals
Same shape as 0.8.14: desktop/ carries two literal owner references (issue
link, updater feed owner) that a fleet-wide rename touches, and
desktop-release-drift.ts correctly refuses to let that ship without a
version bump — a repo whose desktop app silently points at a dead update
feed is worse than one that fails the gate.
This should be the last time it's an account name: the org is the stable
home from here.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y9rKLxddothnXEtY6KDziN
---------
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* refactor(infra): studio constants get one home, and the rename gets a command
Fair criticism: I spent the day arguing for SSOT and then wrote new-site.sh with
its own copies of GH_OWNER, BASE_DOMAIN and DEV_ROOT, and hardcoded
'maonakamoto' again in provision-widget.ts. Worse, the pattern already existed —
_box-env.sh is literally labelled 'SSOT' for the box address. I did not extend
it, I duplicated around it.
_box-env.sh now owns GH_OWNER, SITES_BASE_DOMAIN and DEV_ROOT alongside the box
address, and new-site.sh and provision-widget.ts read them instead of carrying
their own.
The 41 workflow files are a different case and worth being precise about:
GitHub Actions requires a LITERAL owner/repo in and will not accept a
variable, so that duplication cannot be removed. But a duplication you cannot
remove is one you have to OWN — leaving it as 'remember to edit 41 files' is
exactly the shape of step that gets skipped, the same shape as the git
repository Camille never got. So sweep-gh-owner.sh is committed: one command,
dry-runnable, optionally self-committing.
Dry run against the fleet: 24 repos, all detected correctly. Renaming to an org
is now plus one line in _box-env.sh.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(infra): split WORKFLOW_OWNER from GH_OWNER before they diverge
Same bug as the last commit, one layer down. The site template hardcoded
maonakamoto/fleetcrown in its deploy.yml uses: line, derived from nothing — so
every new site would bake in a literal that follows neither an account rename
nor a move to an org.
And GH_OWNER was quietly doing two jobs: where new site repos are CREATED, and
where fleetcrown LIVES. They look identical today and are about to diverge —
sites go to an org while fleetcrown stays on the personal account. One name for
two values is how a rename half-works.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* chore(ci): GitHub owner maonakamoto -> catomean
* chore(infra): owner is catomean
Account renamed maonakamoto -> catomean. sweep-gh-owner.sh swept 24 repos and
the SSOT now agrees; 32 local remotes repointed. This is the commit the sweep
script exists for.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* chore(ci): GitHub owner maonakamoto -> catomean
* chore(ci): GitHub owner maonakamoto -> catomean
* fix(desktop): cut 0.8.14 — the owner rename touched desktop code
My owner sweep changed two files in desktop/ (an update URL and a package
reference) without bumping the version. That is precisely the failure #370
existed to prevent: desktop code that changes without a release ships to the
server and to no machine at all, silently.
The gate caught it, four commits after it was written. Working as intended, and
worth saying plainly — I was the one it caught.
GitHub redirects repository URLs after a rename, but only until somebody claims
the freed name. An auto-updater should not depend on a redirect.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(ci): the gate fails on your diff, not on your laptop
Three things in this hook blocked pushes for reasons unrelated to the change
being pushed, and together they are why --no-verify became reflex here. I passed
it eight times in one day and blamed the hook; the hook was reporting real
problems with misleading attribution.
1. STALE INSTALL. An unresolvable dependency surfaced as 'Cannot find module' —
indistinguishable from a type error in your code. Now a precondition that
fails first, loudly, naming npm ci. A day was spent on this exact confusion.
2. AGENT-CORE DRIFT. Drift arises either because you changed canonical without
syncing, or because somebody changed the mirror in the other repo. Only the
first is yours. It now checks whether this branch touched
src/lib/agent/core/ and warns instead of blocking when it did not.
3. SCHEMA DRIFT. The guard already skipped an unreachable database but not a
reachable stale one, so a local scratch DB missing someone else's columns
blocked pushes touching no schema. Now scoped: if the branch changes schema a
mismatch is yours and blocks; otherwise it reports and continues.
The pattern is taken from desktop-release-drift, which self-scopes to files
changed since the last release and is the only check here that has never blocked
an unrelated push. It caught me correctly today, four commits after it was
written.
Where scope cannot be established the checks still fail closed — a gate that
cannot establish innocence should not grant it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(ci): resolve the default branch, never assume main
The diff-scoping added in the previous commit compares against origin/main. 28
repos here use main — but aoz-housing, dotfiles and sbb-lost-found use master,
and six had no origin/HEAD set at all.
On those, merge-base fails, the scoping falls through to 'cannot tell', and
every check treats every change as in-scope. The gate I had just fixed would
have gone back to blocking unrelated pushes on a fifth of the fleet, for a
reason nobody would have connected to a branch name.
default_branch() now lives in lib.sh and resolves in order: the remote's own
origin/HEAD, then whichever of main/master exists, then fail. Never a guess. The
pre-push hook and agent-core-drift both use it.
Also ran 'origin/HEAD' is unchanged and points to 'main' on the six repos missing origin/HEAD.
32 of 33 now resolve; wild-spirit has no remote at all, which is a separate
finding and the same shape as camille this morning.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* feat(scaffold): every new site is born with CI
ci-gate.sh cannot tell 'CI green' from 'no CI configured' — both exit 0. So a
scaffolded site without a workflow deployed every push unverified while looking
identical to one that passed. Substrata shipped to production that way for a day.
The template now emits ci.yml alongside deploy.yml: npm ci, type-check, lint,
build — the same bundle verify runs locally.
Plus eslint.config.mjs, because ESLint 9 without a flat config exits non-zero on
a migration notice and a new site's FIRST CI run would be red for reasons
unrelated to its code. A red first run teaches people to ignore the light.
Config copied from the fleet's working Next 16 apps, not invented.
postcss.config.mjs assigns before exporting — the anonymous default export is a
lint warning, and a scaffold should not emit its own warnings.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* feat(ci): no deployed app ships without CI, ratcheted to zero
ci-gate.sh exits 0 for 'CI green' AND for 'no CI configured'. Absence is
indistinguishable from success, so an app with no workflow deploys every push
unverified while looking exactly like one that passed. Nothing reported it,
because nothing was looking.
The audit found two: camille-boulangerie, and sink — which is sinktattoo.com, a
real client's site.
sink turned out to be a FALSE POSITIVE, and that is the more useful finding:
apps.conf pointed at /home/g/dev/s-ink, a path that does not exist, so the gate
reasoned about an absent repository and reported the wrong fault. It sent me to
add a workflow to a repo that already had one. The register was the bug.
So the gate now distinguishes a stale register entry from a missing workflow and
fails loudly on the former — a gate that lies about what to fix is worse than no
gate. apps.conf repointed at /home/g/dev/aslan-tattoo.
Camille genuinely had none and now does. Baseline is 0: a new deployed app
without CI is a build failure.
Tested in all four directions — over baseline fails, at baseline passes, under
baseline passes and prompts, stale path fails. The first version could never
fail at all: it set HERE before sourcing lib.sh, which overwrites HERE, so
BASELINE_FILE pointed at a missing file and silently fell back to the current
count. Found by testing the gate rather than trusting it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* feat(scaffold): template ships .nvmrc
Every new site now pins Node once, and both CI and the deploy read it. Without
it the deploy warns and the two pipelines pick a version independently — the
kind of difference that surfaces as 'green in CI, broken on the box'.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* feat(hetzner): scaffold sets the deploy key itself, from one configured path
new-site.sh printed `gh secret set ...` and called that operator hygiene.
What it actually produced was substrata live in production deploying only
from a laptop, because a printed instruction is a step that gets skipped.
The key is piped from DEPLOY_KEY_PATH straight into `gh secret set` — never
read into a variable, a log, or an agent's context — so the safety argument
that motivated the manual step is kept while the step disappears.
Per-repo on purpose: GitHub Free does not expose org-level secrets to PRIVATE
repositories, so an org secret alone would silently cover only part of the
fleet. DEPLOY_KEY_PATH joins the other constants in _box-env.sh so there is
one path, not one per script.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y9rKLxddothnXEtY6KDziN
* fix(ci): make the deploy-ready gate judge the diff, not the workstation
The gate inspected the sibling checkouts under DEV_ROOT and nothing else.
All 15 are cloned on the workstation, so it printed "all 15 deployed apps
have CI"; CI clones this repo only, so the same commit printed fifteen
missing repos and exited 1 — red on a diff that touched none of them.
Third instance of one class: a gate judging state outside the commit. Its
real cost is not the red run, it is that everyone learns the gate is noise
and reaches for --no-verify.
Split into the two halves that were tangled:
REGISTER INTEGRITY — apps.conf lives in this repo, so it is in the diff,
so CI must judge it. Now actually checked: field count, unique names,
unique numeric ports. Previously nothing validated the register at all.
FLEET INSPECTION — needs the checkouts. Where none exist it is announced
as NOT RUN and exits 0. Announced, because "no output" and "all clear"
looking identical is the bug this file was written to fix. Where some
exist, a bad path is still drift and still fails.
test:deploy-ready-gate locks it shut from both sides: a malformed register
must fail even with no checkouts present, and a bare environment must never
claim the fleet passed. Added to verify, so CI runs it in exactly the
environment that used to break it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y9rKLxddothnXEtY6KDziN
---------
Co-authored-by: Mao Nakamoto <georgy.butaev@revamp-it.ch>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: t <t@t.t>
Fleet Runner reaches a machine only when a `fleet-runner-v*` tag exists, and
the tag is minted only when someone remembers to bump desktop/package.json.
Nothing ever checked that they did, so it stopped happening quietly.
Measured on main: seven files changed since v0.8.12 — a power-source router
(#319), a usage double-billing fix (#349), capture-hook and poller changes —
with the version still reading 0.8.12, byte-identical to the tag. All of it
live on the server, none of it on any machine, and no signal anywhere.
Three parts:
- bump to 0.8.13, which releases the stranded work
- scripts/test/desktop-release-drift.ts fails the build when desktop/ differs
from the last released tag without a bump. Absent tags report UNCHECKED
rather than passing, since actions/checkout fetches none by default — hence
fetch-depth: 0 on the check job.
- a `release-desktop` job mints the tag and dispatches the build once main is
green. It dispatches rather than relying on the tag push, because a push
made with the default GITHUB_TOKEN triggers no workflow.
The bump stays human — it is the statement that a change is meant to ship.
The tag is mechanical, which is exactly why a person forgets it.
Note this is NOT the cause #227 names: the publish-token break it was filed
for is already fixed and v0.8.12 published fine. The chain broke one link
further back, at the human step, where a break leaves no trace.
Mutation-proven six ways, each red then green: blinded checkout, deleted tag
job, removed dispatch, forgotten bump, backwards version, and no tags at all.
The first draft passed two of those — the gate matched its own explanatory
comment, and read a sibling job's setting as the one it was asserting on.
Closes#227
Co-authored-by: t <t@t.t>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The June-era fleet-user-prompt.sh UserPromptSubmit hook posted to
localhost:3000, where nothing listens on a normal setup — every directly
typed prompt was silently dropped for ~2 months while the hook LOOKED
wired. PR #215 added the real installer but left the corpse registered,
which would have double-fired capture POSTs once a new runner build ran.
- capture-hook.ts: ensureCaptureHook() now strips any fleet-user-prompt.sh
registration while merging its own entry (idempotent, writes only on
change) — one hook is the SSOT.
- doctor hooks-capture: warns when the legacy hook is still registered
instead of reporting a healthy-looking sensor that records nothing.
- desktop 0.8.11 → 0.8.12 so builds carrying the migration are
distinguishable from the dormant fleet.
Gates: tsc 0 errors, eslint clean (src/ + desktop/src/), check:desktop ok.
Capture path verified end-to-end against prod (hook → route → prompt_history).
Co-authored-by: test <test@test>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
desktop/node_modules has TypeScript 7.0.2, which removed `baseUrl` —
so `tsc -p desktop/tsconfig.json` fails on main today with TS5102/TS5090
before reaching a single source file. Paths are now relative, which both
5.9.3 and 7.0.2 accept (verified against each).
It went unnoticed because nothing ran it: desktop has no typecheck script,
the root `verify` covers src/ and home/ only, and electron-vite builds
with esbuild, which strips types instead of checking them. A type error
there therefore does not fail the release build — it ships a runtime bug
inside a signed binary.
So add the script and gate the release on it. Green at time of adding
under both TS versions (exit 0).
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* fix(desktop): publish every platform again, and ship a usable Linux icon
Three defects, one shared cause: a release step that could fail or be
skipped without anyone noticing.
1. Releases stopped shipping macOS and Windows after v0.8.6.
1d16150 pointed electron-builder's `publish` at fleetcrown-releases while
CI still handed it the default GITHUB_TOKEN, which has no write access
there — so `--publish always` 403'd and the tagged matrix died. 0.8.7,
0.8.8 and 0.8.9 were cut by hand from a Linux box instead, leaving
macOS and Windows users three versions behind with no way forward.
The build job now never publishes; it only uploads artifacts. A new
`mirror` job assembles the release from those artifacts and pushes it to
fleetcrown-releases with RELEASES_REPO_TOKEN, under the fleet-runner-v*
tag the marketing URLs already resolve to. `needs: build` means a partial
matrix can never ship, and if-no-files-found is now `error`, so a silently
empty macOS or Windows artifact fails the run instead of quietly
producing another Linux-only release.
It reuses scripts/mirror-desktop-release.sh — the step that was supposed
to be run by hand after every release, and wasn't. One implementation of
"how a release is assembled", now actually executed.
2. The Linux launcher icon was blank on KDE.
`linux.icon` pointed at a single 1024x1024 png, which electron-builder
hands to fpm verbatim: it installed exactly one file, into
hicolor/1024x1024 — a bucket no panel looks in at 32px. Now a directory
of nine sizes, rasterized from the SVG SSOT at each size rather than
downscaled, so the 16px glyph stays legible.
Verified: the .deb goes from 1 icon entry to 9 (16 through 1024).
3. That class of bug can no longer ship.
generate-tray-icon.mjs already guarded the three committed brand PNGs;
it now guards every icon size too, and fails with the exact fix command.
Deleting one size fails the build instead of silently producing a
blank-icon installer.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(test): pin the clock in autopilot-eligibility so it stops grading itself against today
The suite defines `NOW = 2026-08-02T12:00:00Z` and builds every fixture
relative to it, but `nowMs` was an optional per-call argument and 8 of the 14
calls omitted it — those read `Date.now()` instead. So a fixture written as
"one minute old" was one minute old only while the wall clock sat near NOW.
Two days later it is two days old, the staleness paths
(WORKING_CLAIM_TTL_MS / BLOCKED_RECHECK_TTL_MS) fire, and assertions that
have nothing to do with time start failing. It went red on 2026-08-04 with no
code change behind it, blocking every push via the pre-push hook.
The parity check had the same flaw in sharper form: it asserts the scheduler
and the Control page "reach identical verdicts from identical facts" while
pinning the scheduler's clock and letting Control read the real one. The
clock IS one of those facts, so it was manufacturing a divergence that said
nothing about the SSOT property under test.
Both paths now go through helpers that inject `nowMs: NOW` by default —
`dispatchAt()` and `gatesAt()` — with an explicit `nowMs` still overriding
for the cases that are genuinely about elapsed time. Fixing the 8 call sites
individually would have left the next added test free to forget again; making
the pinned clock the default removes the option.
Verified by moving NOW to 2020-01-15: all 14 cases still pass, so the suite
no longer depends on when it runs.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Built + installed on the founder laptop (systemd fleet-runner unit switched).
Carries the e2a491e pusher fix (conf + process + session-file merge) and the
channel declaration — the 0.8.9 package predated both, so laptop handoffs for
PTY-only projects never reached the cloud and local-pinned dispatches were
unclaimable. Not yet published to the release feed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
SSOT: the runtime auto-updater (setFeedURL in desktop/src/main/index.ts)
reads from maonakamoto/fleetcrown-releases, but build.publish pointed at
maonakamoto/fleetcrown — so electron-builder --publish=always would have
pushed binaries to a repo the updater never reads. Align them.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The wait=0 command poll had no request timeout (only the bridge-wake abort
signal). When a deploy restarted the backend mid-request, the socket went
half-open and the fetch hung forever — the poller went SILENT with the process
still alive, so the supervised service couldn't see it and the autopilot loop
stalled. Observed live right after a web deploy.
Wrap the poll signal in AbortSignal.any([bridgeWake, AbortSignal.timeout(20s)]).
A timeout aborts only the .any signal (not currentFetchCtrl), so the catch
falls through to backoff+retry instead of the bridge-wake `continue`. Pairs with
the supervised systemd unit (Restart=always) for end-to-end "never silently
offline." Adds the 0.8.8 changelog entry.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Found by driving kivvi end-to-end through the FleetCrown UI against a live
runner and reading the PTY: the autopilot loop launched an agent and pasted the
next-best prompt, but the prompt never ran.
1. Injection never submitted. injectPty wrote `${text}\r` as ONE PTY write;
Claude's TUI treats a large multi-line write as a bracketed paste and absorbs
the trailing CR into the paste buffer — the prompt sat in the input as
"[Pasted text +N lines]" forever. Fix: write the body, then send the submit
CR as a SEPARATE keystroke after the paste settles (250ms + 800ms nudges).
2. Verification was a false negative that double-submitted. Dispatch verified
via the session-file mtime, which only bumps when the agent FINISHES a turn
(minutes later) — so every fresh launch reported "didn't pick up the prompt"
and its retry re-injected, queuing a duplicate task into the now-busy agent.
Fix: verify via the owned PTY's running/idle status (submitted → keeps
generating → "running"; paste-that-didn't-submit → quiet → "idle"); retry
ONLY when genuinely idle so it can't double-submit.
3. Runner version was invisible. The heartbeat omitted it, so the dashboard
could never show what version is connected ("how do I know if it's current").
Fix: send runnerVersion in the runtime-state heartbeat; store it on
runtime_snapshots; show "Connected · sync … · runner v0.8.7" on Control.
Verified live: kivvi picked "fix type errors in scripts/", ran pnpm type-check,
finished, and autopilot auto-fired the next next-best — the loop self-continues.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Three root causes of the autopilot "nothing works" freeze, all found by
driving kivvi end-to-end against a live runner + the box DB:
1. peek wedged the poller. A non-PTY peek ran a SYNCHRONOUS zellij dump-screen
(execSync focus-dance) on a 1s timer, blocking Node's single event loop and
starving the command-ack fetch until its 5s timeout → the command was never
marked done → re-served forever → every real command (launch/dispatch)
starved. Proven: clearing one stuck peek_start instantly unblocked a queued
launch_agent. Fix: stream ONLY owned PTYs (executor.subscribe, in-memory,
async); a non-PTY tab gets one async info frame, no polling loop. peek_tab
one-shot reads the PTY buffer too.
2. pusher heartbeat could die permanently. The runtime-state POST had no
timeout → one hung request never resolved → pushOnce never returned → the
dashboard froze on stale state. Fix: AbortSignal.timeout(12s).
3. launched agents took up to 5 min to appear. State was only pushed on the
RUNNER_HEARTBEAT_MS (5 min) tick (or a worker.idle). Fix: pushNow() right
after the poller handles launch_agent/dispatch/switch_agent/close_tab.
Verified live: 3 non-PTY peek "bombs" + a launch_agent all executed (no wedge);
kivvi PTY spawned (parent=runner); kivvi appeared in the snapshot ~26s after
launch (was never, before). Adds the 0.8.6 changelog entry (also bumps the web
footer version via CURRENT_RELEASE).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Root cause of blank /terminal live view: dual runner instances racing
(stale Singleton lock cleared while old process lived), peek_start blocking
on zellij execSync for non-PTY tabs, and streams stuck on zellij after PTY launch.
- peek-streamer: defer zellij first tick so peek_start acks immediately; remove v0.8.4 diagnostics
- poller: stopPeek before startPeek so PTY streams upgrade when agent launches
- index: terminate stale runner PIDs on lock acquire; process.exit(0) on lock failure
- zellij: execSync timeouts on focus/dump-screen (prevents poller hang)
- docs: /terminal My machine workflow and version requirements
Co-authored-by: Cursor <cursoragent@cursor.com>
Adds a visible [peek-debug] marker (and console lines) to the peek path so a
blank /terminal "My machine" view reports which branch ran (owned PTY vs
zellij) and how many bytes buffered — readable from the browser viewer without
terminal access. Functionally identical to 0.8.3 otherwise. To be removed in
the follow-up once the streaming path is confirmed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Root cause of the persistent "launch_agent → kivvi failed: spawnSync /bin/sh
ETIMEDOUT": the runner was on v0.8.0 (no PTY code), and v0.8.2 shipped PTY
default-OFF so a menu launch (no env var) still used zellij → detached session →
timeout. The env-only flag was itself the fragility.
- RUNNER_PTY_ENABLED defaults ON (FLEETCROWN_RUNNER_PTY=false to force zellij).
- launch_agent + dispatch: if the PTY spawn throws, fall back to zellij so
launching can never dead-end. Owning the PTY removes the structural dependency
on an attached zellij client — the ETIMEDOUT class is gone.
- v0.8.3 published to fleetcrown-releases (Latest); runners auto-apply via
pkexec dpkg on quit (confirmed working in the field log). Changelog added.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The user's real dispatch path is public box (cloud) → Fleet Runner → zellij,
which my server-side PTY fix didn't cover. This migrates the runner itself to
FleetCrown-owned PTYs, reusing the SAME executor + launch helper the server uses
(no zellij name-puppeting → no detached-session ETIMEDOUT).
- desktop/src/main/pty-runtime.ts (new): runner-side wrappers over the executor
(launch/inject/terminate/wait/list), keyed by `runner:<tab>`. RUNNER_PTY_ENABLED
gates PTY launches; inject/dispatch/close route PTY-first per tab (isPtyBacked)
with zellij fallback, so a half-migrated fleet keeps working.
- poller.ts: launch_agent/dispatch/switch_agent use PTYs when enabled; inject/
close_tab route per-tab. Zellij paths preserved as fallback.
- pusher.ts: heartbeat openTabs merges listPtyTabs() (PTY tabs aren't zellij tabs).
- launch.ts: provisionAgentWorkspace accepts an explicit workspaceId (runner has
no server userId locally) — same helper, server + runner.
- local-pty.ts: terminate() now marks the handle "exited" synchronously, so an
immediate re-provision (agent switch) spawns fresh instead of returning a dead
handle. Also unblocks the server-side switch-agent path.
- desktop/package.json: node-pty dep + asarUnpack + v0.8.2. Validated:
@electron/rebuild builds node-pty for Electron 33 ABI via postinstall;
electron-vite build succeeds.
Flag stays OFF until R2 (cloud PTY streaming for viewing) ships — agents would
otherwise be headless. Server tsc/eslint, desktop tsc, test:home 97/97 all green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bumps the desktop version and records the v0.8.1 changelog entry. Published to
maonakamoto/fleetcrown-releases so installed runners auto-update in place
instead of needing a manual dpkg every time.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- swap dead fleetcrown.vercel.app for fleetcrown.orangecat.ch across src/,
desktop/, README (Vercel team blocked for fair-use; serving 402s)
- scripts/deploy-hetzner.sh: build + rsync standalone + restart the
fleetcrown-app unit on the bitbaum box (Caddy already vhosts the domain)
- brand.ts APP_DOMAIN remains the SSOT; historical thoughts essays keep the
old domain as written
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Users switch agents from the Control UI without typing quit commands in
Zellij — click the agent chip on a project card, pick from Cmd+K palette,
or accept the rate-limit banner's fallback suggestion. Detection lives in
agent-resolution.ts (client-safe) + agent-process-scan.ts (server /proc
walk); switch enqueues pending_commands type switch_agent which the Fleet
Runner poller executes locally, quitting every running agent in the dir
before launching the next.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>