bitbaum/hamstercheek was renamed to bitbaum/zeitkastli because its framing read
as a tool for concealing assets. This repo is public and carried the same
wording in test fixtures and code comments:
"A box you hide outside."
"HamsterCheek is a weatherproof box for valuables."
"HamsterCheek allows people to hide physical items in various locations."
"a hiding box"
Fixture text only — no behaviour changes. Each replacement preserves what its
test was actually checking:
- "a hiding box" -> "a time capsule" still clears the 10-char brief floor
- the one-sentence brief is still under KICKOFF_THIN_DESCRIPTION, so it is
still flagged as thin
- the hero-note fixture is still under 80 chars, so it still passes through
publicHeroNote unchanged
- site-cd.ts used "Hamster Cheek" to test slugifying a TWO-WORD display name;
"Time Capsule" -> "time-capsule" keeps that exact property
The comment on KICKOFF_THIN_DESCRIPTION records that the project was called
HamsterCheek when the incident it describes happened, so renaming the fixtures
does not quietly falsify the history they document.
Verified: 181/181 unit test files pass, tsc --noEmit clean, prettier clean.
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>
* fix(cold-start): register Hetzner CD after kickoff provision
Make it happen created a GitHub repo but never wired apps.conf / deploy
secret / live URL. After provision, call register-cd: seed deploy.yml,
run register-site.sh on the studio box when possible, otherwise return
that one command — and record liveUrl only when registration succeeds.
* style: prettier on kickoff + site-cd-register
---------
Co-authored-by: Cato <catomean@users.noreply.github.com>
Stop kickoff after a failed repo step; keep the operator's exact brief;
mark feedback Queued only with a real run id; link Check live to the
reported page; never backfill OC wall history from before publish
consent; document eligible-only cloud builder and the new-site vs
provision starter split.
Co-authored-by: Cato <catomean@users.noreply.github.com>
* fix(kickoff): private PIN must not block Make it happen
* fix(kickoff): keep KickoffBlock type for call sites
* fix(kickoff): brief without private milestones when PIN locked
* fix(kickoff): Unlock tip is optional, Make it happen always available
* fix(kickoff): drop unused blocked gate in ProjectKickoff
* test(kickoff): locked PIN must not refuse Make it happen
* test(kickoff): locked zone briefs from description, does not 409
* style: prettier scripts/test/project-kickoff.ts
* chore: add a formatter, matching the style this repo already writes
singleQuote=false was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.
Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* style: format with prettier (1062 files)
Mechanical. No behaviour change. This SHA is listed in
.git-blame-ignore-revs so `git blame` skips it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* chore: teach git blame to skip the reformat
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(lint): reattach two guards the reformat detached
Both effects were one-liners, so a trailing eslint-disable-line covered the
setState call:
useEffect(() => { setSelected(new Set()); }, [q.length]); // eslint-disable-line ...
prettier expanded the block. The comment stayed on the closing line while the
call moved above it, so the guard protected nothing and the rule its author had
deliberately silenced failed the build.
This is the second shape of the same defect — hirnli had the eslint-disable-NEXT-line
variant. Both come from the same fact: an eslint directive binds to a line
number, so reformatting can silently unbind it, which makes 'mechanical, no
behaviour change' false for any bulk reformat.
* chore(desktop): bump the runner version the reformat requires
desktop-release-drift enforces that anything built into Fleet Runner which
differs from the last released tag must carry a version ahead of that tag —
main read 0.8.15 and fleet-runner-v0.8.15 already shipped.
A whole-repo reformat changes bytes under desktop/, so the gate fires. The
alternative was adding desktop/ to .prettierignore, which would buy a quiet PR
by carving a permanent hole in the formatter's coverage — the precise shape of
silent drift this test was written to catch. Bumping is what the rule asks for
and costs one patch release whose only content is whitespace.
* chore: merge main and re-format
A whole-repo reformat conflicts with any concurrent commit, and a conflicting PR
runs no checks at all while reporting nothing. Conflicts resolved to main,
which is correct because this branch changes formatting and nothing else.
* chore: leave desktop/ out of this reformat
desktop-release-drift is right to refuse this. Everything under desktop/ is
built into Fleet Runner, so changing it means shipping: bump the version AND add
a FLEET_RUNNER_RELEASES entry, whose stated audience is 'person who installed
Fleet Runner and wants to know what changed'. For a whitespace-only build the
honest answer is 'nothing', so that release should not exist — and I should not
write release notes claiming otherwise.
I had bumped to 0.8.16 to get the gate green. That was the wrong direction:
publishing a build to three OS runners to keep a formatting PR quiet. Reverted.
desktop/ is excluded in .prettierignore with the reasoning recorded there, to be
formatted alongside the next real runner change, where the bump and the notes are
true anyway.
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Six defects found by opening the product in a browser and looking at it,
one of them shipped earlier today.
1. The button half-fired with an irreversible side effect. On `printcraft`
the plan was ["repo","dispatch"]: repo creation made a REAL GitHub
repository, then dispatch returned 409 because the locked private zone
hides the roadmap. The only irreversible step succeeded and the step
that mattered did not. `kickoffBlockedReason()` is now checked before
anything runs, and the hero offers "Unlock to start" instead of a
button that cannot finish.
2. No brief field on that project. `needsSource` was true only when the
plan included profile or milestones, so a repo+dispatch plan gave the
user no way to say what to build — defeating the fix that made the
brief visible in the first place. The brief is now always shown; it is
still only REQUIRED by the steps extracted from it.
3. The plan sentence silently omitted the milestones step when the zone
was locked. It now explains instead of quietly shortening.
4. Instructional copy was unreadable. --text-muted is oklch(0.34) in dark,
measured 1.72:1 on a raised surface where AA wants 4.5:1. The four
sentences in the hero that TEACH (what the repo option does, that a
brief is thin, why a run failed) now use --text-secondary, measured
6.45:1. The token itself is untouched: it is used product-wide and
restyling everything from a bugfix is not this PR's business.
5. "Local repository" — an import placeholder PLACEHOLDER_DESCRIPTIONS
exists to swallow — was printing under the project title, on grid
cards, on list rows, and being PUBLISHED to public OrangeCat profiles.
All four now go through cleanDescription.
6. Two buttons claimed to start the project. "Run next step" is now
suppressed while the kickoff hero is up, from a single `showKickoff`
computed once.
Gate: the eslint rule grew a second pair of selectors for the raw
`description={project.description}` shape, verified against a canary.
npm run verify green: project-kickoff 68/68, project-dispatch-prompt
32/32, home + ops suites, tsc clean, 0 lint errors.
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Found by opening HamsterCheek on prod. The page said "No goals are linked
to this project" and the kickoff hero offered to plan the milestones —
for a project that has had five milestones in the database since 15:05
on 2026-08-04.
getProjectDetail substitutes `linkedGoals: []` whenever the private zone
is PIN-locked. Nothing downstream can tell that apart from a project that
genuinely has no roadmap, so:
- the Plan section stated a falsehood,
- missingKickoffSetup planned the "milestones" step, and one press of
"Make it happen" would have generated a SECOND roadmap on top of the
first, and
- a kickoff dispatch would have briefed the agent with no roadmap and
aimed it at "first working, runnable state" — rebuilding milestone one
for a project that is two milestones in.
Empty and withheld are different facts, so they get different values:
getProjectDetail now returns `goalsLocked` alongside `linkedGoals`. The
plan step is only planned when goals are genuinely absent, the Plan
section says they are hidden and links to /unlock, and a kickoff dispatch
refuses rather than briefing an agent from a roadmap it cannot see.
Every other consumer of isPrivateZoneLocked in this repo already renders
an explicit locked state (LockedZoneBanner, PrivateZoneDataGate, the
Today cards). This was the one place that silently faked the data.
npm run verify green: project-kickoff 63/63, project-dispatch-prompt
32/32, 150 home tests, tsc clean, 0 lint errors.
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Two failures found by watching the "Make it happen" button actually run on
HamsterCheek, both repeats of classes already fixed once.
1. The agent built the whole first milestone — schema, migration, map
picker, photo upload, tests, `npm run verify` green — and left every
line of it uncommitted. Its session ended and the work sat in
`git status` for 13 hours; from FleetCrown the project looked untouched.
The prompt did say "and commit it", but only inside an "if the
repository is empty" clause, and no dispatch kind ever said *push*.
`dispatchClosing()` now appends "commit on a branch, push it, and open
a PR" to every kind, and a test asserts it across PROJECT_DISPATCH_KINDS
so a new kind cannot skip it.
2. `attrs.x?.trim()` reads as "the value, if any" but returns "Unknown".
PR #160 fixed the four sites it found; there were 17. Swept all of them
through hasAnswer() / the new answer(), including the one that briefed
agents with "STACK: Unknown".
Prompt composition moved out of route.ts into lib/project-dispatch-prompt:
a route file cannot export anything but its handlers, which is why the
prompts — the actual product of a dispatch — had no tests. The route is
now thin, per the repo's own API-layer rule.
The gate, so this is the last time: an eslint no-restricted-syntax rule
bans `.trim()` on a project attribute in all three shapes (attrs.x,
attrs["x"], dossier.detail.attrs.x), verified against a canary file.
npm run verify green: 49 unit files (project-dispatch-prompt 30/30,
project-kickoff 58/58), 150 home tests, tsc clean, 0 lint errors.
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The kickoff hero rendered its editor only when the description was under 10
characters. HamsterCheek's was one sentence — over the bar — so the editor was
hidden and that sentence silently became the entire brief, with no way to
improve it on the page whose whole job is to run on it. Its real brief had to
be written straight to the database, which is the opposite of the cognitive
load this card was built to remove.
Everything the button produces is a function of this text: the profile, the
milestones, and the agent's first prompt. A one-sentence brief is exactly why
the extractor had no stack to infer and wrote "Unknown" (#160). So the text
belongs in front of the person, seeded with the current description and
editable, not behind a length check.
Adds an advisory — not a gate — when the brief clears the floor but is under
~2 sentences: it still runs, it just says the results can only be as specific
as the input. isThinBrief lives in the same SSOT module as the rest of the
plan, and a test pins that a thin brief is flagged and still startable.
Verified: 47/47 project-kickoff, 48/48 unit files, 150 home tests, tsc + lint
clean.
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Found while checking why HamsterCheek still looked cold after the kickoff
button shipped. Its profile held `stack: "Unknown"` and `competitors:
"Unknown"` — written by the extractor, which is asked for 17 named fields but
only told "omit if unknown" on three of them. So it answers the rest, and a
non-answer becomes a stored value.
That string is truthy, and four separate places asked "is this filled?" with a
truthiness check, so all four were wrong at once:
- health scored a point for a field that says nothing;
- the context header claimed a core field complete;
- the kickoff planner SKIPPED the profile step for a project whose profile
was not filled in — the one project the button exists for;
- and the kickoff prompt would have briefed the agent with "STACK: Unknown".
The repo already names this class one layer up (PLACEHOLDER_DESCRIPTIONS /
cleanDescription, for the import stub). This is the second instance, so it gets
the shared predicate rather than a fourth ad-hoc check: `hasAnswer()` beside it,
now used by every presence test. Also dropped at the source in clampFields, so
the data stays honest without trusting any prompt wording — and the two rows
already in prod are deleted.
Verified: 40/40 project-kickoff (incl. the live HamsterCheek case), 48/48 unit
files, 150 home tests, tsc + lint clean.
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* feat(projects): one "Make it happen" button that starts a project
Starting a project meant finding four controls and knowing their order:
AI profile fill (a chip in Context), milestone generation (a second chip
inside that chip's drawer), repo provisioning (inside a collapsed
"Project settings" details), and dispatch (a link to another page). Every
piece already worked. Only the composition was missing, so a person with
an idea and a paragraph describing it faced eight empty fields, a "Set
the next action", an unset completion contract, and a "dispatch one from
Control" dead end.
ProjectKickoff runs those four in order from the description already
written, reporting each step as it lands so a partial failure still says
exactly what got done. lib/project-kickoff is the SSOT for the plan and
is what decides whether the hero renders, so the button can never do more
or less than the page claims.
- kickoff dispatch kind: briefs the agent with the profile + roadmap and
targets milestone 1, scoped to one run
- provision accepts template "auto", inferred from the project's stack —
a cold start that stops to ask "which starter?" has already lost
- linked goals break progress ties by creation, so a fresh roadmap's
"milestone 1" is reproducibly milestone 1
- template list existed three times (zod enum, picker, registry); light
metadata now lives in config/project-templates and the seeded registry
derives from it
- 30 assertions covering the plan, the render contract, and inference
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(test): pin autopilot-eligibility to its frozen clock
The `blocked` case called evaluateScheduledDispatch without `nowMs`, so its
one-minute-old fixture was aged against the real wall clock instead of the
NOW the whole file is written against. It went green on 2026-08-02 and started
failing for everyone 24h later, when that fixture crossed
BLOCKED_RECHECK_TTL_MS and the block correctly decayed to dispatchable — a
time bomb in the test, not a regression in the gate.
Default nowMs in one wrapper every case now goes through, so no future case
can forget it, and give the SSOT property check a single shared opts object:
"identical facts" has to include the clock, or it compares two different
questions.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(projects): kickoff reports what the dispatch actually did
Self-review catch. injectPrompt answers 200 with `ok: true` in two cases where
no agent is working: it REFUSED because the user was mid-keystroke in the target
tab (`blocked: user-typing`), and it queued a command with no runner connected
to collect it (`warning: runner-offline`). Both are flagged deliberately —
inject-core's own comment says it fails loud "so the UI can warn instead of
pretending it's running" — and the card reported both as "agent working".
A card whose entire justification is honest per-step reporting must not be the
thing that launders those. Refused now shows as failed, which also swaps the
useless "Watch it work" for the "Try again" that would fix it; queued says it is
queued.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>