veritas-kanban/cli
Brad Groux 575035d69b refactor: Replace direct spawn with Clawdbot sessions API integration
- Created ClawdbotAgentService that delegates to Veritas main session
- Agent requests written to .veritas-kanban/agent-requests/ as JSON
- Added /api/agents/pending endpoint for Veritas to poll
- Added /api/agents/:taskId/complete callback endpoint
- CLI commands: agents:pending, agents:complete, agents:status
- Removed PTY process management - Clawdbot handles it

Flow:
1. Kanban UI → POST /api/agents/:taskId/start
2. Server writes request to agent-requests/{taskId}.json
3. Veritas polls agents:pending or checks manually
4. Veritas calls sessions_spawn with task prompt
5. Sub-agent works in worktree, commits changes
6. Veritas calls /api/agents/:taskId/complete
7. Task updated, notifications sent
2026-01-26 11:20:28 -06:00
..
src refactor: Replace direct spawn with Clawdbot sessions API integration 2026-01-26 11:20:28 -06:00
package.json feat(US-501): CLI for task management 2026-01-26 04:17:52 -06:00
tsconfig.json feat(US-501): CLI for task management 2026-01-26 04:17:52 -06:00