@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.
Files changed (215) hide show
  1. package/.claude-plugin/plugin.json +64 -0
  2. package/ARCHITECTURE-DIAGRAM.md +440 -0
  3. package/COMMAND-REFERENCE.md +172 -0
  4. package/DOMINION-FLOW-OVERVIEW.md +421 -0
  5. package/LICENSE +21 -0
  6. package/QUICK-START.md +351 -0
  7. package/README.md +398 -0
  8. package/TROUBLESHOOTING.md +264 -0
  9. package/agents/fire-codebase-mapper.md +484 -0
  10. package/agents/fire-debugger.md +535 -0
  11. package/agents/fire-executor.md +949 -0
  12. package/agents/fire-fact-checker.md +276 -0
  13. package/agents/fire-learncoding-explainer.md +237 -0
  14. package/agents/fire-learncoding-walker.md +147 -0
  15. package/agents/fire-planner.md +675 -0
  16. package/agents/fire-project-researcher.md +155 -0
  17. package/agents/fire-research-synthesizer.md +166 -0
  18. package/agents/fire-researcher.md +723 -0
  19. package/agents/fire-reviewer.md +499 -0
  20. package/agents/fire-roadmapper.md +203 -0
  21. package/agents/fire-verifier.md +880 -0
  22. package/bin/cli.js +208 -0
  23. package/commands/fire-0-orient.md +476 -0
  24. package/commands/fire-1-new.md +281 -0
  25. package/commands/fire-1a-discuss.md +455 -0
  26. package/commands/fire-2-plan.md +527 -0
  27. package/commands/fire-3-execute.md +1303 -0
  28. package/commands/fire-4-verify.md +845 -0
  29. package/commands/fire-5-handoff.md +515 -0
  30. package/commands/fire-6-resume.md +501 -0
  31. package/commands/fire-7-review.md +409 -0
  32. package/commands/fire-add-new-skill.md +598 -0
  33. package/commands/fire-analytics.md +499 -0
  34. package/commands/fire-assumptions.md +78 -0
  35. package/commands/fire-autonomous.md +528 -0
  36. package/commands/fire-brainstorm.md +413 -0
  37. package/commands/fire-complete-milestone.md +270 -0
  38. package/commands/fire-dashboard.md +375 -0
  39. package/commands/fire-debug.md +663 -0
  40. package/commands/fire-discover.md +616 -0
  41. package/commands/fire-double-check.md +460 -0
  42. package/commands/fire-execute-plan.md +182 -0
  43. package/commands/fire-learncoding.md +242 -0
  44. package/commands/fire-loop-resume.md +272 -0
  45. package/commands/fire-loop-stop.md +198 -0
  46. package/commands/fire-loop.md +1168 -0
  47. package/commands/fire-map-codebase.md +313 -0
  48. package/commands/fire-new-milestone.md +356 -0
  49. package/commands/fire-reflect.md +235 -0
  50. package/commands/fire-research.md +246 -0
  51. package/commands/fire-search.md +330 -0
  52. package/commands/fire-security-audit-repo.md +293 -0
  53. package/commands/fire-security-scan.md +484 -0
  54. package/commands/fire-session-summary.md +252 -0
  55. package/commands/fire-skills-diff.md +506 -0
  56. package/commands/fire-skills-history.md +388 -0
  57. package/commands/fire-skills-rollback.md +408 -0
  58. package/commands/fire-skills-sync.md +470 -0
  59. package/commands/fire-test.md +520 -0
  60. package/commands/fire-todos.md +335 -0
  61. package/commands/fire-transition.md +186 -0
  62. package/commands/fire-update.md +312 -0
  63. package/commands/fire-verify-uat.md +146 -0
  64. package/commands/fire-vuln-scan.md +493 -0
  65. package/hooks/hooks.json +16 -0
  66. package/hooks/run-hook.cmd +69 -0
  67. package/hooks/run-hook.sh +8 -0
  68. package/hooks/run-session-end.cmd +49 -0
  69. package/hooks/run-session-end.sh +7 -0
  70. package/hooks/session-end.sh +90 -0
  71. package/hooks/session-start.sh +111 -0
  72. package/package.json +52 -0
  73. package/plugin.json +7 -0
  74. package/references/auto-skill-extraction.md +136 -0
  75. package/references/behavioral-directives.md +365 -0
  76. package/references/blocker-tracking.md +155 -0
  77. package/references/checkpoints.md +165 -0
  78. package/references/circuit-breaker.md +410 -0
  79. package/references/context-engineering.md +587 -0
  80. package/references/decision-time-guidance.md +289 -0
  81. package/references/error-classification.md +326 -0
  82. package/references/execution-mode-intelligence.md +242 -0
  83. package/references/git-integration.md +217 -0
  84. package/references/honesty-protocols.md +304 -0
  85. package/references/integration-architecture.md +470 -0
  86. package/references/issue-to-pr-pipeline.md +150 -0
  87. package/references/metrics-and-trends.md +234 -0
  88. package/references/playwright-e2e-testing.md +326 -0
  89. package/references/questioning.md +125 -0
  90. package/references/research-improvements.md +110 -0
  91. package/references/skills-usage-guide.md +429 -0
  92. package/references/tdd.md +131 -0
  93. package/references/testing-enforcement.md +192 -0
  94. package/references/ui-brand.md +383 -0
  95. package/references/validation-checklist.md +456 -0
  96. package/references/verification-patterns.md +187 -0
  97. package/references/warrior-principles.md +173 -0
  98. package/skills-library/SKILLS-INDEX.md +588 -0
  99. package/skills-library/_general/frontend/html-visual-reports.md +292 -0
  100. package/skills-library/_general/methodology/debug-swarm-researcher-escape-hatch.md +240 -0
  101. package/skills-library/_general/methodology/learncoding-agentic-pattern.md +114 -0
  102. package/skills-library/_general/methodology/shell-autonomous-loop-fixplan.md +238 -0
  103. package/skills-library/basics/api-rest-basics.md +162 -0
  104. package/skills-library/basics/env-variables.md +96 -0
  105. package/skills-library/basics/error-handling-basics.md +125 -0
  106. package/skills-library/basics/git-commit-conventions.md +106 -0
  107. package/skills-library/basics/readme-template.md +108 -0
  108. package/skills-library/common-tasks/async-await-patterns.md +157 -0
  109. package/skills-library/common-tasks/auth-jwt-basics.md +164 -0
  110. package/skills-library/common-tasks/database-schema-design.md +166 -0
  111. package/skills-library/common-tasks/file-upload-basics.md +166 -0
  112. package/skills-library/common-tasks/form-validation.md +159 -0
  113. package/skills-library/debugging/FAILURE_TAXONOMY_CLASSIFICATION.md +117 -0
  114. package/skills-library/debugging/THREE_AGENT_HYPOTHESIS_DEBUGGING.md +86 -0
  115. package/skills-library/methodology/BREATH_BASED_PARALLEL_EXECUTION.md +678 -0
  116. package/skills-library/methodology/CONFIDENCE_GATED_EXECUTION.md +243 -0
  117. package/skills-library/methodology/EVIDENCE_BASED_VALIDATION.md +308 -0
  118. package/skills-library/methodology/MULTI_PERSPECTIVE_CODE_REVIEW.md +330 -0
  119. package/skills-library/methodology/PATH_VERIFICATION_GATE.md +211 -0
  120. package/skills-library/methodology/REFLEXION_MEMORY_PATTERN.md +183 -0
  121. package/skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md +263 -0
  122. package/skills-library/methodology/SABBATH_REST_PATTERN.md +267 -0
  123. package/skills-library/methodology/STONE_AND_SCAFFOLD.md +220 -0
  124. package/skills-library/performance/cache-augmented-generation.md +172 -0
  125. package/skills-library/quality-safety/debugging-steps.md +147 -0
  126. package/skills-library/quality-safety/deployment-checklist.md +155 -0
  127. package/skills-library/quality-safety/security-checklist.md +204 -0
  128. package/skills-library/quality-safety/testing-basics.md +180 -0
  129. package/skills-library/security/agent-security-scanner.md +445 -0
  130. package/skills-library/specialists/api-architecture/api-designer.md +49 -0
  131. package/skills-library/specialists/api-architecture/graphql-architect.md +49 -0
  132. package/skills-library/specialists/api-architecture/mcp-developer.md +51 -0
  133. package/skills-library/specialists/api-architecture/microservices-architect.md +50 -0
  134. package/skills-library/specialists/api-architecture/websocket-engineer.md +48 -0
  135. package/skills-library/specialists/backend/django-expert.md +52 -0
  136. package/skills-library/specialists/backend/fastapi-expert.md +52 -0
  137. package/skills-library/specialists/backend/laravel-specialist.md +52 -0
  138. package/skills-library/specialists/backend/nestjs-expert.md +51 -0
  139. package/skills-library/specialists/backend/rails-expert.md +53 -0
  140. package/skills-library/specialists/backend/spring-boot-engineer.md +56 -0
  141. package/skills-library/specialists/data-ml/fine-tuning-expert.md +48 -0
  142. package/skills-library/specialists/data-ml/ml-pipeline.md +47 -0
  143. package/skills-library/specialists/data-ml/pandas-pro.md +47 -0
  144. package/skills-library/specialists/data-ml/rag-architect.md +51 -0
  145. package/skills-library/specialists/data-ml/spark-engineer.md +47 -0
  146. package/skills-library/specialists/frontend/angular-architect.md +52 -0
  147. package/skills-library/specialists/frontend/flutter-expert.md +51 -0
  148. package/skills-library/specialists/frontend/nextjs-developer.md +54 -0
  149. package/skills-library/specialists/frontend/react-native-expert.md +50 -0
  150. package/skills-library/specialists/frontend/vue-expert.md +51 -0
  151. package/skills-library/specialists/infrastructure/chaos-engineer.md +74 -0
  152. package/skills-library/specialists/infrastructure/cloud-architect.md +70 -0
  153. package/skills-library/specialists/infrastructure/database-optimizer.md +64 -0
  154. package/skills-library/specialists/infrastructure/devops-engineer.md +70 -0
  155. package/skills-library/specialists/infrastructure/kubernetes-specialist.md +52 -0
  156. package/skills-library/specialists/infrastructure/monitoring-expert.md +70 -0
  157. package/skills-library/specialists/infrastructure/sre-engineer.md +70 -0
  158. package/skills-library/specialists/infrastructure/terraform-engineer.md +51 -0
  159. package/skills-library/specialists/languages/cpp-pro.md +74 -0
  160. package/skills-library/specialists/languages/csharp-developer.md +69 -0
  161. package/skills-library/specialists/languages/dotnet-core-expert.md +54 -0
  162. package/skills-library/specialists/languages/golang-pro.md +51 -0
  163. package/skills-library/specialists/languages/java-architect.md +49 -0
  164. package/skills-library/specialists/languages/javascript-pro.md +68 -0
  165. package/skills-library/specialists/languages/kotlin-specialist.md +68 -0
  166. package/skills-library/specialists/languages/php-pro.md +49 -0
  167. package/skills-library/specialists/languages/python-pro.md +52 -0
  168. package/skills-library/specialists/languages/react-expert.md +51 -0
  169. package/skills-library/specialists/languages/rust-engineer.md +50 -0
  170. package/skills-library/specialists/languages/sql-pro.md +56 -0
  171. package/skills-library/specialists/languages/swift-expert.md +69 -0
  172. package/skills-library/specialists/languages/typescript-pro.md +51 -0
  173. package/skills-library/specialists/platform/atlassian-mcp.md +52 -0
  174. package/skills-library/specialists/platform/embedded-systems.md +53 -0
  175. package/skills-library/specialists/platform/game-developer.md +53 -0
  176. package/skills-library/specialists/platform/salesforce-developer.md +53 -0
  177. package/skills-library/specialists/platform/shopify-expert.md +49 -0
  178. package/skills-library/specialists/platform/wordpress-pro.md +49 -0
  179. package/skills-library/specialists/quality/code-documenter.md +51 -0
  180. package/skills-library/specialists/quality/code-reviewer.md +67 -0
  181. package/skills-library/specialists/quality/debugging-wizard.md +51 -0
  182. package/skills-library/specialists/quality/fullstack-guardian.md +51 -0
  183. package/skills-library/specialists/quality/legacy-modernizer.md +50 -0
  184. package/skills-library/specialists/quality/playwright-expert.md +65 -0
  185. package/skills-library/specialists/quality/spec-miner.md +56 -0
  186. package/skills-library/specialists/quality/test-master.md +65 -0
  187. package/skills-library/specialists/security/secure-code-guardian.md +55 -0
  188. package/skills-library/specialists/security/security-reviewer.md +53 -0
  189. package/skills-library/specialists/workflow/architecture-designer.md +53 -0
  190. package/skills-library/specialists/workflow/cli-developer.md +70 -0
  191. package/skills-library/specialists/workflow/feature-forge.md +65 -0
  192. package/skills-library/specialists/workflow/prompt-engineer.md +54 -0
  193. package/skills-library/specialists/workflow/the-fool.md +62 -0
  194. package/templates/ASSUMPTIONS.md +125 -0
  195. package/templates/BLOCKERS.md +73 -0
  196. package/templates/DECISION_LOG.md +116 -0
  197. package/templates/UAT.md +96 -0
  198. package/templates/blueprint.md +94 -0
  199. package/templates/brainstorm.md +185 -0
  200. package/templates/conscience.md +92 -0
  201. package/templates/fire-handoff.md +159 -0
  202. package/templates/metrics.md +67 -0
  203. package/templates/phase-prompt.md +142 -0
  204. package/templates/record.md +131 -0
  205. package/templates/review-report.md +117 -0
  206. package/templates/skills-index.md +157 -0
  207. package/templates/verification.md +149 -0
  208. package/templates/vision.md +79 -0
  209. package/validation-config.yml +793 -0
  210. package/version.json +7 -0
  211. package/workflows/execute-phase.md +732 -0
  212. package/workflows/handoff-session.md +678 -0
  213. package/workflows/new-project.md +578 -0
  214. package/workflows/plan-phase.md +592 -0
  215. package/workflows/verify-phase.md +874 -0
package/README.md ADDED
@@ -0,0 +1,398 @@
1
+ # Dominion Flow
2
+
3
+ **A comprehensive orchestration platform that empowers your Claude agent.**
4
+
5
+ Dominion Flow gives Claude a complete, structured way to take your project from idea to finished code — with built-in quality checks, session memory, parallel execution, and a library of proven patterns. Think of it as a project management system that lives inside Claude Code.
6
+
7
+ ---
8
+
9
+ ## What Does It Do?
10
+
11
+ When you start a new project, Claude normally has no memory between sessions, no standard process, and no way to verify its own work. Dominion Flow fixes all of that:
12
+
13
+ - **Structured workflow** — A numbered pipeline (Plan → Execute → Verify → Handoff) so nothing gets skipped
14
+ - **Session memory** — Claude picks up exactly where it left off, every time
15
+ - **Parallel execution** — Multiple tasks run at the same time, safely, so work gets done faster
16
+ - **Built-in quality gates** — A comprehensive checklist verifies every phase before moving on
17
+ - **Skills library** — A growing collection of proven code patterns Claude can reuse instead of reinventing every time
18
+
19
+ ---
20
+
21
+ ## Who Is This For?
22
+
23
+ This plugin is for anyone using Claude Code who wants:
24
+ - Consistent, repeatable results on complex projects
25
+ - Claude to remember what it was doing between sessions
26
+ - Code that gets reviewed and verified, not just written
27
+
28
+ **No prior experience with orchestration or AI agents required.**
29
+
30
+
31
+
32
+ Introducing Dominion Flow: Elevate Your Claude Code Workflow
33
+
34
+ Are you using Claude Code to build projects but feeling limited by session-hopping, lack of structure, or the need to constantly re-explain your requirements? Dominion Flow is a project management and orchestration plugin built to transform Claude from a simple assistant into a structured, persistent, and highly capable autonomous development agent.
35
+ What is Dominion Flow?
36
+
37
+ Dominion Flow acts as a professional-grade "operating system" inside your terminal. It introduces a formal, repeatable pipeline—Plan → Execute → Verify → Handoff—that ensures your project moves from an idea to working, verified code without skipping critical steps.
38
+ Why Use It?
39
+
40
+ Persistent Memory: Through integrated vector database support (Qdrant), Dominion Flow allows Claude to remember your codebase, past decisions, and coding patterns across different sessions.
41
+
42
+ Structured Pipeline: Stop guessing where to start. The platform uses a clear, 39-command framework to guide you through every phase of development.
43
+
44
+ Quality & Verification: Built-in quality gates and automated testing (including Playwright E2E testing) ensure that code isn't just written—it's verified.
45
+
46
+ Autonomous Capabilities: Need to go hands-off? Features like /fire-autonomous allow Claude to plan, code, and verify entire project phases on its own.
47
+
48
+ Reusable Skills Library: Stop reinventing the wheel. Dominion Flow includes a library of proven, reusable patterns for authentication, APIs, payments, and more, which Claude can automatically learn and store as you build.
49
+
50
+ Who Is It For?
51
+
52
+ Whether you are a developer looking for a consistent, professional workflow or someone who wants to maximize the potential of Claude Code, Dominion Flow provides the structure and "long-term memory" required for complex, real-world projects.
53
+ How to Get Started
54
+
55
+ Dominion Flow is designed to be easily installed as a Claude Code plugin. Simply clone the repository and run the installation command:
56
+ Bash
57
+
58
+ git clone https://github.com/ThierryN/fire-flow.git
59
+ claude install-plugin ./fire-flow
60
+
61
+ For advanced users, the repository also supports optional "Power Features" like Docker-integrated memory (Qdrant) and local embeddings (Ollama) to make the agent even more powerful.
62
+
63
+
64
+
65
+ ---
66
+
67
+ ## Quick Install
68
+
69
+ **Prerequisite:** You need [Claude Code](https://claude.ai/download) installed first. If you don't have it yet, download and install it, then come back here.
70
+
71
+ Choose either Method A (recommended) or Method B:
72
+
73
+ ---
74
+
75
+ ### Method A — Git Clone (Recommended)
76
+
77
+ 1. Open your terminal and clone the repo:
78
+ ```bash
79
+ git clone https://github.com/ThierryN/fire-flow.git
80
+ ```
81
+
82
+ 2. Install the plugin from the cloned folder:
83
+ ```bash
84
+ claude install-plugin ./fire-flow
85
+ ```
86
+
87
+ 3. Restart Claude Code
88
+
89
+ 4. Type `/fire-0-orient` to check that everything is working
90
+
91
+ ---
92
+
93
+ ### Method B — Download ZIP (No Git Required)
94
+
95
+ 1. Go to [github.com/ThierryN/fire-flow](https://github.com/ThierryN/fire-flow)
96
+ 2. Click the green **"Code"** button → **"Download ZIP"**
97
+ 3. Extract the ZIP file to a folder you will keep (e.g., `Documents/fire-flow`)
98
+ 4. Open your terminal and install the plugin from that folder:
99
+
100
+ **Mac / Linux:**
101
+ ```bash
102
+ claude install-plugin ~/Documents/fire-flow
103
+ ```
104
+
105
+ **Windows:**
106
+ ```bash
107
+ claude install-plugin C:\Users\YourName\Documents\fire-flow
108
+ ```
109
+ *(Replace `YourName` with your actual Windows username)*
110
+
111
+ 5. Restart Claude Code
112
+
113
+ 6. Type `/fire-0-orient` to check that everything is working
114
+
115
+ ---
116
+
117
+ ## Optional but Recommended: Power Features
118
+
119
+ The core workflow works out of the box. These extras unlock **persistent memory**, **codebase search**, and **Docker Hub access** — features that make Claude dramatically more capable on larger projects.
120
+
121
+ ---
122
+
123
+ ### Step 1 — Install Docker Desktop
124
+
125
+ Docker Desktop is required to run Qdrant. Install it before anything else.
126
+
127
+ **Windows (PC):**
128
+
129
+ 1. Go to [docker.com/products/docker-desktop](https://www.docker.com/products/docker-desktop/) and click **Download for Windows**
130
+ 2. Before running the installer, open **PowerShell as Administrator** and run:
131
+ ```powershell
132
+ wsl --update
133
+ wsl --set-default-version 2
134
+ ```
135
+ 3. Restart your computer
136
+ 4. Run the Docker installer and choose **"Use WSL 2 instead of Hyper-V"** when prompted
137
+ 5. After install, open Docker Desktop from your Start menu and wait for it to fully start (the whale icon in your taskbar stops animating)
138
+ 6. Verify it worked:
139
+ ```bash
140
+ docker --version
141
+ ```
142
+
143
+ **Mac:**
144
+
145
+ 1. Go to [docker.com/products/docker-desktop](https://www.docker.com/products/docker-desktop/) and click **Download for Mac**
146
+ - Choose **Apple Chip** if you have an M1/M2/M3/M4 Mac, or **Intel Chip** for older Macs
147
+ - Not sure which? Click Apple menu → **About This Mac**
148
+ 2. Open the `.dmg` file and drag Docker to your Applications folder
149
+ 3. Open Docker from Applications and follow the prompts
150
+ 4. Wait for it to fully start (whale icon in menu bar stops animating)
151
+ 5. Verify it worked:
152
+ ```bash
153
+ docker --version
154
+ ```
155
+
156
+ > Docker Desktop must be **open and running** whenever you use Qdrant or hub-mcp.
157
+
158
+ ---
159
+
160
+ ### Step 2 — Run Qdrant (Vector Database)
161
+
162
+ Qdrant stores Claude's persistent memory across sessions — so Claude remembers your codebase, past decisions, and patterns from previous work.
163
+
164
+ ```bash
165
+ docker pull qdrant/qdrant
166
+ ```
167
+
168
+ ```bash
169
+ docker run -d \
170
+ -p 6333:6333 \
171
+ -p 6334:6334 \
172
+ -v qdrant_storage:/qdrant/storage \
173
+ --name qdrant \
174
+ qdrant/qdrant
175
+ ```
176
+
177
+ | Port | What it is |
178
+ |------|-----------|
179
+ | **6333** | REST API — main port used by Claude |
180
+ | **6334** | gRPC — high-speed operations |
181
+
182
+ **Verify:** Open [http://localhost:6333/dashboard](http://localhost:6333/dashboard) in your browser. If you see the Qdrant dashboard, it is running.
183
+
184
+ ---
185
+
186
+ ### Step 3 — Connect Qdrant to Claude (MCP)
187
+
188
+ This is what allows Claude to read and write to your `power_flow_memory` database.
189
+
190
+ **Mac or WSL:**
191
+ ```bash
192
+ claude mcp add qdrant -s user -- uvx mcp-server-qdrant \
193
+ --url http://localhost:6333 \
194
+ --collection-name power_flow_memory
195
+ ```
196
+
197
+ **Windows (CMD or PowerShell):**
198
+ ```bash
199
+ claude mcp add qdrant -s user -- cmd /c uvx mcp-server-qdrant \
200
+ --url http://localhost:6333 \
201
+ --collection-name power_flow_memory
202
+ ```
203
+
204
+ ---
205
+
206
+ ### Step 4 — Install Ollama (Local Embeddings)
207
+
208
+ Ollama runs locally and generates the vectors that get stored in Qdrant.
209
+
210
+ 1. Download and install from [ollama.com](https://ollama.com)
211
+ 2. Pull the embedding model:
212
+ ```bash
213
+ ollama pull nomic-embed-text
214
+ ```
215
+
216
+ ---
217
+
218
+ ### Step 5 — Run Docker Hub MCP Server (hub-mcp)
219
+
220
+ hub-mcp lets Claude search Docker Hub, browse images and tags, and pull images by just asking.
221
+
222
+ ```bash
223
+ docker pull docker/hub-mcp
224
+ ```
225
+
226
+ ```bash
227
+ docker run -d \
228
+ -p 8080:8080 \
229
+ --name hub-mcp \
230
+ docker/hub-mcp
231
+ ```
232
+
233
+ Connect to Claude Code:
234
+
235
+ ```bash
236
+ claude mcp add hub-docker -s user --transport sse http://localhost:8080/sse
237
+ ```
238
+
239
+ > If port 8080 is already in use on your machine, change the left port number (e.g., `-p 9090:8080`) and update the URL to match (e.g., `http://localhost:9090/sse`).
240
+
241
+ ---
242
+
243
+ ### Verify Everything Is Connected
244
+
245
+ Restart Claude Code, then type `/mcp`. You should see:
246
+
247
+ | Server | What it does |
248
+ |--------|-------------|
249
+ | `qdrant` | Claude ↔ `power_flow_memory` database |
250
+ | `hub-docker` | Claude ↔ Docker Hub image search |
251
+
252
+ Then ask Claude to confirm the database connection:
253
+
254
+ > *"Check if my Qdrant power_flow_memory collection is reachable and tell me how many points are stored."*
255
+
256
+ Claude will query Qdrant directly and confirm it is live.
257
+
258
+ ---
259
+
260
+ ## Your First Project (5 Minutes)
261
+
262
+ Start a new project with one command:
263
+
264
+ ```bash
265
+ /fire-1-new
266
+ ```
267
+
268
+ Claude will ask you a few simple questions about your project, then set everything up automatically. After that, the numbered commands walk you through each step:
269
+
270
+ ```
271
+ /fire-1-new → Start your project (asks you questions, creates the plan)
272
+ /fire-2-plan 1 → Plan the first phase of work
273
+ /fire-3-execute 1 → Build it (Claude does the coding)
274
+ /fire-4-verify 1 → Check that everything actually works
275
+ /fire-5-handoff → Save your progress before closing
276
+ /fire-6-resume → Pick up where you left off next session
277
+ ```
278
+
279
+ **Want Claude to handle everything automatically?**
280
+ After `/fire-1-new`, just run:
281
+ ```bash
282
+ /fire-autonomous
283
+ ```
284
+ Claude will plan, build, and verify every phase without you having to type each command.
285
+
286
+ ---
287
+
288
+ ## How Does It Compare?
289
+
290
+ ![Feature Comparison](./docs/feature-comparison.png)
291
+
292
+ ## Key Features
293
+
294
+ | Feature | What It Does |
295
+ |---------|-------------|
296
+ | 42 slash commands | Every task has a dedicated command — no guessing |
297
+ | Skills library | Proven patterns for auth, payments, APIs, and more |
298
+ | Breath-based parallelism | Independent tasks run at the same time |
299
+ | 70-point verification | Every phase gets scored before moving on |
300
+ | Session handoffs | Claude remembers everything between sessions |
301
+ | Circuit breaker | Stops loops that are stuck or going in circles |
302
+ | Auto skill extraction | Useful patterns discovered during work get saved automatically |
303
+ | Playwright E2E testing | Automated browser testing built in |
304
+ | Learncoding mode | Walk through any codebase step-by-step to learn it |
305
+ | Security scanning | Detect prompt injection, OWASP vulnerabilities, credential leaks |
306
+
307
+ ---
308
+
309
+ ## All 39 Commands
310
+
311
+ Commands are grouped into 7 tiers. You only need Tier 1 for most projects.
312
+
313
+ | Tier | Purpose | Key Commands |
314
+ |------|---------|-------------|
315
+ | 1 — Core Workflow | The main pipeline | `/fire-1-new` through `/fire-6-resume` |
316
+ | 2 — Autonomous | Full autopilot | `/fire-autonomous`, `/fire-loop` |
317
+ | 3 — Debug & Discover | Investigate problems | `/fire-debug`, `/fire-map-codebase` |
318
+ | 4 — Verification | Quality gates | `/fire-7-review`, `/fire-verify-uat` |
319
+ | 5 — Skills | Manage the pattern library | `/fire-search`, `/fire-add-new-skill` |
320
+ | 6 — Analytics & PM | Track progress | `/fire-dashboard`, `/fire-todos` |
321
+ | 7 — Milestones | Long-term projects | `/fire-new-milestone`, `/fire-complete-milestone` |
322
+
323
+ See [COMMAND-REFERENCE.md](./COMMAND-REFERENCE.md) for the complete list with descriptions.
324
+
325
+ ---
326
+
327
+ ## Finding More Skills
328
+
329
+ The skills library is what makes Dominion Flow powerful. Skills are reusable patterns that Claude draws on during your project — for auth, payments, APIs, database design, testing, and much more.
330
+
331
+ **Where to find skills:**
332
+
333
+ - [aitmpl.com/skills](https://www.aitmpl.com/skills) — Curated skill collections, ready to install
334
+ - [skillsmp.com](https://skillsmp.com/) — Community skill marketplace
335
+ - GitHub — Search for `claude-code-skills` or `dominion-flow-skills` to find repos shared by the community
336
+
337
+ **Installing skills from GitHub:**
338
+ ```bash
339
+ claude plugin install <github-username>/<repo-name>
340
+ ```
341
+
342
+ You can also create your own skills as you work. When Claude discovers a useful pattern, `/fire-add-new-skill` saves it to your library automatically.
343
+
344
+ ---
345
+
346
+ ## Documentation
347
+
348
+ | File | What It Covers |
349
+ |------|---------------|
350
+ | [QUICK-START.md](./QUICK-START.md) | Step-by-step walkthrough of your first project |
351
+ | [COMMAND-REFERENCE.md](./COMMAND-REFERENCE.md) | All 39 commands with descriptions |
352
+ | [references/warrior-principles.md](./references/warrior-principles.md) | The WARRIOR operating principles — what they are and why they matter |
353
+ | [DOMINION-FLOW-OVERVIEW.md](./DOMINION-FLOW-OVERVIEW.md) | Full system diagrams and architecture |
354
+ | [ARCHITECTURE-DIAGRAM.md](./ARCHITECTURE-DIAGRAM.md) | Visual overview of how everything connects |
355
+ | [TROUBLESHOOTING.md](./TROUBLESHOOTING.md) | Common problems and how to fix them |
356
+
357
+ ---
358
+
359
+ ## Community
360
+
361
+ Have questions, want to share what you built, or just want to connect with others learning Claude Code?
362
+
363
+ **Join the Facebook group:** [Claude Code Community](https://www.facebook.com/groups/1671431084311638)
364
+
365
+ This is where students and followers ask questions, share projects, and stay up to date.
366
+
367
+ ---
368
+
369
+ ## Support This Project
370
+
371
+ If you're following along and finding Dominion Flow useful, the best way to help is simple:
372
+
373
+ - **Star this repo** — it helps others discover it
374
+ - **Share it** — pass it along to anyone learning Claude Code or building AI-assisted projects
375
+
376
+ This is a living project. Your support keeps it growing.
377
+
378
+ ---
379
+
380
+ ## Architecture Diagram
381
+
382
+ ![Dominion Flow Architecture](./docs/dominion-flow-architecture.png)
383
+
384
+ View the full interactive version: **[Dominion Flow Architecture (HTML)](./docs/dominion-flow-architecture.html)** — Download and open in your browser to explore with interactive navigation.
385
+
386
+ ---
387
+
388
+ ## License
389
+
390
+ MIT License — Copyright (c) 2026 ThierryN
391
+
392
+ This software is free to use, copy, modify, and distribute. See [LICENSE](./LICENSE) for the full text.
393
+
394
+
395
+
396
+
397
+
398
+
@@ -0,0 +1,264 @@
1
+ # Dominion Flow Troubleshooting Guide
2
+
3
+ Common failure modes and their fixes.
4
+
5
+ ---
6
+
7
+ ## 1. Autonomous mode won't stop
8
+
9
+ **Symptoms:**
10
+ - `/fire-autonomous` or `/fire-loop` continues iterating past the point of usefulness
11
+ - Agent ignores Sabbath Rest warnings and keeps working
12
+ - Iteration count climbing with no meaningful progress
13
+
14
+ **Likely Cause:**
15
+ - `--max-iterations` set too high (default 50)
16
+ - `--no-circuit-breaker` flag was passed, disabling the safety net
17
+ - Completion promise text doesn't match actual output (e.g., "DONE" vs "Done")
18
+
19
+ **Fix Steps:**
20
+ 1. Press `Ctrl+C` to interrupt the current iteration
21
+ 2. Run `/fire-loop-stop` to formally end the loop and save state
22
+ 3. Check `.planning/loops/fire-loop-*.md` for the loop state file
23
+ 4. Review the "Approaches Tried" section to see what was attempted
24
+
25
+ **Prevention:**
26
+ - Use `--max-iterations 20` for most tasks (30 max for complex work)
27
+ - Never use `--no-circuit-breaker` unless you're monitoring closely
28
+ - Write precise completion promises: `--completion-promise "ALL TESTS PASS"`
29
+ - Use `--aggressive` for tighter stall/spin detection thresholds
30
+
31
+ ---
32
+
33
+ ## 2. Wrong files modified
34
+
35
+ **Symptoms:**
36
+ - Files in a different project were edited by a subagent
37
+ - Changes landed in the wrong directory
38
+ - Cross-project contamination (e.g., editing `my-other-project` instead of `my-project`)
39
+
40
+ **Likely Cause:**
41
+ - Working directory didn't match the project in CONSCIENCE.md
42
+ - Subagent resolved a relative path to the wrong project
43
+ - Multiple project directories open in the same session
44
+
45
+ **Fix Steps:**
46
+ 1. Run `git diff` in the affected project to see what changed
47
+ 2. Run `git checkout -- .` to revert unwanted changes (or `git stash` to save them)
48
+ 3. Check CONSCIENCE.md -- does it reference the correct project path?
49
+ 4. Verify `pwd` matches the expected project root before re-running
50
+
51
+ **Prevention:**
52
+ - The Path Verification Gate (Step 3.5 in `/fire-3-execute`) catches this automatically
53
+ - Always use absolute paths when working across multiple projects
54
+ - Run `/fire-0-orient` at session start to confirm you're in the right place
55
+ - When spawning subagents, the `<path_constraint>` block is injected automatically -- verify it matches
56
+
57
+ ---
58
+
59
+ ## 3. Memory features not working
60
+
61
+ **Symptoms:**
62
+ - Episodic memory injection (Step 7.1 in `/fire-loop`) returns no results
63
+ - `/fire-reflect` can't search past reflections
64
+ - "Connection refused" errors mentioning port 6335
65
+
66
+ **Likely Cause:**
67
+ - Qdrant is not running (native binary at `C:\path\to\qdrant\qdrant.exe`)
68
+ - Qdrant is running but on the wrong port (6333 = Docker backup, 6335 = native primary)
69
+ - Ollama embedding service is down (needed for `nomic-embed-text` 768d vectors)
70
+
71
+ **Fix Steps:**
72
+ 1. Check Qdrant health: `curl http://localhost:6335/healthz`
73
+ 2. If down, start it: `C:\path\to\qdrant\qdrant.exe` (runs on port 6335)
74
+ 3. Check Ollama: `curl http://localhost:11434/api/tags`
75
+ 4. If Ollama is down: `ollama serve` in a separate terminal
76
+ 5. Verify the collection exists: `curl http://localhost:6335/collections/power_flow_memory`
77
+
78
+ **Prevention:**
79
+ - Dominion Flow degrades gracefully: if Qdrant is unreachable, it falls back to file-based search across `~/.claude/warrior-handoffs/` and `~/.claude/reflections/`
80
+ - The file-based fallback is slower but functional -- memory retrieval is never silently skipped
81
+ - Add Qdrant to your system startup if you use memory features regularly
82
+
83
+ ---
84
+
85
+ ## 4. Verification always fails
86
+
87
+ **Symptoms:**
88
+ - `/fire-4-verify` consistently returns REJECTED or CONDITIONAL
89
+ - Score stuck below 49 even for seemingly complete work
90
+ - E2E (Playwright) category drags the score down on non-UI projects
91
+
92
+ **Likely Cause:**
93
+ - The 70-point checklist includes 10 points for E2E/Playwright testing -- irrelevant for CLI, API-only, or library projects
94
+ - Documentation category (10 points) penalizes when README/JSDoc isn't written yet
95
+ - Validation thresholds: 63-70 = APPROVED, 56-62 = APPROVED*, 49-55 = CONDITIONAL, <42 = REJECTED
96
+
97
+ **Fix Steps:**
98
+ 1. Check `.planning/phases/{N}-{name}/{N}-VERIFICATION.md` for the breakdown
99
+ 2. Identify which categories are scoring zero
100
+ 3. For non-UI projects: the E2E category should be redistributed to other categories by the verifier -- if it isn't, note this as a configuration issue
101
+ 4. Focus on the must-haves first: if all must-haves pass, CONDITIONAL is often acceptable for early phases
102
+
103
+ **Prevention:**
104
+ - Run `/fire-4-verify` with awareness of what the 7 categories are: Code Quality /10, Testing /10, Security /10, Performance /10, Documentation /10, Infrastructure /10, E2E /10
105
+ - For API-only projects, tell the verifier in the plan: "No E2E -- redistribute points to Testing and Security"
106
+ - Use `/fire-double-check` for a quick sanity check before the full 70-point verification
107
+
108
+ ---
109
+
110
+ ## 5. Plans executed in wrong order
111
+
112
+ **Symptoms:**
113
+ - Breath 2 tasks fail because Breath 1 outputs don't exist yet
114
+ - Tasks with dependencies execute before their dependencies complete
115
+ - File conflicts between parallel executors
116
+
117
+ **Likely Cause:**
118
+ - `breath:` frontmatter in BLUEPRINT.md files is incorrectly assigned
119
+ - `depends_on:` field missing or wrong in the plan files
120
+ - Execution mode selected PARALLEL when it should have been SEQUENTIAL (file overlap)
121
+
122
+ **Fix Steps:**
123
+ 1. Open `.planning/phases/{N}-{name}/` and check each BLUEPRINT.md frontmatter
124
+ 2. Verify `breath:` numbers -- all tasks in Breath 1 should have no external dependencies
125
+ 3. Verify `depends_on:` lists reference only tasks in earlier breaths
126
+ 4. Re-run `/fire-2-plan {N}` to regenerate plans with correct breath assignment
127
+
128
+ **Prevention:**
129
+ - The planner agent validates breath assignments during `/fire-2-plan`
130
+ - `/fire-3-execute` auto-detects file overlap and downgrades from PARALLEL to SEQUENTIAL
131
+ - Review the execution manifest at Step 2 before proceeding
132
+
133
+ ---
134
+
135
+ ## 6. Context window filling up fast
136
+
137
+ **Symptoms:**
138
+ - Claude starts forgetting earlier instructions mid-session
139
+ - Output quality degrades after 10-15 iterations
140
+ - Sabbath Rest triggers repeatedly at low iteration counts
141
+
142
+ **Likely Cause:**
143
+ - Large files loaded into context (reading entire source files instead of relevant sections)
144
+ - Skills library injecting too many skills per iteration (max should be 3)
145
+ - No `.powerignore` file to exclude noise (node_modules, build artifacts, etc.)
146
+
147
+ **Fix Steps:**
148
+ 1. Run `/compact` with a focus topic: `/compact Focus on phase 3 execution`
149
+ 2. Delegate research tasks to subagents instead of doing them in the main context
150
+ 3. Create a `.powerignore` file in the project root listing directories to exclude
151
+ 4. For `/fire-loop`: if iteration > 15, accept the Sabbath Rest and `/fire-loop-resume` in a fresh context
152
+
153
+ **Prevention:**
154
+ - Keep iteration output concise -- the recitation block is capped at 30 lines for a reason
155
+ - Use `/fire-search` to find relevant skills BEFORE starting work (don't search mid-loop)
156
+ - Read only the relevant sections of large files (use line offsets)
157
+ - After 2 failed approaches, `/clear` and restart with the lessons learned
158
+
159
+ ---
160
+
161
+ ## 7. Agent spawns fail
162
+
163
+ **Symptoms:**
164
+ - "Agent definition not found" error when running `/fire-3-execute` or `/fire-7-review`
165
+ - Subagent starts but immediately errors out
166
+ - SWARM mode fails to create team members
167
+
168
+ **Likely Cause:**
169
+ - Agent definition file missing from `agents/` directory
170
+ - Agent file has incorrect frontmatter (missing `name:` or `description:`)
171
+ - Agent's `tools:` list references unavailable tools
172
+
173
+ **Fix Steps:**
174
+ 1. Check that all agent files exist: `ls ~/.claude/plugins/dominion-flow/agents/`
175
+ 2. Expected files: `fire-executor.md`, `fire-planner.md`, `fire-researcher.md`, `fire-verifier.md`, `fire-reviewer.md`
176
+ 3. Verify each file has valid YAML frontmatter with `name:` and `description:`
177
+ 4. If a file is missing, run `/fire-update` to pull the latest plugin version
178
+
179
+ **Prevention:**
180
+ - Don't manually edit agent files unless you know the frontmatter schema
181
+ - After updating the plugin, verify agents: `ls ~/.claude/plugins/dominion-flow/agents/`
182
+ - SWARM mode requires the experimental teams flag: `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`
183
+
184
+ ---
185
+
186
+ ## 8. Skills not found
187
+
188
+ **Symptoms:**
189
+ - `/fire-search` returns no results for queries that should match
190
+ - Planner agent says "no relevant skills found" during `/fire-2-plan`
191
+ - Skills referenced in plans don't exist at the expected path
192
+
193
+ **Likely Cause:**
194
+ - Skills library path misconfigured or missing
195
+ - Project-local skills out of sync with global library
196
+ - Skill was deleted or moved to a different category
197
+
198
+ **Fix Steps:**
199
+ 1. Check the skills library exists: `ls ~/.claude/plugins/dominion-flow/skills-library/`
200
+ 2. Run `/fire-skills-sync --pull` to pull latest skills from global to project
201
+ 3. Run `/fire-skills-sync --dry-run` to see what's out of sync
202
+ 4. If a specific skill is missing, search by keyword: `/fire-search "{topic}"`
203
+
204
+ **Prevention:**
205
+ - Run `/fire-skills-sync --pull` at the start of each major session
206
+ - After contributing a new skill, verify it appears: `/fire-search "{skill name}"`
207
+ - Keep skills in their correct category directory -- don't move them manually
208
+
209
+ ---
210
+
211
+ ## 9. Circuit breaker tripped
212
+
213
+ **Symptoms:**
214
+ - Loop stops with "CIRCUIT BREAK" banner
215
+ - State shows SPINNING or STALLED or DEGRADED
216
+ - Message: "Error seen N times. Previous approaches: {list}"
217
+
218
+ **Likely Cause:**
219
+ - **STALLED:** No file changes for 3+ iterations -- agent is reading/thinking but not acting
220
+ - **SPINNING:** Same error hash repeated 4+ times -- agent retrying the same failed approach
221
+ - **DEGRADED:** Output volume declining 50%+ from baseline -- context rot setting in
222
+
223
+ **Fix Steps:**
224
+ 1. Read the loop state file: `.planning/loops/fire-loop-{ID}.md`
225
+ 2. Check the "Approaches Tried" section -- these are what NOT to repeat
226
+ 3. For STALLED: the fix is usually to try a fundamentally different approach
227
+ 4. For SPINNING: read the error carefully -- the repeated error hash tells you exactly what's failing
228
+ 5. For DEGRADED: accept the Sabbath Rest, `/clear`, then `/fire-loop-resume {ID}`
229
+
230
+ **Prevention:**
231
+ - Use `--aggressive` for tasks where you expect quick resolution (tighter thresholds)
232
+ - Write clear completion criteria so the loop knows when it's done
233
+ - Trust the circuit breaker -- forcing through a tripped breaker wastes iterations
234
+ - After a trip, always read the loop file before resuming to understand what was tried
235
+
236
+ ---
237
+
238
+ ## 10. Handoff incomplete
239
+
240
+ **Symptoms:**
241
+ - `/fire-6-resume` can't find a handoff file or shows stale data
242
+ - Handoff missing key sections (blockers, in-progress work, skills applied)
243
+ - Next session agent doesn't have enough context to continue
244
+
245
+ **Likely Cause:**
246
+ - `/fire-5-handoff` wasn't run before ending the session
247
+ - Handoff was created but CONSCIENCE.md was out of date at the time
248
+ - Session ended abruptly (crash, Ctrl+C) before handoff could complete
249
+
250
+ **Fix Steps:**
251
+ 1. Run `/fire-5-handoff` manually to create a fresh handoff from current state
252
+ 2. Check `.planning/` for any `POWER-HANDOFF-*.md` files -- there may be a partial one
253
+ 3. If CONSCIENCE.md is stale, update it manually with current phase status
254
+ 4. Verify the handoff follows WARRIOR 7-step format: What / Accomplished / Remaining / Resources / Issues / Observations / Recommendations
255
+
256
+ **Prevention:**
257
+ - Always run `/fire-5-handoff` before ending a session -- make it a habit
258
+ - The `stop-verify.js` hook warns if tasks are incomplete when you exit
259
+ - For long sessions, create intermediate handoffs every 2-3 hours
260
+ - If using `/fire-loop`, the Sabbath Rest snapshot serves as an automatic partial handoff
261
+
262
+ ---
263
+
264
+ *If your issue isn't listed here, check the references directory for detailed protocol documentation, or run `/fire-debug` to systematically investigate.*