@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,678 @@
|
|
|
1
|
+
# Workflow: Session Handoff Orchestration
|
|
2
|
+
|
|
3
|
+
<purpose>
|
|
4
|
+
Create a comprehensive session handoff document that combines Dominion Flow execution metrics with the WARRIOR 7-step framework (W-A-R-R-I-O-R). This workflow captures complete session context to enable seamless resumption in the next session with zero information loss, ensuring continuity regardless of which AI or human picks up the work.
|
|
5
|
+
</purpose>
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<core_principle>
|
|
10
|
+
**Zero context loss between sessions.** The handoff document should contain everything needed to continue exactly where you left off. If someone reading the handoff has questions, the handoff failed. Be thorough, be specific, be honest.
|
|
11
|
+
</core_principle>
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<required_reading>
|
|
16
|
+
Before executing this workflow, load:
|
|
17
|
+
```markdown
|
|
18
|
+
@.planning/CONSCIENCE.md # Current project position
|
|
19
|
+
@.planning/phases/{N}-{name}/*-RECORD.md # Execution summaries from current session
|
|
20
|
+
@.planning/SKILLS-INDEX.md # Skills applied tracking
|
|
21
|
+
@templates/fire-handoff.md # Unified handoff format
|
|
22
|
+
@references/honesty-protocols.md # WARRIOR foundation
|
|
23
|
+
```
|
|
24
|
+
</required_reading>
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
|
|
30
|
+
## Step 1: Gather Session Context
|
|
31
|
+
|
|
32
|
+
**Purpose:** Collect all information about what happened this session.
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
36
|
+
DOMINION FLOW > SESSION HANDOFF
|
|
37
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Parse Arguments:**
|
|
41
|
+
```yaml
|
|
42
|
+
arguments: none
|
|
43
|
+
|
|
44
|
+
optional:
|
|
45
|
+
--quick: "Generate abbreviated handoff (skip detailed sections)"
|
|
46
|
+
--include-code: "Include key code snippets in handoff"
|
|
47
|
+
--no-save: "Display handoff without saving to file"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Read CONSCIENCE.md
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
@.planning/CONSCIENCE.md
|
|
54
|
+
|
|
55
|
+
Extract:
|
|
56
|
+
- Project name and core value
|
|
57
|
+
- Current phase and status
|
|
58
|
+
- Progress percentage
|
|
59
|
+
- Skills applied this session
|
|
60
|
+
- Decisions made this session
|
|
61
|
+
- Blockers encountered
|
|
62
|
+
- Last activity timestamp
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Determine Session Scope
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# Find when session started (if tracked)
|
|
69
|
+
SESSION_START=$(grep "session_start" .planning/CONSCIENCE.md | cut -d: -f2)
|
|
70
|
+
|
|
71
|
+
# If not tracked, use last handoff time
|
|
72
|
+
if [ -z "$SESSION_START" ]; then
|
|
73
|
+
LAST_HANDOFF=$(ls -t ~/.claude/warrior-handoffs/${PROJECT}_*.md | head -1)
|
|
74
|
+
SESSION_START=$(stat -c %Y "$LAST_HANDOFF")
|
|
75
|
+
fi
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Step 2: Collect Session Summaries
|
|
81
|
+
|
|
82
|
+
**Purpose:** Aggregate all work done since last handoff.
|
|
83
|
+
|
|
84
|
+
### Find Modified RECORD.md Files
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Find summaries modified since session start
|
|
88
|
+
find .planning/phases/ -name "*-RECORD.md" -newer "$LAST_HANDOFF" 2>/dev/null
|
|
89
|
+
|
|
90
|
+
# Or if no last handoff, find all summaries from today
|
|
91
|
+
find .planning/phases/ -name "*-RECORD.md" -mtime 0
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Aggregate From Each Summary
|
|
95
|
+
|
|
96
|
+
For each RECORD.md found:
|
|
97
|
+
|
|
98
|
+
```markdown
|
|
99
|
+
Extract:
|
|
100
|
+
- Tasks completed (with commit hashes)
|
|
101
|
+
- Files created (with line counts)
|
|
102
|
+
- Files modified (with change descriptions)
|
|
103
|
+
- Skills applied (with code locations)
|
|
104
|
+
- Honesty checkpoints (gaps encountered, how resolved)
|
|
105
|
+
- Key decisions (with rationale)
|
|
106
|
+
- Issues encountered (with severity)
|
|
107
|
+
- Deviations from plan (with reasons)
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Compile Git Activity
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
# Get commits since session start or last handoff
|
|
114
|
+
git log --oneline --since="$SESSION_START" --format="%h %s"
|
|
115
|
+
|
|
116
|
+
# Get files changed
|
|
117
|
+
git diff --stat HEAD~{commit_count}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Step 3: Compile WARRIOR 7-Step Handoff
|
|
123
|
+
|
|
124
|
+
**Purpose:** Structure all information using the W-A-R-R-I-O-R framework.
|
|
125
|
+
|
|
126
|
+
### Handoff Document Structure
|
|
127
|
+
|
|
128
|
+
```markdown
|
|
129
|
+
---
|
|
130
|
+
# Handoff Metadata
|
|
131
|
+
project: {project_name}
|
|
132
|
+
session_date: {YYYY-MM-DD}
|
|
133
|
+
session_start: "{ISO timestamp}"
|
|
134
|
+
session_end: "{ISO timestamp}"
|
|
135
|
+
phase: {current_phase}
|
|
136
|
+
status: {status}
|
|
137
|
+
|
|
138
|
+
# Dominion Flow Metrics
|
|
139
|
+
phases_completed: [{list}]
|
|
140
|
+
plans_executed: {count}
|
|
141
|
+
total_duration: "{X} hours"
|
|
142
|
+
commits: {count}
|
|
143
|
+
files_created: {count}
|
|
144
|
+
files_modified: {count}
|
|
145
|
+
skills_applied: {count}
|
|
146
|
+
validation_score: "{X}/70"
|
|
147
|
+
|
|
148
|
+
# Session Summary
|
|
149
|
+
work_completed: "{brief one-line summary}"
|
|
150
|
+
next_action: "{what to do next}"
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
# WARRIOR Handoff: {Project Name}
|
|
154
|
+
|
|
155
|
+
**Session:** {date}
|
|
156
|
+
**Duration:** {X} hours ({start_time} - {end_time})
|
|
157
|
+
**Phase:** {N} - {name}
|
|
158
|
+
**Status:** {status}
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## W - Work Completed
|
|
163
|
+
|
|
164
|
+
### This Session Accomplished
|
|
165
|
+
|
|
166
|
+
{High-level summary of what was done}
|
|
167
|
+
|
|
168
|
+
**Phases/Plans Completed:**
|
|
169
|
+
- Phase {N}, Plan {NN}: {description} ({X} min, {Y} commits)
|
|
170
|
+
- Phase {N}, Plan {NN}: {description} ({X} min, {Y} commits)
|
|
171
|
+
|
|
172
|
+
**Files Created:**
|
|
173
|
+
| File | Lines | Purpose |
|
|
174
|
+
|------|-------|---------|
|
|
175
|
+
| {path/to/file.ts} | {count} | {purpose} |
|
|
176
|
+
| {path/to/file.ts} | {count} | {purpose} |
|
|
177
|
+
|
|
178
|
+
**Files Modified:**
|
|
179
|
+
| File | Changes | Purpose |
|
|
180
|
+
|------|---------|---------|
|
|
181
|
+
| {path/to/file.ts} | {description} | {purpose} |
|
|
182
|
+
| {path/to/file.ts} | {description} | {purpose} |
|
|
183
|
+
|
|
184
|
+
**Features Implemented:**
|
|
185
|
+
1. **{Feature Name}** - {brief description}
|
|
186
|
+
- Key file: {path}
|
|
187
|
+
- Tests: {path/to/test.ts}
|
|
188
|
+
2. **{Feature Name}** - {brief description}
|
|
189
|
+
- Key file: {path}
|
|
190
|
+
|
|
191
|
+
**Tests Added:**
|
|
192
|
+
- {test-file.ts}: {X} tests covering {feature}
|
|
193
|
+
- {test-file.ts}: {Y} tests covering {feature}
|
|
194
|
+
|
|
195
|
+
**Commits:**
|
|
196
|
+
| Hash | Message | Files |
|
|
197
|
+
|------|---------|-------|
|
|
198
|
+
| {hash} | {message} | {count} |
|
|
199
|
+
| {hash} | {message} | {count} |
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## A - Assessment
|
|
204
|
+
|
|
205
|
+
### What's Complete
|
|
206
|
+
- [x] {Completed item 1}
|
|
207
|
+
- [x] {Completed item 2}
|
|
208
|
+
- [x] {Completed item 3}
|
|
209
|
+
|
|
210
|
+
### What's Partial (In Progress)
|
|
211
|
+
- [ ] {In-progress item} - {X}% complete
|
|
212
|
+
- Done: {what's done}
|
|
213
|
+
- Remaining: {what's left}
|
|
214
|
+
- Estimated: {time to complete}
|
|
215
|
+
|
|
216
|
+
### What's Blocked
|
|
217
|
+
- [ ] {Blocked item}
|
|
218
|
+
- **Blocker:** {specific blocker}
|
|
219
|
+
- **Owner:** {who can unblock}
|
|
220
|
+
- **ETA:** {if known}
|
|
221
|
+
|
|
222
|
+
### Quality Status
|
|
223
|
+
| Metric | Value | Status |
|
|
224
|
+
|--------|-------|--------|
|
|
225
|
+
| Build | {PASSING/FAILING} | {details} |
|
|
226
|
+
| Tests | {X}/{Y} passing | {coverage}% |
|
|
227
|
+
| Lint | {X errors, Y warnings} | {status} |
|
|
228
|
+
| TypeCheck | {status} | {details} |
|
|
229
|
+
| Validation | {X}/70 | {status} |
|
|
230
|
+
|
|
231
|
+
### Known Issues
|
|
232
|
+
| Issue | Severity | Location | Notes |
|
|
233
|
+
|-------|----------|----------|-------|
|
|
234
|
+
| {description} | {HIGH/MED/LOW} | {file:line} | {notes} |
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
## R - Resources
|
|
239
|
+
|
|
240
|
+
### Environment Variables Required
|
|
241
|
+
```bash
|
|
242
|
+
# Required for this project
|
|
243
|
+
{VAR_NAME}={description or hint}
|
|
244
|
+
{VAR_NAME}={description or hint}
|
|
245
|
+
|
|
246
|
+
# Optional
|
|
247
|
+
{VAR_NAME}={description}
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Database State
|
|
251
|
+
- **Type:** {PostgreSQL/MongoDB/etc.}
|
|
252
|
+
- **Migrations:** {status - up to date, pending, etc.}
|
|
253
|
+
- **Seed Data:** {status}
|
|
254
|
+
- **Connection:** {location of connection config}
|
|
255
|
+
|
|
256
|
+
### External Services
|
|
257
|
+
| Service | Status | Credentials Location |
|
|
258
|
+
|---------|--------|---------------------|
|
|
259
|
+
| {service} | {active/inactive} | {.env variable name} |
|
|
260
|
+
| {service} | {active/inactive} | {.env variable name} |
|
|
261
|
+
|
|
262
|
+
### Key URLs
|
|
263
|
+
- **Local Dev:** {url}
|
|
264
|
+
- **API Docs:** {url}
|
|
265
|
+
- **Staging:** {url if applicable}
|
|
266
|
+
- **Docs:** {url}
|
|
267
|
+
|
|
268
|
+
### Important Paths
|
|
269
|
+
- **Project Root:** {absolute path}
|
|
270
|
+
- **Planning Docs:** {path}/.planning/
|
|
271
|
+
- **Skills Library:** ~/.claude/plugins/dominion-flow/skills-library/
|
|
272
|
+
- **Handoffs:** ~/.claude/warrior-handoffs/
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## R - Readiness
|
|
277
|
+
|
|
278
|
+
### Ready For
|
|
279
|
+
{What the next session can immediately start on}
|
|
280
|
+
|
|
281
|
+
1. {Ready item 1} - all prerequisites met
|
|
282
|
+
2. {Ready item 2} - dependencies satisfied
|
|
283
|
+
|
|
284
|
+
### Blocked On
|
|
285
|
+
{What's preventing certain progress}
|
|
286
|
+
|
|
287
|
+
| Item | Blocker | Owner | ETA |
|
|
288
|
+
|------|---------|-------|-----|
|
|
289
|
+
| {item} | {blocker} | {who} | {when} |
|
|
290
|
+
|
|
291
|
+
### Dependencies Status
|
|
292
|
+
|
|
293
|
+
**Satisfied:**
|
|
294
|
+
- [x] {Dependency 1}
|
|
295
|
+
- [x] {Dependency 2}
|
|
296
|
+
|
|
297
|
+
**Pending:**
|
|
298
|
+
- [ ] {Dependency} - {status, who's responsible}
|
|
299
|
+
|
|
300
|
+
### Pre-requisites for Next Phase
|
|
301
|
+
- [ ] {Prerequisite 1}
|
|
302
|
+
- [ ] {Prerequisite 2}
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
## I - Issues
|
|
307
|
+
|
|
308
|
+
### Current Bugs
|
|
309
|
+
| Bug | Severity | File:Line | Status | Notes |
|
|
310
|
+
|-----|----------|-----------|--------|-------|
|
|
311
|
+
| {description} | {HIGH/MED/LOW} | {location} | {open/investigating} | {notes} |
|
|
312
|
+
|
|
313
|
+
### Technical Debt
|
|
314
|
+
| Item | Reason Deferred | Impact | Planned Resolution |
|
|
315
|
+
|------|-----------------|--------|-------------------|
|
|
316
|
+
| {item} | {reason} | {impact} | Phase {N} |
|
|
317
|
+
| {item} | {reason} | {impact} | Phase {N} |
|
|
318
|
+
|
|
319
|
+
### Deferred Items
|
|
320
|
+
| Item | Reason | Phase |
|
|
321
|
+
|------|--------|-------|
|
|
322
|
+
| {item} | {reason} | {N} |
|
|
323
|
+
|
|
324
|
+
### Unresolved Questions
|
|
325
|
+
1. **{Question}**
|
|
326
|
+
- Context: {context}
|
|
327
|
+
- Who might know: {person or resource}
|
|
328
|
+
- Impact if unresolved: {impact}
|
|
329
|
+
|
|
330
|
+
### Assumptions Made (Need Review)
|
|
331
|
+
| Assumption | Location | Risk | Review Priority |
|
|
332
|
+
|------------|----------|------|-----------------|
|
|
333
|
+
| {assumption} | {file:line or decision} | {LOW/MED/HIGH} | {priority} |
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## O - Outlook
|
|
338
|
+
|
|
339
|
+
### Next Session Should
|
|
340
|
+
|
|
341
|
+
**Immediate Priority (Do First):**
|
|
342
|
+
1. **{First action}** (~{time estimate})
|
|
343
|
+
- {Sub-task 1}
|
|
344
|
+
- {Sub-task 2}
|
|
345
|
+
- Verification: {how to verify completion}
|
|
346
|
+
|
|
347
|
+
**Then:**
|
|
348
|
+
2. **{Second action}** (~{time estimate})
|
|
349
|
+
- {Details}
|
|
350
|
+
|
|
351
|
+
3. **{Third action}** (~{time estimate})
|
|
352
|
+
- {Details}
|
|
353
|
+
|
|
354
|
+
### Recommended Approach
|
|
355
|
+
{Specific guidance for how to tackle next work}
|
|
356
|
+
|
|
357
|
+
- Start with: {specific starting point}
|
|
358
|
+
- Watch out for: {potential pitfall}
|
|
359
|
+
- Key file to understand first: {path}
|
|
360
|
+
|
|
361
|
+
### Time Estimates
|
|
362
|
+
| Task | Estimate | Confidence |
|
|
363
|
+
|------|----------|------------|
|
|
364
|
+
| Complete current phase | {X} hours | {HIGH/MED/LOW} |
|
|
365
|
+
| Reach next milestone | {X} hours | {HIGH/MED/LOW} |
|
|
366
|
+
|
|
367
|
+
### Potential Blockers to Watch
|
|
368
|
+
- {Potential issue 1} - mitigation: {approach}
|
|
369
|
+
- {Potential issue 2} - mitigation: {approach}
|
|
370
|
+
|
|
371
|
+
### Long-term Context
|
|
372
|
+
{Anything important about the bigger picture}
|
|
373
|
+
|
|
374
|
+
---
|
|
375
|
+
|
|
376
|
+
## R - References
|
|
377
|
+
|
|
378
|
+
### Skills Applied This Session
|
|
379
|
+
| Skill | Phase/Plan | Application | Impact |
|
|
380
|
+
|-------|------------|-------------|--------|
|
|
381
|
+
| {category/skill} | {N}-{NN} | {what it helped with} | {measurable result} |
|
|
382
|
+
| {category/skill} | {N}-{NN} | {what it helped with} | {measurable result} |
|
|
383
|
+
|
|
384
|
+
### Key Commits This Session
|
|
385
|
+
| Hash | Message | Files | Plan |
|
|
386
|
+
|------|---------|-------|------|
|
|
387
|
+
| {hash} | {message} | {count} | {N}-{NN} |
|
|
388
|
+
| {hash} | {message} | {count} | {N}-{NN} |
|
|
389
|
+
|
|
390
|
+
### Decisions Made
|
|
391
|
+
| Decision | Rationale | Impact | Reversible |
|
|
392
|
+
|----------|-----------|--------|------------|
|
|
393
|
+
| {decision} | {why} | {what it affects} | {yes/no} |
|
|
394
|
+
| {decision} | {why} | {what it affects} | {yes/no} |
|
|
395
|
+
|
|
396
|
+
### Related Documentation
|
|
397
|
+
- {Doc 1}: {path or URL}
|
|
398
|
+
- {Doc 2}: {path or URL}
|
|
399
|
+
|
|
400
|
+
### External Resources Used
|
|
401
|
+
- {Resource}: {URL}
|
|
402
|
+
- {Resource}: {URL}
|
|
403
|
+
|
|
404
|
+
### Planning Artifacts
|
|
405
|
+
- CONSCIENCE.md: {path}/.planning/CONSCIENCE.md
|
|
406
|
+
- VISION.md: {path}/.planning/VISION.md
|
|
407
|
+
- Current Phase: {path}/.planning/phases/{N}-{name}/
|
|
408
|
+
- Verification: {path}/.planning/phases/{N}-{name}/{N}-VERIFICATION.md
|
|
409
|
+
|
|
410
|
+
---
|
|
411
|
+
|
|
412
|
+
## Quick Resume Commands
|
|
413
|
+
|
|
414
|
+
```bash
|
|
415
|
+
# Check current status
|
|
416
|
+
/fire-dashboard
|
|
417
|
+
|
|
418
|
+
# Resume from this handoff
|
|
419
|
+
/fire-6-resume
|
|
420
|
+
|
|
421
|
+
# Continue execution (if mid-phase)
|
|
422
|
+
/fire-3-execute {current_phase}
|
|
423
|
+
|
|
424
|
+
# Plan next phase (if phase complete)
|
|
425
|
+
/fire-2-plan {next_phase}
|
|
426
|
+
|
|
427
|
+
# View skills applied
|
|
428
|
+
cat .planning/SKILLS-INDEX.md
|
|
429
|
+
|
|
430
|
+
# View verification status
|
|
431
|
+
cat .planning/phases/{N}-{name}/{N}-VERIFICATION.md
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
## Session Metrics
|
|
437
|
+
|
|
438
|
+
| Metric | Value |
|
|
439
|
+
|--------|-------|
|
|
440
|
+
| Session Duration | {X} hours |
|
|
441
|
+
| Plans Completed | {count} |
|
|
442
|
+
| Tasks Completed | {count} |
|
|
443
|
+
| Commits | {count} |
|
|
444
|
+
| Files Created | {count} |
|
|
445
|
+
| Files Modified | {count} |
|
|
446
|
+
| Tests Added | {count} |
|
|
447
|
+
| Skills Applied | {count} |
|
|
448
|
+
| Honesty Checkpoints | {count} |
|
|
449
|
+
| Deviations Documented | {count} |
|
|
450
|
+
| Blockers Encountered | {count} |
|
|
451
|
+
|
|
452
|
+
---
|
|
453
|
+
|
|
454
|
+
*Handoff created: {timestamp}*
|
|
455
|
+
*Project: {project_name}*
|
|
456
|
+
*Session: {date}*
|
|
457
|
+
*Next action: {recommended action}*
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
---
|
|
461
|
+
|
|
462
|
+
## Step 4: Update CONSCIENCE.md
|
|
463
|
+
|
|
464
|
+
**Purpose:** Record handoff reference for session continuity.
|
|
465
|
+
|
|
466
|
+
```markdown
|
|
467
|
+
## Session Continuity
|
|
468
|
+
- **Last session:** {timestamp}
|
|
469
|
+
- **Stopped at:** {description of stopping point}
|
|
470
|
+
- **Resume file:** ~/.claude/warrior-handoffs/{project}_{date}.md
|
|
471
|
+
- **Next:** {recommended next action}
|
|
472
|
+
|
|
473
|
+
## Recent Activity
|
|
474
|
+
- **{timestamp}:** Session handoff created
|
|
475
|
+
- **{previous}:** {previous activity}
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
---
|
|
479
|
+
|
|
480
|
+
## Step 5: Save Handoff File
|
|
481
|
+
|
|
482
|
+
**Purpose:** Persist handoff to standard location for retrieval.
|
|
483
|
+
|
|
484
|
+
### File Naming Convention
|
|
485
|
+
|
|
486
|
+
```bash
|
|
487
|
+
# Standard naming
|
|
488
|
+
HANDOFF_FILE=~/.claude/warrior-handoffs/{PROJECT_NAME}_{YYYY-MM-DD}.md
|
|
489
|
+
|
|
490
|
+
# If multiple sessions same day
|
|
491
|
+
HANDOFF_FILE=~/.claude/warrior-handoffs/{PROJECT_NAME}_{YYYY-MM-DD}_{N}.md
|
|
492
|
+
|
|
493
|
+
# Examples:
|
|
494
|
+
# my-project_2026-01-22.md
|
|
495
|
+
# my-project_2026-01-22_2.md (second session same day)
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
### Save Process
|
|
499
|
+
|
|
500
|
+
```bash
|
|
501
|
+
# Ensure directory exists
|
|
502
|
+
mkdir -p ~/.claude/warrior-handoffs/
|
|
503
|
+
|
|
504
|
+
# Write handoff file
|
|
505
|
+
write {HANDOFF_CONTENT} to {HANDOFF_FILE}
|
|
506
|
+
|
|
507
|
+
# Verify write
|
|
508
|
+
if [ -f "$HANDOFF_FILE" ]; then
|
|
509
|
+
echo "Handoff saved successfully"
|
|
510
|
+
else
|
|
511
|
+
echo "ERROR: Failed to save handoff"
|
|
512
|
+
fi
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
---
|
|
516
|
+
|
|
517
|
+
## Step 6: Display Completion Summary
|
|
518
|
+
|
|
519
|
+
**Purpose:** Confirm handoff creation and provide next steps.
|
|
520
|
+
|
|
521
|
+
```
|
|
522
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
523
|
+
║ HANDOFF CREATED ║
|
|
524
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
525
|
+
║ ║
|
|
526
|
+
║ Project: {project_name} ║
|
|
527
|
+
║ Session: {date} ║
|
|
528
|
+
║ Duration: {X} hours ║
|
|
529
|
+
║ ║
|
|
530
|
+
║ Summary: ║
|
|
531
|
+
║ Plans completed: {count} ║
|
|
532
|
+
║ Commits: {count} ║
|
|
533
|
+
║ Files changed: {created + modified} ║
|
|
534
|
+
║ Skills applied: {count} ║
|
|
535
|
+
║ Tests: {passing}/{total} ║
|
|
536
|
+
║ ║
|
|
537
|
+
║ Saved To: ║
|
|
538
|
+
║ {handoff_file_path} ║
|
|
539
|
+
║ ║
|
|
540
|
+
║ CONSCIENCE.md: Updated ║
|
|
541
|
+
║ ║
|
|
542
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
543
|
+
║ NEXT SESSION ║
|
|
544
|
+
├──────────────────────────────────────────────────────────────────────────────┤
|
|
545
|
+
║ ║
|
|
546
|
+
║ Run `/fire-6-resume` to restore full context ║
|
|
547
|
+
║ ║
|
|
548
|
+
║ Priority: {next recommended action} ║
|
|
549
|
+
║ Estimate: {time estimate for next action} ║
|
|
550
|
+
║ ║
|
|
551
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
</process>
|
|
555
|
+
|
|
556
|
+
---
|
|
557
|
+
|
|
558
|
+
## Agent Spawning
|
|
559
|
+
|
|
560
|
+
This workflow does NOT spawn agents. It compiles information from existing documents created by executors and verifiers.
|
|
561
|
+
|
|
562
|
+
**Rationale:** Handoff creation is a compilation task, not an execution task. All the information needed already exists in RECORD.md files and CONSCIENCE.md.
|
|
563
|
+
|
|
564
|
+
---
|
|
565
|
+
|
|
566
|
+
## Success Criteria
|
|
567
|
+
|
|
568
|
+
### Required Outputs
|
|
569
|
+
- [ ] Handoff file created at `~/.claude/warrior-handoffs/{project}_{date}.md`
|
|
570
|
+
- [ ] All 7 WARRIOR sections populated (W-A-R-R-I-O-R)
|
|
571
|
+
- [ ] Dominion Flow Metrics included in frontmatter
|
|
572
|
+
- [ ] CONSCIENCE.md updated with handoff reference
|
|
573
|
+
- [ ] Quick resume commands included
|
|
574
|
+
|
|
575
|
+
### Handoff Quality Checklist
|
|
576
|
+
|
|
577
|
+
| Section | Requirement |
|
|
578
|
+
|---------|-------------|
|
|
579
|
+
| **W (Work)** | All completed work documented with file references and commits |
|
|
580
|
+
| **A (Assessment)** | Clear status of complete/partial/blocked items with quality metrics |
|
|
581
|
+
| **R (Resources)** | All required env vars, credentials, database state, URLs documented |
|
|
582
|
+
| **R (Readiness)** | Clear statement of what's ready vs blocked with owners |
|
|
583
|
+
| **I (Issues)** | All bugs, debt, deferred items, questions, assumptions captured |
|
|
584
|
+
| **O (Outlook)** | Specific next steps with time estimates and recommended approach |
|
|
585
|
+
| **R (References)** | Skills, commits, decisions, and related docs linked |
|
|
586
|
+
|
|
587
|
+
### Completeness Verification
|
|
588
|
+
|
|
589
|
+
Before finalizing handoff, verify:
|
|
590
|
+
- [ ] Someone reading this could continue without questions
|
|
591
|
+
- [ ] All blockers have owners and context
|
|
592
|
+
- [ ] All assumptions are flagged for review
|
|
593
|
+
- [ ] Time estimates are realistic
|
|
594
|
+
- [ ] Paths are absolute, not relative
|
|
595
|
+
- [ ] Commands are copy-pasteable
|
|
596
|
+
|
|
597
|
+
---
|
|
598
|
+
|
|
599
|
+
## Error Handling
|
|
600
|
+
|
|
601
|
+
### No CONSCIENCE.md Found
|
|
602
|
+
|
|
603
|
+
```
|
|
604
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
605
|
+
║ ERROR: Project Not Initialized ║
|
|
606
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
607
|
+
║ ║
|
|
608
|
+
║ No .planning/CONSCIENCE.md found. ║
|
|
609
|
+
║ ║
|
|
610
|
+
║ Action: Run `/fire-1-new` to initialize project first. ║
|
|
611
|
+
║ ║
|
|
612
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
613
|
+
```
|
|
614
|
+
|
|
615
|
+
### No Work to Handoff
|
|
616
|
+
|
|
617
|
+
```
|
|
618
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
619
|
+
│ WARNING: No Recent Work Detected │
|
|
620
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
621
|
+
│ │
|
|
622
|
+
│ No RECORD.md files found since last handoff. │
|
|
623
|
+
│ │
|
|
624
|
+
│ Options: │
|
|
625
|
+
│ A) Create minimal handoff with current state (state-only) │
|
|
626
|
+
│ B) Cancel handoff creation │
|
|
627
|
+
│ │
|
|
628
|
+
│ Note: A minimal handoff still captures project state and next actions. │
|
|
629
|
+
│ │
|
|
630
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
### Cannot Write to Handoffs Directory
|
|
634
|
+
|
|
635
|
+
```
|
|
636
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
637
|
+
║ ERROR: Cannot Save Handoff ║
|
|
638
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
639
|
+
║ ║
|
|
640
|
+
║ Cannot write to: ~/.claude/warrior-handoffs/ ║
|
|
641
|
+
║ ║
|
|
642
|
+
║ Action: Create directory and retry: ║
|
|
643
|
+
║ mkdir -p ~/.claude/warrior-handoffs/ ║
|
|
644
|
+
║ ║
|
|
645
|
+
║ Or use --no-save to display handoff without saving. ║
|
|
646
|
+
║ ║
|
|
647
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
### Incomplete Session Data
|
|
651
|
+
|
|
652
|
+
If some data is missing (e.g., no commits, no SUMMARY files):
|
|
653
|
+
|
|
654
|
+
```
|
|
655
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
656
|
+
│ WARNING: Incomplete Session Data │
|
|
657
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
658
|
+
│ │
|
|
659
|
+
│ Missing data for complete handoff: │
|
|
660
|
+
│ - No commits found since last handoff │
|
|
661
|
+
│ - No RECORD.md files found │
|
|
662
|
+
│ │
|
|
663
|
+
│ Proceeding with available data. Some sections may be incomplete. │
|
|
664
|
+
│ │
|
|
665
|
+
│ Sections affected: │
|
|
666
|
+
│ - W (Work): Limited to CONSCIENCE.md changes only │
|
|
667
|
+
│ - R (References): No commit history │
|
|
668
|
+
│ │
|
|
669
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
---
|
|
673
|
+
|
|
674
|
+
## References
|
|
675
|
+
|
|
676
|
+
- **Template:** `@templates/fire-handoff.md` - Unified handoff format
|
|
677
|
+
- **Protocol:** `@references/honesty-protocols.md` - WARRIOR foundation
|
|
678
|
+
- **Brand:** `@references/ui-brand.md` - Visual output standards
|