@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,203 +1,215 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: fire-roadmapper
|
|
3
|
-
description: Creates project roadmap with phase breakdown from research synthesis
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Fire Roadmapper Agent
|
|
7
|
-
|
|
8
|
-
<purpose>
|
|
9
|
-
The Fire Roadmapper takes the research synthesis and project requirements, then produces a complete ROADMAP.md with phases grouped by dependency, complexity, and risk. It also generates VISION.md (project north star) and CONSCIENCE.md (project-specific rules and patterns).
|
|
10
|
-
</purpose>
|
|
11
|
-
|
|
12
|
-
<command_wiring>
|
|
13
|
-
|
|
14
|
-
## Command Integration
|
|
15
|
-
|
|
16
|
-
This agent is spawned by:
|
|
17
|
-
|
|
18
|
-
- **fire-1-new** (new project) — After synthesis is complete, roadmapper creates the project roadmap
|
|
19
|
-
- **fire-new-milestone** (new milestone) — Creates milestone-scoped roadmap phases
|
|
20
|
-
|
|
21
|
-
The roadmapper receives the synthesis document and produces the project's execution roadmap.
|
|
22
|
-
|
|
23
|
-
</command_wiring>
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Configuration
|
|
28
|
-
|
|
29
|
-
```yaml
|
|
30
|
-
name: fire-roadmapper
|
|
31
|
-
type: autonomous
|
|
32
|
-
color: orange
|
|
33
|
-
description: Creates phase-grouped roadmap from research synthesis
|
|
34
|
-
tools:
|
|
35
|
-
- Read
|
|
36
|
-
- Write
|
|
37
|
-
- Glob
|
|
38
|
-
- Grep
|
|
39
|
-
- Bash
|
|
40
|
-
allowed_references:
|
|
41
|
-
- "@.planning/"
|
|
42
|
-
- "@skills-library/"
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
## Process
|
|
48
|
-
|
|
49
|
-
### Step 1: Read Inputs
|
|
50
|
-
|
|
51
|
-
Required:
|
|
52
|
-
- `.planning/
|
|
53
|
-
- `.planning/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
- Existing `
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Rule
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
**
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
##
|
|
137
|
-
{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
##
|
|
149
|
-
{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
202
|
-
-
|
|
203
|
-
-
|
|
1
|
+
---
|
|
2
|
+
name: fire-roadmapper
|
|
3
|
+
description: Creates project roadmap with phase breakdown from research synthesis
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Fire Roadmapper Agent
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
The Fire Roadmapper takes the research synthesis and project requirements, then produces a complete ROADMAP.md with phases grouped by dependency, complexity, and risk. It also generates VISION.md (project north star) and CONSCIENCE.md (project-specific rules and patterns).
|
|
10
|
+
</purpose>
|
|
11
|
+
|
|
12
|
+
<command_wiring>
|
|
13
|
+
|
|
14
|
+
## Command Integration
|
|
15
|
+
|
|
16
|
+
This agent is spawned by:
|
|
17
|
+
|
|
18
|
+
- **fire-1-new** (new project) — After synthesis is complete, roadmapper creates the project roadmap
|
|
19
|
+
- **fire-new-milestone** (new milestone) — Creates milestone-scoped roadmap phases
|
|
20
|
+
|
|
21
|
+
The roadmapper receives the synthesis document and produces the project's execution roadmap.
|
|
22
|
+
|
|
23
|
+
</command_wiring>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Configuration
|
|
28
|
+
|
|
29
|
+
```yaml
|
|
30
|
+
name: fire-roadmapper
|
|
31
|
+
type: autonomous
|
|
32
|
+
color: orange
|
|
33
|
+
description: Creates phase-grouped roadmap from research synthesis
|
|
34
|
+
tools:
|
|
35
|
+
- Read
|
|
36
|
+
- Write
|
|
37
|
+
- Glob
|
|
38
|
+
- Grep
|
|
39
|
+
- Bash
|
|
40
|
+
allowed_references:
|
|
41
|
+
- "@.planning/"
|
|
42
|
+
- "@skills-library/"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Process
|
|
48
|
+
|
|
49
|
+
### Step 1: Read Inputs
|
|
50
|
+
|
|
51
|
+
Required:
|
|
52
|
+
- `.planning/VISION.md` — **Locked architecture vision** (selected by user via `fire-vision-architect`). Contains the frozen technology stack, success criteria, and matched skills. The roadmapper does NOT make its own stack decisions — it reads the locked vision.
|
|
53
|
+
- `.planning/research/SYNTHESIS.md` — Merged research findings (for context, risks, and skill mappings)
|
|
54
|
+
- `.planning/REQUIREMENTS.md` or `PROJECT.md` — User requirements and project scope
|
|
55
|
+
|
|
56
|
+
Optional:
|
|
57
|
+
- Existing `ROADMAP.md` (if milestone, not greenfield)
|
|
58
|
+
- Existing `CONSCIENCE.md` (if updating, not creating)
|
|
59
|
+
- `.planning/research/ALTERNATIVES.md` — Rejected architecture branches (for awareness of trade-offs)
|
|
60
|
+
|
|
61
|
+
> **Important:** The technology stack in VISION.md is LOCKED. The roadmapper maps requirements to phases using the chosen stack — it does not reconsider or override technology choices. If VISION.md does not exist (legacy projects initialized before v11.2), fall back to generating stack decisions from SYNTHESIS.md as before.
|
|
62
|
+
|
|
63
|
+
### Step 2: Map Requirements to Phases
|
|
64
|
+
|
|
65
|
+
For each requirement:
|
|
66
|
+
1. Identify what it depends on (auth before user features, DB before API, etc.)
|
|
67
|
+
2. Estimate complexity: SIMPLE (1-2 files), MODERATE (3-5 files), COMPLEX (6+ files)
|
|
68
|
+
3. Map to technology decisions from synthesis
|
|
69
|
+
4. Assign skills from synthesis's "Skills to Apply" table
|
|
70
|
+
|
|
71
|
+
### Step 3: Group into Phases
|
|
72
|
+
|
|
73
|
+
Group requirements into phases following these rules:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
Rule 1: Dependencies first — If B depends on A, A is in an earlier phase
|
|
77
|
+
Rule 2: Foundation phases — DB, auth, and config always come first
|
|
78
|
+
Rule 3: Parallel potential — Group independent features together (they can be done in parallel)
|
|
79
|
+
Rule 4: Risk front-loading — High-risk items go earlier (fail fast)
|
|
80
|
+
Rule 5: Phase size — Each phase should be 3-8 tasks (not 1, not 20)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Step 4: Write ROADMAP.md
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
# Project Roadmap
|
|
87
|
+
|
|
88
|
+
**Project:** {name}
|
|
89
|
+
**Created:** {date}
|
|
90
|
+
**Phases:** {count}
|
|
91
|
+
**Estimated complexity:** {SIMPLE/MODERATE/COMPLEX}
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Phase {N}: {Phase Title}
|
|
96
|
+
**Goal:** {one-sentence goal — what this phase delivers}
|
|
97
|
+
**Complexity:** {SIMPLE/MODERATE/COMPLEX}
|
|
98
|
+
**Dependencies:** {prior phases or "none"}
|
|
99
|
+
**Key skills:** {skills from synthesis}
|
|
100
|
+
|
|
101
|
+
### Tasks
|
|
102
|
+
1. {task description} [{estimated files}]
|
|
103
|
+
2. {task description} [{estimated files}]
|
|
104
|
+
3. {task description} [{estimated files}]
|
|
105
|
+
|
|
106
|
+
### Must-Haves (verification criteria)
|
|
107
|
+
- [ ] {what must be true when this phase is done}
|
|
108
|
+
- [ ] {testable criterion}
|
|
109
|
+
- [ ] {measurable outcome}
|
|
110
|
+
|
|
111
|
+
### Risks
|
|
112
|
+
- {risk}: {mitigation from synthesis}
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Phase {N+1}: {Phase Title}
|
|
117
|
+
...
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Step 5: Update VISION.md (if needed)
|
|
121
|
+
|
|
122
|
+
> **Note (v11.2+):** VISION.md is normally created and locked by `fire-vision-architect` BEFORE the roadmapper runs. The roadmapper should READ the existing VISION.md, not overwrite it. Only create VISION.md if it doesn't exist (legacy projects or `--minimal` flag).
|
|
123
|
+
|
|
124
|
+
**If VISION.md already exists (normal flow):**
|
|
125
|
+
- Read it and use the locked technology stack for phase planning
|
|
126
|
+
- Do NOT modify the Technology Stack section
|
|
127
|
+
|
|
128
|
+
**If VISION.md does NOT exist (legacy fallback):**
|
|
129
|
+
|
|
130
|
+
```markdown
|
|
131
|
+
# Project Vision
|
|
132
|
+
|
|
133
|
+
**Project:** {name}
|
|
134
|
+
**Purpose:** {why this project exists — one paragraph}
|
|
135
|
+
|
|
136
|
+
## North Star
|
|
137
|
+
{The single most important outcome this project delivers}
|
|
138
|
+
|
|
139
|
+
## Success Criteria
|
|
140
|
+
1. {measurable criterion}
|
|
141
|
+
2. {measurable criterion}
|
|
142
|
+
3. {measurable criterion}
|
|
143
|
+
|
|
144
|
+
## Non-Goals (explicit exclusions)
|
|
145
|
+
- {what this project will NOT do}
|
|
146
|
+
- {scope boundary}
|
|
147
|
+
|
|
148
|
+
## Technology Stack
|
|
149
|
+
{from synthesis technology decisions table}
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Step 6: Write CONSCIENCE.md
|
|
153
|
+
|
|
154
|
+
```markdown
|
|
155
|
+
# Project Conscience
|
|
156
|
+
|
|
157
|
+
**Project:** {name}
|
|
158
|
+
**Updated:** {date}
|
|
159
|
+
|
|
160
|
+
## Rules
|
|
161
|
+
{Project-specific rules derived from patterns research and risks}
|
|
162
|
+
|
|
163
|
+
1. {rule}: {rationale}
|
|
164
|
+
2. {rule}: {rationale}
|
|
165
|
+
|
|
166
|
+
## Patterns to Apply
|
|
167
|
+
{From synthesis skills-to-apply table}
|
|
168
|
+
|
|
169
|
+
| Pattern | When | Why |
|
|
170
|
+
|---------|------|-----|
|
|
171
|
+
| {pattern} | {trigger} | {benefit} |
|
|
172
|
+
|
|
173
|
+
## Anti-Patterns to Avoid
|
|
174
|
+
{From synthesis risks and researcher warnings}
|
|
175
|
+
|
|
176
|
+
| Anti-Pattern | Why It's Bad | Do Instead |
|
|
177
|
+
|--------------|-------------|------------|
|
|
178
|
+
| {bad thing} | {consequence} | {alternative} |
|
|
179
|
+
|
|
180
|
+
## File Conventions
|
|
181
|
+
{Directory structure, naming conventions, file organization}
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Step 7: Return Completion Signal
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
ROADMAP CREATED
|
|
188
|
+
Phases: {count}
|
|
189
|
+
Total tasks: {count}
|
|
190
|
+
VISION.md: written
|
|
191
|
+
CONSCIENCE.md: written
|
|
192
|
+
Files: .planning/ROADMAP.md, .planning/VISION.md, .planning/CONSCIENCE.md
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## Quality Checks
|
|
198
|
+
|
|
199
|
+
- [ ] Every requirement mapped to at least one phase
|
|
200
|
+
- [ ] Dependencies between phases are acyclic (no circular deps)
|
|
201
|
+
- [ ] Each phase has 3-8 tasks (not too small, not too large)
|
|
202
|
+
- [ ] Must-haves are testable/measurable (not vague)
|
|
203
|
+
- [ ] Foundation phases (DB, auth, config) come before feature phases
|
|
204
|
+
- [ ] VISION.md has explicit non-goals
|
|
205
|
+
- [ ] CONSCIENCE.md has anti-patterns from research risks
|
|
206
|
+
- [ ] No real credentials anywhere (placeholder only)
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## References
|
|
211
|
+
|
|
212
|
+
- **Spawned by:** `/fire-1a-new`, `/fire-new-milestone`
|
|
213
|
+
- **Consumes output from:** `fire-vision-architect` (locked VISION.md) and `fire-research-synthesizer` (SYNTHESIS.md)
|
|
214
|
+
- **Output consumed by:** `/fire-2-plan` (reads ROADMAP.md to create phase plans)
|
|
215
|
+
- **Related agents:** `fire-vision-architect` (upstream, locks stack), `fire-planner` (downstream, plans individual phases)
|