Commit Graph
3 Commits
Author SHA1 Message Date
CatoandClaude Fable 5.1 95c40a9cd8 refactor: rename the product from FleetCrown to Loki (#695)
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>
2026-09-13 16:13:10 -07:00
Mao NakamotoandClaude Fable 5 2040322b2d refactor(audit): finish worst-first fixes — states SSOT, palette mirrors, timeout tiers, box git auth
Final audit wave (three fix agents died at the session limit mid-flight;
completed by hand):
- box-workspace: token no longer embedded in remote URLs — auth moves to a
  per-invocation http.extraheader (actions/checkout pattern) and legacy
  embedded credentials are scrubbed from origin on every workspace prep
- ORCH_STATE keyed constants adopted at every raw run-state literal
  (dispatch-status, activity-status, presenters, run route writes,
  inject-core, openclaw execution, queries incl. the SQL literal)
- lib/palette.ts: single JS mirror of the design tokens for contexts that
  cannot read CSS vars (satori OG x3, email HTML, themeColor, xterm base,
  mermaid fallbacks, brand-mark) — zero rendered values changed
- HTTP/EXEC timeout tiers in constants/time.ts adopted across LLM and
  subprocess callers; widget polls join REFRESH_CADENCE
- scripts: Hetzner IP exists exactly once (hetzner/_box-env.sh); all
  15 scripts source it (bash -n clean, heredoc output byte-identical)
- storage keys centralized in brand-storage (values unchanged);
  ControlDispatchButton's dead 'control:prefill' write replaced with the
  real ?focus= deep-link; investors copy no longer hardcodes a fleet count;
  bare exhaustive-deps disables annotated

Not done, deliberately: public-git-history rewrite — the GitHub account ID
(41178744) links the old and new handles regardless of history, so a
3-repo force-push would break the live fleet for cosmetic-only gain; real
pseudonymity requires a fresh account (operator decision, see AUDIT_REPORT).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 16:29:47 +02:00
Mao NakamotoandClaude Opus 4.8 391c592e70 docs(infra): Ivy co-location runbook + migrate-openclaw.sh
Sequenced runbook for moving OpenClaw/Ivy onto the (now CX43, 16GB) box —
co-located, hardened (non-root user, pg_hba deny, loopback gateway), with the
off-box heartbeat that makes co-location safe. migrate-openclaw.sh automates
the mechanical parts (stop→package→transfer→restore→perms) and gates the
credentialed/judgment steps (gateway install, venv rebuild, WhatsApp re-pair).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 18:19:47 +02:00