Overview
A containerised harness that spawns real PTYs for coding-agent CLIs, streams them to the browser over WebSockets with xterm.js, and puts a mission-control panel beside them. Work is queued one task per agent, fans out by role or parent, and runs as multi-step plans whose steps wait on each other.
Highlights
- Raw terminal bytes and structured JSON events travel on separate WebSocket streams and never mix
- Harness catalog and agent roster reconcile live: renames touch records, command changes respawn only that PTY
- Plans with dependencies across fan-outs; a failed prerequisite cancels its dependents
- Shell steps report their own exit status through an invisible terminal escape sequence
- Crash-looping CLIs are marked blocked instead of respawning forever, and credentials never pass through the app
- Per-agent subscription usage windows fed by the AI Credits daemon; 54 end-to-end assertions against real PTYs

