🔄 ln-200-scope-decomposer

Scope Decomposer (Top Orchestrator) - State Diagram v2.0.0

📋 Workflow Overview

Discovery
Delegation
Loop Control
Completion
graph TD Start([Start: Decompose Initiative]) --> Phase1[Phase 1: Discovery
Auto-discover Team ID
from kanban_board.md] Phase1 --> Phase2[Phase 2: Epic Decomposition
Delegate to ln-210-epic-coordinator v7.0.0] Phase2 --> LN210[ln-210 executes:
- Research docs + HTML
- Build Epic list Epic 0-N
- User confirms structure
- Batch preview ALL Epics
- User confirms
- Create ALL in Linear] LN210 --> WaitEpics[Wait for Epic creation complete] WaitEpics --> VerifyEpics[Verify: Epics in kanban_board.md
Epic 0: Infrastructure if applicable
Epic 1-N: Business domains] VerifyEpics --> Phase3[Phase 3: Story Decomposition Loop
Sequential per Epic] Phase3 --> LoopStart[FOR EACH Epic
Epic 0 → Epic 1 → ... → Epic N] LoopStart --> CurrentEpic[Current Epic: Epic X] CurrentEpic --> DelegateLN220[Delegate to ln-220-story-coordinator
for Epic X] DelegateLN220 --> LN220[ln-220 executes:
- Extract Epic info
- Fallback search if needed
- Research standards
- Generate Stories
- User confirms
- Create in Linear] LN220 --> WaitStories[Wait for Story creation complete] WaitStories --> VerifyStories[Verify: Stories in kanban_board.md
5-10 Stories for Epic X] VerifyStories --> MoreEpics{More Epics
to process?} MoreEpics -->|Yes| LoopStart MoreEpics -->|No| Phase4[Phase 4: Summary] Phase4 --> CountTotal[Count total:
N Epics Epic 0-N
M Stories US001-USMMM] CountTotal --> ShowNext[Display next steps:
1. ln-320-story-validator
2. ln-300-story-pipeline
OR ln-310-story-decomposer] ShowNext --> End([End: Full Decomposition Complete]) %% Styling classDef discovery fill:#E3F2FD,stroke:#1976D2,stroke-width:2px classDef loop fill:#FFF9C4,stroke:#F57C00,stroke-width:2px classDef decision fill:#FFE0B2,stroke:#E64A19,stroke-width:2px classDef action fill:#C8E6C9,stroke:#388E3C,stroke-width:2px class Phase1 discovery class Phase2,Phase3,LN210,LN220,DelegateLN220,CurrentEpic,LoopStart loop class MoreEpics decision class WaitEpics,VerifyEpics,WaitStories,VerifyStories,Phase4,CountTotal,ShowNext action

🔑 Key Features v2.0.0

📐 Phase Structure

⚙️ Orchestrator Responsibilities

🔗 Coordinator Details