@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
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: feature-forge
3
+ description: Use when defining new features, gathering requirements, or writing structured specifications. Invoke for requirements elicitation, EARS format, acceptance criteria, feature specs.
4
+ license: MIT
5
+ source: jeffallan/claude-skills (MIT)
6
+ metadata:
7
+ author: https://github.com/Jeffallan
8
+ version: "1.0.0"
9
+ domain: product
10
+ triggers: feature spec, requirements, user story, acceptance criteria, EARS, product analysis, specification
11
+ role: specialist
12
+ scope: analysis
13
+ output-format: document
14
+ ---
15
+
16
+ # Feature Forge
17
+
18
+ Senior product analyst with dual PM and Dev perspectives — delivering structured, testable feature specifications ready for implementation.
19
+
20
+ ## When to Use This Skill
21
+
22
+ - Defining a new feature from a rough idea
23
+ - Conducting requirements elicitation interviews
24
+ - Writing formal specifications with EARS-format requirements
25
+ - Generating acceptance criteria in Given/When/Then format
26
+ - Producing implementation checklists from requirements
27
+
28
+ ## Core Workflow
29
+
30
+ 1. **Discover** - Identify user goals, target audience, success metrics
31
+ 2. **Interview** - Structured questions from both PM Hat (value/goals) and Dev Hat (feasibility/security)
32
+ 3. **Document** - Write requirements in EARS format
33
+ 4. **Validate** - Confirm acceptance criteria with stakeholders
34
+ 5. **Deliver** - Final spec saved as `specs/{feature_name}.spec.md`
35
+
36
+ ## Must Do
37
+
38
+ - Use structured elicitation (questions tool or numbered list) — not open-ended prompts
39
+ - Complete the full interview before writing any specification
40
+ - Include both functional (EARS) and non-functional requirements (performance, security)
41
+ - Provide testable acceptance criteria: Given / When / Then
42
+ - Include error handling and edge case tables
43
+
44
+ ## Must Not Do
45
+
46
+ - Write specs before requirements are fully understood
47
+ - Skip security or error handling requirements
48
+ - Use vague, untestable acceptance criteria
49
+ - Omit non-functional requirements
50
+
51
+ ## Spec Output Format
52
+
53
+ ```
54
+ specs/{feature_name}.spec.md
55
+ - Overview (problem, goal, audience)
56
+ - Functional Requirements (EARS format)
57
+ - Non-Functional Requirements (perf, security, accessibility)
58
+ - Acceptance Criteria (Given/When/Then)
59
+ - Error Handling Table
60
+ - Implementation TODO checklist
61
+ ```
62
+
63
+ ## Knowledge Reference
64
+
65
+ EARS syntax (Event-Action-Response-State), user story mapping, BDD/Given-When-Then, non-functional requirement categories, security requirements (OWASP), accessibility (WCAG), performance budgets.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: prompt-engineer
3
+ description: Use when designing, optimizing, or evaluating prompts for LLMs. Invoke for chain-of-thought, few-shot learning, structured outputs, system prompts, prompt evaluation frameworks.
4
+ license: MIT
5
+ source: jeffallan/claude-skills (MIT)
6
+ metadata:
7
+ author: https://github.com/Jeffallan
8
+ version: "1.0.0"
9
+ domain: data-ml
10
+ triggers: prompt engineering, LLM, chain-of-thought, few-shot, system prompt, structured output, evaluation, prompt optimization
11
+ role: specialist
12
+ scope: implementation
13
+ output-format: document
14
+ ---
15
+
16
+ # Prompt Engineer
17
+
18
+ Expert prompt engineer specializing in designing, optimizing, and evaluating prompts that maximize LLM performance across diverse use cases.
19
+
20
+ ## When to Use This Skill
21
+
22
+ - Designing prompts for new LLM-powered features
23
+ - Optimizing underperforming prompts
24
+ - Implementing advanced techniques (chain-of-thought, few-shot, ReAct)
25
+ - Building structured output schemas (JSON mode, tool calling)
26
+ - Creating evaluation frameworks to measure prompt quality
27
+ - Debugging inconsistent or low-quality LLM outputs
28
+
29
+ ## Core Workflow
30
+
31
+ 1. **Understand requirements** - Task definition, model, success criteria, failure modes
32
+ 2. **Design prompts** - Role definition, instructions, examples, output format
33
+ 3. **Test outputs** - Diverse realistic inputs including edge cases
34
+ 4. **Iterate** - Refine based on failure analysis
35
+ 5. **Document for deployment** - Final prompt, rationale, eval results
36
+
37
+ ## Must Do
38
+
39
+ - Test prompts with diverse, realistic inputs including edge cases
40
+ - Measure performance with quantitative metrics (accuracy, format compliance, latency)
41
+ - Version prompts and track changes with eval results
42
+ - Use system prompts to establish role and constraints
43
+ - Provide few-shot examples for complex output formats
44
+
45
+ ## Must Not Do
46
+
47
+ - Deploy prompts without systematic evaluation on test cases
48
+ - Rely on a single test case to validate a prompt
49
+ - Mix instructions with examples without clear structure
50
+ - Assume a prompt that works on GPT-4 will work unchanged on Claude or vice versa
51
+
52
+ ## Knowledge Reference
53
+
54
+ Chain-of-thought prompting, few-shot and zero-shot techniques, ReAct pattern, structured outputs (JSON mode, tool/function calling), system prompt design, prompt injection mitigations, evaluation frameworks (LLM-as-judge, human eval), model-specific quirks (Claude, Gemini, GPT-4), temperature and sampling parameters.
@@ -0,0 +1,62 @@
1
+ ---
2
+ name: the-fool
3
+ source: jeffallan/claude-skills (MIT)
4
+ description: Use when you need critical reasoning, stress testing ideas, or conducting pre-mortems. Invoke to play devil's advocate, challenge this, expose assumptions, poke holes.
5
+ triggers: challenge this, poke holes, devil's advocate, stress test, pre-mortem, red team, expose assumptions, critical thinking
6
+ ---
7
+
8
+ # The Fool
9
+
10
+ Critical reasoning specialist who stress-tests ideas, decisions, and plans through structured challenge modes.
11
+
12
+ ## Role
13
+
14
+ Critical thinking specialist, 12+ years challenging plans, ideas, and assumptions. Operates as a professional skeptic who uses five distinct reasoning modes to expose flaws, test evidence, and strengthen positions. Challenges constructively, always driving toward better decisions.
15
+
16
+ ## When to Use
17
+
18
+ - Testing whether a plan has fatal flaws
19
+ - Challenging architectural or technical decisions
20
+ - Conducting pre-mortems for new initiatives
21
+ - Red teaming proposals before implementation
22
+ - Exposing hidden assumptions in reasoning
23
+ - Risk assessment for major changes
24
+
25
+ ## Challenge Modes
26
+
27
+ | Mode | Purpose | When to Use |
28
+ |------|---------|------------|
29
+ | Expose Assumptions | Uncover unstated beliefs and dependencies | Early planning, design validation |
30
+ | Argue the Other Side | Steelman opposing viewpoints | Decision validation, bias detection |
31
+ | Find Failure Modes | Identify how this could go wrong | Pre-mortem for risky initiatives |
32
+ | Attack This | Adversarial red team analysis | Security, threat modeling, competition |
33
+ | Test the Evidence | Scrutinize logic and evidence quality | Research, claims, justifications |
34
+
35
+ ## Core Workflow
36
+
37
+ 1. **Position** — Understand the user's proposal, decision, or assumption
38
+ 2. **Select Mode** — Choose challenge mode via structured questioning
39
+ 3. **Challenge** — Apply chosen method to generate strong objections
40
+ 4. **Present** — Provide 3-5 strongest challenges with supporting logic
41
+ 5. **Synthesize** — Develop stronger position that addresses challenges
42
+
43
+ ## MUST DO
44
+
45
+ - Steel man opposing views before challenging
46
+ - Use structured reasoning for each challenge
47
+ - Ground challenges in concrete logic
48
+ - Present strongest objections (top 3-5)
49
+ - Offer mitigation or strengthened position
50
+ - Drive toward synthesis, not destruction
51
+
52
+ ## MUST NOT DO
53
+
54
+ - Use unfounded criticism
55
+ - Strawman opposing arguments
56
+ - Leave challenges without context
57
+ - Use personal attacks or dismissiveness
58
+ - Create analysis paralysis
59
+
60
+ ## Knowledge
61
+
62
+ Critical thinking, Socratic questioning, Hegelian dialectic, pre-mortem analysis, red teaming, threat modeling, logical fallacies, assumption mapping, SWOT analysis, devil's advocacy, evidence evaluation
@@ -0,0 +1,125 @@
1
+ # ASSUMPTIONS.md Template
2
+
3
+ > **Origin:** Dominion Flow v2.0 - Assumption tracking and validation.
4
+ > **Enhanced in v3.2:** Added cross-phase contradiction detection, phase-gate validation,
5
+ > and deferred-item impact analysis. Research basis: Gap analysis found assumptions
6
+ > accumulate across phases without systematic tracking, leading to contradictions.
7
+ > See: references/research-improvements.md (GAP-1, GAP-2, BLIND-SPOT-B)
8
+
9
+ Template for `.planning/ASSUMPTIONS.md` — created by `/fire-1-new`.
10
+
11
+ ---
12
+
13
+ ## File Template
14
+
15
+ ```markdown
16
+ # Project Assumptions
17
+
18
+ ## Summary
19
+ | Status | Count |
20
+ |--------|-------|
21
+ | Validated | 0 |
22
+ | Unvalidated | 0 |
23
+ | Invalidated | 0 |
24
+
25
+ ---
26
+
27
+ ## Phase Assumptions
28
+
29
+ ### Phase XX: [Phase Name]
30
+
31
+ #### ASSUMPTION-001: [Short description]
32
+ - **Category:** Technical | Business | Infrastructure | Integration
33
+ - **Statement:** [The specific assumption being made]
34
+ - **Impact if wrong:** [What breaks if this assumption is false]
35
+ - **Validation method:** [How to verify - test, research, user confirmation]
36
+ - **Status:** VALIDATED | UNVALIDATED | INVALIDATED
37
+ - **Validated by:** [evidence or "pending"]
38
+ - **Phase:** [which phase relies on this]
39
+ - **Plan:** [which plan relies on this]
40
+
41
+ ---
42
+
43
+ ## Invalidated Assumptions
44
+
45
+ [Assumptions proven false - with impact assessment and remediation]
46
+
47
+ ### ASSUMPTION-XXX: [description] (INVALIDATED)
48
+ - **Original assumption:** [what was assumed]
49
+ - **Reality:** [what turned out to be true]
50
+ - **Impact:** [what broke or needs changing]
51
+ - **Remediation:** [how it was addressed]
52
+ - **Blocker created:** [BLOCKER-XXX if applicable]
53
+ ```
54
+
55
+ ---
56
+
57
+ ## Common Assumption Categories
58
+
59
+ | Category | Examples |
60
+ |----------|---------|
61
+ | Technical | "PostgreSQL supports JSON columns", "Next.js 15 has server actions" |
62
+ | Business | "Users will register with email", "Free tier limited to 3 projects" |
63
+ | Infrastructure | "Vercel supports WebSockets", "Redis available for caching" |
64
+ | Integration | "Stripe supports the currency", "OAuth provider supports PKCE" |
65
+
66
+ ---
67
+
68
+ ## When to Create Assumptions
69
+
70
+ - During `/fire-1a-discuss` (questioning phase)
71
+ - During `/fire-2-plan` (plan creation)
72
+ - During execution when uncertainty surfaces (honesty checkpoints)
73
+ - When research reveals "it should work but I haven't verified"
74
+
75
+ ---
76
+
77
+ ## Validation Triggers
78
+
79
+ - Before plan execution: validate UNVALIDATED assumptions for that plan
80
+ - During honesty pre-check: surface assumptions being relied on
81
+ - After phase completion: audit all assumptions for accuracy
82
+
83
+ ---
84
+
85
+ ## Cross-Phase Contradiction Detection (v3.2)
86
+
87
+ > Research finding: Phase 6 can contradict Phase 1 assumptions buried in old handoffs.
88
+ > This section prevents assumption drift across long-running projects.
89
+
90
+ ### Phase-Gate Validation Protocol
91
+
92
+ At the START of each new phase, the planner MUST:
93
+
94
+ 1. **List all ACTIVE assumptions** from previous phases that this phase relies on
95
+ 2. **Check for contradictions** between existing assumptions and new plan requirements
96
+ 3. **Flag stale assumptions** — any UNVALIDATED assumption older than 2 phases
97
+ 4. **Verify invalidated assumptions** were actually remediated (not just flagged)
98
+
99
+ ### Contradiction Detection Checklist
100
+
101
+ ```markdown
102
+ ## Phase N Pre-Flight: Assumption Validation
103
+
104
+ - [ ] Read all ACTIVE assumptions from Phases 1 through N-1
105
+ - [ ] No contradictions between existing assumptions and Phase N plan
106
+ - [ ] No UNVALIDATED assumptions older than 2 phases that affect this work
107
+ - [ ] All INVALIDATED assumptions have completed remediation
108
+ - [ ] New assumptions for Phase N are documented below
109
+ ```
110
+
111
+ ### Deferred Items Impact Analysis
112
+
113
+ > Research finding: Deferred items multiply without tracking their compound impact.
114
+ > Track each deferred item's blast radius to prevent Phase N from discovering
115
+ > all deferred items must be done immediately.
116
+
117
+ ```markdown
118
+ ### DEFERRED-001: [Short description]
119
+ - **Deferred in:** Phase N
120
+ - **Impact if deferred further:** CRITICAL | HIGH | MEDIUM | LOW
121
+ - **Blocking future phases:** [Phase X, Phase Y]
122
+ - **Compound risk:** [What happens if this + other deferrals combine]
123
+ - **Decision needed by:** Phase N+2 at latest
124
+ - **Owner:** [who should resolve this]
125
+ ```
@@ -0,0 +1,73 @@
1
+ # BLOCKERS.md Template
2
+
3
+ > **Origin:** NEW for Dominion Flow v2.0 - Centralized blocker tracking.
4
+
5
+ Template for `.planning/BLOCKERS.md` — created by `/fire-1-new`.
6
+
7
+ ---
8
+
9
+ ## File Template
10
+
11
+ ```markdown
12
+ # Project Blockers
13
+
14
+ ## Summary
15
+ | Status | P0 | P1 | P2 | P3 | Total |
16
+ |--------|----|----|----|----|-------|
17
+ | Open | 0 | 0 | 0 | 0 | 0 |
18
+ | Resolved | 0 | 0 | 0 | 0 | 0 |
19
+
20
+ ---
21
+
22
+ ## Open Blockers
23
+
24
+ [None currently]
25
+
26
+ ---
27
+
28
+ ## Resolved Blockers
29
+
30
+ [None yet]
31
+
32
+ ---
33
+
34
+ ## Deferred Blockers
35
+
36
+ [None yet]
37
+ ```
38
+
39
+ ---
40
+
41
+ ## Blocker Entry Format
42
+
43
+ ```markdown
44
+ ### BLOCKER-[NNN] [P0/P1/P2/P3] [Short description]
45
+ - **Phase:** [phase identifier]
46
+ - **Plan:** [plan identifier]
47
+ - **Task:** [task identifier]
48
+ - **Opened:** [date]
49
+ - **Blocks:** [what this prevents - tasks, plans, or phases]
50
+ - **Description:** [detailed description of the obstacle]
51
+ - **Root Cause:** [identified root cause or "investigating"]
52
+ - **Workaround:** [temporary workaround if available, or "None"]
53
+ - **Assigned:** [who/what will resolve - "Next session", "User action required", etc.]
54
+ ```
55
+
56
+ ## Resolved Entry Addition
57
+
58
+ ```markdown
59
+ - **Resolved:** [date]
60
+ - **Resolution:** [how it was fixed]
61
+ - **Skill Created:** [if solution was extracted to skills library]
62
+ ```
63
+
64
+ ---
65
+
66
+ ## Priority Guide
67
+
68
+ | Priority | Criteria | Response Time |
69
+ |----------|----------|---------------|
70
+ | P0 | Blocks entire phase/milestone | Immediate - stop everything |
71
+ | P1 | Blocks 2+ tasks or downstream plans | Fix before continuing blocked work |
72
+ | P2 | Blocks 1 task, workaround exists | Document workaround, continue |
73
+ | P3 | Quality concern, not blocking | Track for later |
@@ -0,0 +1,116 @@
1
+ # DECISION_LOG.md Template
2
+
3
+ > **Origin:** Dominion Flow v3.2 - Research-backed improvement.
4
+ > **Research basis:** Gap analysis found architectural decisions are implicit in git history;
5
+ > cross-phase contradictions occur when rationale is buried in old handoffs.
6
+ > See: references/research-improvements.md (GAP-1, GAP-3, BLIND-SPOT-A)
7
+
8
+ Template for `.planning/DECISION_LOG.md` — created by `/fire-1-new`.
9
+
10
+ ---
11
+
12
+ ## Why This Exists
13
+
14
+ Without an explicit decision log:
15
+ - Session 4 can contradict Session 1 decisions without realizing it
16
+ - "Why did we choose X?" requires reverse-engineering git history
17
+ - Deferred decisions get lost between phases
18
+ - Assumption conflicts across phases go undetected
19
+
20
+ ---
21
+
22
+ ## File Template
23
+
24
+ ```markdown
25
+ # Decision Log
26
+
27
+ > Tracks architectural and design decisions across all phases.
28
+ > Each entry captures WHAT was decided, WHY, and WHAT IT AFFECTS.
29
+ > Review this log at the start of each new phase to catch contradictions.
30
+
31
+ ## Quick Reference
32
+
33
+ | ID | Date | Decision | Phase | Status |
34
+ |----|------|----------|-------|--------|
35
+ <!-- Auto-populated as decisions are added below -->
36
+
37
+ ---
38
+
39
+ ## Decisions
40
+
41
+ ### DEC-001: [Short title]
42
+ - **Date:** YYYY-MM-DD
43
+ - **Phase:** Phase N - [name]
44
+ - **Plan:** Plan N-NN (if applicable)
45
+ - **Category:** Architecture | Database | API | Auth | UI | Infrastructure | Integration
46
+ - **Decision:** [What was decided]
47
+ - **Options Considered:**
48
+ 1. [Option A] - [pros/cons]
49
+ 2. [Option B] - [pros/cons]
50
+ 3. [Option C] - [pros/cons]
51
+ - **Rationale:** [Why this option was chosen]
52
+ - **Trade-offs Accepted:** [What we gave up]
53
+ - **Affects:**
54
+ - Phases: [which future phases depend on this]
55
+ - Files: [key files implementing this decision]
56
+ - Assumptions: [ASSUMPTION-XXX if linked]
57
+ - **Status:** ACTIVE | SUPERSEDED by DEC-XXX | DEFERRED to Phase N
58
+ - **Owner:** [who made the decision - human or agent]
59
+
60
+ ---
61
+
62
+ ## Superseded Decisions
63
+
64
+ > Decisions that were later overridden. Kept for audit trail.
65
+
66
+ ### DEC-XXX: [title] (SUPERSEDED)
67
+ - **Superseded by:** DEC-YYY
68
+ - **Reason for change:** [what changed]
69
+ - **Migration needed:** [yes/no - what needs updating]
70
+
71
+ ---
72
+
73
+ ## Deferred Decisions
74
+
75
+ > Decisions postponed to a future phase. Review before that phase starts.
76
+
77
+ ### DEC-XXX: [title] (DEFERRED)
78
+ - **Deferred to:** Phase N
79
+ - **Reason:** [not enough information / not critical yet / blocked by X]
80
+ - **Impact of delay:** [what happens if we defer too long]
81
+ - **Decision needed by:** [deadline or trigger event]
82
+ ```
83
+
84
+ ---
85
+
86
+ ## When to Add Entries
87
+
88
+ - During `/fire-1a-discuss` — when architectural questions are resolved
89
+ - During `/fire-2-plan` — when plan requires technology/approach choices
90
+ - During `/fire-3-execute` — when executor makes runtime decisions
91
+ - During `/fire-debug` — when root cause reveals a design choice was wrong
92
+ - During `/fire-4-verify` — when verification finds gaps requiring decisions
93
+
94
+ ---
95
+
96
+ ## Cross-Phase Validation
97
+
98
+ At the start of each new phase, the planner should:
99
+
100
+ 1. Read all ACTIVE decisions
101
+ 2. Check for contradictions with the new plan
102
+ 3. Verify no DEFERRED decisions have reached their deadline
103
+ 4. Flag any SUPERSEDED decisions that still have unreversed code
104
+
105
+ ---
106
+
107
+ ## Integration Points
108
+
109
+ | Command | How it uses Decision Log |
110
+ |---------|------------------------|
111
+ | `/fire-1a-discuss` | Creates initial architectural decisions |
112
+ | `/fire-2-plan` | Reviews existing decisions, adds new ones |
113
+ | `/fire-3-execute` | Executor references decisions, adds runtime decisions |
114
+ | `/fire-4-verify` | Verifier checks code matches documented decisions |
115
+ | `/fire-5-handoff` | Handoff references key decisions from this session |
116
+ | `/fire-debug` | Links root causes to original decisions |
@@ -0,0 +1,96 @@
1
+ # UAT Template (Dominion Flow Enhanced)
2
+
3
+ > **Origin:** Ported from Dominion Flow `UAT.md` with parallel diagnosis integration.
4
+
5
+ Template for conversational User Acceptance Testing via `/fire-verify-uat`.
6
+
7
+ ---
8
+
9
+ ## UAT Session Format
10
+
11
+ ```markdown
12
+ # UAT Session: Phase XX - [Phase Name]
13
+
14
+ ## Session Info
15
+ - **Phase:** XX-name
16
+ - **Date:** [date]
17
+ - **Tester:** [user/AI]
18
+ - **Environment:** [local/staging/production]
19
+
20
+ ## Critical Flows to Test
21
+
22
+ | # | Flow | Priority | Status | Notes |
23
+ |---|------|----------|--------|-------|
24
+ | 1 | [User registration] | Must Pass | [PASS/FAIL] | |
25
+ | 2 | [User login] | Must Pass | [PASS/FAIL] | |
26
+ | 3 | [Core feature A] | Must Pass | [PASS/FAIL] | |
27
+ | 4 | [Edge case B] | Should Pass | [PASS/FAIL] | |
28
+
29
+ ## Test Execution
30
+
31
+ ### Flow 1: [User Registration]
32
+
33
+ **Steps:**
34
+ 1. Navigate to /register
35
+ 2. Fill in email: test@example.com
36
+ 3. Fill in password: SecurePass123!
37
+ 4. Click "Register"
38
+
39
+ **Expected:** Redirect to /dashboard, welcome message displayed
40
+ **Actual:** [result]
41
+ **Status:** [PASS/FAIL]
42
+
43
+ ### Flow 2: [User Login]
44
+ [...]
45
+
46
+ ## Issues Found
47
+
48
+ | # | Severity | Description | Flow | Diagnosis |
49
+ |---|----------|-------------|------|-----------|
50
+ | 1 | Critical | [description] | Flow 1 | [root cause if known] |
51
+ | 2 | Minor | [description] | Flow 3 | [root cause if known] |
52
+
53
+ ## Diagnosis Results (if failures found)
54
+
55
+ For each FAIL, `/fire-diagnose` runs parallel investigation:
56
+ - Agent 1: [Component where symptom appears]
57
+ - Agent 2: [Component that triggers it]
58
+ - Agent 3: [Working reference pattern]
59
+
60
+ ## UAT Verdict
61
+
62
+ - **Overall:** [PASS / CONDITIONAL PASS / FAIL]
63
+ - **Blocking Issues:** [count]
64
+ - **Non-Blocking Issues:** [count]
65
+ - **Recommendation:** [Proceed to next phase / Fix and retest / Major rework needed]
66
+ ```
67
+
68
+ ---
69
+
70
+ ## Conversational UAT Protocol
71
+
72
+ 1. **Present flows** - Show user the critical flows to test
73
+ 2. **Guide testing** - Walk through each flow step by step
74
+ 3. **Record results** - PASS/FAIL for each flow
75
+ 4. **On failure** - Immediately spawn parallel diagnosis agents
76
+ 5. **Report** - Generate UAT report with verdict
77
+ 6. **Route** - If PASS: `/fire-transition`. If FAIL: fix and retest.
78
+
79
+ ---
80
+
81
+ ## Automatic Diagnosis on Failure
82
+
83
+ When a UAT flow fails, automatically spawn 3 parallel agents:
84
+
85
+ ```javascript
86
+ // Agent 1: Where the symptom appears
87
+ Task({ subagent_type: "fire-debugger", prompt: "Investigate [component with failure]..." });
88
+
89
+ // Agent 2: What triggers it
90
+ Task({ subagent_type: "fire-debugger", prompt: "Investigate [parent/caller component]..." });
91
+
92
+ // Agent 3: Working reference
93
+ Task({ subagent_type: "Explore", prompt: "Find working pattern in [similar component]..." });
94
+ ```
95
+
96
+ This matches the parallel debugging pattern documented in CLAUDE.md.
@@ -0,0 +1,94 @@
1
+ ---
2
+ phase: {phase_number}-{phase_name}
3
+ plan: {plan_number}
4
+ breath: {wave_number}
5
+ autonomous: {autonomous}
6
+ depends_on: [{depends_on}]
7
+ files_modified: [{files_modified}]
8
+ skills_to_apply:
9
+ {skills_to_apply_yaml}
10
+ validation_required:
11
+ {validation_required_yaml}
12
+ must_haves:
13
+ truths:
14
+ {truths_yaml}
15
+ artifacts:
16
+ {artifacts_yaml}
17
+ warrior_validation:
18
+ {warrior_validation_yaml}
19
+ ---
20
+
21
+ # Plan {phase_number}-{plan_number}: {plan_title}
22
+
23
+ ## Objective
24
+ {objective}
25
+
26
+ ## Context
27
+ @.planning/CONSCIENCE.md
28
+ @.planning/VISION.md
29
+ @.planning/phases/{phase_number}-{phase_name}/{phase_number}-RESEARCH.md
30
+
31
+ ## Honesty Pre-Check
32
+
33
+ **What I know:**
34
+ {what_i_know}
35
+
36
+ **What I'm uncertain about:**
37
+ {what_im_uncertain_about}
38
+
39
+ **Skills to reference:**
40
+ {skills_to_reference}
41
+
42
+ ## Tasks
43
+
44
+ {tasks}
45
+
46
+ ## Verification
47
+
48
+ ### Must-Haves
49
+ ```bash
50
+ {musthave_commands}
51
+ ```
52
+
53
+ ### WARRIOR Validation
54
+ ```bash
55
+ {warrior_validation_commands}
56
+ ```
57
+
58
+ ## Success Criteria
59
+ - [ ] All tasks complete
60
+ - [ ] Must-Haves verified
61
+ - [ ] WARRIOR validation passed ({warrior_check_count}/{warrior_check_total} checks)
62
+ - [ ] Human verification approved (if required)
63
+
64
+ ## Rollback Plan
65
+ {rollback_plan}
66
+
67
+ ---
68
+
69
+ ## Task Template Reference
70
+
71
+ Use this format for each task:
72
+
73
+ ```markdown
74
+ <task type="auto|checkpoint:human-verify|checkpoint:pause">
75
+ **Action:** {action_description}
76
+ **Skills:** {skill_references}
77
+ **Steps:**
78
+ 1. {step_1}
79
+ 2. {step_2}
80
+ 3. {step_3}
81
+
82
+ **Verification:**
83
+ ```bash
84
+ {verification_command}
85
+ ```
86
+
87
+ **Done Criteria:** {done_criteria}
88
+ </task>
89
+ ```
90
+
91
+ ---
92
+
93
+ *Plan created: {created_date}*
94
+ *Estimated duration: {estimated_duration}*