Lukas May
e1ad5e8646
docs(04-04): complete tRPC integration & CLI commands plan
...
Tasks completed: 3/3
- Add AgentManager to tRPC context
- Add agent procedures to tRPC router
- Add agent CLI commands
Phase 4 (Agent Lifecycle) now complete - all 4 plans finished.
SUMMARY: .planning/phases/04-agent-lifecycle/04-04-SUMMARY.md
2026-01-30 20:14:55 +01:00
Lukas May
f0db74cf8c
docs(04-03): complete ClaudeAgentManager adapter plan
...
Tasks completed: 2/2
- Implement ClaudeAgentManager adapter
- Write tests for AgentManager
SUMMARY: .planning/phases/04-agent-lifecycle/04-03-SUMMARY.md
2026-01-30 20:08:55 +01:00
Lukas May
9ab6e5eb28
docs(04-01): complete agent schema & repository plan
...
Tasks completed: 3/3
- Add agents table to database schema
- Create AgentRepository port interface
- Create DrizzleAgentRepository adapter with tests
SUMMARY: .planning/phases/04-agent-lifecycle/04-01-SUMMARY.md
2026-01-30 20:02:42 +01:00
Lukas May
53259afb07
docs(04-02): complete AgentManager port & events plan
...
Tasks completed: 2/2
- Define AgentManager port interface and domain types
- Add agent lifecycle events to events module
SUMMARY: .planning/phases/04-agent-lifecycle/04-02-SUMMARY.md
2026-01-30 20:01:35 +01:00
Lukas May
ffe5acceff
docs(04): update agent plans with names and CLI approach
...
Key changes:
- Add agent names (human-readable like 'gastown') instead of UUID-only
- Use Claude CLI with --output-format json instead of SDK streaming
- Session ID extracted from CLI JSON output, not SDK init message
- Add waiting_for_input status for AskUserQuestion scenarios
- Resume flow is for answering agent questions, not general resumption
- CLI commands use names as primary identifier
2026-01-30 19:53:29 +01:00
Lukas May
781fbd0b23
docs(04): create agent lifecycle phase plan
...
Phase 04: Agent Lifecycle
- 4 plans in 3 waves
- Wave 1 (parallel): 04-01 schema/repository, 04-02 port/events
- Wave 2: 04-03 ClaudeAgentManager adapter (Claude Agent SDK)
- Wave 3: 04-04 tRPC + CLI integration
Requirements covered:
- AGENT-01: Spawn new agent with task assignment
- AGENT-02: Stop running agent
- AGENT-03: List all agents with status
- AGENT-04: Session persistence via SDK session IDs
- AGENT-05: Background mode via Node.js event loop
- AGENT-07: JSON output via Claude Agent SDK
2026-01-30 19:43:28 +01:00