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(widget): the theme is derived from @bitbaum/design-tokens, not typed
The widget cannot read our CSS variables on someone else's site, so it ships
concrete values — and those were typed by hand into palette.ts, which is how
it drifted into "does not look like part of FleetCrown". Now
scripts/generate-widget-theme.ts reads @bitbaum/design-tokens/tokens.css
(the fleet's design SSOT) and writes src/lib/widget-theme.generated.ts:
--surface-public, the .dark text/border/status scales, --public-accent,
--on-accent, the radii and the type stacks. PALETTE.widget is that file.
scripts/test/widget-theme-from-tokens.ts regenerates and compares, so a
token bump that was not regenerated fails, and pins the HSL→hex conversion.
The widget takes radii and fonts from the theme too, with fallbacks for an
older boot response.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* fix(widget): a picked container is named by its heading, not by every word inside it
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* docs(widget): the widget's colours are generated from the fleet tokens, not literal by design
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>