Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
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