mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-05 00:28:51 +01:00
Position essay documenting the planned consolidation of FleetCrown's
dual local executors (legacy bash daemon + Fleet Runner desktop) onto
Fleet Runner as the sole local executor, by deletion rather than
migration.
Why this exists before the cuts: the founder asked for the Elon-mode
recommendation, accepted it, and asked to "ensure it will work" plus
document the why. Writing the plan as an essay first forces the
stress-test on paper — every responsibility the bash daemon claims
gets questioned for whether it was load-bearing at all, before we
decide which pieces Fleet Runner must absorb.
The plan in the essay (three sessions):
A. Cuts — stop systemd units, remove ~3000 LoC bash, revert today's
strategist commits (73b8f0a + 680c7ed), strip Groq composition
from dispatch/route.ts, collapse auto_inject_mode 5 modes → 2.
B. Absorption — Fleet Runner gets a filesystem watcher on
~/.claude/sessions/*.md, a TS prompt-key resolver against
~/.config/agent-prompts.json, and an autopilot trigger.
Estimated ~150 LoC, well under Elon's 10% add-back rule.
C. Schema-sync deploy gate — orthogonal but same week; prevents the
silent prod drift that bit us this morning (~/.claude/projects/
-home-g-dev-fleetcrown/memory/pattern_silent_schema_drift_prod.md).
The acid test the essay names: a customer downloading Fleet Runner
v0.9.0 today never runs the bash daemon. So why is it running on the
founder's machine? The customer's experience IS the production target.
Essay is auto-indexed by src/lib/thoughts-content.ts (reads
content/thoughts/*.md at request time). Verified live at
http://localhost:3000/thoughts/killing-the-bash-daemon (200).
No code change in this commit — pure documentation. Sessions A, B, C
will be separate commits.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>