@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
|
@@ -1,246 +1,246 @@
|
|
|
1
|
-
# /fire-research
|
|
2
|
-
|
|
3
|
-
> Daily AI research-to-upgrade pipeline — search papers, score findings, implement in waves
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Purpose
|
|
8
|
-
|
|
9
|
-
Systematic daily workflow for finding, evaluating, and implementing AI research improvements into
|
|
10
|
-
|
|
11
|
-
**Proven track record:** 7 successful executions (v3.2 through v8.0), producing 70+ implemented enhancements from 200+ papers analyzed.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Arguments
|
|
16
|
-
|
|
17
|
-
```yaml
|
|
18
|
-
arguments:
|
|
19
|
-
focus:
|
|
20
|
-
required: false
|
|
21
|
-
type: string
|
|
22
|
-
description: "Research focus area (e.g., 'memory consolidation', 'failure taxonomy')"
|
|
23
|
-
example: "/fire-research agent confidence calibration"
|
|
24
|
-
|
|
25
|
-
optional_flags:
|
|
26
|
-
--scan-only: "Research and score papers but don't implement (reconnaissance mode)"
|
|
27
|
-
--from-deferred: "Start from deferred candidates of last version"
|
|
28
|
-
--quick: "Single agent search instead of parallel (faster, less thorough)"
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Process
|
|
34
|
-
|
|
35
|
-
### Step 1: Load the Research Pipeline Skill
|
|
36
|
-
|
|
37
|
-
Read the full methodology skill — it contains scoring matrices, wave templates, and citation formats refined across 7 versions:
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
@skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
**This is MANDATORY.** The skill contains the paper scoring matrix, gap taxonomy, wave grouping rules, and citation format. Do not skip.
|
|
44
|
-
|
|
45
|
-
### Step 2: Determine Focus Area
|
|
46
|
-
|
|
47
|
-
**If arguments provided:** Use as focus area directly.
|
|
48
|
-
|
|
49
|
-
**If `--from-deferred`:** Check MEMORY.md and recent handoffs for deferred candidates:
|
|
50
|
-
```bash
|
|
51
|
-
cd ~/.claude/memory
|
|
52
|
-
npm run search -- "deferred candidate" --type handoff --limit 5
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**If no arguments:** Ask user:
|
|
56
|
-
|
|
57
|
-
```
|
|
58
|
-
What area should we research today?
|
|
59
|
-
|
|
60
|
-
Recent deferred candidates from previous versions:
|
|
61
|
-
1. [List from memory search]
|
|
62
|
-
2. [List from memory search]
|
|
63
|
-
|
|
64
|
-
Or describe a new focus area:
|
|
65
|
-
> [User input]
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Step 3: Launch Parallel Research Agents
|
|
69
|
-
|
|
70
|
-
Launch 3-4 agents in a SINGLE message for true parallelism:
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
Agent 1: Academic Papers (arXiv, ACL, NeurIPS, ICML, ICLR — 2024-2026)
|
|
74
|
-
- Search: "[focus area] AI agent 2025 2026"
|
|
75
|
-
- Extract per paper: title, venue, date, key finding, measurable result,
|
|
76
|
-
how it maps to our workflow, specific file/step it would modify
|
|
77
|
-
- Return: Top 15 papers ranked by APPLICABILITY
|
|
78
|
-
|
|
79
|
-
Agent 2: Community Patterns + Industry Tools
|
|
80
|
-
- Search: Manus AI, Replit Agent, Cursor, Devin, SWE-Agent, Claude Code
|
|
81
|
-
- Focus: What do production AI coding tools do that we don't?
|
|
82
|
-
- Return: Top 10 patterns with source links
|
|
83
|
-
|
|
84
|
-
Agent 3: Internal Gap Analysis (Explore subagent)
|
|
85
|
-
- Read: All workflow files in the
|
|
86
|
-
- Classify each gap: MEMORY | REFLECTION | PLANNING | ACTION | SYSTEM
|
|
87
|
-
- Return: Top 10 gaps ranked by impact
|
|
88
|
-
|
|
89
|
-
Agent 4 (optional): Failure Pattern Mining
|
|
90
|
-
- Search Qdrant: debug_resolution + failure_pattern source types
|
|
91
|
-
- Find recurring failures indicating systemic gaps
|
|
92
|
-
- Return: Top 5 failure patterns
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### Step 4: Score Papers With Matrix
|
|
96
|
-
|
|
97
|
-
When agents return, evaluate each finding:
|
|
98
|
-
|
|
99
|
-
| Criterion | Weight | Scoring |
|
|
100
|
-
|-----------|--------|---------|
|
|
101
|
-
| Recency | 15% | 2026=5, 2025=4, 2024=3, older=1 |
|
|
102
|
-
| Measurable Results | 25% | Has numbers=5, qualitative=3, none=1 |
|
|
103
|
-
| Applicability | 30% | Maps to specific file=5, general=3, tangential=1 |
|
|
104
|
-
| Novelty | 15% | Don't do this at all=5, partial=3, already done=0 |
|
|
105
|
-
| Implementation Cost | 15% | <10 lines=5, <50 lines=3, architectural=1 |
|
|
106
|
-
|
|
107
|
-
**Threshold:** Score < 3.0 = deferred. Score > 4.0 = Wave 1.
|
|
108
|
-
|
|
109
|
-
Present scored results to user:
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
=============================================================
|
|
113
|
-
RESEARCH RESULTS — [Focus Area]
|
|
114
|
-
=============================================================
|
|
115
|
-
|
|
116
|
-
Papers/Patterns Analyzed: [N]
|
|
117
|
-
Above threshold (≥3.0): [N]
|
|
118
|
-
Wave 1 candidates (≥4.0): [N]
|
|
119
|
-
|
|
120
|
-
-------------------------------------------------------------
|
|
121
|
-
TOP FINDINGS (sorted by score)
|
|
122
|
-
-------------------------------------------------------------
|
|
123
|
-
|
|
124
|
-
1. [Paper Name] ([Venue] [Year]) — Score: 4.7
|
|
125
|
-
Finding: [key result]
|
|
126
|
-
Maps to: [specific file/step]
|
|
127
|
-
|
|
128
|
-
2. [Paper Name] ([Venue] [Year]) — Score: 4.3
|
|
129
|
-
...
|
|
130
|
-
|
|
131
|
-
-------------------------------------------------------------
|
|
132
|
-
INTERNAL GAPS (from Agent 3)
|
|
133
|
-
-------------------------------------------------------------
|
|
134
|
-
|
|
135
|
-
1. [GAP-MEMORY] [description] — Score: 4.5
|
|
136
|
-
2. [GAP-PLANNING] [description] — Score: 3.8
|
|
137
|
-
|
|
138
|
-
-------------------------------------------------------------
|
|
139
|
-
DEFERRED (< 3.0, tracked for next version)
|
|
140
|
-
-------------------------------------------------------------
|
|
141
|
-
|
|
142
|
-
- [Paper] — Score: 2.7 — Reason: [why deferred]
|
|
143
|
-
|
|
144
|
-
=============================================================
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
**If `--scan-only`:** Stop here. Save findings to handoff.
|
|
148
|
-
|
|
149
|
-
### Step 5: Group Into Waves
|
|
150
|
-
|
|
151
|
-
Not tiers (priority) — WAVES (dependency order):
|
|
152
|
-
|
|
153
|
-
```
|
|
154
|
-
Wave 1: Foundation (no dependencies)
|
|
155
|
-
- [changes that can be implemented immediately]
|
|
156
|
-
|
|
157
|
-
Wave 2: Intelligence (builds on Wave 1)
|
|
158
|
-
- [logic that USES Wave 1 structures]
|
|
159
|
-
|
|
160
|
-
Wave 3: Decision (builds on Wave 2)
|
|
161
|
-
- [higher-order patterns integrating Wave 1+2]
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Confirm wave plan with user before implementing.
|
|
165
|
-
|
|
166
|
-
### Step 6: Implement Wave by Wave
|
|
167
|
-
|
|
168
|
-
For each wave:
|
|
169
|
-
1. Implement changes with inline citations:
|
|
170
|
-
```
|
|
171
|
-
> **Research basis (vX.Y):** [Paper] ([Venue] [Year]) — [finding].
|
|
172
|
-
> Applied: [what changed and why].
|
|
173
|
-
```
|
|
174
|
-
2. Verify wave works before starting next
|
|
175
|
-
3. Track deferred candidates
|
|
176
|
-
|
|
177
|
-
### Step 7: Post-Implementation
|
|
178
|
-
|
|
179
|
-
After all waves complete:
|
|
180
|
-
|
|
181
|
-
- [ ] **Version bump** — Update plugin version (semver minor for additions)
|
|
182
|
-
- [ ] **Generate report** — Save to `~/Documents/Claude Reports/`
|
|
183
|
-
- [ ] **Index into Qdrant** — `cd your-memory-repo && npm run index`
|
|
184
|
-
- [ ] **Update MEMORY.md** — Add concise entry with paper count, changes, key insight
|
|
185
|
-
- [ ] **Track deferred** — Add to handoff for next session's `/fire-research --from-deferred`
|
|
186
|
-
|
|
187
|
-
### Completion Display
|
|
188
|
-
|
|
189
|
-
```
|
|
190
|
-
=============================================================
|
|
191
|
-
FIRE RESEARCH COMPLETE
|
|
192
|
-
=============================================================
|
|
193
|
-
|
|
194
|
-
Version: [old] → [new]
|
|
195
|
-
Papers Analyzed: [N] from [N] parallel agents
|
|
196
|
-
Findings Above Threshold: [N]
|
|
197
|
-
Changes Implemented: [N] across [N] waves
|
|
198
|
-
|
|
199
|
-
-------------------------------------------------------------
|
|
200
|
-
WAVE SUMMARY
|
|
201
|
-
-------------------------------------------------------------
|
|
202
|
-
|
|
203
|
-
Wave 1: [N] changes — [brief description]
|
|
204
|
-
Wave 2: [N] changes — [brief description]
|
|
205
|
-
|
|
206
|
-
Files Modified: [N]
|
|
207
|
-
Key Insight: [one sentence]
|
|
208
|
-
|
|
209
|
-
-------------------------------------------------------------
|
|
210
|
-
DEFERRED TO NEXT VERSION
|
|
211
|
-
-------------------------------------------------------------
|
|
212
|
-
|
|
213
|
-
- [paper/pattern] — [reason]
|
|
214
|
-
|
|
215
|
-
-------------------------------------------------------------
|
|
216
|
-
NEXT STEPS
|
|
217
|
-
-------------------------------------------------------------
|
|
218
|
-
|
|
219
|
-
-> Run `/fire-4-verify` to validate changes
|
|
220
|
-
-> Run `/fire-5-handoff` to save session state
|
|
221
|
-
-> Tomorrow: `/fire-research --from-deferred`
|
|
222
|
-
|
|
223
|
-
=============================================================
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
## Success Criteria
|
|
229
|
-
|
|
230
|
-
- [ ] Research pipeline skill loaded
|
|
231
|
-
- [ ] Focus area determined (from args, deferred, or user)
|
|
232
|
-
- [ ] 3-4 parallel research agents launched
|
|
233
|
-
- [ ] Papers scored with 5-criterion matrix
|
|
234
|
-
- [ ] Findings grouped into dependency-ordered waves
|
|
235
|
-
- [ ] Each change has inline research citation
|
|
236
|
-
- [ ] Deferred candidates tracked
|
|
237
|
-
- [ ] Version bumped, report generated, memory indexed
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
## Related Commands
|
|
242
|
-
|
|
243
|
-
- `/fire-search` — Search existing skills library
|
|
244
|
-
- `/fire-add-new-skill` — Contribute individual skill from session
|
|
245
|
-
- `/fire-4-verify` — Verify changes after implementation
|
|
246
|
-
- `/fire-5-handoff` — Save session state with deferred candidates
|
|
1
|
+
# /fire-research
|
|
2
|
+
|
|
3
|
+
> Daily AI research-to-upgrade pipeline — search papers, score findings, implement in waves
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
Systematic daily workflow for finding, evaluating, and implementing AI research improvements into fire-flow. Eliminates the need to explain the process each session — any fresh agent follows this pipeline autonomously.
|
|
10
|
+
|
|
11
|
+
**Proven track record:** 7 successful executions (v3.2 through v8.0), producing 70+ implemented enhancements from 200+ papers analyzed.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Arguments
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
arguments:
|
|
19
|
+
focus:
|
|
20
|
+
required: false
|
|
21
|
+
type: string
|
|
22
|
+
description: "Research focus area (e.g., 'memory consolidation', 'failure taxonomy')"
|
|
23
|
+
example: "/fire-research agent confidence calibration"
|
|
24
|
+
|
|
25
|
+
optional_flags:
|
|
26
|
+
--scan-only: "Research and score papers but don't implement (reconnaissance mode)"
|
|
27
|
+
--from-deferred: "Start from deferred candidates of last version"
|
|
28
|
+
--quick: "Single agent search instead of parallel (faster, less thorough)"
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Process
|
|
34
|
+
|
|
35
|
+
### Step 1: Load the Research Pipeline Skill
|
|
36
|
+
|
|
37
|
+
Read the full methodology skill — it contains scoring matrices, wave templates, and citation formats refined across 7 versions:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
@skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**This is MANDATORY.** The skill contains the paper scoring matrix, gap taxonomy, wave grouping rules, and citation format. Do not skip.
|
|
44
|
+
|
|
45
|
+
### Step 2: Determine Focus Area
|
|
46
|
+
|
|
47
|
+
**If arguments provided:** Use as focus area directly.
|
|
48
|
+
|
|
49
|
+
**If `--from-deferred`:** Check MEMORY.md and recent handoffs for deferred candidates:
|
|
50
|
+
```bash
|
|
51
|
+
cd ~/.claude/memory
|
|
52
|
+
npm run search -- "deferred candidate" --type handoff --limit 5
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**If no arguments:** Ask user:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
What area should we research today?
|
|
59
|
+
|
|
60
|
+
Recent deferred candidates from previous versions:
|
|
61
|
+
1. [List from memory search]
|
|
62
|
+
2. [List from memory search]
|
|
63
|
+
|
|
64
|
+
Or describe a new focus area:
|
|
65
|
+
> [User input]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Step 3: Launch Parallel Research Agents
|
|
69
|
+
|
|
70
|
+
Launch 3-4 agents in a SINGLE message for true parallelism:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
Agent 1: Academic Papers (arXiv, ACL, NeurIPS, ICML, ICLR — 2024-2026)
|
|
74
|
+
- Search: "[focus area] AI agent 2025 2026"
|
|
75
|
+
- Extract per paper: title, venue, date, key finding, measurable result,
|
|
76
|
+
how it maps to our workflow, specific file/step it would modify
|
|
77
|
+
- Return: Top 15 papers ranked by APPLICABILITY
|
|
78
|
+
|
|
79
|
+
Agent 2: Community Patterns + Industry Tools
|
|
80
|
+
- Search: Manus AI, Replit Agent, Cursor, Devin, SWE-Agent, Claude Code
|
|
81
|
+
- Focus: What do production AI coding tools do that we don't?
|
|
82
|
+
- Return: Top 10 patterns with source links
|
|
83
|
+
|
|
84
|
+
Agent 3: Internal Gap Analysis (Explore subagent)
|
|
85
|
+
- Read: All workflow files in the fire-flow plugin directory
|
|
86
|
+
- Classify each gap: MEMORY | REFLECTION | PLANNING | ACTION | SYSTEM
|
|
87
|
+
- Return: Top 10 gaps ranked by impact
|
|
88
|
+
|
|
89
|
+
Agent 4 (optional): Failure Pattern Mining
|
|
90
|
+
- Search Qdrant: debug_resolution + failure_pattern source types
|
|
91
|
+
- Find recurring failures indicating systemic gaps
|
|
92
|
+
- Return: Top 5 failure patterns
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Step 4: Score Papers With Matrix
|
|
96
|
+
|
|
97
|
+
When agents return, evaluate each finding:
|
|
98
|
+
|
|
99
|
+
| Criterion | Weight | Scoring |
|
|
100
|
+
|-----------|--------|---------|
|
|
101
|
+
| Recency | 15% | 2026=5, 2025=4, 2024=3, older=1 |
|
|
102
|
+
| Measurable Results | 25% | Has numbers=5, qualitative=3, none=1 |
|
|
103
|
+
| Applicability | 30% | Maps to specific file=5, general=3, tangential=1 |
|
|
104
|
+
| Novelty | 15% | Don't do this at all=5, partial=3, already done=0 |
|
|
105
|
+
| Implementation Cost | 15% | <10 lines=5, <50 lines=3, architectural=1 |
|
|
106
|
+
|
|
107
|
+
**Threshold:** Score < 3.0 = deferred. Score > 4.0 = Wave 1.
|
|
108
|
+
|
|
109
|
+
Present scored results to user:
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
=============================================================
|
|
113
|
+
RESEARCH RESULTS — [Focus Area]
|
|
114
|
+
=============================================================
|
|
115
|
+
|
|
116
|
+
Papers/Patterns Analyzed: [N]
|
|
117
|
+
Above threshold (≥3.0): [N]
|
|
118
|
+
Wave 1 candidates (≥4.0): [N]
|
|
119
|
+
|
|
120
|
+
-------------------------------------------------------------
|
|
121
|
+
TOP FINDINGS (sorted by score)
|
|
122
|
+
-------------------------------------------------------------
|
|
123
|
+
|
|
124
|
+
1. [Paper Name] ([Venue] [Year]) — Score: 4.7
|
|
125
|
+
Finding: [key result]
|
|
126
|
+
Maps to: [specific file/step]
|
|
127
|
+
|
|
128
|
+
2. [Paper Name] ([Venue] [Year]) — Score: 4.3
|
|
129
|
+
...
|
|
130
|
+
|
|
131
|
+
-------------------------------------------------------------
|
|
132
|
+
INTERNAL GAPS (from Agent 3)
|
|
133
|
+
-------------------------------------------------------------
|
|
134
|
+
|
|
135
|
+
1. [GAP-MEMORY] [description] — Score: 4.5
|
|
136
|
+
2. [GAP-PLANNING] [description] — Score: 3.8
|
|
137
|
+
|
|
138
|
+
-------------------------------------------------------------
|
|
139
|
+
DEFERRED (< 3.0, tracked for next version)
|
|
140
|
+
-------------------------------------------------------------
|
|
141
|
+
|
|
142
|
+
- [Paper] — Score: 2.7 — Reason: [why deferred]
|
|
143
|
+
|
|
144
|
+
=============================================================
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**If `--scan-only`:** Stop here. Save findings to handoff.
|
|
148
|
+
|
|
149
|
+
### Step 5: Group Into Waves
|
|
150
|
+
|
|
151
|
+
Not tiers (priority) — WAVES (dependency order):
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
Wave 1: Foundation (no dependencies)
|
|
155
|
+
- [changes that can be implemented immediately]
|
|
156
|
+
|
|
157
|
+
Wave 2: Intelligence (builds on Wave 1)
|
|
158
|
+
- [logic that USES Wave 1 structures]
|
|
159
|
+
|
|
160
|
+
Wave 3: Decision (builds on Wave 2)
|
|
161
|
+
- [higher-order patterns integrating Wave 1+2]
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Confirm wave plan with user before implementing.
|
|
165
|
+
|
|
166
|
+
### Step 6: Implement Wave by Wave
|
|
167
|
+
|
|
168
|
+
For each wave:
|
|
169
|
+
1. Implement changes with inline citations:
|
|
170
|
+
```
|
|
171
|
+
> **Research basis (vX.Y):** [Paper] ([Venue] [Year]) — [finding].
|
|
172
|
+
> Applied: [what changed and why].
|
|
173
|
+
```
|
|
174
|
+
2. Verify wave works before starting next
|
|
175
|
+
3. Track deferred candidates
|
|
176
|
+
|
|
177
|
+
### Step 7: Post-Implementation
|
|
178
|
+
|
|
179
|
+
After all waves complete:
|
|
180
|
+
|
|
181
|
+
- [ ] **Version bump** — Update plugin version (semver minor for additions)
|
|
182
|
+
- [ ] **Generate report** — Save to `~/Documents/Claude Reports/`
|
|
183
|
+
- [ ] **Index into Qdrant** — `cd your-memory-repo && npm run index`
|
|
184
|
+
- [ ] **Update MEMORY.md** — Add concise entry with paper count, changes, key insight
|
|
185
|
+
- [ ] **Track deferred** — Add to handoff for next session's `/fire-research --from-deferred`
|
|
186
|
+
|
|
187
|
+
### Completion Display
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
=============================================================
|
|
191
|
+
FIRE RESEARCH COMPLETE
|
|
192
|
+
=============================================================
|
|
193
|
+
|
|
194
|
+
Version: [old] → [new]
|
|
195
|
+
Papers Analyzed: [N] from [N] parallel agents
|
|
196
|
+
Findings Above Threshold: [N]
|
|
197
|
+
Changes Implemented: [N] across [N] waves
|
|
198
|
+
|
|
199
|
+
-------------------------------------------------------------
|
|
200
|
+
WAVE SUMMARY
|
|
201
|
+
-------------------------------------------------------------
|
|
202
|
+
|
|
203
|
+
Wave 1: [N] changes — [brief description]
|
|
204
|
+
Wave 2: [N] changes — [brief description]
|
|
205
|
+
|
|
206
|
+
Files Modified: [N]
|
|
207
|
+
Key Insight: [one sentence]
|
|
208
|
+
|
|
209
|
+
-------------------------------------------------------------
|
|
210
|
+
DEFERRED TO NEXT VERSION
|
|
211
|
+
-------------------------------------------------------------
|
|
212
|
+
|
|
213
|
+
- [paper/pattern] — [reason]
|
|
214
|
+
|
|
215
|
+
-------------------------------------------------------------
|
|
216
|
+
NEXT STEPS
|
|
217
|
+
-------------------------------------------------------------
|
|
218
|
+
|
|
219
|
+
-> Run `/fire-4-verify` to validate changes
|
|
220
|
+
-> Run `/fire-5-handoff` to save session state
|
|
221
|
+
-> Tomorrow: `/fire-research --from-deferred`
|
|
222
|
+
|
|
223
|
+
=============================================================
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Success Criteria
|
|
229
|
+
|
|
230
|
+
- [ ] Research pipeline skill loaded
|
|
231
|
+
- [ ] Focus area determined (from args, deferred, or user)
|
|
232
|
+
- [ ] 3-4 parallel research agents launched
|
|
233
|
+
- [ ] Papers scored with 5-criterion matrix
|
|
234
|
+
- [ ] Findings grouped into dependency-ordered waves
|
|
235
|
+
- [ ] Each change has inline research citation
|
|
236
|
+
- [ ] Deferred candidates tracked
|
|
237
|
+
- [ ] Version bumped, report generated, memory indexed
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Related Commands
|
|
242
|
+
|
|
243
|
+
- `/fire-search` — Search existing skills library
|
|
244
|
+
- `/fire-add-new-skill` — Contribute individual skill from session
|
|
245
|
+
- `/fire-4-verify` — Verify changes after implementation
|
|
246
|
+
- `/fire-5-handoff` — Save session state with deferred candidates
|
package/commands/fire-search.md
CHANGED
|
@@ -73,7 +73,7 @@ Type: [keyword | category | tag | problem]
|
|
|
73
73
|
### Search Skills Library
|
|
74
74
|
|
|
75
75
|
Search across all skill files in:
|
|
76
|
-
- `~/.claude/plugins/
|
|
76
|
+
- `~/.claude/plugins/fire-flow/skills-library/`
|
|
77
77
|
|
|
78
78
|
Categories to search (15 total):
|
|
79
79
|
1. `database-solutions/` - Database patterns, queries, optimization
|
|
@@ -102,7 +102,7 @@ else:
|
|
|
102
102
|
Fetch content for both versions:
|
|
103
103
|
|
|
104
104
|
```bash
|
|
105
|
-
cd ~/.claude/plugins/
|
|
105
|
+
cd ~/.claude/plugins/fire-flow/skills-library
|
|
106
106
|
|
|
107
107
|
# Get v1 content
|
|
108
108
|
v1_content=$(git show {v1_ref}:{category}/{skill-name}.md)
|
|
@@ -111,7 +111,7 @@ v1_content=$(git show {v1_ref}:{category}/{skill-name}.md)
|
|
|
111
111
|
v2_content=$(git show {v2_ref}:{category}/{skill-name}.md)
|
|
112
112
|
|
|
113
113
|
# For project vs global comparison
|
|
114
|
-
v1_content=$(cat ~/.claude/plugins/
|
|
114
|
+
v1_content=$(cat ~/.claude/plugins/fire-flow/skills-library/{category}/{skill-name}.md)
|
|
115
115
|
v2_content=$(cat ~/.claude/fire-skills-global/{category}/{skill-name}.md)
|
|
116
116
|
```
|
|
117
117
|
</step>
|
|
@@ -450,7 +450,7 @@ Output includes library-specific information:
|
|
|
450
450
|
Skill: database-solutions/n-plus-1
|
|
451
451
|
|
|
452
452
|
PROJECT LIBRARY:
|
|
453
|
-
Path: ~/.claude/plugins/
|
|
453
|
+
Path: ~/.claude/plugins/fire-flow/skills-library/
|
|
454
454
|
Version: v2.1.0
|
|
455
455
|
Updated: 2026-01-22
|
|
456
456
|
|
|
@@ -27,7 +27,7 @@ View the complete version history, changelogs, and contributors for any skill.
|
|
|
27
27
|
## Prerequisites
|
|
28
28
|
|
|
29
29
|
The skills library must be git-versioned:
|
|
30
|
-
- `~/.claude/plugins/
|
|
30
|
+
- `~/.claude/plugins/fire-flow/skills-library/.git/`
|
|
31
31
|
- `~/.claude/fire-skills-global/.git/` (for global library)
|
|
32
32
|
|
|
33
33
|
## Arguments
|
|
@@ -64,7 +64,7 @@ Check if the skill file exists:
|
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
# Check project library
|
|
67
|
-
ls ~/.claude/plugins/
|
|
67
|
+
ls ~/.claude/plugins/fire-flow/skills-library/{category}/{skill-name}.md
|
|
68
68
|
|
|
69
69
|
# Check global library (if --global)
|
|
70
70
|
ls ~/.claude/fire-skills-global/{category}/{skill-name}.md
|
|
@@ -88,7 +88,7 @@ Search for skills: /fire-search "{skill-name}"
|
|
|
88
88
|
Query git log for the skill file:
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
-
cd ~/.claude/plugins/
|
|
91
|
+
cd ~/.claude/plugins/fire-flow/skills-library
|
|
92
92
|
|
|
93
93
|
git log --follow --format="%H|%ai|%an|%s" -- {category}/{skill-name}.md
|
|
94
94
|
```
|
|
@@ -31,7 +31,7 @@ Restore a skill to a previous version from the git-backed skills library.
|
|
|
31
31
|
## Prerequisites
|
|
32
32
|
|
|
33
33
|
The skills library must be git-versioned:
|
|
34
|
-
- `~/.claude/plugins/
|
|
34
|
+
- `~/.claude/plugins/fire-flow/skills-library/.git/`
|
|
35
35
|
|
|
36
36
|
## Arguments
|
|
37
37
|
|
|
@@ -68,10 +68,10 @@ Verify skill and version exist:
|
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
70
|
# Check skill exists
|
|
71
|
-
ls ~/.claude/plugins/
|
|
71
|
+
ls ~/.claude/plugins/fire-flow/skills-library/{category}/{skill-name}.md
|
|
72
72
|
|
|
73
73
|
# Find version in git history
|
|
74
|
-
cd ~/.claude/plugins/
|
|
74
|
+
cd ~/.claude/plugins/fire-flow/skills-library
|
|
75
75
|
git log --oneline -- {category}/{skill-name}.md | grep -i "v{version}"
|
|
76
76
|
```
|
|
77
77
|
|
|
@@ -201,7 +201,7 @@ Proceed with rollback?
|
|
|
201
201
|
Upon confirmation:
|
|
202
202
|
|
|
203
203
|
```bash
|
|
204
|
-
cd ~/.claude/plugins/
|
|
204
|
+
cd ~/.claude/plugins/fire-flow/skills-library
|
|
205
205
|
|
|
206
206
|
# Checkout the target version
|
|
207
207
|
git show {commit-hash}:{category}/{skill-name}.md > {category}/{skill-name}.md
|
|
@@ -262,7 +262,7 @@ Changes reverted:
|
|
|
262
262
|
- {change 3 that was undone}
|
|
263
263
|
|
|
264
264
|
Skill file updated:
|
|
265
|
-
~/.claude/plugins/
|
|
265
|
+
~/.claude/plugins/fire-flow/skills-library/{category}/{skill-name}.md
|
|
266
266
|
|
|
267
267
|
SKILLS-INDEX.md updated:
|
|
268
268
|
- Rollback recorded in history
|
|
@@ -357,7 +357,7 @@ If you need to undo a rollback:
|
|
|
357
357
|
/fire-skills-sync --pull --skill {skill}
|
|
358
358
|
|
|
359
359
|
# Option 3: Git reset (advanced)
|
|
360
|
-
cd ~/.claude/plugins/
|
|
360
|
+
cd ~/.claude/plugins/fire-flow/skills-library
|
|
361
361
|
git revert HEAD # Reverts the rollback commit
|
|
362
362
|
```
|
|
363
363
|
|
|
@@ -388,7 +388,7 @@ Available versions: v2.1.0, v2.0.0, v1.2.0, v1.1.0, v1.0.0
|
|
|
388
388
|
**Git not initialized:**
|
|
389
389
|
```
|
|
390
390
|
Error: Skills library is not git-versioned
|
|
391
|
-
Initialize with: cd ~/.claude/plugins/
|
|
391
|
+
Initialize with: cd ~/.claude/plugins/fire-flow/skills-library && git init
|
|
392
392
|
```
|
|
393
393
|
|
|
394
394
|
**Uncommitted changes:**
|
|
@@ -30,7 +30,7 @@ Synchronize skills between the project skills library and the global skills libr
|
|
|
30
30
|
|
|
31
31
|
| Library | Path | Purpose |
|
|
32
32
|
|---------|------|---------|
|
|
33
|
-
| **Project** | `~/.claude/plugins/
|
|
33
|
+
| **Project** | `~/.claude/plugins/fire-flow/skills-library/` | Plugin-bundled skills |
|
|
34
34
|
| **Global** | `~/.claude/fire-skills-global/` | User's personal skills across all projects |
|
|
35
35
|
|
|
36
36
|
## Arguments
|
|
@@ -136,7 +136,7 @@ For each skill in global library:
|
|
|
136
136
|
SKILLS SYNC REPORT
|
|
137
137
|
=============================================================
|
|
138
138
|
|
|
139
|
-
Project Library: ~/.claude/plugins/
|
|
139
|
+
Project Library: ~/.claude/plugins/fire-flow/skills-library/
|
|
140
140
|
Global Library: ~/.claude/fire-skills-global/
|
|
141
141
|
|
|
142
142
|
-------------------------------------------------------------
|
|
@@ -307,7 +307,7 @@ Based on direction:
|
|
|
307
307
|
**Push (project -> global):**
|
|
308
308
|
```bash
|
|
309
309
|
# For each new/updated skill
|
|
310
|
-
cp ~/.claude/plugins/
|
|
310
|
+
cp ~/.claude/plugins/fire-flow/skills-library/{category}/{skill}.md \
|
|
311
311
|
~/.claude/fire-skills-global/{category}/{skill}.md
|
|
312
312
|
|
|
313
313
|
# Update global index
|
|
@@ -323,13 +323,13 @@ git commit -m "sync: Push {N} skills from {project-name}"
|
|
|
323
323
|
```bash
|
|
324
324
|
# For each new/updated skill
|
|
325
325
|
cp ~/.claude/fire-skills-global/{category}/{skill}.md \
|
|
326
|
-
~/.claude/plugins/
|
|
326
|
+
~/.claude/plugins/fire-flow/skills-library/{category}/{skill}.md
|
|
327
327
|
|
|
328
328
|
# Update project index
|
|
329
329
|
# Merge entries into SKILLS-INDEX.md
|
|
330
330
|
|
|
331
331
|
# Git commit if skills-library is versioned
|
|
332
|
-
cd ~/.claude/plugins/
|
|
332
|
+
cd ~/.claude/plugins/fire-flow/skills-library
|
|
333
333
|
git add .
|
|
334
334
|
git commit -m "sync: Pull {N} skills from global library"
|
|
335
335
|
```
|