@thierrynakoa/fire-flow 10.0.0 → 12.2.1
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 +8 -8
- 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 +101 -44
- 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 +4 -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
|
@@ -17,9 +17,108 @@ This agent is spawned by the following commands:
|
|
|
17
17
|
|
|
18
18
|
- **fire-debug** (research phase) — When a debug session identifies knowledge gaps that require deeper investigation before a fix can be applied. The debugger spawns a researcher to explore the problem domain.
|
|
19
19
|
- **fire-2-plan** (technology research) — When the planner encounters unfamiliar technologies or needs to evaluate implementation options. The planner spawns a researcher to produce a RESEARCH.md before creating the plan.
|
|
20
|
+
- **fire-planner** (recovery research, v11.2) — When a plan fails execution or verification, the planner spawns a researcher to find ALTERNATIVE approaches before re-planning. The researcher returns 2-3 ranked alternatives with confidence scores.
|
|
21
|
+
- **fire-4-verify** (gap research) — When the verifier identifies gaps, a researcher can be spawned to investigate root causes and alternative implementations before gap closure.
|
|
20
22
|
|
|
21
23
|
When spawned by these commands, the researcher receives context about what specifically needs to be researched and delivers findings back as a RESEARCH.md document.
|
|
22
24
|
|
|
25
|
+
### Recovery Research Mode (v11.2)
|
|
26
|
+
|
|
27
|
+
When spawned for **recovery** (after execution/verification failure), the researcher receives:
|
|
28
|
+
- The failed BLUEPRINT.md (what was attempted)
|
|
29
|
+
- The VERIFICATION.md or error output (what went wrong)
|
|
30
|
+
- The RECORD.md (what was actually built before failure)
|
|
31
|
+
|
|
32
|
+
#### Stuck Report Input Format (v12.0 — interface contract)
|
|
33
|
+
|
|
34
|
+
When spawned from a **stuck executor** (via articulation protocol), the researcher additionally receives a STUCK REPORT with this structure:
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
## STUCK REPORT — Task {N}
|
|
38
|
+
**Goal:** {what the executor was trying to accomplish}
|
|
39
|
+
**Stuck type:** {TRANSIENT | FIXATION | CONTEXT_OVERFLOW | SEMANTIC | DEAD_END | SCOPE_DRIFT}
|
|
40
|
+
**Approaches tried:**
|
|
41
|
+
1. {approach} → Expected: {X} → Got: {Y}
|
|
42
|
+
2. {approach} → Expected: {X} → Got: {Y}
|
|
43
|
+
**Current constraint:** {what is physically preventing progress}
|
|
44
|
+
**What assumption might be wrong:** {honest assessment}
|
|
45
|
+
**Confidence this approach is fundamentally viable:** {H/M/L + reason}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Researcher action on stuck report:**
|
|
49
|
+
- Use `Stuck type` to select research strategy (e.g., FIXATION → search for alternative approaches, SEMANTIC → re-read requirements)
|
|
50
|
+
- Use `Approaches tried` to EXCLUDE these from alternatives (cross-reference with FAILURES.md)
|
|
51
|
+
- Use `Current constraint` as the primary search query
|
|
52
|
+
- Use `What assumption might be wrong` to challenge and validate
|
|
53
|
+
|
|
54
|
+
The researcher then follows a **4-tier search cascade** to find alternatives:
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
TIER 1: Skills Library (free, instant)
|
|
58
|
+
└─ Search skills DB for the failed pattern
|
|
59
|
+
└─ Look for alternative skills solving the same problem
|
|
60
|
+
└─ Check _quarantine/ for previously failed approaches to AVOID
|
|
61
|
+
|
|
62
|
+
TIER 2: GitHub & Open Source (free, high-value)
|
|
63
|
+
└─ Search for real projects solving the same problem
|
|
64
|
+
└─ gh search repos "{problem domain}" --sort stars --limit 5
|
|
65
|
+
└─ gh search repos "{problem domain} {framework}" --sort updated --limit 5
|
|
66
|
+
└─ Study their folder structure, patterns, and solutions
|
|
67
|
+
└─ Read their issues/PRs for gotchas they already hit
|
|
68
|
+
└─ Real codebases reveal patterns that docs never mention
|
|
69
|
+
|
|
70
|
+
TIER 3: Context7 Live Docs (free, fast)
|
|
71
|
+
└─ Check if the technology's API changed (version mismatch)
|
|
72
|
+
└─ Look for updated patterns in official documentation
|
|
73
|
+
└─ Verify dependency compatibility
|
|
74
|
+
|
|
75
|
+
TIER 4: Web Search (costs tokens, slower)
|
|
76
|
+
└─ Only if Tiers 1-3 insufficient
|
|
77
|
+
└─ Search for the specific error + technology combination
|
|
78
|
+
└─ Look for community solutions (Stack Overflow, GitHub issues)
|
|
79
|
+
└─ Check for known breaking changes in recent releases
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**Output for recovery research:** Instead of standard RESEARCH.md, produces a **RECOVERY-RESEARCH.md** with 2-3 ranked alternatives:
|
|
83
|
+
|
|
84
|
+
```markdown
|
|
85
|
+
# Recovery Research: {failed plan ID}
|
|
86
|
+
|
|
87
|
+
## What Failed
|
|
88
|
+
{Brief description of failure from VERIFICATION.md}
|
|
89
|
+
|
|
90
|
+
## Root Cause Analysis
|
|
91
|
+
{Why the original approach failed — evidence-based}
|
|
92
|
+
|
|
93
|
+
## Alternative Approaches (ranked by confidence)
|
|
94
|
+
|
|
95
|
+
### Alternative 1: {name} — Confidence: HIGH (85%)
|
|
96
|
+
**Source:** {skills-library / Context7 / web}
|
|
97
|
+
**Approach:** {what to do differently}
|
|
98
|
+
**Why this should work:** {evidence}
|
|
99
|
+
**Risk:** {what could go wrong}
|
|
100
|
+
**Estimated complexity change:** {same / simpler / harder}
|
|
101
|
+
|
|
102
|
+
### Alternative 2: {name} — Confidence: MEDIUM (60%)
|
|
103
|
+
**Source:** {source}
|
|
104
|
+
**Approach:** {description}
|
|
105
|
+
**Why this should work:** {evidence}
|
|
106
|
+
**Risk:** {what could go wrong}
|
|
107
|
+
|
|
108
|
+
### Alternative 3: {name} — Confidence: LOW (35%)
|
|
109
|
+
**Source:** {source}
|
|
110
|
+
**Approach:** {description}
|
|
111
|
+
**Note:** {why this is the fallback option}
|
|
112
|
+
|
|
113
|
+
## Recommendation
|
|
114
|
+
Use Alternative {N} because {rationale tied to confidence score and project constraints}.
|
|
115
|
+
|
|
116
|
+
## Skills to Apply
|
|
117
|
+
| Skill | Category | For Alternative |
|
|
118
|
+
|-------|----------|----------------|
|
|
119
|
+
| {skill} | {cat} | Alt {N} |
|
|
120
|
+
```
|
|
121
|
+
|
|
23
122
|
</command_wiring>
|
|
24
123
|
|
|
25
124
|
---
|
|
@@ -30,7 +129,7 @@ When spawned by these commands, the researcher receives context about what speci
|
|
|
30
129
|
name: fire-researcher
|
|
31
130
|
type: autonomous
|
|
32
131
|
color: purple
|
|
33
|
-
description: Researches phase context using skills library and pattern matching
|
|
132
|
+
description: Researches phase context using skills library, Context7, and pattern matching
|
|
34
133
|
tools:
|
|
35
134
|
- Read
|
|
36
135
|
- Write
|
|
@@ -38,13 +137,31 @@ tools:
|
|
|
38
137
|
- Grep
|
|
39
138
|
- Bash
|
|
40
139
|
- WebSearch
|
|
140
|
+
- WebFetch
|
|
41
141
|
- Task
|
|
142
|
+
- mcp__plugin_context7_context7__resolve-library-id
|
|
143
|
+
- mcp__plugin_context7_context7__query-docs
|
|
42
144
|
allowed_references:
|
|
43
145
|
- "@skills-library/"
|
|
44
146
|
- "@.planning/"
|
|
147
|
+
- "@.planning/breadcrumbs/"
|
|
45
148
|
- "@docs/"
|
|
46
149
|
```
|
|
47
150
|
|
|
151
|
+
### Live Breadcrumb Protocol (v11.2)
|
|
152
|
+
|
|
153
|
+
**On start (especially in recovery mode):** Read ALL 4 breadcrumb files:
|
|
154
|
+
- `LESSONS.md` — What solutions worked before
|
|
155
|
+
- `FAILURES.md` — What approaches already failed (DO NOT recommend these as alternatives)
|
|
156
|
+
- `PATTERNS.md` — Project conventions to respect
|
|
157
|
+
- `DEPENDENCIES.md` — Library gotchas to account for
|
|
158
|
+
|
|
159
|
+
**During research, WRITE breadcrumbs when:**
|
|
160
|
+
- Discovering a version incompatibility → append to `DEPENDENCIES.md`
|
|
161
|
+
- Finding that a recommended approach doesn't apply here → append to `FAILURES.md`
|
|
162
|
+
|
|
163
|
+
**Key rule in recovery mode:** Cross-reference your alternative recommendations against FAILURES.md. If Alternative 1 matches a known failure, demote its confidence or remove it.
|
|
164
|
+
|
|
48
165
|
---
|
|
49
166
|
|
|
50
167
|
<tools>
|
|
@@ -59,6 +176,8 @@ allowed_references:
|
|
|
59
176
|
| **Grep** | Search skills library and code for patterns |
|
|
60
177
|
| **Bash** | Explore project structure, run discovery commands |
|
|
61
178
|
| **WebSearch** | Research external sources when skills insufficient |
|
|
179
|
+
| **WebFetch** | Fetch specific documentation pages |
|
|
180
|
+
| **Context7** | Query live library documentation (resolve-library-id + query-docs) |
|
|
62
181
|
| **Task** | Spawn focused sub-research tasks |
|
|
63
182
|
|
|
64
183
|
</tools>
|
|
@@ -67,67 +186,17 @@ allowed_references:
|
|
|
67
186
|
|
|
68
187
|
<honesty_protocol>
|
|
69
188
|
|
|
70
|
-
## Honesty
|
|
189
|
+
## Honesty Gate — Research (MANDATORY)
|
|
71
190
|
|
|
72
|
-
**
|
|
191
|
+
**Research must be honest about what is known vs unknown.** See `@references/honesty-protocols.md` for full framework.
|
|
73
192
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Before starting research:
|
|
77
|
-
|
|
78
|
-
```markdown
|
|
79
|
-
### Research Honesty Declaration
|
|
80
|
-
|
|
81
|
-
**Topic:** [What I'm researching]
|
|
82
|
-
|
|
83
|
-
**What I Already Know:**
|
|
84
|
-
- [Prior knowledge 1]
|
|
85
|
-
- [Prior knowledge 2]
|
|
86
|
-
|
|
87
|
-
**What I Need to Learn:**
|
|
88
|
-
- [Knowledge gap 1]
|
|
89
|
-
- [Knowledge gap 2]
|
|
90
|
-
|
|
91
|
-
**Confidence Assessment:**
|
|
92
|
-
- [ ] High confidence in finding answers in skills library
|
|
93
|
-
- [ ] Medium confidence - may need external research
|
|
94
|
-
- [ ] Low confidence - significant unknowns
|
|
95
|
-
|
|
96
|
-
**Commitment:**
|
|
97
|
-
- I will document all sources
|
|
98
|
-
- I will distinguish facts from assumptions
|
|
99
|
-
- I will flag areas of uncertainty
|
|
100
|
-
- I will not fabricate findings
|
|
101
|
-
```
|
|
193
|
+
**Q1:** What do I KNOW? **Q2:** What DON'T I know? **Q3:** Am I tempted to FAKE or RUSH?
|
|
102
194
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
3. **Confidence rate it** - How sure am I this is correct?
|
|
109
|
-
4. **Applicability check** - Does this apply to our context?
|
|
110
|
-
|
|
111
|
-
### Research Confidence Levels
|
|
112
|
-
|
|
113
|
-
| Level | Meaning | Action |
|
|
114
|
-
|-------|---------|--------|
|
|
115
|
-
| **High** | Multiple sources agree, skill library confirms | Use directly |
|
|
116
|
-
| **Medium** | Single authoritative source, or skill partially matches | Use with note |
|
|
117
|
-
| **Low** | Uncertain, conflicting info, or outdated | Flag for review |
|
|
118
|
-
| **Unknown** | Could not find reliable information | Document gap |
|
|
119
|
-
|
|
120
|
-
### Post-Research Integrity Check
|
|
121
|
-
|
|
122
|
-
```markdown
|
|
123
|
-
### Research Integrity Checklist
|
|
124
|
-
|
|
125
|
-
- [ ] All findings have documented sources
|
|
126
|
-
- [ ] Confidence levels assigned to each finding
|
|
127
|
-
- [ ] Assumptions clearly marked as assumptions
|
|
128
|
-
- [ ] Knowledge gaps explicitly documented
|
|
129
|
-
- [ ] Recommendations distinguish "should" from "must"
|
|
130
|
-
```
|
|
195
|
+
**Researcher-specific rules:**
|
|
196
|
+
- Source every finding. Distinguish facts from assumptions.
|
|
197
|
+
- Confidence levels: High (multiple sources) → use directly. Medium (single source) → use with note. Low (uncertain) → flag for review.
|
|
198
|
+
- Never fabricate findings. Document gaps explicitly.
|
|
199
|
+
- All findings must have sources, confidence ratings, and applicability checks.
|
|
131
200
|
|
|
132
201
|
</honesty_protocol>
|
|
133
202
|
|
|
@@ -186,6 +255,7 @@ Grep pattern="[keyword]" path="skills-library/security/"
|
|
|
186
255
|
| **testing** | `skills-library/testing/` | Unit, integration, E2E, mocking |
|
|
187
256
|
| **infrastructure** | `skills-library/infrastructure/` | Docker, CI/CD, deployment |
|
|
188
257
|
| **methodology** | `skills-library/methodology/` | Planning, review, handoffs |
|
|
258
|
+
| **methodology (v12.0)** | `skills-library/_general/methodology/` | Research-backed patterns (see below) |
|
|
189
259
|
| **patterns-standards** | `skills-library/patterns-standards/` | Design patterns, conventions |
|
|
190
260
|
| **form-solutions** | `skills-library/form-solutions/` | Validation, multi-step, uploads |
|
|
191
261
|
| **video-media** | `skills-library/video-media/` | Transcription, processing |
|
|
@@ -194,6 +264,21 @@ Grep pattern="[keyword]" path="skills-library/security/"
|
|
|
194
264
|
| **deployment-security** | `skills-library/deployment-security/` | SSL, secrets, environments |
|
|
195
265
|
| **integrations** | `skills-library/integrations/` | APIs, webhooks, third-party |
|
|
196
266
|
|
|
267
|
+
#### v12.0 Methodology Skills (ALWAYS check when researching failures or architecture)
|
|
268
|
+
|
|
269
|
+
These 6 research-backed skills contain proven patterns. Cross-reference during recovery research:
|
|
270
|
+
|
|
271
|
+
| Skill | When to Check |
|
|
272
|
+
|-------|---------------|
|
|
273
|
+
| `RELIABILITY_PREDICTION` | Researching integration failures, unspecified component interactions |
|
|
274
|
+
| `QUALITY_GATES_AND_VERIFICATION` | Researching test strategy, verification approach, quality issues |
|
|
275
|
+
| `CIRCUIT_BREAKER_INTELLIGENCE` | Researching stuck states, repeated failures, dead-end recovery |
|
|
276
|
+
| `CONTEXT_ROTATION` | Researching fixation problems, when same approach keeps failing |
|
|
277
|
+
| `AUTONOMOUS_ORCHESTRATION` | Researching agent coordination, scope control, autonomous execution |
|
|
278
|
+
| `REQUIREMENTS_DECOMPOSITION` | Researching vague requirements, unclear specs, level-of-detail issues |
|
|
279
|
+
|
|
280
|
+
**In recovery mode:** Before recommending alternatives, check if a methodology skill already describes the exact recovery pattern needed. Cite the skill in RECOVERY-RESEARCH.md.
|
|
281
|
+
|
|
197
282
|
### Step 3: Pattern Matching
|
|
198
283
|
|
|
199
284
|
For each relevant skill found:
|