Commit Graph

71 Commits

Author SHA1 Message Date
Lukas May
8c93ce24c9 docs(10-04): complete E2E test updates plan
Tasks completed: 2/2
- Verified existing E2E tests use questions array format
- Added multi-question E2E test

Phase 10: Multi-Question Schema complete (4/4 plans)
SUMMARY: .planning/phases/10-multi-question-schema/10-04-SUMMARY.md
2026-01-31 18:09:27 +01:00
Lukas May
7c02b85974 docs(10-03): complete TestHarness & test updates plan
Tasks completed: 2/2
- Update TestHarness convenience methods
- Update all tests for questions array

SUMMARY: .planning/phases/10-multi-question-schema/10-03-SUMMARY.md
2026-01-31 18:06:30 +01:00
Lukas May
e1827865d9 docs(10-02): complete manager implementation plan
Tasks completed: 2/2
- Update ClaudeAgentManager for batched answers
- Update MockAgentManager for batched answers

SUMMARY: .planning/phases/10-multi-question-schema/10-02-SUMMARY.md
2026-01-31 18:04:28 +01:00
Lukas May
d3bdeda12a docs(10-01): complete multi-question schema plan
Tasks completed: 3/3
- Update agent output schema to questions array
- Update PendingQuestion type to PendingQuestions
- Update AgentWaitingEvent payload

SUMMARY: .planning/phases/10-multi-question-schema/10-01-SUMMARY.md
2026-01-31 17:58:50 +01:00
Lukas May
9dd0e46060 docs(10): create phase plan
Phase 10: Multi-Question Schema
- 4 plans in 3 waves
- Wave 1: Schema & types (01)
- Wave 2: Manager implementations + unit tests (02, 03 parallel)
- Wave 3: E2E tests (04)
- Ready for execution
2026-01-31 17:51:18 +01:00
Lukas May
b3941e5431 docs: create milestone v1.2 Architect & Multi-Question (4 phases)
Phases:
- 10. multi-question-schema: Extend agent output schema to return multiple questions
- 11. architect-agent: Agent modes for concept refinement and phase breakdown
- 12. phase-task-decomposition: Agents break phases into tasks with questions
- 13. real-claude-e2e-tests: Verify flows with actual Claude CLI
2026-01-31 17:47:28 +01:00
Lukas May
aacfe53492 chore: complete v1.1 milestone
- Created MILESTONES.md with v1.0 and v1.1 entries
- Evolved PROJECT.md with validated requirements and current state
- Reorganized ROADMAP.md with collapsed v1.1 milestone
- Created milestone archive: milestones/v1.1-ROADMAP.md
- Updated STATE.md for next milestone planning
2026-01-31 16:31:57 +01:00
Lukas May
c6a4fb3cfe docs(09-01): complete conflict & parallel E2E tests plan
Tasks completed: 2/2
- Conflict hand-back round-trip tests
- Multi-agent parallel completion tests

SUMMARY: .planning/phases/09-extended-scenarios/09-01-SUMMARY.md
2026-01-31 15:46:37 +01:00
Lukas May
cc405c6e2f docs(09-02): complete recovery & resume E2E tests plan
Tasks completed: 2/2
- Create recovery/resume scenario tests
- Create extended agent Q&A scenario tests

SUMMARY: .planning/phases/09-extended-scenarios/09-02-SUMMARY.md
2026-01-31 15:46:17 +01:00
Lukas May
e318a92413 docs(08.1-02): complete MockAgentManager schema alignment plan
Tasks completed: 3/3
- Update MockAgentManager to use schema-aligned scenarios
- Update TestHarness setAgentScenario helper
- Update MockAgentManager tests

SUMMARY: .planning/phases/08.1-agent-output-schema/08.1-02-SUMMARY.md
2026-01-31 15:33:12 +01:00
Lukas May
ee0d6eae33 docs(08.1-01): complete agent output schema plan
Tasks completed: 3/3
- Define agent output schema with Zod
- Update ClaudeAgentManager to use schema and handle question flow
- Update AgentWaitingEvent to include structured question data

SUMMARY: .planning/phases/08.1-agent-output-schema/08.1-01-SUMMARY.md
2026-01-31 15:26:47 +01:00
Lukas May
3168b30185 docs(08.1, 09): insert agent output schema phase, update phase 9
Phase 8.1: Agent Output Schema (INSERTED)
- 2 plans in 2 waves (sequential)
- Defines discriminated union schema (done/question/error)
- Updates ClaudeAgentManager to use --json-schema flag
- Aligns MockAgentManager with new schema

Phase 9: Extended Scenarios (updated)
- 2 plans in 1 wave (parallel)
- Now depends on Phase 8.1
- Updated scenario format references
2026-01-31 15:19:14 +01:00
Lukas May
05f6f64fbe docs(09): create phase plan
Phase 09: Extended Scenarios
- 2 plans in 1 wave
- 2 parallel, 0 sequential
- Ready for execution
2026-01-31 15:06:47 +01:00
Lukas May
5152f0baa4 docs(09): capture phase context
Phase 9: Extended Scenarios
- Vision and goals documented
- Four core scenarios: conflict hand-back, multi-agent, recovery, question/answer
- CI deferred - focus on test coverage
2026-01-31 09:45:13 +01:00
Lukas May
761c59f3a3 docs(08-01): complete happy path E2E tests plan
Tasks completed: 2/2
- Create E2E happy path test file
- Add complex dependency flow test

SUMMARY: .planning/phases/08-e2e-scenario-tests/08-01-SUMMARY.md
2026-01-31 09:16:06 +01:00
Lukas May
a572a90e7e docs(08-02): complete edge case E2E tests plan
Tasks completed: 3/3
- Create E2E edge case tests (crash, waiting, blocking)
- Add merge conflict scenario tests
- Add test module index export

SUMMARY: .planning/phases/08-e2e-scenario-tests/08-02-SUMMARY.md
2026-01-31 09:15:46 +01:00
Lukas May
c823a6b44b docs(08): create phase plan
Phase 08: E2E Scenario Tests
- 2 plans in 1 wave (parallel)
- 08-01: Happy path tests (dispatch, dependencies, merge)
- 08-02: Edge case tests (crash, waiting, conflicts)
- Ready for execution
2026-01-31 09:06:44 +01:00
Lukas May
e79ba1d8ed docs(07-02): complete test harness plan
Tasks completed: 3/3
- Create fixture helpers for database seeding
- Create test harness with full system wiring
- Write tests proving harness works

Phase 7 complete (2/2 plans).

SUMMARY: .planning/phases/07-mock-agent-test-harness/07-02-SUMMARY.md
2026-01-31 08:51:16 +01:00
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