mao@orangecat.ch was never a mailbox. The orangecat.ch mail service showed
0 of 1 addresses used — "You don't have an address yet on orangecat.ch" —
so every security report, licensing enquiry, privacy request and investor
mail sent to it bounced. Nothing reported that, because a dead address is
silent by construction.
cato@orangecat.ch now exists (created 2026-09-15, Infomaniak) and matches the
public name in the org register. Swapped in the eight files that publish a
contact: LICENSE, SECURITY.md, the privacy policy, the terms, the investor
contact, the seed fallback, and a test fixture.
NOT changed, deliberately: "Mao Nakamoto" as the named operator, data
controller and copyright holder in LICENSE, TERMS, PRIVACY and the IP
assignment memo. Replacing the party to a contract is a decision that may want
a legal name rather than another pseudonym. docs/AUDIT_REPORT.md keeps the old
address because it is a dated record of what was true then.
Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(identity): the retired pseudonym was still live, and the scaffold signed with it
Caught by a --dry-run, minutes before scaffolding a new public repository.
new-site.sh hardcoded the retired pseudonym as the commit author:
git -c user.name='<retired>' ... commit -m 'feat: scaffold <Title>'
Every site the scaffold has ever created carries that name in its FIRST COMMIT,
in a public repo, permanently. Nothing surfaces it: it is one flag on a long
line, it never appears in the app, and the dry-run prints it only if you read
the command it would run.
Sweeping for it found thirteen more, and the shipped ones were not internal:
privacy, terms, license, support the operator named on the LEGAL pages
PublicFooter the copyright line on every public page
config/ecosystem.ts the `owner` field
seed.ts the seeded profile name
Avatar.tsx, initials.ts doc examples
All four legal pages were serving it live on fleetcrown.orangecat.ch, verified
by curl before and after.
The doc examples are replaced rather than renamed: both demonstrated two words
producing two initials, so substituting a one-word name would have broken what
they exist to show. They use "Ada Lovelace" now.
WHAT THIS DELIBERATELY DOES NOT TOUCH
legal/IP_ASSIGNMENT_MEMO.md, legal/PRIVACY_POLICY.md and
legal/TERMS_OF_SERVICE.md still carry the retired name, on purpose. An IP
assignment memo reading "I, <name>, sole author and copyright holder" and a
privacy policy naming a data controller are instruments executed under a name.
Renaming a party on a signed document is not a find-and-replace; it is a
decision for the person who signed it. The check below excludes legal/ so its
contents are not mistaken for a defect, and so nobody "fixes" them mechanically.
THE CHECK
scripts/hetzner/test-no-retired-name.sh fails if the name returns to src/ or
scripts/. docs/ is allowed, because HANDOFF.md has to NAME the retired
pseudonym in order to forbid it — a gate that cannot tolerate its own rule
being written down forces the rule to be deleted.
It assembles the pattern from two literals instead of writing it whole, so the
check does not match its own source. That is asserted, not assumed: one case
fails if the pattern is ever "tidied" into a single literal, and another checks
it assembled to the expected value, because an empty pattern matches everything
and a mistyped one matches nothing and passes silently.
Mutation-proven against the real defect, not a fixture: the commit-author line
was reverted to its pre-fix state, the check failed and named new-site.sh, and
the line was restored. Wired into `test:ops`.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe
* style: prettier
Replacing the retired name with a shorter one changed the JSX text reflow on
the three legal pages, so prettier wants them rewrapped. verify's first gate is
`prettier --check .`, which makes a formatting-only miss a red build with
nothing else wrong.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* 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>
Audit wave 1 of 3 (six-agent sweep findings):
- secrets/identity: private-zone PIN literal out of 3 scripts (rotate the
PIN separately — it lives in git history), seed email now env-driven,
GEORGE_USER_ID renamed, real-name comments neutralized, CODEOWNERS off
the old org, /home/g fallback replaced with os.homedir(), phone + path
examples anonymized; DEFAULT_USER_EXTERNAL_ID default now 'self' with
both DBs migrated (UPDATE entities SET external_id='self')
- URL SSOT: every product-code literal of the app domain now flows through
APP_URL (desktop menus, runner banner curl, templates, UA, doctor,
orangecat publish origin); new GITHUB_API_BASE shared by 7 files;
openclaw gateway fallback imports its constant; ORANGECAT_BASE_FALLBACK
+ LOCAL_DEV_URL single-sourced
- design tokens: --scrim/ui-backdrop (4 raw bg-black/NN backdrops),
--toggle-knob, --surface-terminal (cross-linked with terminal-theme.ts),
--text-compact, ui-pin-input + PIN_MAX_DIGITS=12 shared client/server
(fixes the 20-vs-12 maxLength drift), ui-icon-nudge for the 3px cluster
- dead code: HistoryFeed + loki-prompts deleted whole, 13 more dead
symbols removed; all console.log verified intentional and kept
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Privacy: the public /u/<username> profile + the greeting were showing the
operator's REAL name — "George" (hardcoded in seed.ts) and username "gbutaev"
(suggestUsername auto-derives a handle from the OAuth profile's real name). The
operator runs pseudonymously (Mao Nakamoto) and never typed either. Fixes:
- seed.ts seeds the pseudonym, never a real name (it surfaces on a public URL).
- The owning user's name/username were corrected to the pseudonym in both DBs.
- jwt callback now self-heals not just an orphaned id but a drifted username/name
too (compares cached token to the DB), so renaming an account propagates to the
session and the public profile it links to — instead of stranding the operator
on a now-dead /u/<old-handle>. token.name is refreshed too (fixes the greeting).
Thoughts: "The Captain Needs a Ship" — the agent-tool landscape (Claude Code,
Grok Build, Hermes, Codex, OpenClaw) is converging on a worker substrate (loop,
verifier, skills, memory, HOSTED execution). FleetCrown's bet is the captain
tier, but it borrows the operator's laptop to run the fleet — the keystone gap
behind every "runner offline" wall. The essay ranks the substrate gaps and why
hosted ephemeral execution is the one that unblocks the rest.
tsc=0, eslint=0, test:auth 13/13.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Split ProfileSettings into Profile (public identity) and Account (auth/security) tabs
- Add LocationSettings with two-tier model: homeCity/timezone/locale + currentCity/timezone/until for travelers
- Add AccountSettings with email display, password change, connected OAuth providers, danger zone
- New SettingsTabs with 7-tab horizontal nav (Profile · Account · Location · Agent · Projects · Team · Billing)
- New user_preferences DB table with getUserPreferences/upsertUserPreferences query functions
- New API routes: GET/PATCH /api/me/preferences, GET/DELETE /api/me/connected-accounts/[provider]
- Wire user's active city into weather API; active timezone into cron default
- beacon: replace "Waiting for Claude…" spinner with clean Standby screen (logo + text)
- beacon: fix grep pipeline crash in agent-hook-bridge.sh (|| true guards), fix token lookup
- beacon: fix _PROJECT_ROOT via agent-projects.conf, fix auto-start without zenity dialog
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Final pair of text columns missing `.$type<>()`:
- subscriptions.currency: now $type<SubscriptionCurrency>(). The
literal "CHF" default stays as-is — it's already the canonical
default and the type is ["CHF","USD","EUR","GBP"], so the literal
cannot drift.
- subscriptions.frequency: now $type<SubscriptionFrequency>() with
the default routed through FREQUENCY.MONTHLY (SSOT).
Side-effects:
- Both subscriptions API routes' `CURRENCIES_ENUM` and
`FREQUENCIES_ENUM` were typed `readonly [string, ...string[]]`,
so z.enum widened to string and the tightened `.set()` rejected
it. Tightened to the typed tuples — matches what every other
enum cast in /api now does.
- scripts/seed.ts gains two boundary casts for sqlite legacy data.
- SubscriptionActions had `frequency === "one-time"` — the only
literal outlier in that file (every other branch already used
FREQUENCY.X). Now also goes through FREQUENCY.ONE_TIME.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Last turn I claimed this lane was done — it wasn't. goals.status,
commitments.status, events.status, and actions.status were still
plain `text("status")` while their canonical unions sat next door
in lib/constants/statuses (GoalStatus, CommitmentStatus, EventStatus,
ActionStatus). Now consistent with the just-tightened entities.type
and subscriptions.status.
Each gains `.$type<XStatus>()` and the literal default ("active",
"draft") routes through the constant (XSTATUS.ACTIVE / .DRAFT) — so
the SSOT is the `as const` enum, not duplicated literals.
Two boundary follow-ups:
- scripts/seed.ts: two more `as XStatus` casts where sqlite legacy
data crosses into Postgres.
- /api/events/[id]: `STATUSES = Object.values(EVENT_STATUS)` was
typed `[string, ...string[]]` so z.enum produced `string` and
drizzle's tightened .set() rejected it; tightened to
`[EventStatus, ...EventStatus[]]`.
Net: every text-status column in the codebase is now `.$type<>`-
typed, and the literal defaults all derive from the enums.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Same pattern as the just-shipped habit-frequency tightening — two more
text columns with canonical union enums in lib/constants/statuses but
no `.$type<>()` annotation, so Drizzle inferred plain string and the
unions only existed in display/comparison code.
- entities.type: now $type<EntityType>(). Drops the `type as EntityType`
cast inside TypeBadge in memory/page.tsx — TypeBadge prop is now
EntityType directly.
- subscriptions.status: now $type<SubStatus>(). Drops the `as SubStatus`
cast in money/page.tsx; the literal `"active"` default also now
routes through SUB_STATUS.ACTIVE (SSOT).
scripts/seed.ts gains two boundary casts (`as EntityType`, `as SubStatus`)
for the legacy sqlite import — sqlite is the system boundary where
unvalidated string data enters, so casting there is appropriate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>