Problem
Long coding-agent tasks need visible state and a way to retain progress when a CLI process stops, hits a quota or needs an operator's attention.
Approach
A TypeScript supervisor wraps the Claude Code CLI. The implementation includes a task state machine, chunking, compressed checkpoints in SQLite, output parsing and an MCP server router. A web panel exposes task controls and receives updates over WebSockets.
Tradeoffs
- A CLI wrapper preserves access to the tool's own configuration but must interpret process output rather than a fully typed API.
- SQLite keeps persistence local; distributed supervision is outside this design.
- Checkpoint storage is implemented. Reliable recovery still depends on task boundaries and the side effects of the work being resumed.
Outcome
A public MIT-licensed orchestration implementation with state, checkpointing, MCP and dashboard components. Production readiness and unattended recovery guarantees have not been established.