The review existed only as an untracked file in the worktree of a session
that has since ended — one `git clean` or worktree removal from gone, and
it is the only written record of what was checked in production that day.
Committed verbatim. The addendum is marked and dated rather than edited
into the body: a review is a record of what was true when it was written,
and quietly correcting it destroys the thing that makes it useful later.
The addendum closes the items that have since shipped (#770, #772, #773,
#775) so a reader does not re-diagnose them, and records the mechanism
found behind the one open item that looked like a reporting bug: `partial`
is terminal. reap-evidence.ts only ever promotes `timeout -> partial`, so
a run that closed `partial` is never revisited no matter what later merged
and deployed. Changing that is a closure-policy decision, left alone.
Co-authored-by: Claude Opus 5 (1M context) <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>
Records the 'do it all' round: what shipped for each open item, the evidence
on kaffeeklappe-sep11 (agent PR merged by the site's own sweep, run closing
itself, the change live), and the one chain break it exposed — a
token-merged commit starts no Deploy, which #635 fixes.
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
Co-authored-by: Claude Opus 5 (1M context) <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>
velokiosk-sep10: brief → repo → live site → feedback → Implement → live
change → Resolve, on 2026-09-10/11, with the register path completing from
inside the product on 5c27d775. Records the two operator clicks left on the
path, the run-record discrepancy for an Implement injected into an open PTY,
and the ranked open list for the next owner.
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
* fix(register): a site registered from the box gets its shim, its port, and its builder
Walked the cold start on production after #569 (velokiosk-sep10). The repo
was seeded; then four defects on the register-and-run path:
- The OAuth grant had no workflow scope, so GitHub refused to write
.github/workflows/deploy.yml and register-site.sh carried on saying the
remote may already have it. The grant now requests workflow; the script
falls back to the host's own gh login for the shim and fails when the file
is not on the remote.
- box() named no SSH identity; ubuntu's only key is the CI deploy key, so the
box refused itself. box() passes DEPLOY_KEY_PATH when readable.
- The durable register was behind main and handed out a port main had already
given away. Ports and conflicts are read from both registers, the durable
checkout is fast-forwarded when all its rows are on main, and every new row
goes to main as a PR.
- A dirPath under the box clone root was routed to the operator's laptop
because it was present; that runner cannot clone on demand and reported
"inject did not stick". projectChannelLock returns cloud for box-rooted
workspaces.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
* fix(scaffold): a new site that actually installs, builds and serves
Diplodoctor was scaffolded on 2026-09-10, provisioned completely — repo,
systemd unit, Caddy vhost, register entry — and served 502. Its session
diagnosed it and fixed it IN THE DIPLODOCTOR REPOSITORY. The template was left
exactly as it was, so the next site would have rediscovered the same three
faults from scratch. This is that fix moved to where it belongs.
The template was never internally consistent about its package manager. It
shipped no lockfile at all, yet its CI ran `npm ci`, which REQUIRES
package-lock.json — so a freshly scaffolded site's CI could not pass on its
first commit, or any commit. Meanwhile the box deploys with `pnpm run build`.
Two managers, one repo, and the half that ran in production was not the half CI
described. Everything here converges on pnpm, which is what actually ships.
pnpm-workspace.yaml NEW. `allowBuilds: sharp, unrs-resolver`. pnpm 11
refuses to run a dependency's build script unless it is
approved and EXITS NON-ZERO when one is not, so without
this a fresh clone cannot install and the deploy dies
before the build. It must not go in package.json's
`pnpm` field: pnpm 11 no longer reads that field and
ignores it with a warning, which makes the setting look
present while doing nothing.
.nvmrc 20 -> 22. pnpm 11 imports node:sqlite, absent before
Node 22.13. Harmless while CI used npm; fatal the moment
it uses pnpm.
ci.yml npm -> pnpm throughout, and the Next cache key now
hashes pnpm-lock.yaml instead of package-lock.json — a
file that never existed here, and hashFiles() returns
an empty string for a missing path, so the key was
constant and the cache could never invalidate.
package.json `verify` uses pnpm; `packageManager` pins pnpm@11.25.0
so a stray `npm i` cannot mint a second lockfile.
Two things this also fixes that were not in diplodoctor's repair.
**The scaffold now resolves a lockfile into the first commit.** Without one the
repository is born unbuildable in two places at once: CI's
`pnpm install --frozen-lockfile` refuses to invent a lockfile, and the box
resolves versions afresh on every release, so the site that was verified is not
the site that ships. `--lockfile-only` keeps this to a few seconds and unpacks
no node_modules.
**next 16.2.4 -> 16.3.4.** The template was minting every new site with a
CRITICAL unauthenticated RCE — GHSA-2xp9-vwfh-vxw4, the Next image-optimization
hole, patched at >=16.3.3. orangecat was patched for this today; the scaffold
would have kept issuing fresh vulnerable sites afterwards.
**And the port race, which nearly shipped an hour ago.** Ports are allocated
from `apps.conf` in a LOCAL checkout, and this studio runs five to ten agent
sessions at once, each in its own worktree. A stale copy reports a stale highest
port. A dry run in one such checkout offered 4024 for a new site while origin
already had diplodoctor on 4024 and heidi on 4025 — two sites, one port, caught
by hand one command before it would have shipped. The script now fetches and
REFUSES when its register differs from origin/main, naming the pull that fixes
it, rather than guessing a number another session already took.
Verified: `bash -n` clean; a dry run against an up-to-date register allocates
4026 and the staleness guard passes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Z7YRpgsEtNjRqr1usHMQY
* chore(register): causius on 4026 — the first site the fixed scaffold built
causius.orangecat.ch is live: systemd active, HTTP 200, its own certificate, on
the first deploy. Diplodoctor needed two follow-up pull requests to reach that
same state yesterday; this one needed none, because the template was repaired
before it was used rather than after.
Registered as `product` / `validating` — ours, and not yet claiming to be a
live client engagement, so the client-ledger gate is satisfied without inventing
terms for something that has no customer.
Port 4026 came from a register that the new staleness guard had just verified
against origin. The stale local copy this was first attempted from offered 4024,
which diplodoctor already holds.
Deliberately NOT bought: causius.com and causius.ch are unregistered and stay
that way for now, by George's call. The site therefore lives at its free
orangecat.ch address, which is exactly the ladder /domains sells — start free,
move to your own domain later, keep every link alive. Dogfooding it means the
first customer of that offer is us.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Z7YRpgsEtNjRqr1usHMQY
* fix(scaffold): site-template CI floor test expects pnpm
The scaffold now installs with `pnpm install --frozen-lockfile` (#583 onto
main). The floor test still demanded `npm ci`, so verify would fail every
run after the template switch even though the template itself is correct.
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
* fix(cold-start): the starter ships a lockfile, so its first Deploy can install
selfhost-deploy.yml refuses to install without a lockfile and installs with
--frozen-lockfile; the Next starter declared pnpm and shipped no lock, so every
fresh site failed before building. The lock is resolved once by
scripts/templates/refresh-starter-lock.ts into a generated asset and seeded
with the starter (one Git tree call, no pnpm on the app box).
scripts/test/starter-lock.ts fails on drift, missing standalone output, a
missing packageManager, or starter docs that point at npm.
Seeding failures are recoverable: provision on a linked but bare repo re-seeds
it instead of refusing with 409. The starter embeds the project-scoped
feedback widget from its first commit.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
* fix(cold-start): liveUrl means a Deploy on the current commit and a public 200
Registration persisted liveUrl because register-site.sh exited 0 with
--no-deploy. Now: strict setup, then a workflow dispatch; GET reports
pending/failed/live and the UI polls it. describeSiteDeployment (pure, tested)
treats a queued run or a just-sent dispatch as starting, closing the race where
the first poll after dispatch read as "no deployment exists". A status the
client cannot read is shown as a failure, not swallowed.
The deploy workflow resolves a freshly registered slug from the box register
and proves the checkout belongs to the caller; deploy.sh builds with the same
package manager that installed; register-site.sh runs release siblings, locks
the register, fails without a deploy secret, and seeds a runtime env.
check:deploy-ready no longer reads a box-registered checkout as laptop drift.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
* fix(feedback): Implement addresses the project id, never a same-named tab
Feedback and kickoff dispatch resolve user_projects by stable entity id; a
renamed project or a same-named sibling can no longer redirect a run, and the
hosted fallback is off for actions tied to a tracked run. Batch Implement only
advances when a run was accepted. Fix prompts require the normal ship path and
live evidence; Resolve stays with the operator.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
* docs: FleetCrown builds independently; tab names are transport, not identity
Product copy and agent docs describe FleetCrown as an independent product with
optional OrangeCat linking that is not publication consent. Control drops the
Focus terminal chip (Open terminal stays). Adds the cold-start handoff.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>