Commit Graph

53 Commits

Author SHA1 Message Date
Lukas May
e07050de93 docs(07-01): complete MockAgentManager adapter plan
Tasks completed: 2/2
- Implement MockAgentManager adapter
- Write comprehensive tests for MockAgentManager

SUMMARY: .planning/phases/07-mock-agent-test-harness/07-01-SUMMARY.md
2026-01-31 08:44:10 +01:00
Lukas May
d0e9acf512 docs(07): create phase plan
Phase 07: Mock Agent & Test Harness
- 2 plans in 2 waves
- 1 parallel (07-01), 1 sequential (07-02)
- Ready for execution
2026-01-31 08:15:02 +01:00
Lukas May
95ac68b86b docs: create milestone v1.1 Test Infrastructure (3 phases)
Phases:
- 7. Mock Agent & Test Harness: configurable scenario simulation
- 8. E2E Scenario Tests: happy paths + edge cases
- 9. Extended Scenarios & CI: coverage + pipeline integration
2026-01-30 21:45:49 +01:00
Lukas May
207072fb55 chore: remove phase 7 (File System UI)
- Deleted .planning/phases/07-file-system-ui/ (4 PLAN.md files)
- FSUI-01, FSUI-02, FSUI-03, FSUI-04 deferred to v2
- v1 milestone complete: 23 requirements across 6 phases
- All 27 plans executed successfully
2026-01-30 21:25:26 +01:00
Lukas May
dbab535915 docs(07): create phase plan
Phase 07: File System UI
- 4 plans in 3 waves
- 2 parallel (07-02, 07-03 in Wave 2)
- Requirements: FSUI-01, FSUI-02, FSUI-03, FSUI-04
- Ready for execution
2026-01-30 21:19:22 +01:00
Lukas May
876b9ce161 docs(06): complete coordination phase
- Mark COORD-01, COORD-02 requirements as Complete
- Add missing 06-02-SUMMARY.md
2026-01-30 21:16:07 +01:00
Lukas May
7f07d1c135 docs(06-03): complete coordination tRPC & CLI plan
Tasks completed: 2/2
- Add coordination tRPC procedures
- Add CLI commands for merge coordination

SUMMARY: .planning/phases/06-coordination/06-03-SUMMARY.md
2026-01-30 21:15:10 +01:00
Lukas May
efcffef3ec docs(06-01): complete coordination events & port plan
Tasks completed: 2/2
- Add coordination domain events to event types
- Create CoordinationManager port interface

SUMMARY: .planning/phases/06-coordination/06-01-SUMMARY.md
2026-01-30 21:05:17 +01:00
Lukas May
22572f410f docs(06): create phase plan
Phase 06: Coordination
- 3 plans in 3 waves
- 06-01: Coordination Events & Port (Wave 1)
- 06-02: CoordinationManager Adapter (Wave 2)
- 06-03: tRPC & CLI Integration (Wave 3)
- Ready for execution
2026-01-30 20:58:23 +01:00
Lukas May
e941561ecf docs(05): complete task-dispatch phase 2026-01-30 20:51:11 +01:00
Lukas May
a4484eb67d docs(05-05): complete message & dispatch CLI plan
Tasks completed: 2/2
- Add message and dispatch tRPC procedures
- Add message and dispatch CLI commands

Phase 5 complete: all task dispatch requirements implemented.

SUMMARY: .planning/phases/05-task-dispatch/05-05-SUMMARY.md
2026-01-30 20:50:18 +01:00
Lukas May
099f9b6353 docs(05-04): complete DispatchManager adapter plan
Tasks completed: 3/3
- Implement dependency checking algorithm
- Implement dispatchNext and queue state
- Add tests and wire up exports

SUMMARY: .planning/phases/05-task-dispatch/05-04-SUMMARY.md
2026-01-30 20:44:17 +01:00
Lukas May
61802d795f docs(05-01): complete message schema & repository plan
Tasks completed: 2/2
- Add messages table to schema
- Create MessageRepository port and adapter

SUMMARY: .planning/phases/05-task-dispatch/05-01-SUMMARY.md
2026-01-30 20:37:44 +01:00
Lukas May
4974fda6fa docs(05-02): complete task visibility plan
Tasks completed: 2/2
- Add task tRPC procedures (listTasks, getTask, updateTaskStatus)
- Add task CLI commands (list, get, status)

SUMMARY: .planning/phases/05-task-dispatch/05-02-SUMMARY.md
2026-01-30 20:36:47 +01:00
Lukas May
deec438990 docs(05-03): complete DispatchManager port interface plan
Tasks completed: 2/2
- Create DispatchManager port interface
- Add dispatch domain events

SUMMARY: .planning/phases/05-task-dispatch/05-03-SUMMARY.md
2026-01-30 20:35:21 +01:00
Lukas May
14f2e472f8 docs(05-01): improve message schema with sender/recipient and optional response 2026-01-30 20:30:20 +01:00
Lukas May
e5ae103ef1 docs(roadmap): update Phase 5 plans 2026-01-30 20:22:46 +01:00
Lukas May
7b155ecc28 docs(05): create phase 5 plan - task dispatch
Phase 05: Task Dispatch
- 5 plans in 3 waves
- 3 parallel (Wave 1), 1 sequential (Wave 2), 1 sequential (Wave 3)
- Ready for execution

Requirements covered:
- AGENT-06: Message queue for agent questions
- TASK-01: Task status visibility
- TASK-04: Dependency-ordered dispatch
- TASK-05: Work queue for agents
2026-01-30 20:22:17 +01:00
Lukas May
20d867d980 docs(04): complete agent-lifecycle phase
Mark Phase 4 requirements as Complete:
- AGENT-01: Spawn agent with task assignment
- AGENT-02: Stop running agent
- AGENT-03: List agents with status
- AGENT-04: Session persistence
- AGENT-05: Background mode
- AGENT-07: CLI mode with JSON output
2026-01-30 20:16:03 +01:00
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
Lukas May
e19b14944c docs(03): complete git-integration phase 2026-01-30 19:33:22 +01:00
Lukas May
1a9df73139 docs(03-02): complete WorktreeManager adapter plan
Tasks completed: 3/3
- Install simple-git and create WorktreeManager adapter with CRUD
- Implement diff and merge operations (merged with Task 1)
- Write tests for WorktreeManager (23 tests)

SUMMARY: .planning/phases/03-git-integration/03-02-SUMMARY.md
2026-01-30 19:32:22 +01:00
Lukas May
b70c07caf2 docs(03-01): complete git events and worktree port plan
Tasks completed: 2/2
- Add git domain events to event types
- Create WorktreeManager port interface

SUMMARY: .planning/phases/03-git-integration/03-01-SUMMARY.md
2026-01-30 19:25:21 +01:00
Lukas May
e2567ded0a docs(03): create phase plan
Phase 03: Git Integration
- 2 plans in 2 waves
- 0 parallel, 2 sequential
- Ready for execution
2026-01-30 19:20:24 +01:00
Lukas May
115866ccc6 docs(02): complete data layer phase 2026-01-30 19:14:06 +01:00
Lukas May
71b132a61e docs(02-02): complete repository layer plan
Tasks completed: 4/4
- Create repository port interfaces
- Create Drizzle repository adapters
- Write repository tests
- Update exports and test cascade deletes

SUMMARY: .planning/phases/02-data-layer/02-02-SUMMARY.md
2026-01-30 19:13:04 +01:00
Lukas May
5347d3e681 docs(02-01): complete SQLite database setup plan
Tasks completed: 3/3
- Install Drizzle ORM and SQLite dependencies
- Create database connection factory
- Define task hierarchy schema

SUMMARY: .planning/phases/02-data-layer/02-01-SUMMARY.md
2026-01-30 14:25:58 +01:00
Lukas May
0cbb690201 docs(02): create data layer phase plans
Phase 02: Data Layer
- 2 plans in 2 waves
- 02-01: Database foundation (Drizzle + SQLite setup, schema)
- 02-02: Repository layer (port interface, adapter, tests)
- Ready for execution
2026-01-30 14:14:09 +01:00
Lukas May
7c2664cfb7 docs(01.1-06): complete CLI-tRPC integration plan
Tasks completed: 2/2
- Add tRPC HTTP adapter and CLI client
- Update CLI status command and add integration tests

SUMMARY: .planning/phases/01.1-hexagonal-architecture/01.1-06-SUMMARY.md
Phase 1.1 complete: 131 tests, hexagonal architecture retrofitted
2026-01-30 14:10:36 +01:00
Lukas May
5c07a4c4cf docs(01.1-03): complete process module testing and events plan
Tasks completed: 2/2
- Write unit tests for ProcessRegistry and ProcessManager
- Refactor ProcessManager to emit events via event bus

SUMMARY: .planning/phases/01.1-hexagonal-architecture/01.1-03-SUMMARY.md
2026-01-30 14:04:57 +01:00
Lukas May
573a704230 docs(01.1-04): complete logging module tests and events plan
Tasks completed: 2/2
- Write unit tests for LogManager and ProcessLogWriter
- Add event emission to ProcessLogWriter

SUMMARY: .planning/phases/01.1-hexagonal-architecture/01.1-04-SUMMARY.md
2026-01-30 14:04:56 +01:00
Lukas May
63e603709d docs(01.1-05): complete server tests and events plan
Tasks completed: 2/2
- Write unit tests for CoordinationServer
- Add event emission to server and shutdown handler

SUMMARY: .planning/phases/01.1-hexagonal-architecture/01.1-05-SUMMARY.md
2026-01-30 14:04:47 +01:00
Lukas May
f2a7b3f77a docs(01.1-02): complete tRPC foundation plan
Tasks completed: 2/2
- Install tRPC dependencies and create router foundation
- Define procedures matching HTTP endpoints with tests

SUMMARY: .planning/phases/01.1-hexagonal-architecture/01.1-02-SUMMARY.md
2026-01-30 13:59:53 +01:00
Lukas May
e72ffdd800 docs(01.1-01): complete event bus foundation plan
Tasks completed: 3/3
- Install and configure Vitest test framework
- Create EventBus port interface and EventEmitter adapter
- Define domain events with typed payloads and tests

SUMMARY: .planning/phases/01.1-hexagonal-architecture/01.1-01-SUMMARY.md
2026-01-30 13:56:20 +01:00
Lukas May
655fc296b6 docs(01.1): update roadmap and state with plan details
- 6 plans in 3 waves documented
- Wave structure: parallel foundation → parallel refactors → integration
- Ready for execution
2026-01-30 13:50:10 +01:00
Lukas May
5c5632dccf docs(01.1): create phase plan
Phase 01.1: Hexagonal Architecture
- 6 plans in 3 waves
- Wave 1: Event bus + tRPC foundation (parallel)
- Wave 2: Process, logging, server module refactors (parallel)
- Wave 3: CLI tRPC integration
- Ready for execution
2026-01-30 13:49:07 +01:00
Lukas May
1da8e4f795 docs(1.1): capture phase context
Phase 1.1: Hexagonal Architecture
- Vision and goals documented
- Essential requirements identified
- Scope boundaries defined
2026-01-30 13:42:53 +01:00
Lukas May
2d021ffa02 docs(01): complete core-infrastructure phase 2026-01-30 13:29:11 +01:00
Lukas May
6f64ec3e8c docs(01-05): complete server mode plan
Tasks completed: 2/2
- HTTP server with health endpoint and PID file
- Graceful shutdown with signal handlers

SUMMARY: .planning/phases/01-core-infrastructure/01-05-SUMMARY.md

Phase 1 (Core Infrastructure) complete.
2026-01-30 13:28:15 +01:00
Lukas May
f117227fed docs(01-04): complete logging infrastructure plan
Tasks completed: 2/2
- Create log directory management
- Create per-process log writer

SUMMARY: .planning/phases/01-core-infrastructure/01-04-SUMMARY.md
2026-01-30 13:18:17 +01:00
Lukas May
3e7b9f24bd docs(01-03): complete process management plan
Tasks completed: 2/2
- Create process types and registry
- Create process manager with spawn/stop

SUMMARY: .planning/phases/01-core-infrastructure/01-03-SUMMARY.md
2026-01-30 13:17:03 +01:00
Lukas May
57a4d938fa docs(01-02): complete CLI entry point plan
Tasks completed: 2/2
- Create CLI with commander
- Enable global installation via npm link

SUMMARY: .planning/phases/01-core-infrastructure/01-02-SUMMARY.md
2026-01-30 13:14:28 +01:00
Lukas May
5329349878 docs(01-01): complete project foundation plan
Tasks completed: 2/2
- Initialize Node.js project with TypeScript and ESM
- Create source structure and entry point

SUMMARY: .planning/phases/01-core-infrastructure/01-01-SUMMARY.md
2026-01-30 13:11:19 +01:00
Lukas May
074f79b855 docs(01): create phase 1 plan
Phase 01: Core Infrastructure
- 5 plans in 3 waves
- Wave 1: Project foundation (01-01)
- Wave 2: CLI, process mgmt, logging (01-02, 01-03, 01-04) [parallel]
- Wave 3: Server mode & shutdown (01-05)
- Ready for execution
2026-01-30 13:06:38 +01:00
Lukas May
a315b286fd docs: create roadmap (7 phases, 27 requirements)
Multi-agent workspace for orchestrating Claude Code agents.

Phases:
1. Core Infrastructure: INFRA-01 through INFRA-05
2. Data Layer: TASK-02, TASK-03
3. Git Integration: GIT-01 through GIT-04
4. Agent Lifecycle: AGENT-01 through AGENT-07 (except AGENT-06)
5. Task Dispatch: AGENT-06, TASK-01, TASK-04, TASK-05
6. Coordination: COORD-01, COORD-02
7. File System UI: FSUI-01 through FSUI-04

All v1 requirements mapped to phases.
2026-01-30 12:55:55 +01:00