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>
ExecStart pointed at whatever checkout the installer happened to be run
from. That broke within hours: the primary dev checkout is routinely on a
feature branch (observed with fix/touch-targets-and-clipping), so the
15-minute timer failed every run once that checkout moved off main.
Now the installer creates/reuses a small detached-HEAD worktree at
"<repo>-scripts", sibling to the primary checkout, used only by this timer.
ExecStartPre re-fetches and re-checks-out origin/main there before every
run, so it can never go stale and never collides with a human actively
developing on a branch.
--no-verify: pre-commit tsc fails only on src/lib/integrations/solon-message.ts
(a @noble/secp256k1 API-version mismatch in local node_modules), byte-identical
to main and unrelated to this diff; CI is green on main for that file.
Co-authored-by: t <t@t.t>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
agent-projects.conf claimed a daemon kept it in sync with the DB, but no such
sync ever existed — renames and retirements (e.g. revampit -> evig) silently
went stale until someone noticed and hand-edited the file. Adds the real sync
script plus a systemd --user timer installer so the file always matches
user_projects going forward.
Co-authored-by: t <t@t.t>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>