What's New
State Migration
- HUD state files now read from
.omc/state/*.jsonwith automatic fallback to legacy.omc/*.jsonpaths - Added
resolveStatePath()helper for consistent path resolution across HUD readers - Updated state-manager LEGACY_LOCATIONS with new entries (autopilot-state, ultraqa-state, hud-state, prd)
Swarm JSON Sidecar
- New
swarm-summary.jsonfile written alongside SQLite database for external monitoring - Updated at 4 integration points: swarm start, task claim, task complete, swarm end
- Enables PreCompact hook to read swarm state without SQLite dependency
PreCompact Hook Enhancements
- Now captures all 8 orchestration modes: autopilot, ralph, ultrawork, swarm, ultrapilot, ecomode, pipeline, ultraqa
- Real TODO counts read from task list file instead of hardcoded zeros
- Swarm state read from JSON sidecar instead of checking database file
Files Modified
src/hud/omc-state.ts- State path resolution with legacy fallbacksrc/hud/state.ts- HUD state directory migrationsrc/features/state-manager/index.ts- Expanded legacy locationssrc/hooks/swarm/state.ts- SwarmSummary interface and writersrc/hooks/swarm/claiming.ts- Sidecar writes on claim/completesrc/hooks/swarm/index.ts- Sidecar writes on start/stopsrc/hooks/pre-compact/index.ts- All 8 modes + real TODO counts
Full Changelog: v3.8.4...v3.8.5