@thierrynakoa/fire-flow 10.0.0 → 12.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +9 -9
- package/ARCHITECTURE-DIAGRAM.md +7 -4
- package/COMMAND-REFERENCE.md +33 -13
- package/DOMINION-FLOW-OVERVIEW.md +581 -421
- package/QUICK-START.md +3 -3
- package/README.md +102 -45
- package/TROUBLESHOOTING.md +264 -264
- package/agents/fire-executor.md +200 -116
- package/agents/fire-fact-checker.md +276 -276
- package/agents/fire-phoenix-analyst.md +394 -0
- package/agents/fire-planner.md +145 -53
- package/agents/fire-project-researcher.md +155 -155
- package/agents/fire-research-synthesizer.md +166 -166
- package/agents/fire-researcher.md +144 -59
- package/agents/fire-roadmapper.md +215 -203
- package/agents/fire-verifier.md +247 -65
- package/agents/fire-vision-architect.md +381 -0
- package/commands/fire-0-orient.md +476 -476
- package/commands/fire-1a-new.md +216 -0
- package/commands/fire-1b-research.md +210 -0
- package/commands/fire-1c-setup.md +254 -0
- package/commands/{fire-1a-discuss.md → fire-1d-discuss.md} +35 -7
- package/commands/fire-3-execute.md +55 -2
- package/commands/fire-4-verify.md +61 -0
- package/commands/fire-5-handoff.md +2 -2
- package/commands/fire-6-resume.md +37 -2
- package/commands/fire-add-new-skill.md +2 -2
- package/commands/fire-autonomous.md +20 -3
- package/commands/fire-brainstorm.md +1 -1
- package/commands/fire-complete-milestone.md +2 -2
- package/commands/fire-cost.md +183 -0
- package/commands/fire-dashboard.md +2 -2
- package/commands/fire-debug.md +663 -663
- package/commands/fire-loop-resume.md +2 -2
- package/commands/fire-loop-stop.md +1 -1
- package/commands/fire-loop.md +1168 -1168
- package/commands/fire-map-codebase.md +3 -3
- package/commands/fire-new-milestone.md +356 -356
- package/commands/fire-phoenix.md +603 -0
- package/commands/fire-reflect.md +235 -235
- package/commands/fire-research.md +246 -246
- package/commands/fire-search.md +1 -1
- package/commands/fire-skills-diff.md +3 -3
- package/commands/fire-skills-history.md +3 -3
- package/commands/fire-skills-rollback.md +7 -7
- package/commands/fire-skills-sync.md +5 -5
- package/commands/fire-test.md +9 -9
- package/commands/fire-todos.md +1 -1
- package/commands/fire-update.md +5 -5
- package/hooks/hooks.json +16 -16
- package/hooks/run-hook.sh +8 -8
- package/hooks/run-session-end.sh +7 -7
- package/hooks/session-end.sh +90 -90
- package/hooks/session-start.sh +1 -1
- package/package.json +2 -2
- package/plugin.json +7 -7
- package/references/metrics-and-trends.md +1 -1
- package/skills-library/SKILLS-INDEX.md +588 -588
- package/skills-library/_general/methodology/AUTONOMOUS_ORCHESTRATION.md +182 -0
- package/skills-library/_general/methodology/BACKWARD_PLANNING_INTERVIEW.md +307 -0
- package/skills-library/_general/methodology/CIRCUIT_BREAKER_INTELLIGENCE.md +163 -0
- package/skills-library/_general/methodology/CONTEXT_ROTATION.md +151 -0
- package/skills-library/_general/methodology/DEAD_ENDS_SHELF.md +188 -0
- package/skills-library/_general/methodology/DESIGN_PHILOSOPHY_ENFORCEMENT.md +152 -0
- package/skills-library/_general/methodology/INTERNAL_CONSISTENCY_AUDIT.md +212 -0
- package/skills-library/_general/methodology/LIVE_BREADCRUMB_PROTOCOL.md +242 -0
- package/skills-library/_general/methodology/PHOENIX_REBUILD_METHODOLOGY.md +251 -0
- package/skills-library/_general/methodology/QUALITY_GATES_AND_VERIFICATION.md +157 -0
- package/skills-library/_general/methodology/RELIABILITY_PREDICTION.md +104 -0
- package/skills-library/_general/methodology/REQUIREMENTS_DECOMPOSITION.md +155 -0
- package/skills-library/_general/methodology/SELF_TESTING_FEEDBACK_LOOP.md +143 -0
- package/skills-library/_general/methodology/STACK_COMPATIBILITY_MATRIX.md +178 -0
- package/skills-library/_general/methodology/TIERED_CONTEXT_ARCHITECTURE.md +118 -0
- package/skills-library/_general/methodology/ZERO_FRICTION_CLI_SETUP.md +312 -0
- package/skills-library/_general/methodology/autonomous-multi-phase-build.md +133 -0
- package/skills-library/_general/methodology/claude-md-archival.md +280 -0
- package/skills-library/_general/methodology/debug-swarm-researcher-escape-hatch.md +240 -240
- package/skills-library/_general/methodology/git-worktrees-parallel.md +232 -0
- package/skills-library/_general/methodology/llm-judge-memory-crud.md +241 -0
- package/skills-library/_general/methodology/multi-project-autonomous-build.md +360 -0
- package/skills-library/_general/methodology/shell-autonomous-loop-fixplan.md +238 -238
- package/skills-library/_general/patterns-standards/GOF_DESIGN_PATTERNS_FOR_AI_AGENTS.md +358 -0
- package/skills-library/methodology/BREATH_BASED_PARALLEL_EXECUTION.md +1 -1
- package/skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md +1 -1
- package/skills-library/methodology/SABBATH_REST_PATTERN.md +1 -1
- package/templates/ASSUMPTIONS.md +1 -1
- package/templates/BLOCKERS.md +1 -1
- package/templates/DECISION_LOG.md +1 -1
- package/templates/phase-prompt.md +1 -1
- package/templates/phoenix-comparison.md +80 -0
- package/version.json +2 -2
- package/workflows/handoff-session.md +1 -1
- package/workflows/new-project.md +2 -2
- package/commands/fire-1-new.md +0 -281
|
@@ -1,356 +1,356 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Start a new milestone cycle with questioning, research, requirements, and roadmap
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /fire-new-milestone
|
|
6
|
-
|
|
7
|
-
> Start a new milestone through unified flow: questioning -> research -> requirements -> roadmap
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Purpose
|
|
12
|
-
|
|
13
|
-
Start a new milestone for an existing project. This is the brownfield equivalent of `/fire-
|
|
14
|
-
|
|
15
|
-
**Creates/Updates:**
|
|
16
|
-
- `.planning/PROJECT.md` - Updated with new milestone goals
|
|
17
|
-
- `.planning/research/` - Domain research (optional)
|
|
18
|
-
- `.planning/REQUIREMENTS.md` - Scoped requirements
|
|
19
|
-
- `.planning/VISION.md` - Phase structure
|
|
20
|
-
- `.planning/CONSCIENCE.md` - Updated project memory
|
|
21
|
-
|
|
22
|
-
**After this command:** Run `/fire-2-plan [N]` to start execution.
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## Arguments
|
|
27
|
-
|
|
28
|
-
```yaml
|
|
29
|
-
arguments:
|
|
30
|
-
milestone_name:
|
|
31
|
-
required: false
|
|
32
|
-
type: string
|
|
33
|
-
description: "Optional milestone name (e.g., 'v1.1 Notifications')"
|
|
34
|
-
example: "/fire-new-milestone v1.1 Notifications"
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## Process
|
|
40
|
-
|
|
41
|
-
### Phase 1: Validate Project
|
|
42
|
-
|
|
43
|
-
**MANDATORY FGTAT STEP - Execute these checks before ANY user interaction:**
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
[ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md. Run /fire-
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Check for active milestone (VISION.md exists):
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
[ -f .planning/VISION.md ] && echo "ACTIVE_MILESTONE" || echo "READY_FOR_NEW"
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**If ACTIVE_MILESTONE:**
|
|
56
|
-
|
|
57
|
-
Use AskUserQuestion:
|
|
58
|
-
- header: "Active Milestone"
|
|
59
|
-
- question: "A milestone is in progress. What would you like to do?"
|
|
60
|
-
- options:
|
|
61
|
-
- "Complete current first (Recommended)" - Run /fire-complete-milestone
|
|
62
|
-
- "Continue anyway" - Start new milestone (will archive current)
|
|
63
|
-
|
|
64
|
-
### Phase 2: Present Context
|
|
65
|
-
|
|
66
|
-
Display banner:
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
+------------------------------------------------------------------------------+
|
|
70
|
-
| DOMINION FLOW > NEW MILESTONE |
|
|
71
|
-
+------------------------------------------------------------------------------+
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
Present what shipped:
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
Last milestone: v[X.Y] [Name] (shipped [DATE])
|
|
78
|
-
|
|
79
|
-
Key accomplishments:
|
|
80
|
-
- [From MILESTONES.md]
|
|
81
|
-
- [From MILESTONES.md]
|
|
82
|
-
|
|
83
|
-
Validated requirements:
|
|
84
|
-
- [From PROJECT.md Validated section]
|
|
85
|
-
|
|
86
|
-
Pending todos:
|
|
87
|
-
- [From CONSCIENCE.md if any]
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Phase 3: Deep Questioning
|
|
91
|
-
|
|
92
|
-
Display banner:
|
|
93
|
-
|
|
94
|
-
```
|
|
95
|
-
+------------------------------------------------------------------------------+
|
|
96
|
-
| DOMINION FLOW > QUESTIONING |
|
|
97
|
-
+------------------------------------------------------------------------------+
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
**Open the conversation:**
|
|
101
|
-
|
|
102
|
-
Ask inline (freeform, NOT AskUserQuestion):
|
|
103
|
-
|
|
104
|
-
"What do you want to build next?"
|
|
105
|
-
|
|
106
|
-
Wait for response. This gives context for intelligent follow-up questions.
|
|
107
|
-
|
|
108
|
-
**Follow the thread:**
|
|
109
|
-
|
|
110
|
-
Based on their response, ask follow-up questions that dig deeper. Use AskUserQuestion with options that probe what they mentioned.
|
|
111
|
-
|
|
112
|
-
Keep following threads. Each answer opens new threads to explore:
|
|
113
|
-
- What excited them
|
|
114
|
-
- What problem sparked this
|
|
115
|
-
- What they mean by vague terms
|
|
116
|
-
- What it would actually look like
|
|
117
|
-
- What's already decided
|
|
118
|
-
|
|
119
|
-
**WARRIOR Enhancement - Honesty Protocol:**
|
|
120
|
-
|
|
121
|
-
Before finalizing understanding, acknowledge:
|
|
122
|
-
- What I understand clearly
|
|
123
|
-
- What I'm uncertain about
|
|
124
|
-
- What I'm assuming
|
|
125
|
-
|
|
126
|
-
**Decision gate:**
|
|
127
|
-
|
|
128
|
-
When ready, use AskUserQuestion:
|
|
129
|
-
- header: "Ready?"
|
|
130
|
-
- question: "I think I understand what you're after. Ready to update PROJECT.md?"
|
|
131
|
-
- options:
|
|
132
|
-
- "Update PROJECT.md" - Move forward
|
|
133
|
-
- "Keep exploring" - Share more / ask more
|
|
134
|
-
|
|
135
|
-
### Phase 4: Determine Milestone Version
|
|
136
|
-
|
|
137
|
-
Parse last version from MILESTONES.md and suggest next:
|
|
138
|
-
|
|
139
|
-
Use AskUserQuestion:
|
|
140
|
-
- header: "Version"
|
|
141
|
-
- question: "What version is this milestone?"
|
|
142
|
-
- options:
|
|
143
|
-
- "v[X.Y+0.1] (patch)" - Minor update
|
|
144
|
-
- "v[X+1].0 (major)" - Major release
|
|
145
|
-
- "Custom" - I'll specify
|
|
146
|
-
|
|
147
|
-
### Phase 5: Update PROJECT.md
|
|
148
|
-
|
|
149
|
-
Update `.planning/PROJECT.md` with new milestone section:
|
|
150
|
-
|
|
151
|
-
```markdown
|
|
152
|
-
## Current Milestone: v[X.Y] [Name]
|
|
153
|
-
|
|
154
|
-
**Goal:** [One sentence describing milestone focus]
|
|
155
|
-
|
|
156
|
-
**Target features:**
|
|
157
|
-
- [Feature 1]
|
|
158
|
-
- [Feature 2]
|
|
159
|
-
- [Feature 3]
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
Commit:
|
|
163
|
-
|
|
164
|
-
```bash
|
|
165
|
-
git add .planning/PROJECT.md
|
|
166
|
-
git commit -m "$(cat <<'EOF'
|
|
167
|
-
docs: start milestone v[X.Y] [Name]
|
|
168
|
-
|
|
169
|
-
[One-liner describing milestone focus]
|
|
170
|
-
EOF
|
|
171
|
-
)"
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### Phase 6: Research Decision
|
|
175
|
-
|
|
176
|
-
Use AskUserQuestion:
|
|
177
|
-
- header: "Research"
|
|
178
|
-
- question: "Research the domain ecosystem before defining requirements?"
|
|
179
|
-
- options:
|
|
180
|
-
- "Research first (Recommended)" - Discover patterns, expected features
|
|
181
|
-
- "Skip research" - I know this domain well
|
|
182
|
-
|
|
183
|
-
**If "Research first":**
|
|
184
|
-
|
|
185
|
-
Display banner:
|
|
186
|
-
```
|
|
187
|
-
+------------------------------------------------------------------------------+
|
|
188
|
-
| DOMINION FLOW > RESEARCHING |
|
|
189
|
-
+------------------------------------------------------------------------------+
|
|
190
|
-
|
|
191
|
-
Researching [domain] ecosystem...
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
Spawn 4 parallel fire-project-researcher agents:
|
|
195
|
-
- Stack research
|
|
196
|
-
- Features research
|
|
197
|
-
- Architecture research
|
|
198
|
-
- Pitfalls research
|
|
199
|
-
|
|
200
|
-
After completion, spawn synthesizer to create RECORD.md.
|
|
201
|
-
|
|
202
|
-
**Adversarial Fact-Check (v11.0):**
|
|
203
|
-
After the synthesizer writes SYNTHESIS.md, spawn `fire-fact-checker`:
|
|
204
|
-
- Reads SYNTHESIS.md
|
|
205
|
-
- Independently attempts to disprove top findings
|
|
206
|
-
- Produces `.planning/research/CONTESTED-CLAIMS.md`
|
|
207
|
-
- Adjusts confidence levels based on adversarial verification
|
|
208
|
-
- Any CONTESTED findings are flagged for the roadmapper's risk assessment
|
|
209
|
-
|
|
210
|
-
```
|
|
211
|
-
Spawning fire-fact-checker for adversarial verification...
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
### Phase 7: Define Requirements
|
|
215
|
-
|
|
216
|
-
Display banner:
|
|
217
|
-
```
|
|
218
|
-
+------------------------------------------------------------------------------+
|
|
219
|
-
| DOMINION FLOW > DEFINING REQUIREMENTS |
|
|
220
|
-
+------------------------------------------------------------------------------+
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
**If research exists:** Read FEATURES.md and present by category.
|
|
224
|
-
|
|
225
|
-
**If no research:** Gather requirements through conversation.
|
|
226
|
-
|
|
227
|
-
**Scope each category:**
|
|
228
|
-
|
|
229
|
-
For each category, use AskUserQuestion with multiSelect:
|
|
230
|
-
- header: "[Category name]"
|
|
231
|
-
- question: "Which [category] features are in this milestone?"
|
|
232
|
-
- options: [Feature list]
|
|
233
|
-
|
|
234
|
-
**Generate REQUIREMENTS.md:**
|
|
235
|
-
|
|
236
|
-
Create `.planning/REQUIREMENTS.md` with:
|
|
237
|
-
- v1 Requirements grouped by category (checkboxes, REQ-IDs)
|
|
238
|
-
- v2 Requirements (deferred)
|
|
239
|
-
- Out of Scope (explicit exclusions)
|
|
240
|
-
- Traceability section
|
|
241
|
-
|
|
242
|
-
Commit:
|
|
243
|
-
|
|
244
|
-
```bash
|
|
245
|
-
git add .planning/REQUIREMENTS.md
|
|
246
|
-
git commit -m "$(cat <<'EOF'
|
|
247
|
-
docs: define v[X.Y] requirements
|
|
248
|
-
|
|
249
|
-
[X] requirements across [N] categories
|
|
250
|
-
[Y] requirements deferred to v2
|
|
251
|
-
EOF
|
|
252
|
-
)"
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
### Phase 8: Create Roadmap
|
|
256
|
-
|
|
257
|
-
Display banner:
|
|
258
|
-
```
|
|
259
|
-
+------------------------------------------------------------------------------+
|
|
260
|
-
| DOMINION FLOW > CREATING ROADMAP |
|
|
261
|
-
+------------------------------------------------------------------------------+
|
|
262
|
-
|
|
263
|
-
Spawning roadmapper...
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
Spawn fire-roadmapper agent with context:
|
|
267
|
-
- PROJECT.md
|
|
268
|
-
- REQUIREMENTS.md
|
|
269
|
-
- Research RECORD.md (if exists)
|
|
270
|
-
- Starting phase number
|
|
271
|
-
|
|
272
|
-
**Handle roadmapper return:**
|
|
273
|
-
|
|
274
|
-
**If `## ROADMAP CREATED`:**
|
|
275
|
-
- Present roadmap inline
|
|
276
|
-
- Ask for approval
|
|
277
|
-
|
|
278
|
-
**If approved:** Commit roadmap.
|
|
279
|
-
|
|
280
|
-
### Phase 9: Sabbath Rest - Context Persistence
|
|
281
|
-
|
|
282
|
-
Update persistent state:
|
|
283
|
-
|
|
284
|
-
```markdown
|
|
285
|
-
## .claude/
|
|
286
|
-
|
|
287
|
-
### Current Milestone
|
|
288
|
-
- Version: v[X.Y]
|
|
289
|
-
- Name: [Name]
|
|
290
|
-
- Phases: [count]
|
|
291
|
-
- Requirements: [count]
|
|
292
|
-
- Started: {timestamp}
|
|
293
|
-
- Status: Ready to plan
|
|
294
|
-
- Next: /fire-2-plan [first_phase]
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
---
|
|
298
|
-
|
|
299
|
-
## Completion Display
|
|
300
|
-
|
|
301
|
-
```
|
|
302
|
-
+------------------------------------------------------------------------------+
|
|
303
|
-
| DOMINION FLOW > MILESTONE INITIALIZED |
|
|
304
|
-
+------------------------------------------------------------------------------+
|
|
305
|
-
| |
|
|
306
|
-
| v[X.Y] [Name] |
|
|
307
|
-
| |
|
|
308
|
-
| | Artifact | Location | |
|
|
309
|
-
| |----------------|----------------------------- |
|
|
310
|
-
| | Project | .planning/PROJECT.md | |
|
|
311
|
-
| | Research | .planning/research/ | |
|
|
312
|
-
| | Requirements | .planning/REQUIREMENTS.md | |
|
|
313
|
-
| | Roadmap | .planning/VISION.md | |
|
|
314
|
-
| |
|
|
315
|
-
| [N] phases | [X] requirements | Ready to build |
|
|
316
|
-
| |
|
|
317
|
-
+------------------------------------------------------------------------------+
|
|
318
|
-
| NEXT UP |
|
|
319
|
-
+------------------------------------------------------------------------------+
|
|
320
|
-
| |
|
|
321
|
-
| Phase [N]: [Phase Name] - [Goal] |
|
|
322
|
-
| |
|
|
323
|
-
| -> Run `/fire-1a-discuss [N]` to gather context and clarify approach |
|
|
324
|
-
| -> Or run `/fire-2-plan [N]` to plan directly |
|
|
325
|
-
| |
|
|
326
|
-
| Tip: Run `/clear` first for fresh context window |
|
|
327
|
-
| |
|
|
328
|
-
+------------------------------------------------------------------------------+
|
|
329
|
-
```
|
|
330
|
-
|
|
331
|
-
---
|
|
332
|
-
|
|
333
|
-
## Success Criteria
|
|
334
|
-
|
|
335
|
-
- [ ] Project validated (PROJECT.md exists)
|
|
336
|
-
- [ ] Previous milestone context presented
|
|
337
|
-
- [ ] Deep questioning completed (threads followed)
|
|
338
|
-
- [ ] Honesty protocol applied (acknowledged uncertainties)
|
|
339
|
-
- [ ] Milestone version determined
|
|
340
|
-
- [ ] PROJECT.md updated -> committed
|
|
341
|
-
- [ ] Research completed (if selected) -> committed
|
|
342
|
-
- [ ] REQUIREMENTS.md created with REQ-IDs -> committed
|
|
343
|
-
- [ ] VISION.md created -> committed
|
|
344
|
-
- [ ] Sabbath Rest state updated
|
|
345
|
-
- [ ] User knows next step is `/fire-2-plan [N]`
|
|
346
|
-
|
|
347
|
-
---
|
|
348
|
-
|
|
349
|
-
## References
|
|
350
|
-
|
|
351
|
-
- **Related:** `/fire-
|
|
352
|
-
- **Related:** `/fire-complete-milestone` - Archive completed milestone
|
|
353
|
-
- **Related:** `/fire-1a-discuss` - Discuss phase before planning
|
|
354
|
-
- **Agent:** Uses `fire-roadmapper` for roadmap creation
|
|
355
|
-
- **Agent:** Uses `fire-project-researcher` for domain research
|
|
356
|
-
- **Brand:** `@references/ui-brand.md`
|
|
1
|
+
---
|
|
2
|
+
description: Start a new milestone cycle with questioning, research, requirements, and roadmap
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-new-milestone
|
|
6
|
+
|
|
7
|
+
> Start a new milestone through unified flow: questioning -> research -> requirements -> roadmap
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
Start a new milestone for an existing project. This is the brownfield equivalent of `/fire-1a-new`. The project exists, PROJECT.md has history. This command gathers "what's next" and takes you through the full cycle.
|
|
14
|
+
|
|
15
|
+
**Creates/Updates:**
|
|
16
|
+
- `.planning/PROJECT.md` - Updated with new milestone goals
|
|
17
|
+
- `.planning/research/` - Domain research (optional)
|
|
18
|
+
- `.planning/REQUIREMENTS.md` - Scoped requirements
|
|
19
|
+
- `.planning/VISION.md` - Phase structure
|
|
20
|
+
- `.planning/CONSCIENCE.md` - Updated project memory
|
|
21
|
+
|
|
22
|
+
**After this command:** Run `/fire-2-plan [N]` to start execution.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Arguments
|
|
27
|
+
|
|
28
|
+
```yaml
|
|
29
|
+
arguments:
|
|
30
|
+
milestone_name:
|
|
31
|
+
required: false
|
|
32
|
+
type: string
|
|
33
|
+
description: "Optional milestone name (e.g., 'v1.1 Notifications')"
|
|
34
|
+
example: "/fire-new-milestone v1.1 Notifications"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Process
|
|
40
|
+
|
|
41
|
+
### Phase 1: Validate Project
|
|
42
|
+
|
|
43
|
+
**MANDATORY FGTAT STEP - Execute these checks before ANY user interaction:**
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
[ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md. Run /fire-1a-new first."; exit 1; }
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Check for active milestone (VISION.md exists):
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
[ -f .planning/VISION.md ] && echo "ACTIVE_MILESTONE" || echo "READY_FOR_NEW"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**If ACTIVE_MILESTONE:**
|
|
56
|
+
|
|
57
|
+
Use AskUserQuestion:
|
|
58
|
+
- header: "Active Milestone"
|
|
59
|
+
- question: "A milestone is in progress. What would you like to do?"
|
|
60
|
+
- options:
|
|
61
|
+
- "Complete current first (Recommended)" - Run /fire-complete-milestone
|
|
62
|
+
- "Continue anyway" - Start new milestone (will archive current)
|
|
63
|
+
|
|
64
|
+
### Phase 2: Present Context
|
|
65
|
+
|
|
66
|
+
Display banner:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
+------------------------------------------------------------------------------+
|
|
70
|
+
| DOMINION FLOW > NEW MILESTONE |
|
|
71
|
+
+------------------------------------------------------------------------------+
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Present what shipped:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
Last milestone: v[X.Y] [Name] (shipped [DATE])
|
|
78
|
+
|
|
79
|
+
Key accomplishments:
|
|
80
|
+
- [From MILESTONES.md]
|
|
81
|
+
- [From MILESTONES.md]
|
|
82
|
+
|
|
83
|
+
Validated requirements:
|
|
84
|
+
- [From PROJECT.md Validated section]
|
|
85
|
+
|
|
86
|
+
Pending todos:
|
|
87
|
+
- [From CONSCIENCE.md if any]
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Phase 3: Deep Questioning
|
|
91
|
+
|
|
92
|
+
Display banner:
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
+------------------------------------------------------------------------------+
|
|
96
|
+
| DOMINION FLOW > QUESTIONING |
|
|
97
|
+
+------------------------------------------------------------------------------+
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Open the conversation:**
|
|
101
|
+
|
|
102
|
+
Ask inline (freeform, NOT AskUserQuestion):
|
|
103
|
+
|
|
104
|
+
"What do you want to build next?"
|
|
105
|
+
|
|
106
|
+
Wait for response. This gives context for intelligent follow-up questions.
|
|
107
|
+
|
|
108
|
+
**Follow the thread:**
|
|
109
|
+
|
|
110
|
+
Based on their response, ask follow-up questions that dig deeper. Use AskUserQuestion with options that probe what they mentioned.
|
|
111
|
+
|
|
112
|
+
Keep following threads. Each answer opens new threads to explore:
|
|
113
|
+
- What excited them
|
|
114
|
+
- What problem sparked this
|
|
115
|
+
- What they mean by vague terms
|
|
116
|
+
- What it would actually look like
|
|
117
|
+
- What's already decided
|
|
118
|
+
|
|
119
|
+
**WARRIOR Enhancement - Honesty Protocol:**
|
|
120
|
+
|
|
121
|
+
Before finalizing understanding, acknowledge:
|
|
122
|
+
- What I understand clearly
|
|
123
|
+
- What I'm uncertain about
|
|
124
|
+
- What I'm assuming
|
|
125
|
+
|
|
126
|
+
**Decision gate:**
|
|
127
|
+
|
|
128
|
+
When ready, use AskUserQuestion:
|
|
129
|
+
- header: "Ready?"
|
|
130
|
+
- question: "I think I understand what you're after. Ready to update PROJECT.md?"
|
|
131
|
+
- options:
|
|
132
|
+
- "Update PROJECT.md" - Move forward
|
|
133
|
+
- "Keep exploring" - Share more / ask more
|
|
134
|
+
|
|
135
|
+
### Phase 4: Determine Milestone Version
|
|
136
|
+
|
|
137
|
+
Parse last version from MILESTONES.md and suggest next:
|
|
138
|
+
|
|
139
|
+
Use AskUserQuestion:
|
|
140
|
+
- header: "Version"
|
|
141
|
+
- question: "What version is this milestone?"
|
|
142
|
+
- options:
|
|
143
|
+
- "v[X.Y+0.1] (patch)" - Minor update
|
|
144
|
+
- "v[X+1].0 (major)" - Major release
|
|
145
|
+
- "Custom" - I'll specify
|
|
146
|
+
|
|
147
|
+
### Phase 5: Update PROJECT.md
|
|
148
|
+
|
|
149
|
+
Update `.planning/PROJECT.md` with new milestone section:
|
|
150
|
+
|
|
151
|
+
```markdown
|
|
152
|
+
## Current Milestone: v[X.Y] [Name]
|
|
153
|
+
|
|
154
|
+
**Goal:** [One sentence describing milestone focus]
|
|
155
|
+
|
|
156
|
+
**Target features:**
|
|
157
|
+
- [Feature 1]
|
|
158
|
+
- [Feature 2]
|
|
159
|
+
- [Feature 3]
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Commit:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
git add .planning/PROJECT.md
|
|
166
|
+
git commit -m "$(cat <<'EOF'
|
|
167
|
+
docs: start milestone v[X.Y] [Name]
|
|
168
|
+
|
|
169
|
+
[One-liner describing milestone focus]
|
|
170
|
+
EOF
|
|
171
|
+
)"
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Phase 6: Research Decision
|
|
175
|
+
|
|
176
|
+
Use AskUserQuestion:
|
|
177
|
+
- header: "Research"
|
|
178
|
+
- question: "Research the domain ecosystem before defining requirements?"
|
|
179
|
+
- options:
|
|
180
|
+
- "Research first (Recommended)" - Discover patterns, expected features
|
|
181
|
+
- "Skip research" - I know this domain well
|
|
182
|
+
|
|
183
|
+
**If "Research first":**
|
|
184
|
+
|
|
185
|
+
Display banner:
|
|
186
|
+
```
|
|
187
|
+
+------------------------------------------------------------------------------+
|
|
188
|
+
| DOMINION FLOW > RESEARCHING |
|
|
189
|
+
+------------------------------------------------------------------------------+
|
|
190
|
+
|
|
191
|
+
Researching [domain] ecosystem...
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Spawn 4 parallel fire-project-researcher agents:
|
|
195
|
+
- Stack research
|
|
196
|
+
- Features research
|
|
197
|
+
- Architecture research
|
|
198
|
+
- Pitfalls research
|
|
199
|
+
|
|
200
|
+
After completion, spawn synthesizer to create RECORD.md.
|
|
201
|
+
|
|
202
|
+
**Adversarial Fact-Check (v11.0):**
|
|
203
|
+
After the synthesizer writes SYNTHESIS.md, spawn `fire-fact-checker`:
|
|
204
|
+
- Reads SYNTHESIS.md
|
|
205
|
+
- Independently attempts to disprove top findings
|
|
206
|
+
- Produces `.planning/research/CONTESTED-CLAIMS.md`
|
|
207
|
+
- Adjusts confidence levels based on adversarial verification
|
|
208
|
+
- Any CONTESTED findings are flagged for the roadmapper's risk assessment
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
Spawning fire-fact-checker for adversarial verification...
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Phase 7: Define Requirements
|
|
215
|
+
|
|
216
|
+
Display banner:
|
|
217
|
+
```
|
|
218
|
+
+------------------------------------------------------------------------------+
|
|
219
|
+
| DOMINION FLOW > DEFINING REQUIREMENTS |
|
|
220
|
+
+------------------------------------------------------------------------------+
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
**If research exists:** Read FEATURES.md and present by category.
|
|
224
|
+
|
|
225
|
+
**If no research:** Gather requirements through conversation.
|
|
226
|
+
|
|
227
|
+
**Scope each category:**
|
|
228
|
+
|
|
229
|
+
For each category, use AskUserQuestion with multiSelect:
|
|
230
|
+
- header: "[Category name]"
|
|
231
|
+
- question: "Which [category] features are in this milestone?"
|
|
232
|
+
- options: [Feature list]
|
|
233
|
+
|
|
234
|
+
**Generate REQUIREMENTS.md:**
|
|
235
|
+
|
|
236
|
+
Create `.planning/REQUIREMENTS.md` with:
|
|
237
|
+
- v1 Requirements grouped by category (checkboxes, REQ-IDs)
|
|
238
|
+
- v2 Requirements (deferred)
|
|
239
|
+
- Out of Scope (explicit exclusions)
|
|
240
|
+
- Traceability section
|
|
241
|
+
|
|
242
|
+
Commit:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
git add .planning/REQUIREMENTS.md
|
|
246
|
+
git commit -m "$(cat <<'EOF'
|
|
247
|
+
docs: define v[X.Y] requirements
|
|
248
|
+
|
|
249
|
+
[X] requirements across [N] categories
|
|
250
|
+
[Y] requirements deferred to v2
|
|
251
|
+
EOF
|
|
252
|
+
)"
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Phase 8: Create Roadmap
|
|
256
|
+
|
|
257
|
+
Display banner:
|
|
258
|
+
```
|
|
259
|
+
+------------------------------------------------------------------------------+
|
|
260
|
+
| DOMINION FLOW > CREATING ROADMAP |
|
|
261
|
+
+------------------------------------------------------------------------------+
|
|
262
|
+
|
|
263
|
+
Spawning roadmapper...
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
Spawn fire-roadmapper agent with context:
|
|
267
|
+
- PROJECT.md
|
|
268
|
+
- REQUIREMENTS.md
|
|
269
|
+
- Research RECORD.md (if exists)
|
|
270
|
+
- Starting phase number
|
|
271
|
+
|
|
272
|
+
**Handle roadmapper return:**
|
|
273
|
+
|
|
274
|
+
**If `## ROADMAP CREATED`:**
|
|
275
|
+
- Present roadmap inline
|
|
276
|
+
- Ask for approval
|
|
277
|
+
|
|
278
|
+
**If approved:** Commit roadmap.
|
|
279
|
+
|
|
280
|
+
### Phase 9: Sabbath Rest - Context Persistence
|
|
281
|
+
|
|
282
|
+
Update persistent state:
|
|
283
|
+
|
|
284
|
+
```markdown
|
|
285
|
+
## .claude/fire-flow.local.md
|
|
286
|
+
|
|
287
|
+
### Current Milestone
|
|
288
|
+
- Version: v[X.Y]
|
|
289
|
+
- Name: [Name]
|
|
290
|
+
- Phases: [count]
|
|
291
|
+
- Requirements: [count]
|
|
292
|
+
- Started: {timestamp}
|
|
293
|
+
- Status: Ready to plan
|
|
294
|
+
- Next: /fire-2-plan [first_phase]
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## Completion Display
|
|
300
|
+
|
|
301
|
+
```
|
|
302
|
+
+------------------------------------------------------------------------------+
|
|
303
|
+
| DOMINION FLOW > MILESTONE INITIALIZED |
|
|
304
|
+
+------------------------------------------------------------------------------+
|
|
305
|
+
| |
|
|
306
|
+
| v[X.Y] [Name] |
|
|
307
|
+
| |
|
|
308
|
+
| | Artifact | Location | |
|
|
309
|
+
| |----------------|----------------------------- |
|
|
310
|
+
| | Project | .planning/PROJECT.md | |
|
|
311
|
+
| | Research | .planning/research/ | |
|
|
312
|
+
| | Requirements | .planning/REQUIREMENTS.md | |
|
|
313
|
+
| | Roadmap | .planning/VISION.md | |
|
|
314
|
+
| |
|
|
315
|
+
| [N] phases | [X] requirements | Ready to build |
|
|
316
|
+
| |
|
|
317
|
+
+------------------------------------------------------------------------------+
|
|
318
|
+
| NEXT UP |
|
|
319
|
+
+------------------------------------------------------------------------------+
|
|
320
|
+
| |
|
|
321
|
+
| Phase [N]: [Phase Name] - [Goal] |
|
|
322
|
+
| |
|
|
323
|
+
| -> Run `/fire-1a-discuss [N]` to gather context and clarify approach |
|
|
324
|
+
| -> Or run `/fire-2-plan [N]` to plan directly |
|
|
325
|
+
| |
|
|
326
|
+
| Tip: Run `/clear` first for fresh context window |
|
|
327
|
+
| |
|
|
328
|
+
+------------------------------------------------------------------------------+
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
## Success Criteria
|
|
334
|
+
|
|
335
|
+
- [ ] Project validated (PROJECT.md exists)
|
|
336
|
+
- [ ] Previous milestone context presented
|
|
337
|
+
- [ ] Deep questioning completed (threads followed)
|
|
338
|
+
- [ ] Honesty protocol applied (acknowledged uncertainties)
|
|
339
|
+
- [ ] Milestone version determined
|
|
340
|
+
- [ ] PROJECT.md updated -> committed
|
|
341
|
+
- [ ] Research completed (if selected) -> committed
|
|
342
|
+
- [ ] REQUIREMENTS.md created with REQ-IDs -> committed
|
|
343
|
+
- [ ] VISION.md created -> committed
|
|
344
|
+
- [ ] Sabbath Rest state updated
|
|
345
|
+
- [ ] User knows next step is `/fire-2-plan [N]`
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
## References
|
|
350
|
+
|
|
351
|
+
- **Related:** `/fire-1a-new` - Initialize new project (greenfield)
|
|
352
|
+
- **Related:** `/fire-complete-milestone` - Archive completed milestone
|
|
353
|
+
- **Related:** `/fire-1a-discuss` - Discuss phase before planning
|
|
354
|
+
- **Agent:** Uses `fire-roadmapper` for roadmap creation
|
|
355
|
+
- **Agent:** Uses `fire-project-researcher` for domain research
|
|
356
|
+
- **Brand:** `@references/ui-brand.md`
|