Epic Scoping
Position in workflow: v0.6 Technical Specification → v0.7 Epic Scoping → v0.7 Test Planning
Core Concept: Epic = Context Window
An EPIC is not a "big user story." It is a cognitive boundary—a scope of work that fits in working memory (human or AI). The goal is to load exactly what's needed to complete a focused task without distraction.
The question is not "How long will this take?" but "Can an agent complete this without needing more context than fits in a session?"
Sizing Rules
| Size |
Characteristics |
Action |
| Right-sized |
3-5 API endpoints, 2-4 DBT tables, 1-2 UJ flows |
Good fit ✓ |
| Too big |
>10 APIs, >5 tables, multiple unrelated features |
Split by domain |
| Too small |
Single endpoint, no meaningful deliverable |
Merge with related |
Rule of thumb: If you can't describe the EPIC's goal in one sentence, it's too big.
Context Budget Guidelines
EPICs are context capsules — work units sized for AI agent handoffs.
| Dimension |
Target |
Rationale |
| Pre-load context |
<100k tokens |
SoT files + EPIC + code references |
| Working room |
>100k tokens |
Space for tool outputs, debugging, iteration |
| Session goal |
1 checkpoint |
Clear "done" state per session |
Context Monitoring: Don't estimate upfront — monitor during work. If context exceeds 100k tokens mid-session, pause and checkpoint immediately.
Splitting Signal: If you need to load >5 SoT files or >10 code files to understand the EPIC, it's probably too big.
Branch Convention
Each EPIC gets its own branch. This creates:
- Clear ownership (one EPIC = one branch = one PR)
- Easy rollback (delete branch, EPIC never happened)
- Natural checkpoint = commit
Naming: epic/EPIC-{NUMBER}-{slug}
Examples:
epic/EPIC-01-auth-endpoints
epic/EPIC-02-user-dashboard
epic/EPIC-03-payment-integration
Workflow:
- EPIC created →
git checkout -b epic/EPIC-{NUMBER}-{slug}
- Work happens → Commits reference IDs in messages
- Checkpoints → Commit with state saved in EPIC Section 1
- EPIC complete → PR opened
- PR merged → Branch deleted, EPIC marked Complete
Scoping Process
Inventory implementation items from API-, DBT-, FEA-, ARC-
Identify natural boundaries
- Feature clusters (features that work together)
- Data domains (tables that belong together)
- Architectural seams (module boundaries from ARC-)
Size each potential EPIC against context window capacity
- Can an agent hold all relevant IDs in one session?
Sequence EPICs by dependencies
- What must be built first?
- What enables other EPICs?
Create EPIC- entries with full ID references
Validate: Can an agent complete this EPIC without needing more context than fits in a session?
Sequencing Framework
| Order |
Priority |
Rationale |
Examples |
| 1 |
Infrastructure EPICs |
Everything depends on these |
Auth, DB setup, project scaffold |
| 2 |
Core data model EPICs |
Foundation for features |
User, Workspace, base entities |
| 3 |
Critical path EPICs |
Journeys that drive KPIs |
UJ- that affects KPI-001 |
| 4 |
Supporting feature EPICs |
Secondary features |
Settings, admin, nice-to-haves |
EPIC- Output Template
EPIC-XXX: [Epic Name]
State: [Planned | In Progress | Testing | Complete]
Lifecycle: v0.7 Build Execution
Branch: epic/EPIC-XXX-[slug]
## 0. Context Capsule
### Resource Envelope
| Dimension | Target | Notes |
|-----------|--------|-------|
| Pre-load Context | ~[N]k tokens | SoT files + EPIC + code |
| Working Room | ~[200-N]k tokens | Space for work |
| Session Goal | [Checkpoint target] | What "done" looks like |
### Dependencies
| Type | Items | Status |
|------|-------|--------|
| Requires | EPIC-YYY | Complete/Pending |
| External | [Setup needed] | Ready/Blocked |
| Enables | EPIC-ZZZ | Blocked until this completes |
### Pre-load Checklist
- [ ] SoT/SoT.[X].md — IDs: [key IDs]
- [ ] SoT/SoT.[Y].md — IDs: [key IDs]
## 1. Session State (The "Brain Dump")
### Current State
- **Last Action**: [What was just completed — reference IDs]
- **Stopping Point**: [File/line or test failure]
- **Next Steps**: [Exact instructions for next session]
- **Blockers**: [Any blockers — or "None"]
- **Decisions Made**: [Key decisions with rationale]
### Resume Instructions
[Exactly what the next session should do — or "N/A - EPIC Complete"]
## 2. Objective & Scope
Goal: [One sentence describing what this EPIC achieves]
Deliverables:
- [ ] [Specific deliverable A]
- [ ] [Specific deliverable B]
- [ ] [Specific deliverable C]
Out of Scope: [What we are NOT doing in this EPIC]
## 3. Context & IDs
| Type | IDs |
|------|-----|
| Business Rules | BR-XXX, BR-YYY |
| User Journeys | UJ-XXX, UJ-YYY |
| APIs | API-XXX to API-ZZZ |
| Data Models | DBT-XXX, DBT-YYY |
| Architecture | ARC-XXX |
| Features | FEA-XXX, FEA-YYY |
| Tests | TEST-XXX to TEST-ZZZ |
## 4. Execution Plan (The 5 Phases)
### Phase A: Plan
- [ ] Context loaded
- [ ] Dependencies verified
- [ ] Strategy defined
- [ ] Branch created
**Checkpoint A**: Planning complete, branch exists.
### Phase B: Design
- [ ] Specs updated
- [ ] Architecture documented
- [ ] TEST- entries created
**Checkpoint B**: Specs drafted, tests defined.
### Phase C: Build (Context Windows)
Window 1: [Focus Area]
- [ ] Task A
- [ ] Task B
- [ ] Verification: [How to confirm complete]
**Checkpoint C1**: [What exists when done]
Window 2: [Focus Area]
- [ ] Task C
- [ ] Task D
**Checkpoint C2**: [What exists when done]
### Phase D: Validate
- [ ] All TEST- entries pass
- [ ] Manual verification of UJ-
- [ ] Code has @implements tags
- [ ] SoT matches implementation
**Checkpoint D**: Tests green, verification complete.
### Phase E: Finish
- [ ] Temp cleanup
- [ ] SoT finalized
- [ ] Learning capture
- [ ] Resume Instructions = "N/A - EPIC Complete"
- [ ] PR ready
**Checkpoint E**: EPIC complete.
## 5. Acceptance Criteria
- [ ] All deliverables done
- [ ] All TEST- entries pass
- [ ] Resume Instructions = "N/A - EPIC Complete"
- [ ] No orphan ID references
- [ ] Branch merged or PR approved
Example EPIC- entry:
EPIC-01: User Authentication
State: Planned
Lifecycle: v0.7 Build Execution
Branch: epic/EPIC-01-auth
## 0. Context Capsule
### Resource Envelope
| Dimension | Target | Notes |
|-----------|--------|-------|
| Pre-load Context | ~40k tokens | Auth SoT + API specs + schema |
| Working Room | ~160k tokens | Plenty of space |
| Session Goal | Checkpoint C1 | Database schema complete |
### Dependencies
| Type | Items | Status |
|------|-------|--------|
| Requires | None | First EPIC |
| External | Supabase project | Ready |
| Enables | EPIC-02, EPIC-03 | Blocked until this completes |
### Pre-load Checklist
- [ ] SoT/SoT.BUSINESS_RULES.md — IDs: BR-001, BR-002
- [ ] SoT/SoT.API_CONTRACTS.md — IDs: API-001 to API-005
- [ ] SoT/SoT.TECHNICAL_DECISIONS.md — IDs: TECH-003, ARC-003
## 1. Session State (The "Brain Dump")
### Current State
- **Last Action**: N/A (not started)
- **Stopping Point**: N/A
- **Next Steps**:
1. Create branch epic/EPIC-01-auth
2. Begin with Phase A: Plan
3. Load context from pre-load checklist
- **Blockers**: None
- **Decisions Made**: Using Supabase Auth per TECH-003
### Resume Instructions
> Start fresh: create branch and load context per pre-load checklist.
## 2. Objective & Scope
Goal: Enable users to sign up, log in, and manage their sessions.
Deliverables:
- [ ] User registration with email/password
- [ ] Login/logout functionality
- [ ] Session management with refresh tokens
- [ ] Password reset flow
Out of Scope: Social auth (EPIC-02), team invites (EPIC-05)
## 3. Context & IDs
| Type | IDs |
|------|-----|
| Business Rules | BR-001, BR-002 |
| User Journeys | UJ-000, UJ-010 |
| APIs | API-001 to API-005 |
| Data Models | DBT-010, DBT-011 |
| Architecture | ARC-003, TECH-003 |
| Features | FEA-010, FEA-011 |
| Tests | TEST-001 to TEST-015 |
## 4. Execution Plan
### Phase A: Plan
- [ ] Context loaded
- [ ] Dependencies verified (Supabase ready)
- [ ] Strategy: Database → API → UI
- [ ] Branch created: epic/EPIC-01-auth
**Checkpoint A**: Planning complete, branch exists.
### Phase C: Build
Window 1: Database Schema
- [ ] Create users table with RLS
- [ ] Create sessions table
- [ ] Set up Supabase Auth triggers
**Checkpoint C1**: Schema deployed, migrations tested.
Window 2: API Endpoints
- [ ] POST /auth/signup (API-001)
- [ ] POST /auth/login (API-002)
- [ ] POST /auth/logout (API-003)
- [ ] POST /auth/refresh (API-004)
- [ ] POST /auth/reset-password (API-005)
**Checkpoint C2**: All endpoints return correct responses.
Window 3: UI Integration
- [ ] Signup form (SCR-001)
- [ ] Login form (SCR-002)
- [ ] Password reset flow (SCR-003)
- [ ] Auth state management
**Checkpoint C3**: Full auth flow works E2E.
## 5. Acceptance Criteria
- [ ] All deliverables done
- [ ] TEST-001 to TEST-015 pass
- [ ] Resume Instructions = "N/A - EPIC Complete"
- [ ] UJ-000 and UJ-010 verified manually
- [ ] Branch merged
EPIC Phase Structure
Each EPIC follows 5 phases:
| Phase |
Purpose |
Activities |
| A: Plan |
Load context |
Read EPIC, load referenced IDs, verify Session State |
| B: Design |
Update specs |
Draft/refine ID entries in specs/ before coding |
| C: Build |
Implement |
Work through Context Windows, test-first |
| D: Validate |
Verify |
Run tests, manual checks, traceability audit |
| E: Finish |
Clean up |
Update SoT, archive temp/, mark complete |
Anti-Patterns to Avoid
| Anti-Pattern |
Signal |
Fix |
| Epic explosion |
20+ EPICs for MVP |
Consolidate; most MVPs need 3-7 |
| One mega-EPIC |
Everything in one EPIC |
Split by architectural boundary |
| No ID references |
EPIC without BR-, API-, DBT- links |
Every EPIC must reference specs/ |
| Circular dependencies |
EPIC-01 needs EPIC-02 needs EPIC-01 |
Identify shared foundation, extract to EPIC-00 |
| Context overload |
Agent can't hold full EPIC context |
Split into smaller Context Windows |
| Missing sequencing |
No build order defined |
Establish explicit dependency chain |
| Vague objectives |
"Build the backend" |
Specific, measurable: "Implement API-001–005" |
Quality Gates
Before proceeding to Test Planning:
Downstream Connections
EPIC- entries feed into:
| Consumer |
What It Uses |
Example |
| Test Planning |
EPIC scope defines test boundaries |
TEST- entries for EPIC-01 scope |
| Implementation Loop |
EPIC is execution unit |
Work happens inside EPIC context |
| Session Management |
Section 0 tracks progress |
Resume from where we left off |
| Progress Tracking |
EPIC state shows overall progress |
3/7 EPICs complete |
Detailed References
- Epic scoping examples: See
references/examples.md
- EPIC- entry template: See
assets/epic.md
- Dependency mapping guide: See
references/dependency-mapping.md
1---2name: prd-v07-epic-scoping3description: Transform v0.6 specifications into context-window-sized work packages (EPICs) during PRD v0.7 Build Execution. Triggers on requests to create epics, scope work, break down implementation, or when user asks "create epics", "scope work", "break down work", "context window sizing", "what to build first?", "implementation planning", "epic breakdown". Consumes API-, DBT-, FEA-, ARC-. Outputs EPIC- entries with objectives, ID references, dependencies, and context windows. Feeds v0.7 Test Planning.4---5
6# Epic Scoping
7
8Position in workflow: v0.6 Technical Specification → **v0.7 Epic Scoping** → v0.7 Test Planning
9
10## Core Concept: Epic = Context Window
11
12> An EPIC is not a "big user story." It is a **cognitive boundary**—a scope of work that fits in working memory (human or AI). The goal is to load exactly what's needed to complete a focused task without distraction.
13
14**The question is not** "How long will this take?" but **"Can an agent complete this without needing more context than fits in a session?"**
15
16## Sizing Rules
17
18| Size | Characteristics | Action |
19|------|-----------------|--------|
20| **Right-sized** | 3-5 API endpoints, 2-4 DBT tables, 1-2 UJ flows | Good fit ✓ |
21| **Too big** | >10 APIs, >5 tables, multiple unrelated features | Split by domain |
22| **Too small** | Single endpoint, no meaningful deliverable | Merge with related |
23
24**Rule of thumb**: If you can't describe the EPIC's goal in one sentence, it's too big.
25
26## Context Budget Guidelines
27
28EPICs are **context capsules** — work units sized for AI agent handoffs.
29
30| Dimension | Target | Rationale |
31|-----------|--------|-----------|
32| **Pre-load context** | <100k tokens | SoT files + EPIC + code references |
33| **Working room** | >100k tokens | Space for tool outputs, debugging, iteration |
34| **Session goal** | 1 checkpoint | Clear "done" state per session |
35
36**Context Monitoring**: Don't estimate upfront — monitor during work. If context exceeds 100k tokens mid-session, pause and checkpoint immediately.
37
38**Splitting Signal**: If you need to load >5 SoT files or >10 code files to understand the EPIC, it's probably too big.
39
40## Branch Convention
41
42Each EPIC gets its own branch. This creates:
43- Clear ownership (one EPIC = one branch = one PR)
44- Easy rollback (delete branch, EPIC never happened)
45- Natural checkpoint = commit
46
47**Naming**: `epic/EPIC-{NUMBER}-{slug}`
48
49Examples:
50- `epic/EPIC-01-auth-endpoints`
51- `epic/EPIC-02-user-dashboard`
52- `epic/EPIC-03-payment-integration`
53
54**Workflow**:
551. EPIC created → `git checkout -b epic/EPIC-{NUMBER}-{slug}`
562. Work happens → Commits reference IDs in messages
573. Checkpoints → Commit with state saved in EPIC Section 1
584. EPIC complete → PR opened
595. PR merged → Branch deleted, EPIC marked Complete
60
61## Scoping Process
62
631. **Inventory implementation items** from API-, DBT-, FEA-, ARC-
64 - What must be built?
65
662. **Identify natural boundaries**
67 - Feature clusters (features that work together)
68 - Data domains (tables that belong together)
69 - Architectural seams (module boundaries from ARC-)
70
713. **Size each potential EPIC** against context window capacity
72 - Can an agent hold all relevant IDs in one session?
73
744. **Sequence EPICs by dependencies**
75 - What must be built first?
76 - What enables other EPICs?
77
785. **Create EPIC- entries** with full ID references
79
806. **Validate**: Can an agent complete this EPIC without needing more context than fits in a session?
81
82## Sequencing Framework
83
84| Order | Priority | Rationale | Examples |
85|-------|----------|-----------|----------|
86| 1 | Infrastructure EPICs | Everything depends on these | Auth, DB setup, project scaffold |
87| 2 | Core data model EPICs | Foundation for features | User, Workspace, base entities |
88| 3 | Critical path EPICs | Journeys that drive KPIs | UJ- that affects KPI-001 |
89| 4 | Supporting feature EPICs | Secondary features | Settings, admin, nice-to-haves |
90
91## EPIC- Output Template
92
93```
94EPIC-XXX: [Epic Name]
95State: [Planned | In Progress | Testing | Complete]
96Lifecycle: v0.7 Build Execution
97Branch: epic/EPIC-XXX-[slug]
98
99## 0. Context Capsule
100### Resource Envelope
101| Dimension | Target | Notes |
102|-----------|--------|-------|
103| Pre-load Context | ~[N]k tokens | SoT files + EPIC + code |
104| Working Room | ~[200-N]k tokens | Space for work |
105| Session Goal | [Checkpoint target] | What "done" looks like |
106
107### Dependencies
108| Type | Items | Status |
109|------|-------|--------|
110| Requires | EPIC-YYY | Complete/Pending |
111| External | [Setup needed] | Ready/Blocked |
112| Enables | EPIC-ZZZ | Blocked until this completes |
113
114### Pre-load Checklist
115- [ ] SoT/SoT.[X].md — IDs: [key IDs]
116- [ ] SoT/SoT.[Y].md — IDs: [key IDs]
117
118## 1. Session State (The "Brain Dump")
119### Current State
120- **Last Action**: [What was just completed — reference IDs]
121- **Stopping Point**: [File/line or test failure]
122- **Next Steps**: [Exact instructions for next session]
123- **Blockers**: [Any blockers — or "None"]
124- **Decisions Made**: [Key decisions with rationale]
125
126### Resume Instructions
127[Exactly what the next session should do — or "N/A - EPIC Complete"]
128
129## 2. Objective & Scope
130Goal: [One sentence describing what this EPIC achieves]
131
132Deliverables:
133 - [ ] [Specific deliverable A]
134 - [ ] [Specific deliverable B]
135 - [ ] [Specific deliverable C]
136
137Out of Scope: [What we are NOT doing in this EPIC]
138
139## 3. Context & IDs
140| Type | IDs |
141|------|-----|
142| Business Rules | BR-XXX, BR-YYY |
143| User Journeys | UJ-XXX, UJ-YYY |
144| APIs | API-XXX to API-ZZZ |
145| Data Models | DBT-XXX, DBT-YYY |
146| Architecture | ARC-XXX |
147| Features | FEA-XXX, FEA-YYY |
148| Tests | TEST-XXX to TEST-ZZZ |
149
150## 4. Execution Plan (The 5 Phases)
151
152### Phase A: Plan
153- [ ] Context loaded
154- [ ] Dependencies verified
155- [ ] Strategy defined
156- [ ] Branch created
157
158**Checkpoint A**: Planning complete, branch exists.
159
160### Phase B: Design
161- [ ] Specs updated
162- [ ] Architecture documented
163- [ ] TEST- entries created
164
165**Checkpoint B**: Specs drafted, tests defined.
166
167### Phase C: Build (Context Windows)
168Window 1: [Focus Area]
169 - [ ] Task A
170 - [ ] Task B
171 - [ ] Verification: [How to confirm complete]
172
173**Checkpoint C1**: [What exists when done]
174
175Window 2: [Focus Area]
176 - [ ] Task C
177 - [ ] Task D
178
179**Checkpoint C2**: [What exists when done]
180
181### Phase D: Validate
182- [ ] All TEST- entries pass
183- [ ] Manual verification of UJ-
184- [ ] Code has @implements tags
185- [ ] SoT matches implementation
186
187**Checkpoint D**: Tests green, verification complete.
188
189### Phase E: Finish
190- [ ] Temp cleanup
191- [ ] SoT finalized
192- [ ] Learning capture
193- [ ] Resume Instructions = "N/A - EPIC Complete"
194- [ ] PR ready
195
196**Checkpoint E**: EPIC complete.
197
198## 5. Acceptance Criteria
199- [ ] All deliverables done
200- [ ] All TEST- entries pass
201- [ ] Resume Instructions = "N/A - EPIC Complete"
202- [ ] No orphan ID references
203- [ ] Branch merged or PR approved
204```
205
206**Example EPIC- entry:**
207```
208EPIC-01: User Authentication
209State: Planned
210Lifecycle: v0.7 Build Execution
211Branch: epic/EPIC-01-auth
212
213## 0. Context Capsule
214### Resource Envelope
215| Dimension | Target | Notes |
216|-----------|--------|-------|
217| Pre-load Context | ~40k tokens | Auth SoT + API specs + schema |
218| Working Room | ~160k tokens | Plenty of space |
219| Session Goal | Checkpoint C1 | Database schema complete |
220
221### Dependencies
222| Type | Items | Status |
223|------|-------|--------|
224| Requires | None | First EPIC |
225| External | Supabase project | Ready |
226| Enables | EPIC-02, EPIC-03 | Blocked until this completes |
227
228### Pre-load Checklist
229- [ ] SoT/SoT.BUSINESS_RULES.md — IDs: BR-001, BR-002
230- [ ] SoT/SoT.API_CONTRACTS.md — IDs: API-001 to API-005
231- [ ] SoT/SoT.TECHNICAL_DECISIONS.md — IDs: TECH-003, ARC-003
232
233## 1. Session State (The "Brain Dump")
234### Current State
235- **Last Action**: N/A (not started)
236- **Stopping Point**: N/A
237- **Next Steps**:
238 1. Create branch epic/EPIC-01-auth
239 2. Begin with Phase A: Plan
240 3. Load context from pre-load checklist
241- **Blockers**: None
242- **Decisions Made**: Using Supabase Auth per TECH-003
243
244### Resume Instructions
245> Start fresh: create branch and load context per pre-load checklist.
246
247## 2. Objective & Scope
248Goal: Enable users to sign up, log in, and manage their sessions.
249
250Deliverables:
251 - [ ] User registration with email/password
252 - [ ] Login/logout functionality
253 - [ ] Session management with refresh tokens
254 - [ ] Password reset flow
255
256Out of Scope: Social auth (EPIC-02), team invites (EPIC-05)
257
258## 3. Context & IDs
259| Type | IDs |
260|------|-----|
261| Business Rules | BR-001, BR-002 |
262| User Journeys | UJ-000, UJ-010 |
263| APIs | API-001 to API-005 |
264| Data Models | DBT-010, DBT-011 |
265| Architecture | ARC-003, TECH-003 |
266| Features | FEA-010, FEA-011 |
267| Tests | TEST-001 to TEST-015 |
268
269## 4. Execution Plan
270
271### Phase A: Plan
272- [ ] Context loaded
273- [ ] Dependencies verified (Supabase ready)
274- [ ] Strategy: Database → API → UI
275- [ ] Branch created: epic/EPIC-01-auth
276
277**Checkpoint A**: Planning complete, branch exists.
278
279### Phase C: Build
280Window 1: Database Schema
281 - [ ] Create users table with RLS
282 - [ ] Create sessions table
283 - [ ] Set up Supabase Auth triggers
284
285**Checkpoint C1**: Schema deployed, migrations tested.
286
287Window 2: API Endpoints
288 - [ ] POST /auth/signup (API-001)
289 - [ ] POST /auth/login (API-002)
290 - [ ] POST /auth/logout (API-003)
291 - [ ] POST /auth/refresh (API-004)
292 - [ ] POST /auth/reset-password (API-005)
293
294**Checkpoint C2**: All endpoints return correct responses.
295
296Window 3: UI Integration
297 - [ ] Signup form (SCR-001)
298 - [ ] Login form (SCR-002)
299 - [ ] Password reset flow (SCR-003)
300 - [ ] Auth state management
301
302**Checkpoint C3**: Full auth flow works E2E.
303
304## 5. Acceptance Criteria
305- [ ] All deliverables done
306- [ ] TEST-001 to TEST-015 pass
307- [ ] Resume Instructions = "N/A - EPIC Complete"
308- [ ] UJ-000 and UJ-010 verified manually
309- [ ] Branch merged
310```
311
312## EPIC Phase Structure
313
314Each EPIC follows 5 phases:
315
316| Phase | Purpose | Activities |
317|-------|---------|------------|
318| **A: Plan** | Load context | Read EPIC, load referenced IDs, verify Session State |
319| **B: Design** | Update specs | Draft/refine ID entries in specs/ before coding |
320| **C: Build** | Implement | Work through Context Windows, test-first |
321| **D: Validate** | Verify | Run tests, manual checks, traceability audit |
322| **E: Finish** | Clean up | Update SoT, archive temp/, mark complete |
323
324## Anti-Patterns to Avoid
325
326| Anti-Pattern | Signal | Fix |
327|--------------|--------|-----|
328| **Epic explosion** | 20+ EPICs for MVP | Consolidate; most MVPs need 3-7 |
329| **One mega-EPIC** | Everything in one EPIC | Split by architectural boundary |
330| **No ID references** | EPIC without BR-, API-, DBT- links | Every EPIC must reference specs/ |
331| **Circular dependencies** | EPIC-01 needs EPIC-02 needs EPIC-01 | Identify shared foundation, extract to EPIC-00 |
332| **Context overload** | Agent can't hold full EPIC context | Split into smaller Context Windows |
333| **Missing sequencing** | No build order defined | Establish explicit dependency chain |
334| **Vague objectives** | "Build the backend" | Specific, measurable: "Implement API-001–005" |
335
336## Quality Gates
337
338Before proceeding to Test Planning:
339
340- [ ] All API- and DBT- entries assigned to EPICs
341- [ ] No orphaned specifications (everything has an EPIC home)
342- [ ] Dependencies form a DAG (no circular dependencies)
343- [ ] Each EPIC has clear, measurable deliverables
344- [ ] Context Windows defined for each EPIC
345- [ ] Sequencing makes sense (foundations first)
346
347## Downstream Connections
348
349EPIC- entries feed into:
350
351| Consumer | What It Uses | Example |
352|----------|--------------|---------|
353| **Test Planning** | EPIC scope defines test boundaries | TEST- entries for EPIC-01 scope |
354| **Implementation Loop** | EPIC is execution unit | Work happens inside EPIC context |
355| **Session Management** | Section 0 tracks progress | Resume from where we left off |
356| **Progress Tracking** | EPIC state shows overall progress | 3/7 EPICs complete |
357
358## Detailed References
359
360- **Epic scoping examples**: See `references/examples.md`
361- **EPIC- entry template**: See `assets/epic.md`
362- **Dependency mapping guide**: See `references/dependency-mapping.md`