@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,515 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create comprehensive session handoff for next AI agent
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-5-handoff
|
|
6
|
+
|
|
7
|
+
> Create comprehensive session handoff using WARRIOR 7-step framework
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
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 document captures complete session context to enable seamless resumption in the next session with zero information loss.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Arguments
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
arguments: none
|
|
21
|
+
|
|
22
|
+
optional_flags:
|
|
23
|
+
--quick: "Generate abbreviated handoff (skip detailed sections)"
|
|
24
|
+
--include-code: "Include key code snippets in handoff"
|
|
25
|
+
--no-save: "Display handoff without saving to file"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Process
|
|
31
|
+
|
|
32
|
+
### Step 1: Gather Session Context
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
|
|
36
|
+
DOMINION FLOW > SESSION HANDOFF
|
|
37
|
+
â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Read Current CONSCIENCE.md:**
|
|
41
|
+
```markdown
|
|
42
|
+
@.planning/CONSCIENCE.md
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Extract:**
|
|
46
|
+
- Project name and core value
|
|
47
|
+
- Current phase and status
|
|
48
|
+
- Progress percentage
|
|
49
|
+
- Skills applied this session
|
|
50
|
+
- Decisions made
|
|
51
|
+
- Blockers encountered
|
|
52
|
+
|
|
53
|
+
### Step 2: Collect All Session Summaries
|
|
54
|
+
|
|
55
|
+
**Find RECORD.md files from current session:**
|
|
56
|
+
```bash
|
|
57
|
+
# Find summaries modified today or since last handoff
|
|
58
|
+
find .planning/phases/ -name "*-RECORD.md" -newer .planning/CONSCIENCE.md
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Aggregate from summaries:**
|
|
62
|
+
- Tasks completed
|
|
63
|
+
- Files created/modified
|
|
64
|
+
- Skills applied
|
|
65
|
+
- Honesty checkpoints
|
|
66
|
+
- Key decisions
|
|
67
|
+
- Issues encountered
|
|
68
|
+
|
|
69
|
+
### Step 3: Compile WARRIOR 7-Step Handoff
|
|
70
|
+
|
|
71
|
+
Create the handoff document following the W-A-R-R-I-O-R framework:
|
|
72
|
+
|
|
73
|
+
```markdown
|
|
74
|
+
---
|
|
75
|
+
# Handoff Metadata
|
|
76
|
+
project: {project_name}
|
|
77
|
+
session_date: {YYYY-MM-DD}
|
|
78
|
+
session_start: {ISO timestamp}
|
|
79
|
+
session_end: {ISO timestamp}
|
|
80
|
+
phase: {current_phase}
|
|
81
|
+
status: {status}
|
|
82
|
+
|
|
83
|
+
# Dominion Flow Metrics
|
|
84
|
+
phases_completed: {list}
|
|
85
|
+
plans_executed: {count}
|
|
86
|
+
total_duration: "{X} hours"
|
|
87
|
+
skills_applied: {count}
|
|
88
|
+
validation_score: {X}/70
|
|
89
|
+
|
|
90
|
+
# Session Summary
|
|
91
|
+
work_completed: "{brief summary}"
|
|
92
|
+
next_action: "{what to do next}"
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
# WARRIOR Handoff: {Project Name}
|
|
96
|
+
|
|
97
|
+
**Session:** {date}
|
|
98
|
+
**Duration:** {X} hours
|
|
99
|
+
**Phase:** {N} - {name}
|
|
100
|
+
**Status:** {status}
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## W - Work Completed
|
|
105
|
+
|
|
106
|
+
### This Session Accomplished:
|
|
107
|
+
{Aggregate from all RECORD.md files}
|
|
108
|
+
|
|
109
|
+
**Phases/Plans Completed:**
|
|
110
|
+
- Phase {N}, Plan {NN}: {description}
|
|
111
|
+
- Phase {N}, Plan {NN}: {description}
|
|
112
|
+
|
|
113
|
+
**Files Created:**
|
|
114
|
+
| File | Lines | Purpose |
|
|
115
|
+
|------|-------|---------|
|
|
116
|
+
| {path} | {count} | {purpose} |
|
|
117
|
+
|
|
118
|
+
**Files Modified:**
|
|
119
|
+
| File | Changes | Purpose |
|
|
120
|
+
|------|---------|---------|
|
|
121
|
+
| {path} | {description} | {purpose} |
|
|
122
|
+
|
|
123
|
+
**Features Implemented:**
|
|
124
|
+
1. {Feature 1} - {brief description}
|
|
125
|
+
2. {Feature 2} - {brief description}
|
|
126
|
+
|
|
127
|
+
**Tests Added:**
|
|
128
|
+
- {test file}: {X} tests covering {feature}
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## A - Assessment
|
|
133
|
+
|
|
134
|
+
### What's Complete:
|
|
135
|
+
- ✓ {Completed item 1}
|
|
136
|
+
- ✓ {Completed item 2}
|
|
137
|
+
|
|
138
|
+
### What's Partial:
|
|
139
|
+
- â—† {In-progress item} - {percentage complete, what remains}
|
|
140
|
+
|
|
141
|
+
### What's Blocked:
|
|
142
|
+
- ✗ {Blocked item} - {reason, who/what can unblock}
|
|
143
|
+
|
|
144
|
+
### Quality Status:
|
|
145
|
+
- **Build:** PASSING | FAILING
|
|
146
|
+
- **Tests:** {X}/{Y} passing
|
|
147
|
+
- **Coverage:** {X}%
|
|
148
|
+
- **Lint:** {status}
|
|
149
|
+
- **Validation:** {X}/70 checks
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## R - Resources
|
|
154
|
+
|
|
155
|
+
### Environment Variables Required:
|
|
156
|
+
```bash
|
|
157
|
+
{env vars needed for this project}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Database State:
|
|
161
|
+
- **Migrations:** {status}
|
|
162
|
+
- **Seed Data:** {status}
|
|
163
|
+
- **Connection:** {connection string location}
|
|
164
|
+
|
|
165
|
+
### External Services:
|
|
166
|
+
| Service | Status | Credentials Location |
|
|
167
|
+
|---------|--------|---------------------|
|
|
168
|
+
| {service} | {status} | {location} |
|
|
169
|
+
|
|
170
|
+
### Key URLs:
|
|
171
|
+
- **Local Dev:** {url}
|
|
172
|
+
- **Staging:** {url}
|
|
173
|
+
- **Production:** {url}
|
|
174
|
+
- **Docs:** {url}
|
|
175
|
+
|
|
176
|
+
### Important Paths:
|
|
177
|
+
- **Project Root:** {path}
|
|
178
|
+
- **Planning Docs:** {path}/.planning/
|
|
179
|
+
- **Skills Library:** ~/.claude/plugins/dominion-flow/skills-library/
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## R - Readiness
|
|
184
|
+
|
|
185
|
+
### Ready For:
|
|
186
|
+
- {What the next session can immediately start on}
|
|
187
|
+
|
|
188
|
+
### Blocked On:
|
|
189
|
+
- {What's preventing progress}
|
|
190
|
+
- **Blocker:** {description}
|
|
191
|
+
- **Owner:** {who can resolve}
|
|
192
|
+
- **ETA:** {if known}
|
|
193
|
+
|
|
194
|
+
### Dependencies Satisfied:
|
|
195
|
+
- ✓ {Dependency 1}
|
|
196
|
+
- ✓ {Dependency 2}
|
|
197
|
+
|
|
198
|
+
### Dependencies Pending:
|
|
199
|
+
- â—‹ {Dependency} - {status, who's responsible}
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## I - Issues
|
|
204
|
+
|
|
205
|
+
### Known Bugs:
|
|
206
|
+
| Issue | Severity | File:Line | Notes |
|
|
207
|
+
|-------|----------|-----------|-------|
|
|
208
|
+
| {description} | HIGH/MED/LOW | {location} | {notes} |
|
|
209
|
+
|
|
210
|
+
### Technical Debt:
|
|
211
|
+
- {Item 1} - {why it was deferred}
|
|
212
|
+
- {Item 2} - {planned resolution phase}
|
|
213
|
+
|
|
214
|
+
### Deferred Items:
|
|
215
|
+
| Item | Reason | Planned Phase |
|
|
216
|
+
|------|--------|---------------|
|
|
217
|
+
| {item} | {reason} | Phase {N} |
|
|
218
|
+
|
|
219
|
+
### Unresolved Questions:
|
|
220
|
+
1. {Question} - {context, who might know}
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## O - Outlook
|
|
225
|
+
|
|
226
|
+
### Next Session Should:
|
|
227
|
+
|
|
228
|
+
**Immediate Priority:**
|
|
229
|
+
1. {First thing to do} (~{time estimate})
|
|
230
|
+
|
|
231
|
+
**Then:**
|
|
232
|
+
2. {Second priority} (~{time estimate})
|
|
233
|
+
3. {Third priority} (~{time estimate})
|
|
234
|
+
|
|
235
|
+
### Recommended Approach:
|
|
236
|
+
{Specific guidance for how to tackle next work}
|
|
237
|
+
|
|
238
|
+
### Time Estimate:
|
|
239
|
+
- **To complete current phase:** ~{X} hours
|
|
240
|
+
- **To reach next milestone:** ~{X} hours
|
|
241
|
+
|
|
242
|
+
### Watch Out For:
|
|
243
|
+
- {Potential issue 1}
|
|
244
|
+
- {Potential issue 2}
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## R - References
|
|
249
|
+
|
|
250
|
+
### Skills Applied This Session:
|
|
251
|
+
| Skill | Phase/Plan | Impact |
|
|
252
|
+
|-------|------------|--------|
|
|
253
|
+
| {category/skill} | {N}-{NN} | {what it helped with} |
|
|
254
|
+
|
|
255
|
+
### Key Commits:
|
|
256
|
+
| Commit | Message | Files Changed |
|
|
257
|
+
|--------|---------|---------------|
|
|
258
|
+
| {hash} | {message} | {count} |
|
|
259
|
+
|
|
260
|
+
### Related Documentation:
|
|
261
|
+
- {Doc 1}: {path or URL}
|
|
262
|
+
- {Doc 2}: {path or URL}
|
|
263
|
+
|
|
264
|
+
### Decisions Made:
|
|
265
|
+
| Decision | Rationale | Impact |
|
|
266
|
+
|----------|-----------|--------|
|
|
267
|
+
| {decision} | {why} | {what it affects} |
|
|
268
|
+
|
|
269
|
+
### External Resources Used:
|
|
270
|
+
- {Resource 1}: {URL}
|
|
271
|
+
- {Resource 2}: {URL}
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## F - Feedback Pairs
|
|
276
|
+
|
|
277
|
+
> **Research basis (v6.0):** CoALA (Berkeley 2024) specifies episodic memory should store both positive and negative outcomes with structured labels, enabling future agents to avoid known pitfalls and replicate successes.
|
|
278
|
+
|
|
279
|
+
### What Worked
|
|
280
|
+
| Pattern | Context | Why It Worked |
|
|
281
|
+
|---------|---------|---------------|
|
|
282
|
+
| {pattern} | {when/where applied} | {explanation of success} |
|
|
283
|
+
|
|
284
|
+
### What To Avoid
|
|
285
|
+
| Anti-Pattern | Context | Why It Failed | Category (v7.0) |
|
|
286
|
+
|-------------|---------|---------------|-----------------|
|
|
287
|
+
| {anti-pattern} | {when/where encountered} | {explanation of failure} | {MEMORY\|REFLECTION\|PLANNING\|ACTION\|SYSTEM} |
|
|
288
|
+
|
|
289
|
+
### Key Insight (if any)
|
|
290
|
+
{One-sentence reusable lesson from this session — the kind of thing that should become a behavioral directive if confirmed across 3 sessions}
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## G — Replay Sequences (v7.0)
|
|
295
|
+
|
|
296
|
+
> **Research basis:** AgentRR (May 2025) — multi-level record/replay enables
|
|
297
|
+
> both exact replay for identical issues and adapted replay for similar ones.
|
|
298
|
+
|
|
299
|
+
### Replayable Resolutions
|
|
300
|
+
| Issue | Preconditions | Steps | Confidence |
|
|
301
|
+
|-------|--------------|-------|------------|
|
|
302
|
+
| {slug} | {key preconditions} | {step count} steps | {HIGH\|MEDIUM} |
|
|
303
|
+
|
|
304
|
+
{Link to .planning/debug/resolved/{slug}-replay.json for each resolved debug session}
|
|
305
|
+
|
|
306
|
+
**HIGH confidence** = identical preconditions likely to hold (same project, same deps).
|
|
307
|
+
**MEDIUM confidence** = preconditions may differ (different project, adapted approach).
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## Quick Resume Commands
|
|
312
|
+
|
|
313
|
+
```bash
|
|
314
|
+
# Check current status
|
|
315
|
+
/fire-dashboard
|
|
316
|
+
|
|
317
|
+
# Resume from this handoff
|
|
318
|
+
/fire-6-resume
|
|
319
|
+
|
|
320
|
+
# Continue execution (if mid-phase)
|
|
321
|
+
/fire-3-execute {current_phase}
|
|
322
|
+
|
|
323
|
+
# Plan next phase (if phase complete)
|
|
324
|
+
/fire-2-plan {next_phase}
|
|
325
|
+
|
|
326
|
+
# View skills applied
|
|
327
|
+
cat .planning/SKILLS-INDEX.md
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
---
|
|
331
|
+
|
|
332
|
+
*Handoff created: {timestamp}*
|
|
333
|
+
*Project: {project_name}*
|
|
334
|
+
*Session: {date}*
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Step 3.5: Handoff Quality Scoring (v10.0)
|
|
338
|
+
|
|
339
|
+
Before saving, score the handoff on the 5-Factor Completeness Scale:
|
|
340
|
+
|
|
341
|
+
| Factor | Required? | Points | Check |
|
|
342
|
+
|--------|-----------|--------|-------|
|
|
343
|
+
| STATE | Yes | 20 | Current phase, task, progress % present |
|
|
344
|
+
| FILES | Yes | 20 | Every modified file listed with change summary |
|
|
345
|
+
| ISSUES | Yes | 20 | Known bugs, blockers, workarounds documented |
|
|
346
|
+
| COMMANDS | Yes | 20 | Build, run, test commands present |
|
|
347
|
+
| CONTEXT | Yes | 20 | Decisions made, alternatives rejected, WHY documented |
|
|
348
|
+
|
|
349
|
+
**Scoring:**
|
|
350
|
+
- Each factor: 0 (missing), 10 (partial), 20 (complete)
|
|
351
|
+
- Total: 0-100
|
|
352
|
+
|
|
353
|
+
**Display:**
|
|
354
|
+
```
|
|
355
|
+
◆ Handoff Quality Score: {N}/100
|
|
356
|
+
|
|
357
|
+
STATE: {score}/20 {✓ | ⚠ partial | ✗ missing}
|
|
358
|
+
FILES: {score}/20 {✓ | ⚠ partial | ✗ missing}
|
|
359
|
+
ISSUES: {score}/20 {✓ | ⚠ partial | ✗ missing}
|
|
360
|
+
COMMANDS: {score}/20 {✓ | ⚠ partial | ✗ missing}
|
|
361
|
+
CONTEXT: {score}/20 {✓ | ⚠ partial | ✗ missing}
|
|
362
|
+
|
|
363
|
+
Rating: {Excellent ≥90 | Good ≥70 | Needs Work ≥50 | Incomplete <50}
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
**IF score < 70:**
|
|
367
|
+
Use AskUserQuestion:
|
|
368
|
+
header: "Handoff quality"
|
|
369
|
+
question: "Handoff scored {N}/100. Missing: {list}. Improve before saving?"
|
|
370
|
+
options:
|
|
371
|
+
- "Improve now" — Return to Step 3, fill gaps
|
|
372
|
+
- "Save as-is" — Accept current quality
|
|
373
|
+
|
|
374
|
+
**IF score >= 70:**
|
|
375
|
+
Proceed to Step 4.
|
|
376
|
+
|
|
377
|
+
### Step 4: Update CONSCIENCE.md
|
|
378
|
+
|
|
379
|
+
Add handoff reference:
|
|
380
|
+
|
|
381
|
+
```markdown
|
|
382
|
+
## Session Continuity
|
|
383
|
+
- Last session: {timestamp}
|
|
384
|
+
- Stopped at: {description}
|
|
385
|
+
- Resume file: ~/.claude/warrior-handoffs/{project}_{date}.md
|
|
386
|
+
- Next: {recommended action}
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
### Step 5: Save Handoff File
|
|
390
|
+
|
|
391
|
+
**Save Location:**
|
|
392
|
+
```
|
|
393
|
+
~/.claude/warrior-handoffs/{PROJECT_NAME}_{YYYY-MM-DD}.md
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
**Naming Convention:**
|
|
397
|
+
- Use project name from CONSCIENCE.md
|
|
398
|
+
- Use current date
|
|
399
|
+
- Example: `my-project_2026-01-22.md`
|
|
400
|
+
|
|
401
|
+
### Step 6: Display Confirmation
|
|
402
|
+
|
|
403
|
+
```
|
|
404
|
+
â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
|
|
405
|
+
║ ✓ HANDOFF CREATED ║
|
|
406
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
407
|
+
â•‘ â•‘
|
|
408
|
+
â•‘ Project: {project_name} â•‘
|
|
409
|
+
â•‘ Session: {date} â•‘
|
|
410
|
+
â•‘ Duration: {X} hours â•‘
|
|
411
|
+
â•‘ â•‘
|
|
412
|
+
â•‘ Summary: â•‘
|
|
413
|
+
║ ✓ Plans completed: {count} ║
|
|
414
|
+
║ ✓ Files changed: {count} ║
|
|
415
|
+
║ ✓ Skills applied: {count} ║
|
|
416
|
+
║ ✓ Tests passing: {X}/{Y} ║
|
|
417
|
+
â•‘ â•‘
|
|
418
|
+
â•‘ Saved To: â•‘
|
|
419
|
+
â•‘ ~/.claude/warrior-handoffs/{project}_{date}.md â•‘
|
|
420
|
+
â•‘ â•‘
|
|
421
|
+
║ CONSCIENCE.md Updated: ✓ ║
|
|
422
|
+
â•‘ â•‘
|
|
423
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
424
|
+
â•‘ NEXT SESSION â•‘
|
|
425
|
+
├──────────────────────────────────────────────────────────────────────────────┤
|
|
426
|
+
â•‘ â•‘
|
|
427
|
+
â•‘ Run `/fire-6-resume` to restore full context â•‘
|
|
428
|
+
â•‘ â•‘
|
|
429
|
+
â•‘ Priority: {next recommended action} â•‘
|
|
430
|
+
â•‘ â•‘
|
|
431
|
+
╚â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
## Agent Spawning
|
|
437
|
+
|
|
438
|
+
This command does NOT spawn agents. It compiles information from existing documents.
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
## Success Criteria
|
|
443
|
+
|
|
444
|
+
### Required Outputs
|
|
445
|
+
- [ ] Handoff file created at `~/.claude/warrior-handoffs/{project}_{date}.md`
|
|
446
|
+
- [ ] All 7 WARRIOR sections populated
|
|
447
|
+
- [ ] Dominion Flow Metrics included in frontmatter
|
|
448
|
+
- [ ] CONSCIENCE.md updated with handoff reference
|
|
449
|
+
- [ ] Quick resume commands included
|
|
450
|
+
|
|
451
|
+
### Handoff Quality Checklist
|
|
452
|
+
- [ ] **W (Work):** All completed work documented with file references
|
|
453
|
+
- [ ] **A (Assessment):** Clear status of complete/partial/blocked items
|
|
454
|
+
- [ ] **R (Resources):** All required env vars, credentials, URLs documented
|
|
455
|
+
- [ ] **R (Readiness):** Clear statement of what's ready and what's blocked
|
|
456
|
+
- [ ] **I (Issues):** All known bugs, debt, and questions captured
|
|
457
|
+
- [ ] **O (Outlook):** Specific next steps with time estimates
|
|
458
|
+
- [ ] **R (References):** Skills, commits, decisions, and docs linked
|
|
459
|
+
|
|
460
|
+
---
|
|
461
|
+
|
|
462
|
+
## Error Handling
|
|
463
|
+
|
|
464
|
+
### No CONSCIENCE.md Found
|
|
465
|
+
|
|
466
|
+
```
|
|
467
|
+
â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
|
|
468
|
+
║ ✗ ERROR: Project Not Initialized ║
|
|
469
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
470
|
+
â•‘ â•‘
|
|
471
|
+
â•‘ No .planning/CONSCIENCE.md found. â•‘
|
|
472
|
+
â•‘ â•‘
|
|
473
|
+
â•‘ Action: Run `/fire-1-new` to initialize project first. â•‘
|
|
474
|
+
â•‘ â•‘
|
|
475
|
+
╚â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
### No Work to Handoff
|
|
479
|
+
|
|
480
|
+
```
|
|
481
|
+
┌─────────────────────────────────────────────────────────────────────────────â”
|
|
482
|
+
│ ⚠WARNING: No Recent Work │
|
|
483
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
484
|
+
│ │
|
|
485
|
+
│ No RECORD.md files found since last handoff. │
|
|
486
|
+
│ │
|
|
487
|
+
│ Options: │
|
|
488
|
+
│ A) Create minimal handoff with current state │
|
|
489
|
+
│ B) Cancel handoff creation │
|
|
490
|
+
│ │
|
|
491
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
### Cannot Write to Handoffs Directory
|
|
495
|
+
|
|
496
|
+
```
|
|
497
|
+
â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
|
|
498
|
+
║ ✗ ERROR: Cannot Save Handoff ║
|
|
499
|
+
â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
|
|
500
|
+
â•‘ â•‘
|
|
501
|
+
â•‘ Cannot write to: ~/.claude/warrior-handoffs/ â•‘
|
|
502
|
+
â•‘ â•‘
|
|
503
|
+
â•‘ Action: Check permissions or create directory: â•‘
|
|
504
|
+
â•‘ mkdir -p ~/.claude/warrior-handoffs/ â•‘
|
|
505
|
+
â•‘ â•‘
|
|
506
|
+
╚â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
---
|
|
510
|
+
|
|
511
|
+
## References
|
|
512
|
+
|
|
513
|
+
- **Template:** `@templates/fire-handoff.md` - Unified handoff format
|
|
514
|
+
- **Protocol:** `@references/honesty-protocols.md` - WARRIOR foundation
|
|
515
|
+
- **Brand:** `@references/ui-brand.md` - Visual output standards
|