refactor: Rename agent modes breakdown→plan, decompose→detail
Full rename across the codebase for clarity: - breakdown (initiative→phases) is now "plan" - decompose (phase→tasks) is now "detail" Updates schema enums, TypeScript types, events, prompts, output handler, tRPC procedures, CLI commands, frontend components, tests, and docs. Also fixes 0022 migration multi-statement issue (adds statement-breakpoint markers).
This commit is contained in:
@@ -87,7 +87,7 @@ Each procedure uses `require*Repository(ctx)` helpers that throw `TRPCError(INTE
|
||||
| listInitiatives | query | Filter by status |
|
||||
| getInitiative | query | With projects array |
|
||||
| updateInitiative | mutation | Name, status |
|
||||
| updateInitiativeMergeConfig | mutation | mergeRequiresApproval, mergeTarget |
|
||||
| updateInitiativeConfig | mutation | mergeRequiresApproval, executionMode |
|
||||
|
||||
### Phases
|
||||
| Procedure | Type | Description |
|
||||
@@ -98,7 +98,7 @@ Each procedure uses `require*Repository(ctx)` helpers that throw `TRPCError(INTE
|
||||
| updatePhase | mutation | Name, content, status |
|
||||
| approvePhase | mutation | Validate and approve |
|
||||
| deletePhase | mutation | Cascade delete |
|
||||
| createPhasesFromBreakdown | mutation | Bulk create from agent output |
|
||||
| createPhasesFromPlan | mutation | Bulk create from agent output |
|
||||
| createPhaseDependency | mutation | Add dependency edge |
|
||||
| removePhaseDependency | mutation | Remove dependency edge |
|
||||
| listInitiativePhaseDependencies | query | All dependency edges |
|
||||
@@ -111,15 +111,15 @@ Each procedure uses `require*Repository(ctx)` helpers that throw `TRPCError(INTE
|
||||
| queuePhase | mutation | Queue approved phase |
|
||||
| dispatchNextPhase | mutation | Start next ready phase |
|
||||
| getPhaseQueueState | query | Queue state |
|
||||
| createChildTasks | mutation | Create tasks from decompose parent |
|
||||
| createChildTasks | mutation | Create tasks from detail parent |
|
||||
|
||||
### Architect (High-Level Agent Spawning)
|
||||
| Procedure | Type | Description |
|
||||
|-----------|------|-------------|
|
||||
| spawnArchitectDiscuss | mutation | Discussion agent |
|
||||
| spawnArchitectBreakdown | mutation | Breakdown agent (generates phases). Passes full initiative context (existing phases, tasks, pages) |
|
||||
| spawnArchitectPlan | mutation | Plan agent (generates phases). Passes full initiative context (existing phases, tasks, pages) |
|
||||
| spawnArchitectRefine | mutation | Refine agent (generates proposals) |
|
||||
| spawnArchitectDecompose | mutation | Decompose agent (generates tasks). Passes full initiative context (sibling phases, tasks, pages) |
|
||||
| spawnArchitectDetail | mutation | Detail agent (generates tasks). Passes full initiative context (sibling phases, tasks, pages) |
|
||||
|
||||
### Dispatch
|
||||
| Procedure | Type | Description |
|
||||
|
||||
Reference in New Issue
Block a user