@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,527 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Plan a phase with skills library access and WARRIOR validation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-2-plan
|
|
6
|
+
|
|
7
|
+
> Plan phase N with skills library integration and WARRIOR validation
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
Create detailed execution plans for a specified phase by combining Dominion Flow's structured planning with skills library access, honesty protocols, and validation requirements. Plans are reviewed by a plan-checker before approval.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Arguments
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
arguments:
|
|
21
|
+
phase_number:
|
|
22
|
+
required: true
|
|
23
|
+
type: integer
|
|
24
|
+
description: "Phase number to plan (e.g., 1, 2, 3)"
|
|
25
|
+
example: "/fire-2-plan 3"
|
|
26
|
+
|
|
27
|
+
optional_flags:
|
|
28
|
+
--gaps: "Plan only for gaps identified in verification"
|
|
29
|
+
--research-first: "Force research phase before planning"
|
|
30
|
+
--skip-checker: "Skip plan-checker validation (not recommended)"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Process
|
|
36
|
+
|
|
37
|
+
### Step 0.5: Prompt Enhancer — Codebase Convention Scan (v11.0)
|
|
38
|
+
|
|
39
|
+
> **Research basis (v11.0):** Augment Code's Prompt Enhancer (2026) — scanning codebase
|
|
40
|
+
> conventions BEFORE planning enriches the planner's context with actual patterns,
|
|
41
|
+
> reducing hallucinated approaches and increasing plan accuracy.
|
|
42
|
+
|
|
43
|
+
Before any validation or planning, scan the project for conventions that should
|
|
44
|
+
inform the planner:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
SCAN (quick — max 60 seconds):
|
|
48
|
+
|
|
49
|
+
1. Package manager: check for bun.lockb / pnpm-lock.yaml / yarn.lock / package-lock.json
|
|
50
|
+
2. Test framework: grep for jest.config / vitest.config / playwright.config / .mocharc
|
|
51
|
+
3. Naming patterns: sample 3 source files — camelCase vs snake_case, barrel exports
|
|
52
|
+
4. Error handling: grep for common error patterns (try/catch, .catch, Result types)
|
|
53
|
+
5. API style: check for REST routes / GraphQL schema / tRPC routers
|
|
54
|
+
6. State management: grep for zustand / redux / context / signals
|
|
55
|
+
|
|
56
|
+
OUTPUT — codebase_conventions block injected into planner context:
|
|
57
|
+
|
|
58
|
+
<codebase_conventions>
|
|
59
|
+
package_manager: {bun | pnpm | yarn | npm}
|
|
60
|
+
test_framework: {jest | vitest | playwright | none detected}
|
|
61
|
+
naming: {camelCase | snake_case | mixed}
|
|
62
|
+
error_pattern: {try-catch | Result type | .catch chains}
|
|
63
|
+
api_style: {REST | GraphQL | tRPC | mixed}
|
|
64
|
+
state: {zustand | redux | context | none detected}
|
|
65
|
+
notes: [any other conventions discovered]
|
|
66
|
+
</codebase_conventions>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Skip condition:** If `--gaps` flag is set (re-planning for gaps), conventions are
|
|
70
|
+
already known from the first plan. Skip this step.
|
|
71
|
+
|
|
72
|
+
### Step 1: Environment Validation
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
|
|
76
|
+
DOMINION FLOW > PHASE {N} PLANNING
|
|
77
|
+
â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Validate:**
|
|
81
|
+
1. `.planning/` directory exists
|
|
82
|
+
2. `CONSCIENCE.md` exists and is readable
|
|
83
|
+
3. `VISION.md` exists with phase {N} defined
|
|
84
|
+
4. Phase number is valid (within roadmap range)
|
|
85
|
+
5. Previous phases are complete (if dependencies exist)
|
|
86
|
+
|
|
87
|
+
**Parse Arguments:**
|
|
88
|
+
```bash
|
|
89
|
+
# Extract phase number
|
|
90
|
+
PHASE_NUM={argument}
|
|
91
|
+
|
|
92
|
+
# Check for flags
|
|
93
|
+
GAPS_ONLY={--gaps flag present}
|
|
94
|
+
RESEARCH_FGTAT={--research-first flag present}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Step 2: Load Context
|
|
98
|
+
|
|
99
|
+
**Required Reading:**
|
|
100
|
+
```markdown
|
|
101
|
+
@.planning/CONSCIENCE.md # Current project position
|
|
102
|
+
@.planning/VISION.md # Phase objectives and scope
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Extract from ROADMAP:**
|
|
106
|
+
- Phase name and objective
|
|
107
|
+
- Must-have features for this phase
|
|
108
|
+
- Dependencies on previous phases
|
|
109
|
+
- Estimated complexity
|
|
110
|
+
|
|
111
|
+
### Step 3: WARRIOR Enhancement - Honesty Pre-Check
|
|
112
|
+
|
|
113
|
+
**MANDATORY: Spawn fire-planner with honesty protocol.**
|
|
114
|
+
|
|
115
|
+
Before ANY planning, the planner must answer:
|
|
116
|
+
|
|
117
|
+
```markdown
|
|
118
|
+
## Pre-Planning Honesty Check
|
|
119
|
+
|
|
120
|
+
### Question 1: What do I know about implementing this phase?
|
|
121
|
+
- [List specific knowledge areas]
|
|
122
|
+
- [Technologies familiar with]
|
|
123
|
+
- [Relevant skills in library]
|
|
124
|
+
|
|
125
|
+
### Question 2: What don't I know?
|
|
126
|
+
- [Gaps in knowledge]
|
|
127
|
+
- [Technologies unfamiliar]
|
|
128
|
+
- [Edge cases uncertain about]
|
|
129
|
+
|
|
130
|
+
### Question 3: Am I tempted to fake or rush?
|
|
131
|
+
- [ ] Not tempted - confidence is grounded
|
|
132
|
+
- [ ] Tempted in area: ___ (adding research first)
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**If Q3 reveals temptation:** Route to research before planning.
|
|
136
|
+
|
|
137
|
+
### Step 4: Research Phase (If Needed)
|
|
138
|
+
|
|
139
|
+
**Trigger Conditions:**
|
|
140
|
+
- `--research-first` flag provided
|
|
141
|
+
- Honesty check reveals knowledge gaps
|
|
142
|
+
- Phase involves unfamiliar technology
|
|
143
|
+
- No existing `{N}-RESEARCH.md` file
|
|
144
|
+
|
|
145
|
+
**Spawn fire-researcher:**
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
â—† Spawning fire-researcher for Phase {N}...
|
|
149
|
+
âš¡ Searching skills library for relevant patterns
|
|
150
|
+
âš¡ Researching unfamiliar technologies
|
|
151
|
+
âš¡ Documenting findings
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**Researcher Tasks:**
|
|
155
|
+
1. Search skills library: `/fire-search "[phase topic]"`
|
|
156
|
+
2. Load relevant skills: `@skills-library/{category}/{skill}.md`
|
|
157
|
+
3. WebSearch for current best practices (if skills insufficient)
|
|
158
|
+
4. Create `{N}-RESEARCH.md` with findings
|
|
159
|
+
|
|
160
|
+
**Research Output:**
|
|
161
|
+
```
|
|
162
|
+
.planning/phases/{N}-{name}/{N}-RESEARCH.md
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Step 4.5: Failure Memory Query (MemP v9.1)
|
|
166
|
+
|
|
167
|
+
> **Research basis:** MemP (2025) — Memory-augmented Planning improves plan quality by 23%
|
|
168
|
+
> by surfacing relevant past failures before planning begins.
|
|
169
|
+
|
|
170
|
+
Before spawning the planner, search vector memory for relevant past failures.
|
|
171
|
+
|
|
172
|
+
**Query Qdrant:**
|
|
173
|
+
```bash
|
|
174
|
+
# Search for failure patterns related to this phase
|
|
175
|
+
npm run search-failures -- "{phase_name} {technology_stack}" --limit 5
|
|
176
|
+
|
|
177
|
+
# Also search for debug resolutions
|
|
178
|
+
npm run search -- "{phase_description}" --type failure_pattern,debug_resolution --limit 5
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**If results found (similarity > 0.6):**
|
|
182
|
+
|
|
183
|
+
Add to fire-planner's context block:
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
<failure_memory>
|
|
187
|
+
The following past failures are relevant to this phase. Plan to AVOID repeating these:
|
|
188
|
+
|
|
189
|
+
{For each result:}
|
|
190
|
+
- **{failure_title}** ({project}, {date}):
|
|
191
|
+
Root cause: {root_cause}
|
|
192
|
+
Fix: {resolution}
|
|
193
|
+
Lesson: {lesson_learned}
|
|
194
|
+
</failure_memory>
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
**If Qdrant unavailable:** Skip gracefully — same degradation pattern as fire-loop v9.0.
|
|
198
|
+
Log: "Qdrant unavailable — planning without failure memory (non-blocking)"
|
|
199
|
+
|
|
200
|
+
### Step 4.75: Architecture Blueprint Auto-Suggestion (v10.0)
|
|
201
|
+
|
|
202
|
+
> **Research basis:** Session analysis (2026-02-24) — Architecture blueprints in the skills library
|
|
203
|
+
> eliminated 30-60 minutes of research per session by providing pre-built component hierarchies.
|
|
204
|
+
|
|
205
|
+
Before spawning the planner, search the skills library for matching architecture blueprints.
|
|
206
|
+
|
|
207
|
+
**Search skills library:**
|
|
208
|
+
```bash
|
|
209
|
+
# Extract keywords from phase description
|
|
210
|
+
keywords = extract_keywords(MEMORY.md phase description)
|
|
211
|
+
|
|
212
|
+
# Search for architecture patterns
|
|
213
|
+
/fire-search "{keywords}" --scope general --category patterns-standards
|
|
214
|
+
/fire-search "{keywords}" --scope general --category methodology
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
**If architecture blueprints match (similarity > 60%):**
|
|
218
|
+
|
|
219
|
+
Display:
|
|
220
|
+
```
|
|
221
|
+
◆ Architecture blueprints found:
|
|
222
|
+
├─ python-desktop-app-architecture (92% match)
|
|
223
|
+
├─ realtime-monitoring-dashboard (78% match)
|
|
224
|
+
└─ fullstack-bible-study-platform (65% match)
|
|
225
|
+
|
|
226
|
+
Apply as planning accelerators? [Yes / No / View]
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**If Yes:** Inject blueprint component hierarchy, dependency list, and wiring
|
|
230
|
+
patterns into the planner's `<skills_context>` block (Step 5).
|
|
231
|
+
|
|
232
|
+
**If No:** Continue without blueprints.
|
|
233
|
+
|
|
234
|
+
**If no matches:** Skip silently — same degradation as Qdrant unavailable.
|
|
235
|
+
|
|
236
|
+
### Step 5: Spawn fire-planner
|
|
237
|
+
|
|
238
|
+
```
|
|
239
|
+
â—† Spawning fire-planner for Phase {N}...
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
**Planner Context Injection:**
|
|
243
|
+
|
|
244
|
+
```markdown
|
|
245
|
+
<skills_context>
|
|
246
|
+
You have access to 172 proven solutions in the skills library.
|
|
247
|
+
|
|
248
|
+
**Relevant skills for this phase (from research):**
|
|
249
|
+
@skills-library/{category-1}/
|
|
250
|
+
@skills-library/{category-2}/
|
|
251
|
+
|
|
252
|
+
**How to use:**
|
|
253
|
+
1. Reference applicable skills in plan frontmatter: skills_to_apply: [list]
|
|
254
|
+
2. Cite skills in task descriptions
|
|
255
|
+
3. Apply patterns from skills to implementation steps
|
|
256
|
+
</skills_context>
|
|
257
|
+
|
|
258
|
+
<phase_context>
|
|
259
|
+
Phase: {N} - {name}
|
|
260
|
+
Objective: {from ROADMAP}
|
|
261
|
+
Must-Haves: {from ROADMAP}
|
|
262
|
+
Dependencies: {from ROADMAP}
|
|
263
|
+
</phase_context>
|
|
264
|
+
|
|
265
|
+
<honesty_reminder>
|
|
266
|
+
Your honesty check is documented. Plans must be grounded in what you know.
|
|
267
|
+
If uncertain, document the uncertainty and add research verification steps.
|
|
268
|
+
</honesty_reminder>
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
**Planner Creates:**
|
|
272
|
+
- Multiple BLUEPRINT.md files (one per distinct work unit)
|
|
273
|
+
- Each plan assigned to a breath (parallel execution groups)
|
|
274
|
+
- Enhanced frontmatter with skills + WARRIOR validation
|
|
275
|
+
|
|
276
|
+
### Step 6: Plan Structure (Dominion Flow Standard + WARRIOR)
|
|
277
|
+
|
|
278
|
+
Each plan follows this structure:
|
|
279
|
+
|
|
280
|
+
```markdown
|
|
281
|
+
---
|
|
282
|
+
# Dominion Flow Frontmatter
|
|
283
|
+
phase: {N}-{name}
|
|
284
|
+
plan: NN
|
|
285
|
+
breath: N
|
|
286
|
+
autonomous: true|false
|
|
287
|
+
depends_on: [list]
|
|
288
|
+
files_to_create: [list]
|
|
289
|
+
files_to_modify: [list]
|
|
290
|
+
|
|
291
|
+
# WARRIOR Skills Integration
|
|
292
|
+
skills_to_apply:
|
|
293
|
+
- "category/skill-name"
|
|
294
|
+
|
|
295
|
+
# WARRIOR Validation Requirements
|
|
296
|
+
validation_required:
|
|
297
|
+
- code-quality
|
|
298
|
+
- testing
|
|
299
|
+
- security
|
|
300
|
+
- performance
|
|
301
|
+
|
|
302
|
+
# Must-Haves (Enhanced)
|
|
303
|
+
must_haves:
|
|
304
|
+
truths:
|
|
305
|
+
- "Observable behavior statement"
|
|
306
|
+
artifacts:
|
|
307
|
+
- path: "file/path.ts"
|
|
308
|
+
exports: ["functionName"]
|
|
309
|
+
contains: ["pattern"]
|
|
310
|
+
key_links:
|
|
311
|
+
- from: "component-a"
|
|
312
|
+
to: "component-b"
|
|
313
|
+
via: "integration"
|
|
314
|
+
warrior_validation:
|
|
315
|
+
- "Security check description"
|
|
316
|
+
- "Performance check description"
|
|
317
|
+
---
|
|
318
|
+
|
|
319
|
+
# Plan {N}-NN: [Name]
|
|
320
|
+
|
|
321
|
+
## Objective
|
|
322
|
+
[What this plan accomplishes]
|
|
323
|
+
|
|
324
|
+
## Context
|
|
325
|
+
@.planning/CONSCIENCE.md
|
|
326
|
+
@.planning/VISION.md
|
|
327
|
+
@.planning/phases/{N}-{name}/{N}-RESEARCH.md
|
|
328
|
+
|
|
329
|
+
## Pre-Planning Honesty Check
|
|
330
|
+
[Documented honesty protocol answers]
|
|
331
|
+
|
|
332
|
+
## Skills Applied
|
|
333
|
+
[List skills with rationale]
|
|
334
|
+
|
|
335
|
+
## Tasks
|
|
336
|
+
[Detailed task breakdown with verification]
|
|
337
|
+
|
|
338
|
+
## Verification
|
|
339
|
+
[Must-Haves + WARRIOR validation commands]
|
|
340
|
+
|
|
341
|
+
## Success Criteria
|
|
342
|
+
[Checklist]
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### Step 7: Spawn plan-checker (Dominion Flow Standard)
|
|
346
|
+
|
|
347
|
+
```
|
|
348
|
+
â—† Spawning plan-checker to validate plans...
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
**Plan-Checker Validates:**
|
|
352
|
+
1. Frontmatter completeness (all fields present)
|
|
353
|
+
2. Skills referenced exist in library
|
|
354
|
+
3. Must-haves are testable and specific
|
|
355
|
+
4. Tasks have verification commands
|
|
356
|
+
5. Dependencies are satisfied
|
|
357
|
+
6. Breaths are properly ordered
|
|
358
|
+
|
|
359
|
+
**If Validation Fails:**
|
|
360
|
+
- Return feedback to fire-planner
|
|
361
|
+
- Re-plan with corrections
|
|
362
|
+
- Maximum 3 revision cycles
|
|
363
|
+
|
|
364
|
+
### Step 8: Update CONSCIENCE.md
|
|
365
|
+
|
|
366
|
+
After plans approved:
|
|
367
|
+
|
|
368
|
+
```markdown
|
|
369
|
+
## Current Position
|
|
370
|
+
- Phase: {N} of {total}
|
|
371
|
+
- Status: Ready to execute
|
|
372
|
+
- Plans created: {count}
|
|
373
|
+
- Breaths: {wave_count}
|
|
374
|
+
|
|
375
|
+
## WARRIOR Integration
|
|
376
|
+
- Skills identified for Phase {N}: {skills_count}
|
|
377
|
+
- Honesty checkpoint: Planning complete
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
## Agent Spawning Instructions
|
|
383
|
+
|
|
384
|
+
### fire-researcher (Conditional)
|
|
385
|
+
|
|
386
|
+
**Spawn When:**
|
|
387
|
+
- `--research-first` flag
|
|
388
|
+
- Honesty check reveals gaps
|
|
389
|
+
- No existing RESEARCH.md
|
|
390
|
+
|
|
391
|
+
**Agent File:** `@agents/fire-researcher.md`
|
|
392
|
+
|
|
393
|
+
**Context:**
|
|
394
|
+
```markdown
|
|
395
|
+
Phase: {N} - {name}
|
|
396
|
+
Objective: {objective}
|
|
397
|
+
Known Gaps: {from honesty check}
|
|
398
|
+
Skills to Search: {topics from phase}
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
### fire-planner (Always)
|
|
402
|
+
|
|
403
|
+
**Agent File:** `@agents/fire-planner.md`
|
|
404
|
+
|
|
405
|
+
**Context:**
|
|
406
|
+
```markdown
|
|
407
|
+
<full planner context as shown in Step 5>
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
### plan-checker (Always, unless --skip-checker)
|
|
411
|
+
|
|
412
|
+
**Purpose:** Validate plans meet Dominion Flow standards
|
|
413
|
+
|
|
414
|
+
**Checks:**
|
|
415
|
+
- [ ] Frontmatter complete
|
|
416
|
+
- [ ] Skills exist
|
|
417
|
+
- [ ] Must-haves testable
|
|
418
|
+
- [ ] Tasks have verification
|
|
419
|
+
- [ ] Dependencies satisfied
|
|
420
|
+
- [ ] Breaths ordered correctly
|
|
421
|
+
|
|
422
|
+
---
|
|
423
|
+
|
|
424
|
+
## Success Criteria
|
|
425
|
+
|
|
426
|
+
### Required Outputs
|
|
427
|
+
- [ ] `{N}-RESEARCH.md` created (if research needed)
|
|
428
|
+
- [ ] At least one `{N}-NN-BLUEPRINT.md` created
|
|
429
|
+
- [ ] All plans have valid frontmatter
|
|
430
|
+
- [ ] All plans reference applicable skills
|
|
431
|
+
- [ ] All plans include WARRIOR validation
|
|
432
|
+
- [ ] Plan-checker approved all plans
|
|
433
|
+
- [ ] CONSCIENCE.md updated
|
|
434
|
+
|
|
435
|
+
### Completion Display
|
|
436
|
+
|
|
437
|
+
```
|
|
438
|
+
â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
|
|
439
|
+
║ ✓ PHASE {N} PLANNING COMPLETE ║
|
|
440
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
441
|
+
â•‘ â•‘
|
|
442
|
+
â•‘ Phase: {N} - {name} â•‘
|
|
443
|
+
â•‘ Plans Created: {count} â•‘
|
|
444
|
+
â•‘ Breaths: {wave_count} â•‘
|
|
445
|
+
â•‘ Skills Identified: {skills_count} â•‘
|
|
446
|
+
â•‘ â•‘
|
|
447
|
+
â•‘ Plans: â•‘
|
|
448
|
+
║ ✓ {N}-01-BLUEPRINT.md (Breath 1) - {description} ║
|
|
449
|
+
║ ✓ {N}-02-BLUEPRINT.md (Breath 1) - {description} ║
|
|
450
|
+
║ ✓ {N}-03-BLUEPRINT.md (Breath 2) - {description} ║
|
|
451
|
+
â•‘ â•‘
|
|
452
|
+
â•‘ Plan-Checker: APPROVED â•‘
|
|
453
|
+
â•‘ â•‘
|
|
454
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
455
|
+
â•‘ NEXT UP â•‘
|
|
456
|
+
├──────────────────────────────────────────────────────────────────────────────┤
|
|
457
|
+
â•‘ â•‘
|
|
458
|
+
║ → Run `/fire-3-execute {N}` to begin breath-based execution ║
|
|
459
|
+
║ → Or review plans in .planning/phases/{N}-{name}/ ║
|
|
460
|
+
â•‘ â•‘
|
|
461
|
+
╚â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
466
|
+
## Error Handling
|
|
467
|
+
|
|
468
|
+
### Phase Not Found
|
|
469
|
+
|
|
470
|
+
```
|
|
471
|
+
â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
|
|
472
|
+
║ ✗ ERROR: Phase Not Found ║
|
|
473
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
474
|
+
â•‘ â•‘
|
|
475
|
+
â•‘ Phase {N} is not defined in VISION.md â•‘
|
|
476
|
+
â•‘ â•‘
|
|
477
|
+
â•‘ Available phases: 1-{max} â•‘
|
|
478
|
+
â•‘ â•‘
|
|
479
|
+
â•‘ Action: Check VISION.md or add phase definition â•‘
|
|
480
|
+
â•‘ â•‘
|
|
481
|
+
╚â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
### Dependencies Not Met
|
|
485
|
+
|
|
486
|
+
```
|
|
487
|
+
â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
|
|
488
|
+
║ ✗ ERROR: Dependencies Not Met ║
|
|
489
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
490
|
+
â•‘ â•‘
|
|
491
|
+
â•‘ Phase {N} depends on Phase {N-1} which is not complete. â•‘
|
|
492
|
+
â•‘ â•‘
|
|
493
|
+
â•‘ Options: â•‘
|
|
494
|
+
â•‘ A) Complete Phase {N-1} first: `/fire-3-execute {N-1}` â•‘
|
|
495
|
+
â•‘ B) Force planning (not recommended): `/fire-2-plan {N} --force` â•‘
|
|
496
|
+
â•‘ â•‘
|
|
497
|
+
╚â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
### Plan-Checker Rejection
|
|
501
|
+
|
|
502
|
+
```
|
|
503
|
+
┌─────────────────────────────────────────────────────────────────────────────â”
|
|
504
|
+
│ ⚠PLAN REVISION REQUIRED │
|
|
505
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
506
|
+
│ │
|
|
507
|
+
│ Plan {N}-{NN} failed validation: │
|
|
508
|
+
│ │
|
|
509
|
+
│ Issues: │
|
|
510
|
+
│ ✗ Missing must_haves.truths │
|
|
511
|
+
│ ✗ Task 3 has no verification command │
|
|
512
|
+
│ ✗ Skill "api-patterns/xyz" not found in library │
|
|
513
|
+
│ │
|
|
514
|
+
│ Action: Revising plan... (attempt 1 of 3) │
|
|
515
|
+
│ │
|
|
516
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
---
|
|
520
|
+
|
|
521
|
+
## References
|
|
522
|
+
|
|
523
|
+
- **Agent:** `@agents/fire-planner.md` - Planning agent with skills integration
|
|
524
|
+
- **Agent:** `@agents/fire-researcher.md` - Research agent with skills search
|
|
525
|
+
- **Template:** `@templates/plan.md` - Plan template with WARRIOR fields
|
|
526
|
+
- **Protocol:** `@references/honesty-protocols.md` - 3-question honesty check
|
|
527
|
+
- **Brand:** `@references/ui-brand.md` - Visual output standards
|