@thierrynakoa/fire-flow 10.0.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 +64 -0
- package/ARCHITECTURE-DIAGRAM.md +440 -0
- package/COMMAND-REFERENCE.md +172 -0
- package/DOMINION-FLOW-OVERVIEW.md +421 -0
- package/LICENSE +21 -0
- package/QUICK-START.md +351 -0
- package/README.md +398 -0
- package/TROUBLESHOOTING.md +264 -0
- package/agents/fire-codebase-mapper.md +484 -0
- package/agents/fire-debugger.md +535 -0
- package/agents/fire-executor.md +949 -0
- package/agents/fire-fact-checker.md +276 -0
- package/agents/fire-learncoding-explainer.md +237 -0
- package/agents/fire-learncoding-walker.md +147 -0
- package/agents/fire-planner.md +675 -0
- package/agents/fire-project-researcher.md +155 -0
- package/agents/fire-research-synthesizer.md +166 -0
- package/agents/fire-researcher.md +723 -0
- package/agents/fire-reviewer.md +499 -0
- package/agents/fire-roadmapper.md +203 -0
- package/agents/fire-verifier.md +880 -0
- package/bin/cli.js +208 -0
- package/commands/fire-0-orient.md +476 -0
- package/commands/fire-1-new.md +281 -0
- package/commands/fire-1a-discuss.md +455 -0
- package/commands/fire-2-plan.md +527 -0
- package/commands/fire-3-execute.md +1303 -0
- package/commands/fire-4-verify.md +845 -0
- package/commands/fire-5-handoff.md +515 -0
- package/commands/fire-6-resume.md +501 -0
- package/commands/fire-7-review.md +409 -0
- package/commands/fire-add-new-skill.md +598 -0
- package/commands/fire-analytics.md +499 -0
- package/commands/fire-assumptions.md +78 -0
- package/commands/fire-autonomous.md +528 -0
- package/commands/fire-brainstorm.md +413 -0
- package/commands/fire-complete-milestone.md +270 -0
- package/commands/fire-dashboard.md +375 -0
- package/commands/fire-debug.md +663 -0
- package/commands/fire-discover.md +616 -0
- package/commands/fire-double-check.md +460 -0
- package/commands/fire-execute-plan.md +182 -0
- package/commands/fire-learncoding.md +242 -0
- package/commands/fire-loop-resume.md +272 -0
- package/commands/fire-loop-stop.md +198 -0
- package/commands/fire-loop.md +1168 -0
- package/commands/fire-map-codebase.md +313 -0
- package/commands/fire-new-milestone.md +356 -0
- package/commands/fire-reflect.md +235 -0
- package/commands/fire-research.md +246 -0
- package/commands/fire-search.md +330 -0
- package/commands/fire-security-audit-repo.md +293 -0
- package/commands/fire-security-scan.md +484 -0
- package/commands/fire-session-summary.md +252 -0
- package/commands/fire-skills-diff.md +506 -0
- package/commands/fire-skills-history.md +388 -0
- package/commands/fire-skills-rollback.md +408 -0
- package/commands/fire-skills-sync.md +470 -0
- package/commands/fire-test.md +520 -0
- package/commands/fire-todos.md +335 -0
- package/commands/fire-transition.md +186 -0
- package/commands/fire-update.md +312 -0
- package/commands/fire-verify-uat.md +146 -0
- package/commands/fire-vuln-scan.md +493 -0
- package/hooks/hooks.json +16 -0
- package/hooks/run-hook.cmd +69 -0
- package/hooks/run-hook.sh +8 -0
- package/hooks/run-session-end.cmd +49 -0
- package/hooks/run-session-end.sh +7 -0
- package/hooks/session-end.sh +90 -0
- package/hooks/session-start.sh +111 -0
- package/package.json +52 -0
- package/plugin.json +7 -0
- package/references/auto-skill-extraction.md +136 -0
- package/references/behavioral-directives.md +365 -0
- package/references/blocker-tracking.md +155 -0
- package/references/checkpoints.md +165 -0
- package/references/circuit-breaker.md +410 -0
- package/references/context-engineering.md +587 -0
- package/references/decision-time-guidance.md +289 -0
- package/references/error-classification.md +326 -0
- package/references/execution-mode-intelligence.md +242 -0
- package/references/git-integration.md +217 -0
- package/references/honesty-protocols.md +304 -0
- package/references/integration-architecture.md +470 -0
- package/references/issue-to-pr-pipeline.md +150 -0
- package/references/metrics-and-trends.md +234 -0
- package/references/playwright-e2e-testing.md +326 -0
- package/references/questioning.md +125 -0
- package/references/research-improvements.md +110 -0
- package/references/skills-usage-guide.md +429 -0
- package/references/tdd.md +131 -0
- package/references/testing-enforcement.md +192 -0
- package/references/ui-brand.md +383 -0
- package/references/validation-checklist.md +456 -0
- package/references/verification-patterns.md +187 -0
- package/references/warrior-principles.md +173 -0
- package/skills-library/SKILLS-INDEX.md +588 -0
- package/skills-library/_general/frontend/html-visual-reports.md +292 -0
- package/skills-library/_general/methodology/debug-swarm-researcher-escape-hatch.md +240 -0
- package/skills-library/_general/methodology/learncoding-agentic-pattern.md +114 -0
- package/skills-library/_general/methodology/shell-autonomous-loop-fixplan.md +238 -0
- package/skills-library/basics/api-rest-basics.md +162 -0
- package/skills-library/basics/env-variables.md +96 -0
- package/skills-library/basics/error-handling-basics.md +125 -0
- package/skills-library/basics/git-commit-conventions.md +106 -0
- package/skills-library/basics/readme-template.md +108 -0
- package/skills-library/common-tasks/async-await-patterns.md +157 -0
- package/skills-library/common-tasks/auth-jwt-basics.md +164 -0
- package/skills-library/common-tasks/database-schema-design.md +166 -0
- package/skills-library/common-tasks/file-upload-basics.md +166 -0
- package/skills-library/common-tasks/form-validation.md +159 -0
- package/skills-library/debugging/FAILURE_TAXONOMY_CLASSIFICATION.md +117 -0
- package/skills-library/debugging/THREE_AGENT_HYPOTHESIS_DEBUGGING.md +86 -0
- package/skills-library/methodology/BREATH_BASED_PARALLEL_EXECUTION.md +678 -0
- package/skills-library/methodology/CONFIDENCE_GATED_EXECUTION.md +243 -0
- package/skills-library/methodology/EVIDENCE_BASED_VALIDATION.md +308 -0
- package/skills-library/methodology/MULTI_PERSPECTIVE_CODE_REVIEW.md +330 -0
- package/skills-library/methodology/PATH_VERIFICATION_GATE.md +211 -0
- package/skills-library/methodology/REFLEXION_MEMORY_PATTERN.md +183 -0
- package/skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md +263 -0
- package/skills-library/methodology/SABBATH_REST_PATTERN.md +267 -0
- package/skills-library/methodology/STONE_AND_SCAFFOLD.md +220 -0
- package/skills-library/performance/cache-augmented-generation.md +172 -0
- package/skills-library/quality-safety/debugging-steps.md +147 -0
- package/skills-library/quality-safety/deployment-checklist.md +155 -0
- package/skills-library/quality-safety/security-checklist.md +204 -0
- package/skills-library/quality-safety/testing-basics.md +180 -0
- package/skills-library/security/agent-security-scanner.md +445 -0
- package/skills-library/specialists/api-architecture/api-designer.md +49 -0
- package/skills-library/specialists/api-architecture/graphql-architect.md +49 -0
- package/skills-library/specialists/api-architecture/mcp-developer.md +51 -0
- package/skills-library/specialists/api-architecture/microservices-architect.md +50 -0
- package/skills-library/specialists/api-architecture/websocket-engineer.md +48 -0
- package/skills-library/specialists/backend/django-expert.md +52 -0
- package/skills-library/specialists/backend/fastapi-expert.md +52 -0
- package/skills-library/specialists/backend/laravel-specialist.md +52 -0
- package/skills-library/specialists/backend/nestjs-expert.md +51 -0
- package/skills-library/specialists/backend/rails-expert.md +53 -0
- package/skills-library/specialists/backend/spring-boot-engineer.md +56 -0
- package/skills-library/specialists/data-ml/fine-tuning-expert.md +48 -0
- package/skills-library/specialists/data-ml/ml-pipeline.md +47 -0
- package/skills-library/specialists/data-ml/pandas-pro.md +47 -0
- package/skills-library/specialists/data-ml/rag-architect.md +51 -0
- package/skills-library/specialists/data-ml/spark-engineer.md +47 -0
- package/skills-library/specialists/frontend/angular-architect.md +52 -0
- package/skills-library/specialists/frontend/flutter-expert.md +51 -0
- package/skills-library/specialists/frontend/nextjs-developer.md +54 -0
- package/skills-library/specialists/frontend/react-native-expert.md +50 -0
- package/skills-library/specialists/frontend/vue-expert.md +51 -0
- package/skills-library/specialists/infrastructure/chaos-engineer.md +74 -0
- package/skills-library/specialists/infrastructure/cloud-architect.md +70 -0
- package/skills-library/specialists/infrastructure/database-optimizer.md +64 -0
- package/skills-library/specialists/infrastructure/devops-engineer.md +70 -0
- package/skills-library/specialists/infrastructure/kubernetes-specialist.md +52 -0
- package/skills-library/specialists/infrastructure/monitoring-expert.md +70 -0
- package/skills-library/specialists/infrastructure/sre-engineer.md +70 -0
- package/skills-library/specialists/infrastructure/terraform-engineer.md +51 -0
- package/skills-library/specialists/languages/cpp-pro.md +74 -0
- package/skills-library/specialists/languages/csharp-developer.md +69 -0
- package/skills-library/specialists/languages/dotnet-core-expert.md +54 -0
- package/skills-library/specialists/languages/golang-pro.md +51 -0
- package/skills-library/specialists/languages/java-architect.md +49 -0
- package/skills-library/specialists/languages/javascript-pro.md +68 -0
- package/skills-library/specialists/languages/kotlin-specialist.md +68 -0
- package/skills-library/specialists/languages/php-pro.md +49 -0
- package/skills-library/specialists/languages/python-pro.md +52 -0
- package/skills-library/specialists/languages/react-expert.md +51 -0
- package/skills-library/specialists/languages/rust-engineer.md +50 -0
- package/skills-library/specialists/languages/sql-pro.md +56 -0
- package/skills-library/specialists/languages/swift-expert.md +69 -0
- package/skills-library/specialists/languages/typescript-pro.md +51 -0
- package/skills-library/specialists/platform/atlassian-mcp.md +52 -0
- package/skills-library/specialists/platform/embedded-systems.md +53 -0
- package/skills-library/specialists/platform/game-developer.md +53 -0
- package/skills-library/specialists/platform/salesforce-developer.md +53 -0
- package/skills-library/specialists/platform/shopify-expert.md +49 -0
- package/skills-library/specialists/platform/wordpress-pro.md +49 -0
- package/skills-library/specialists/quality/code-documenter.md +51 -0
- package/skills-library/specialists/quality/code-reviewer.md +67 -0
- package/skills-library/specialists/quality/debugging-wizard.md +51 -0
- package/skills-library/specialists/quality/fullstack-guardian.md +51 -0
- package/skills-library/specialists/quality/legacy-modernizer.md +50 -0
- package/skills-library/specialists/quality/playwright-expert.md +65 -0
- package/skills-library/specialists/quality/spec-miner.md +56 -0
- package/skills-library/specialists/quality/test-master.md +65 -0
- package/skills-library/specialists/security/secure-code-guardian.md +55 -0
- package/skills-library/specialists/security/security-reviewer.md +53 -0
- package/skills-library/specialists/workflow/architecture-designer.md +53 -0
- package/skills-library/specialists/workflow/cli-developer.md +70 -0
- package/skills-library/specialists/workflow/feature-forge.md +65 -0
- package/skills-library/specialists/workflow/prompt-engineer.md +54 -0
- package/skills-library/specialists/workflow/the-fool.md +62 -0
- package/templates/ASSUMPTIONS.md +125 -0
- package/templates/BLOCKERS.md +73 -0
- package/templates/DECISION_LOG.md +116 -0
- package/templates/UAT.md +96 -0
- package/templates/blueprint.md +94 -0
- package/templates/brainstorm.md +185 -0
- package/templates/conscience.md +92 -0
- package/templates/fire-handoff.md +159 -0
- package/templates/metrics.md +67 -0
- package/templates/phase-prompt.md +142 -0
- package/templates/record.md +131 -0
- package/templates/review-report.md +117 -0
- package/templates/skills-index.md +157 -0
- package/templates/verification.md +149 -0
- package/templates/vision.md +79 -0
- package/validation-config.yml +793 -0
- package/version.json +7 -0
- package/workflows/execute-phase.md +732 -0
- package/workflows/handoff-session.md +678 -0
- package/workflows/new-project.md +578 -0
- package/workflows/plan-phase.md +592 -0
- package/workflows/verify-phase.md +874 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Cancel the active Power Loop and save progress
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-loop-stop
|
|
6
|
+
|
|
7
|
+
> Cancel active Power Loop with progress preservation
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
Safely cancel an active Power Loop, preserving all progress made and updating tracking files. Use this when you need to:
|
|
14
|
+
|
|
15
|
+
- Stop a loop that's not making progress
|
|
16
|
+
- Pause work to resume later
|
|
17
|
+
- Cancel a loop started with wrong parameters
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
|
|
23
|
+
### Step 1: Check for Active Loop
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
if [ ! -f ".planning/loops/active-loop.json" ]; then
|
|
27
|
+
echo "No active Power Loop found."
|
|
28
|
+
exit 0
|
|
29
|
+
fi
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Step 2: Read Loop State
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
LOOP_ID=$(jq -r '.id' .planning/loops/active-loop.json)
|
|
36
|
+
LOOP_FILE=$(jq -r '.loop_file' .planning/loops/active-loop.json)
|
|
37
|
+
CURRENT_ITERATION=$(jq -r '.current_iteration' .planning/loops/active-loop.json)
|
|
38
|
+
MAX_ITERATIONS=$(jq -r '.max_iterations' .planning/loops/active-loop.json)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Step 3: Create Sabbath Rest Snapshot
|
|
42
|
+
|
|
43
|
+
Save current state for potential resume:
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
## .planning/loops/sabbath-${LOOP_ID}-stopped.md
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
loop_id: ${LOOP_ID}
|
|
50
|
+
iteration: [current]
|
|
51
|
+
timestamp: [ISO]
|
|
52
|
+
reason: user_requested_stop
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## State at Stop
|
|
56
|
+
|
|
57
|
+
### Progress Summary
|
|
58
|
+
- Iterations completed: [N]
|
|
59
|
+
- Last action: [description]
|
|
60
|
+
|
|
61
|
+
### Files Modified
|
|
62
|
+
- [file]: [change summary]
|
|
63
|
+
|
|
64
|
+
### Next Steps (if resumed)
|
|
65
|
+
1. [what to do next]
|
|
66
|
+
|
|
67
|
+
### Key Context
|
|
68
|
+
[Critical information for resume]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Step 4: Update Loop File
|
|
72
|
+
|
|
73
|
+
Add cancellation entry to loop file:
|
|
74
|
+
|
|
75
|
+
```markdown
|
|
76
|
+
## Final Result
|
|
77
|
+
|
|
78
|
+
- **Status:** cancelled_by_user
|
|
79
|
+
- **Total Iterations:** [current_iteration]
|
|
80
|
+
- **Cancelled At:** [timestamp]
|
|
81
|
+
- **Reason:** User requested stop via /fire-loop-stop
|
|
82
|
+
|
|
83
|
+
### Progress at Cancellation
|
|
84
|
+
[Summary of what was accomplished]
|
|
85
|
+
|
|
86
|
+
### Files Changed
|
|
87
|
+
- [list of files modified during loop]
|
|
88
|
+
|
|
89
|
+
### Resume Instructions
|
|
90
|
+
To resume this work:
|
|
91
|
+
/fire-loop-resume ${LOOP_ID}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Step 5: Clean Up Active Loop
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# Archive the active loop config
|
|
98
|
+
mv .planning/loops/active-loop.json ".planning/loops/stopped-${LOOP_ID}.json"
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Step 6: Update CONSCIENCE.md
|
|
102
|
+
|
|
103
|
+
Remove the "Active Power Loop" section from CONSCIENCE.md.
|
|
104
|
+
|
|
105
|
+
Add to history:
|
|
106
|
+
|
|
107
|
+
```markdown
|
|
108
|
+
## Recent Loop (Stopped)
|
|
109
|
+
|
|
110
|
+
- **ID:** ${LOOP_ID}
|
|
111
|
+
- **Iterations:** [N] / [MAX]
|
|
112
|
+
- **Stopped:** [timestamp]
|
|
113
|
+
- **Resume:** `/fire-loop-resume ${LOOP_ID}`
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Step 7: Update Sabbath Rest State
|
|
117
|
+
|
|
118
|
+
```markdown
|
|
119
|
+
## .claude/dominion-flow.local.md
|
|
120
|
+
|
|
121
|
+
### Power Loop - Stopped
|
|
122
|
+
- Loop ID: ${LOOP_ID}
|
|
123
|
+
- Status: stopped_by_user
|
|
124
|
+
- Iterations: [N] / [MAX]
|
|
125
|
+
- Stopped: [timestamp]
|
|
126
|
+
- Resume: /fire-loop-resume ${LOOP_ID}
|
|
127
|
+
- Sabbath File: .planning/loops/sabbath-${LOOP_ID}-stopped.md
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Step 8: Display Confirmation
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
+------------------------------------------------------------------------------+
|
|
134
|
+
| POWER LOOP STOPPED |
|
|
135
|
+
+------------------------------------------------------------------------------+
|
|
136
|
+
| |
|
|
137
|
+
| Loop ID: ${LOOP_ID} |
|
|
138
|
+
| Iterations Completed: [N] / [MAX] |
|
|
139
|
+
| Status: Stopped by user |
|
|
140
|
+
| |
|
|
141
|
+
| Progress Saved: |
|
|
142
|
+
| - Loop file: ${LOOP_FILE} |
|
|
143
|
+
| - Sabbath snapshot: .planning/loops/sabbath-${LOOP_ID}-stopped.md |
|
|
144
|
+
| - Git commits: [count] iteration commits |
|
|
145
|
+
| |
|
|
146
|
+
| To resume later: |
|
|
147
|
+
| /fire-loop-resume ${LOOP_ID} |
|
|
148
|
+
| |
|
|
149
|
+
| To review progress: |
|
|
150
|
+
| cat ${LOOP_FILE} |
|
|
151
|
+
| |
|
|
152
|
+
+------------------------------------------------------------------------------+
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Edge Cases
|
|
158
|
+
|
|
159
|
+
### No Active Loop
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
+------------------------------------------------------------------------------+
|
|
163
|
+
| NO ACTIVE LOOP |
|
|
164
|
+
+------------------------------------------------------------------------------+
|
|
165
|
+
| |
|
|
166
|
+
| No Power Loop is currently running. |
|
|
167
|
+
| |
|
|
168
|
+
| To start a new loop: |
|
|
169
|
+
| /fire-loop "Your task" --max-iterations 30 |
|
|
170
|
+
| |
|
|
171
|
+
| To view past loops: |
|
|
172
|
+
| ls .planning/loops/ |
|
|
173
|
+
| |
|
|
174
|
+
| To resume a stopped loop: |
|
|
175
|
+
| /fire-loop-resume [LOOP_ID] |
|
|
176
|
+
| |
|
|
177
|
+
+------------------------------------------------------------------------------+
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Success Criteria
|
|
183
|
+
|
|
184
|
+
- [ ] Active loop detected (or message if none)
|
|
185
|
+
- [ ] Sabbath Rest snapshot created
|
|
186
|
+
- [ ] Loop file updated with stop status
|
|
187
|
+
- [ ] Active loop config archived
|
|
188
|
+
- [ ] CONSCIENCE.md updated
|
|
189
|
+
- [ ] Sabbath Rest state updated
|
|
190
|
+
- [ ] Confirmation displayed with resume instructions
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## References
|
|
195
|
+
|
|
196
|
+
- **Related:** `/fire-loop` - Start a new loop
|
|
197
|
+
- **Related:** `/fire-loop-resume` - Resume stopped/paused loop
|
|
198
|
+
- **Related:** `/fire-debug` - Structured debugging alternative
|