- CLAUDE.md: drop the "migration from cockpit name in progress" qualifier on
the Postgres database stack note. The rename completed; tracking it as
in-progress in 2026-06 is noise.
- docs/desktop-app.md: prepend a "Status: SHIPPED through v0.4.0" banner so
future readers understand the doc is the original execution plan kept for
context, and the @cockpit/* package names / cockpit-daemon.sh / 0.1.0
artifact references inside are pre-rebrand historical. Points at the
authoritative current sources (desktop/src/main/index.ts, home/README.md,
marketing-content.ts, mirror-desktop-release.sh).
Both stale items would have led a new reader to think work was still in
flight when it isn't.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Refactor home/watcher.ts for dual use: library (startWatcher() returns {close}, no auto process.exit, conditional SIG handlers) + CLI (--start / --self-test unchanged, 8/8 tests pass).
- Wire in desktop/src/main/index.ts: import + start on whenReady (after createWindow), store closer, stop on before-quit.
- desktop runtime status now advertises hasWatcher + updated version string.
- Desktop main process now owns the full local event loop for its dispatches: append bridge.dispatch + started/crashed (with sentinel) on the way in, worker.idle (from real session.md changes) on the way out.
- Rebuilds clean; home/ 89/89; no separate watcher process required when Fleet Runner is the runtime.
- Docs + session updated.
This largely completes the "real worker idle path" part of desktop-2/3. GUI dogfood + projection verification in a graphical env still needed for the last mile.
- desktop build clean, tsc clean, lint 0, home/ 89/89
- advances desktop-2/3: dispatches now produce durable events in ~/.fleetcrown/events.jsonl with proper runId/sentinel so stop-hooks and web control plane treat them as first-class
- still no embedded watcher (idle via co-running home/watcher.ts for now)
Refs: desktop-app.md phases, Cockpit.roadmap T1/T2, prior landing 2d98638