-
Decompose all subtasks required to accomplish this task into a dependency graph of nodes.
-
Spawn agents to work through this dependency graph.
- Note:
wait_for_agenttool can be buggy—may need to call it multiple times.
- Note:
-
Manage/orchestrate Voicetree MCP agents to work through the dependency graph.
Structure your implementation in these phases:
| Phase | Description |
|---|---|
| 1. Data Model | Define the core data structures |
| 2. Pure Functions + TDD | Write pure functions with test-driven development for the data model |
| 3. Verify Logic | Confirm it works at the pure/data level |
| 4. Isolated UI Component | Build UI component in isolation, tested visually with screenshots (read the screenshots) |
| 5. Integration + E2E | Integrate UI into larger system with logic. Complete E2E tests that mimic exact user behavior (literally clicking buttons and asserting nodes in graph changed) |
This may need further decomposition—above is high level only.
The feature MUST be fully complete at the end.