v2.64.0 — board launch control (approve gate → spawn agent)
The dev board becomes a pult, not just a mirror: approving a gate (or pressing Run) spawns a Claude Code agent headlessly in the project and streams its output live into the board.
- Spawn + stream —
claude -p "<prompt>" --output-format stream-jsonin the project cwd; events parsed (assistant text · tool_use · result) and pushed asevent: agentover SSE. Endpoints/api/agent/run|stop|status; gate-approve takes optional{ runAgent, agentPrompt }. - Guardrails — same-origin only · project must live in
$HOME· one run per project (409) · hard timeout (SIGTERM→SIGKILL) · 2000-line ring buffer · configurable bin. Permission defaultacceptEdits; full autonomy opt-in viaGREAT_CTO_AGENT_DANGEROUS=1. - UI — a Run agent panel (prompt · Run · Stop · live stream) + an Approve + ▶run button on gate cards.
Verified with a stub bin (streaming + all four guardrails + Stop) and a real claude run. Lib 348/348.