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
This commit is contained in:
Lukas May
2026-01-30 13:50:10 +01:00
parent 5c5632dccf
commit 655fc296b6
2 changed files with 34 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ None
- Decimal phases (2.1, 2.2): Urgent insertions (marked with INSERTED)
- [x] **Phase 1: Core Infrastructure** - CLI binary, server mode, process lifecycle, graceful shutdown
- [ ] **Phase 1.1: Hexagonal Architecture** (INSERTED) - Tests, events, ports/adapters, tRPC
- [ ] **Phase 2: Data Layer** - SQLite database with task hierarchy schema
- [ ] **Phase 3: Git Integration** - Worktree isolation per agent with proper lifecycle
- [ ] **Phase 4: Agent Lifecycle** - Spawn, stop, list agents with session persistence
@@ -38,6 +39,26 @@ Plans:
- [x] 01-04: Logging Infrastructure (Wave 2)
- [x] 01-05: Coordination Server & Shutdown (Wave 3)
### Phase 1.1: Hexagonal Architecture (INSERTED)
**Goal**: Retrofit Phase 1 with hexagonal architecture, event-based inter-module communication, unit/integration tests, and tRPC for client communication
**Depends on**: Phase 1
**Requirements**: None (architectural refactor)
**Research**: Unlikely (patterns well-documented)
**Plans**: 6 plans in 3 waves
Plans:
- [ ] 01.1-01: Event Bus Foundation (Wave 1)
- [ ] 01.1-02: tRPC Foundation (Wave 1)
- [ ] 01.1-03: Process Module Tests + Events (Wave 2)
- [ ] 01.1-04: Logging Module Tests + Events (Wave 2)
- [ ] 01.1-05: Server Module Tests + Events (Wave 2)
- [ ] 01.1-06: CLI tRPC Integration (Wave 3)
**Scope:**
- Unit + integration tests for existing Phase 1 code
- Event bus for inter-module communication (extensible, swappable for external systems)
- tRPC router for server-to-client communication (CLI, future WebUI)
### Phase 2: Data Layer
**Goal**: SQLite database with Drizzle ORM, task hierarchy schema (initiative → phase → plan → task)
**Depends on**: Phase 1
@@ -108,11 +129,12 @@ Plans:
## Progress
**Execution Order:**
Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7
Phases execute in numeric order: 1 → 1.1 → 2 → 3 → 4 → 5 → 6 → 7
| Phase | Plans Complete | Status | Completed |
|-------|----------------|--------|-----------|
| 1. Core Infrastructure | 5/5 | Complete | 2026-01-30 |
| 1.1. Hexagonal Architecture | 0/6 | Planned | - |
| 2. Data Layer | 0/? | Not started | - |
| 3. Git Integration | 0/? | Not started | - |
| 4. Agent Lifecycle | 0/? | Not started | - |

View File

@@ -5,14 +5,14 @@
See: .planning/PROJECT.md (updated 2026-01-30)
**Core value:** Coordinate multiple Claude Code agents without losing track or stepping on each other.
**Current focus:** Phase 1 — Core Infrastructure
**Current focus:** Phase 1.1Hexagonal Architecture (INSERTED)
## Current Position
Phase: 1 of 7 (Core Infrastructure)
Plan: 5 of 5 in current phase
Status: Phase complete
Last activity: 2026-01-30 — Completed 01-05-PLAN.md
Phase: 1.1 of 8 (Hexagonal Architecture - INSERTED)
Plan: 0 of 6 in current phase
Status: Planned (6 plans in 3 waves)
Last activity: 2026-01-30 — Planned Phase 1.1
Progress: ██████████ 71%
@@ -49,6 +49,12 @@ Recent decisions affecting current work:
None yet.
### Roadmap Evolution
- Phase 1.1 inserted after Phase 1: Hexagonal architecture with events, tests, and tRPC (URGENT)
- Retrofits Phase 1 code before continuing to Phase 2
- Establishes architectural foundation for rest of project
### Blockers/Concerns
None yet.