@accelerationguy/accel 1.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.md +19 -0
- package/LICENSE +33 -0
- package/README.md +275 -0
- package/bin/install.js +661 -0
- package/docs/getting-started.md +164 -0
- package/docs/module-guide.md +139 -0
- package/modules/drive/LICENSE +21 -0
- package/modules/drive/PAUL-VS-GSD.md +171 -0
- package/modules/drive/README.md +555 -0
- package/modules/drive/assets/terminal.svg +67 -0
- package/modules/drive/bin/install.js +210 -0
- package/modules/drive/integration.js +76 -0
- package/modules/drive/package.json +38 -0
- package/modules/drive/src/commands/add-phase.md +36 -0
- package/modules/drive/src/commands/apply.md +83 -0
- package/modules/drive/src/commands/assumptions.md +37 -0
- package/modules/drive/src/commands/audit.md +57 -0
- package/modules/drive/src/commands/complete-milestone.md +36 -0
- package/modules/drive/src/commands/config.md +175 -0
- package/modules/drive/src/commands/consider-issues.md +41 -0
- package/modules/drive/src/commands/discover.md +48 -0
- package/modules/drive/src/commands/discuss-milestone.md +33 -0
- package/modules/drive/src/commands/discuss.md +34 -0
- package/modules/drive/src/commands/flows.md +73 -0
- package/modules/drive/src/commands/handoff.md +201 -0
- package/modules/drive/src/commands/help.md +525 -0
- package/modules/drive/src/commands/init.md +54 -0
- package/modules/drive/src/commands/map-codebase.md +34 -0
- package/modules/drive/src/commands/milestone.md +34 -0
- package/modules/drive/src/commands/pause.md +44 -0
- package/modules/drive/src/commands/plan-fix.md +216 -0
- package/modules/drive/src/commands/plan.md +36 -0
- package/modules/drive/src/commands/progress.md +138 -0
- package/modules/drive/src/commands/register.md +29 -0
- package/modules/drive/src/commands/remove-phase.md +37 -0
- package/modules/drive/src/commands/research-phase.md +209 -0
- package/modules/drive/src/commands/research.md +47 -0
- package/modules/drive/src/commands/resume.md +49 -0
- package/modules/drive/src/commands/status.md +78 -0
- package/modules/drive/src/commands/unify.md +87 -0
- package/modules/drive/src/commands/verify.md +60 -0
- package/modules/drive/src/references/checkpoints.md +234 -0
- package/modules/drive/src/references/context-management.md +219 -0
- package/modules/drive/src/references/git-strategy.md +206 -0
- package/modules/drive/src/references/loop-phases.md +254 -0
- package/modules/drive/src/references/plan-format.md +263 -0
- package/modules/drive/src/references/quality-principles.md +152 -0
- package/modules/drive/src/references/research-quality-control.md +247 -0
- package/modules/drive/src/references/sonarqube-integration.md +244 -0
- package/modules/drive/src/references/specialized-workflow-integration.md +186 -0
- package/modules/drive/src/references/subagent-criteria.md +179 -0
- package/modules/drive/src/references/tdd.md +219 -0
- package/modules/drive/src/references/work-units.md +161 -0
- package/modules/drive/src/rules/commands.md +108 -0
- package/modules/drive/src/rules/references.md +107 -0
- package/modules/drive/src/rules/style.md +123 -0
- package/modules/drive/src/rules/templates.md +51 -0
- package/modules/drive/src/rules/workflows.md +133 -0
- package/modules/drive/src/templates/CONTEXT.md +88 -0
- package/modules/drive/src/templates/DEBUG.md +164 -0
- package/modules/drive/src/templates/DISCOVERY.md +148 -0
- package/modules/drive/src/templates/HANDOFF.md +77 -0
- package/modules/drive/src/templates/ISSUES.md +93 -0
- package/modules/drive/src/templates/MILESTONES.md +167 -0
- package/modules/drive/src/templates/PLAN.md +328 -0
- package/modules/drive/src/templates/PROJECT.md +219 -0
- package/modules/drive/src/templates/RESEARCH.md +130 -0
- package/modules/drive/src/templates/ROADMAP.md +328 -0
- package/modules/drive/src/templates/SPECIAL-FLOWS.md +70 -0
- package/modules/drive/src/templates/STATE.md +210 -0
- package/modules/drive/src/templates/SUMMARY.md +221 -0
- package/modules/drive/src/templates/UAT-ISSUES.md +139 -0
- package/modules/drive/src/templates/codebase/architecture.md +259 -0
- package/modules/drive/src/templates/codebase/concerns.md +329 -0
- package/modules/drive/src/templates/codebase/conventions.md +311 -0
- package/modules/drive/src/templates/codebase/integrations.md +284 -0
- package/modules/drive/src/templates/codebase/stack.md +190 -0
- package/modules/drive/src/templates/codebase/structure.md +287 -0
- package/modules/drive/src/templates/codebase/testing.md +484 -0
- package/modules/drive/src/templates/config.md +181 -0
- package/modules/drive/src/templates/milestone-archive.md +236 -0
- package/modules/drive/src/templates/milestone-context.md +190 -0
- package/modules/drive/src/templates/paul-json.md +147 -0
- package/modules/drive/src/vector-config/PAUL +26 -0
- package/modules/drive/src/vector-config/PAUL.manifest +11 -0
- package/modules/drive/src/workflows/apply-phase.md +393 -0
- package/modules/drive/src/workflows/audit-plan.md +344 -0
- package/modules/drive/src/workflows/complete-milestone.md +479 -0
- package/modules/drive/src/workflows/configure-special-flows.md +283 -0
- package/modules/drive/src/workflows/consider-issues.md +172 -0
- package/modules/drive/src/workflows/create-milestone.md +268 -0
- package/modules/drive/src/workflows/debug.md +292 -0
- package/modules/drive/src/workflows/discovery.md +187 -0
- package/modules/drive/src/workflows/discuss-milestone.md +245 -0
- package/modules/drive/src/workflows/discuss-phase.md +231 -0
- package/modules/drive/src/workflows/init-project.md +698 -0
- package/modules/drive/src/workflows/map-codebase.md +459 -0
- package/modules/drive/src/workflows/pause-work.md +259 -0
- package/modules/drive/src/workflows/phase-assumptions.md +181 -0
- package/modules/drive/src/workflows/plan-phase.md +385 -0
- package/modules/drive/src/workflows/quality-gate.md +263 -0
- package/modules/drive/src/workflows/register-manifest.md +107 -0
- package/modules/drive/src/workflows/research.md +241 -0
- package/modules/drive/src/workflows/resume-project.md +200 -0
- package/modules/drive/src/workflows/roadmap-management.md +334 -0
- package/modules/drive/src/workflows/transition-phase.md +368 -0
- package/modules/drive/src/workflows/unify-phase.md +290 -0
- package/modules/drive/src/workflows/verify-work.md +241 -0
- package/modules/forge/README.md +281 -0
- package/modules/forge/bin/install.js +200 -0
- package/modules/forge/package.json +32 -0
- package/modules/forge/skillsmith/rules/checklists-rules.md +42 -0
- package/modules/forge/skillsmith/rules/context-rules.md +43 -0
- package/modules/forge/skillsmith/rules/entry-point-rules.md +44 -0
- package/modules/forge/skillsmith/rules/frameworks-rules.md +43 -0
- package/modules/forge/skillsmith/rules/tasks-rules.md +52 -0
- package/modules/forge/skillsmith/rules/templates-rules.md +43 -0
- package/modules/forge/skillsmith/skillsmith.md +82 -0
- package/modules/forge/skillsmith/tasks/audit.md +277 -0
- package/modules/forge/skillsmith/tasks/discover.md +145 -0
- package/modules/forge/skillsmith/tasks/distill.md +276 -0
- package/modules/forge/skillsmith/tasks/scaffold.md +349 -0
- package/modules/forge/specs/checklists.md +193 -0
- package/modules/forge/specs/context.md +223 -0
- package/modules/forge/specs/entry-point.md +320 -0
- package/modules/forge/specs/frameworks.md +228 -0
- package/modules/forge/specs/rules.md +245 -0
- package/modules/forge/specs/tasks.md +344 -0
- package/modules/forge/specs/templates.md +335 -0
- package/modules/forge/terminal.svg +70 -0
- package/modules/ignition/README.md +245 -0
- package/modules/ignition/bin/install.js +184 -0
- package/modules/ignition/checklists/planning-quality.md +55 -0
- package/modules/ignition/data/application/config.md +21 -0
- package/modules/ignition/data/application/guide.md +51 -0
- package/modules/ignition/data/application/skill-loadout.md +11 -0
- package/modules/ignition/data/campaign/config.md +18 -0
- package/modules/ignition/data/campaign/guide.md +36 -0
- package/modules/ignition/data/campaign/skill-loadout.md +10 -0
- package/modules/ignition/data/client/config.md +18 -0
- package/modules/ignition/data/client/guide.md +36 -0
- package/modules/ignition/data/client/skill-loadout.md +11 -0
- package/modules/ignition/data/utility/config.md +18 -0
- package/modules/ignition/data/utility/guide.md +31 -0
- package/modules/ignition/data/utility/skill-loadout.md +8 -0
- package/modules/ignition/data/workflow/config.md +19 -0
- package/modules/ignition/data/workflow/guide.md +41 -0
- package/modules/ignition/data/workflow/skill-loadout.md +10 -0
- package/modules/ignition/integration.js +54 -0
- package/modules/ignition/package.json +35 -0
- package/modules/ignition/seed.md +81 -0
- package/modules/ignition/tasks/add-type.md +164 -0
- package/modules/ignition/tasks/graduate.md +182 -0
- package/modules/ignition/tasks/ideate.md +221 -0
- package/modules/ignition/tasks/launch.md +137 -0
- package/modules/ignition/tasks/status.md +71 -0
- package/modules/ignition/templates/planning-application.md +193 -0
- package/modules/ignition/templates/planning-campaign.md +138 -0
- package/modules/ignition/templates/planning-client.md +149 -0
- package/modules/ignition/templates/planning-utility.md +112 -0
- package/modules/ignition/templates/planning-workflow.md +125 -0
- package/modules/ignition/terminal.svg +74 -0
- package/modules/mission-control/CONTEXT-CONTINUITY-SPEC.md +293 -0
- package/modules/mission-control/CONTEXT-ENGINEERING-GUIDE.md +282 -0
- package/modules/mission-control/README.md +91 -0
- package/modules/mission-control/assets/terminal.svg +80 -0
- package/modules/mission-control/examples/entities.example.json +133 -0
- package/modules/mission-control/examples/projects.example.json +318 -0
- package/modules/mission-control/examples/state.example.json +183 -0
- package/modules/mission-control/examples/vector.example.json +245 -0
- package/modules/mission-control/mission-control/checklists/install-verification.md +46 -0
- package/modules/mission-control/mission-control/frameworks/framework-registry.md +83 -0
- package/modules/mission-control/mission-control/mission-control.md +83 -0
- package/modules/mission-control/mission-control/tasks/insights.md +73 -0
- package/modules/mission-control/mission-control/tasks/install.md +194 -0
- package/modules/mission-control/mission-control/tasks/status.md +125 -0
- package/modules/mission-control/schemas/entities.schema.json +89 -0
- package/modules/mission-control/schemas/projects.schema.json +221 -0
- package/modules/mission-control/schemas/state.schema.json +108 -0
- package/modules/mission-control/schemas/vector.schema.json +200 -0
- package/modules/momentum/README.md +678 -0
- package/modules/momentum/bin/install.js +563 -0
- package/modules/momentum/integration.js +131 -0
- package/modules/momentum/package.json +42 -0
- package/modules/momentum/schemas/entities.schema.json +89 -0
- package/modules/momentum/schemas/projects.schema.json +221 -0
- package/modules/momentum/schemas/state.schema.json +108 -0
- package/modules/momentum/src/commands/audit-claude-md.md +31 -0
- package/modules/momentum/src/commands/audit.md +33 -0
- package/modules/momentum/src/commands/groom.md +35 -0
- package/modules/momentum/src/commands/history.md +27 -0
- package/modules/momentum/src/commands/pulse.md +33 -0
- package/modules/momentum/src/commands/scaffold.md +33 -0
- package/modules/momentum/src/commands/status.md +28 -0
- package/modules/momentum/src/commands/surface-convert.md +35 -0
- package/modules/momentum/src/commands/surface-create.md +34 -0
- package/modules/momentum/src/commands/surface-list.md +27 -0
- package/modules/momentum/src/commands/vector-hygiene.md +33 -0
- package/modules/momentum/src/framework/context/momentum-principles.md +71 -0
- package/modules/momentum/src/framework/frameworks/audit-strategies.md +53 -0
- package/modules/momentum/src/framework/frameworks/satellite-registration.md +44 -0
- package/modules/momentum/src/framework/tasks/audit-claude-md.md +68 -0
- package/modules/momentum/src/framework/tasks/audit.md +64 -0
- package/modules/momentum/src/framework/tasks/groom.md +164 -0
- package/modules/momentum/src/framework/tasks/history.md +34 -0
- package/modules/momentum/src/framework/tasks/pulse.md +83 -0
- package/modules/momentum/src/framework/tasks/scaffold.md +202 -0
- package/modules/momentum/src/framework/tasks/status.md +35 -0
- package/modules/momentum/src/framework/tasks/surface-convert.md +143 -0
- package/modules/momentum/src/framework/tasks/surface-create.md +184 -0
- package/modules/momentum/src/framework/tasks/surface-list.md +42 -0
- package/modules/momentum/src/framework/tasks/vector-hygiene.md +160 -0
- package/modules/momentum/src/framework/templates/workspace-json.md +96 -0
- package/modules/momentum/src/hooks/_template.py +129 -0
- package/modules/momentum/src/hooks/active-hook.py +178 -0
- package/modules/momentum/src/hooks/backlog-hook.py +115 -0
- package/modules/momentum/src/hooks/mission-control-insights.py +169 -0
- package/modules/momentum/src/hooks/momentum-pulse-check.py +351 -0
- package/modules/momentum/src/hooks/operator.py +53 -0
- package/modules/momentum/src/hooks/psmm-injector.py +67 -0
- package/modules/momentum/src/hooks/satellite-detection.py +248 -0
- package/modules/momentum/src/packages/momentum-mcp/index.js +119 -0
- package/modules/momentum/src/packages/momentum-mcp/package.json +10 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/entities.js +226 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/operator.js +106 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/projects.js +322 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/psmm.js +206 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/state.js +199 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/surfaces.js +404 -0
- package/modules/momentum/src/skill/momentum.md +111 -0
- package/modules/momentum/src/tasks/groom.md +164 -0
- package/modules/momentum/src/templates/operator.json +66 -0
- package/modules/momentum/src/templates/workspace.json +111 -0
- package/modules/momentum/terminal.svg +77 -0
- package/modules/radar/README.md +1552 -0
- package/modules/radar/commands/audit.md +233 -0
- package/modules/radar/commands/guardrails.md +194 -0
- package/modules/radar/commands/init.md +207 -0
- package/modules/radar/commands/playbook.md +176 -0
- package/modules/radar/commands/remediate.md +156 -0
- package/modules/radar/commands/report.md +172 -0
- package/modules/radar/commands/resume.md +176 -0
- package/modules/radar/commands/status.md +148 -0
- package/modules/radar/commands/transform.md +205 -0
- package/modules/radar/commands/validate.md +177 -0
- package/modules/radar/docs/ARCHITECTURE.md +336 -0
- package/modules/radar/docs/GETTING-STARTED.md +287 -0
- package/modules/radar/docs/standards/agents.md +197 -0
- package/modules/radar/docs/standards/commands.md +250 -0
- package/modules/radar/docs/standards/domains.md +191 -0
- package/modules/radar/docs/standards/personas.md +211 -0
- package/modules/radar/docs/standards/rules.md +218 -0
- package/modules/radar/docs/standards/runtime.md +445 -0
- package/modules/radar/docs/standards/schemas.md +269 -0
- package/modules/radar/docs/standards/tools.md +273 -0
- package/modules/radar/docs/standards/workflows.md +254 -0
- package/modules/radar/docs/terminal.svg +72 -0
- package/modules/radar/docs/validation/convention-compliance-report.md +183 -0
- package/modules/radar/docs/validation/cross-reference-report.md +195 -0
- package/modules/radar/docs/validation/validation-summary.md +118 -0
- package/modules/radar/docs/validation/version-manifest.yaml +363 -0
- package/modules/radar/install.sh +711 -0
- package/modules/radar/integration.js +53 -0
- package/modules/radar/src/core/agents/architect.md +25 -0
- package/modules/radar/src/core/agents/compliance-officer.md +25 -0
- package/modules/radar/src/core/agents/data-engineer.md +25 -0
- package/modules/radar/src/core/agents/devils-advocate.md +22 -0
- package/modules/radar/src/core/agents/performance-engineer.md +25 -0
- package/modules/radar/src/core/agents/principal-engineer.md +23 -0
- package/modules/radar/src/core/agents/reality-gap-analyst.md +22 -0
- package/modules/radar/src/core/agents/security-engineer.md +25 -0
- package/modules/radar/src/core/agents/senior-app-engineer.md +25 -0
- package/modules/radar/src/core/agents/sre.md +25 -0
- package/modules/radar/src/core/agents/staff-engineer.md +23 -0
- package/modules/radar/src/core/agents/test-engineer.md +25 -0
- package/modules/radar/src/core/personas/architect.md +111 -0
- package/modules/radar/src/core/personas/compliance-officer.md +104 -0
- package/modules/radar/src/core/personas/data-engineer.md +113 -0
- package/modules/radar/src/core/personas/devils-advocate.md +105 -0
- package/modules/radar/src/core/personas/performance-engineer.md +119 -0
- package/modules/radar/src/core/personas/principal-engineer.md +119 -0
- package/modules/radar/src/core/personas/reality-gap-analyst.md +111 -0
- package/modules/radar/src/core/personas/security-engineer.md +108 -0
- package/modules/radar/src/core/personas/senior-app-engineer.md +111 -0
- package/modules/radar/src/core/personas/sre.md +117 -0
- package/modules/radar/src/core/personas/staff-engineer.md +109 -0
- package/modules/radar/src/core/personas/test-engineer.md +109 -0
- package/modules/radar/src/core/workflows/disagreement-resolution.md +183 -0
- package/modules/radar/src/core/workflows/phase-0-context.md +148 -0
- package/modules/radar/src/core/workflows/phase-1-reconnaissance.md +169 -0
- package/modules/radar/src/core/workflows/phase-2-domain-audits.md +190 -0
- package/modules/radar/src/core/workflows/phase-3-cross-domain.md +177 -0
- package/modules/radar/src/core/workflows/phase-4-adversarial-review.md +165 -0
- package/modules/radar/src/core/workflows/phase-5-report.md +189 -0
- package/modules/radar/src/core/workflows/phase-checkpoint.md +222 -0
- package/modules/radar/src/core/workflows/session-handoff.md +152 -0
- package/modules/radar/src/domains/00-context.md +201 -0
- package/modules/radar/src/domains/01-architecture.md +248 -0
- package/modules/radar/src/domains/02-data.md +224 -0
- package/modules/radar/src/domains/03-correctness.md +230 -0
- package/modules/radar/src/domains/04-security.md +274 -0
- package/modules/radar/src/domains/05-compliance.md +228 -0
- package/modules/radar/src/domains/06-testing.md +228 -0
- package/modules/radar/src/domains/07-reliability.md +246 -0
- package/modules/radar/src/domains/08-performance.md +247 -0
- package/modules/radar/src/domains/09-maintainability.md +271 -0
- package/modules/radar/src/domains/10-operability.md +250 -0
- package/modules/radar/src/domains/11-change-risk.md +246 -0
- package/modules/radar/src/domains/12-team-risk.md +221 -0
- package/modules/radar/src/domains/13-risk-synthesis.md +202 -0
- package/modules/radar/src/rules/agent-boundaries.md +78 -0
- package/modules/radar/src/rules/disagreement-protocol.md +76 -0
- package/modules/radar/src/rules/epistemic-hygiene.md +78 -0
- package/modules/radar/src/schemas/confidence.md +185 -0
- package/modules/radar/src/schemas/disagreement.md +238 -0
- package/modules/radar/src/schemas/finding.md +287 -0
- package/modules/radar/src/schemas/report-section.md +150 -0
- package/modules/radar/src/schemas/signal.md +108 -0
- package/modules/radar/src/tools/checkov.md +463 -0
- package/modules/radar/src/tools/git-history.md +581 -0
- package/modules/radar/src/tools/gitleaks.md +447 -0
- package/modules/radar/src/tools/grype.md +611 -0
- package/modules/radar/src/tools/semgrep.md +378 -0
- package/modules/radar/src/tools/sonarqube.md +550 -0
- package/modules/radar/src/tools/syft.md +539 -0
- package/modules/radar/src/tools/trivy.md +439 -0
- package/modules/radar/src/transform/agents/change-risk-modeler.md +24 -0
- package/modules/radar/src/transform/agents/execution-validator.md +24 -0
- package/modules/radar/src/transform/agents/guardrail-generator.md +24 -0
- package/modules/radar/src/transform/agents/pedagogy-agent.md +24 -0
- package/modules/radar/src/transform/agents/remediation-architect.md +24 -0
- package/modules/radar/src/transform/personas/change-risk-modeler.md +95 -0
- package/modules/radar/src/transform/personas/execution-validator.md +95 -0
- package/modules/radar/src/transform/personas/guardrail-generator.md +103 -0
- package/modules/radar/src/transform/personas/pedagogy-agent.md +105 -0
- package/modules/radar/src/transform/personas/remediation-architect.md +95 -0
- package/modules/radar/src/transform/rules/change-risk-rules.md +87 -0
- package/modules/radar/src/transform/rules/safety-governance.md +87 -0
- package/modules/radar/src/transform/schemas/change-risk.md +139 -0
- package/modules/radar/src/transform/schemas/intervention-level.md +207 -0
- package/modules/radar/src/transform/schemas/playbook.md +205 -0
- package/modules/radar/src/transform/schemas/verification-plan.md +134 -0
- package/modules/radar/src/transform/workflows/phase-6-remediation.md +148 -0
- package/modules/radar/src/transform/workflows/phase-7-risk-validation.md +161 -0
- package/modules/radar/src/transform/workflows/phase-8-execution-planning.md +159 -0
- package/modules/radar/src/transform/workflows/transform-safety.md +158 -0
- package/modules/vector/.vector-template/sessions/.gitkeep +0 -0
- package/modules/vector/.vector-template/vector.json +72 -0
- package/modules/vector/AUDIT-CLAUDEMD.md +154 -0
- package/modules/vector/INSTALL.md +185 -0
- package/modules/vector/LICENSE +21 -0
- package/modules/vector/README.md +409 -0
- package/modules/vector/VECTOR-BLOCK.md +57 -0
- package/modules/vector/assets/terminal.svg +68 -0
- package/modules/vector/bin/install.js +455 -0
- package/modules/vector/bin/migrate-v1-to-v2.sh +492 -0
- package/modules/vector/commands/help.md +46 -0
- package/modules/vector/hooks/vector-hook.py +775 -0
- package/modules/vector/mcp/index.js +118 -0
- package/modules/vector/mcp/package.json +10 -0
- package/modules/vector/mcp/tools/decisions.js +269 -0
- package/modules/vector/mcp/tools/domains.js +361 -0
- package/modules/vector/mcp/tools/staging.js +252 -0
- package/modules/vector/mcp/tools/vector-json.js +647 -0
- package/modules/vector/package.json +38 -0
- package/modules/vector/schemas/vector.schema.json +237 -0
- package/package.json +39 -0
- package/shared/branding/branding.js +70 -0
- package/shared/config/defaults.json +59 -0
- package/shared/events/README.md +175 -0
- package/shared/events/event-bus.js +134 -0
- package/shared/events/event_bus.py +255 -0
- package/shared/events/integrations.js +161 -0
- package/shared/events/schemas/audit-complete.schema.json +21 -0
- package/shared/events/schemas/phase-progress.schema.json +23 -0
- package/shared/events/schemas/plan-created.schema.json +21 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "src/templates/**/*.md"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Template Rules
|
|
7
|
+
|
|
8
|
+
Rules for editing files in `src/templates/`.
|
|
9
|
+
|
|
10
|
+
## File Structure
|
|
11
|
+
|
|
12
|
+
Templates define the structure for generated documents. Each template file contains:
|
|
13
|
+
|
|
14
|
+
1. **Header** — `# [NAME].md Template`
|
|
15
|
+
2. **Intro** — Brief description and file naming pattern
|
|
16
|
+
3. **File Template block** — The actual template in a fenced code block
|
|
17
|
+
4. **Field documentation** — Tables explaining frontmatter fields, sections
|
|
18
|
+
5. **Examples/Anti-patterns** — Good vs bad usage
|
|
19
|
+
|
|
20
|
+
## Placeholder Conventions
|
|
21
|
+
|
|
22
|
+
**Square brackets** for human-fillable placeholders:
|
|
23
|
+
```
|
|
24
|
+
[Project Name]
|
|
25
|
+
[Description of what this accomplishes]
|
|
26
|
+
[Specific implementation instructions]
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Curly braces** for variable interpolation:
|
|
30
|
+
```
|
|
31
|
+
{phase}-{plan}-PLAN.md
|
|
32
|
+
.drive/phases/{phase-number}-{name}/
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## YAML Frontmatter in Template Content
|
|
36
|
+
|
|
37
|
+
Templates that define output documents show example frontmatter:
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
---
|
|
41
|
+
phase: XX-name
|
|
42
|
+
plan: NN
|
|
43
|
+
type: execute
|
|
44
|
+
wave: 1
|
|
45
|
+
depends_on: []
|
|
46
|
+
files_modified: []
|
|
47
|
+
autonomous: true
|
|
48
|
+
---
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
This is content TO BE GENERATED, not frontmatter for the template file itself.
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "src/workflows/**/*.md"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Workflow Rules
|
|
7
|
+
|
|
8
|
+
Rules for editing files in `src/workflows/`.
|
|
9
|
+
|
|
10
|
+
## No Frontmatter
|
|
11
|
+
|
|
12
|
+
Workflows don't use YAML frontmatter. Content starts immediately with semantic XML.
|
|
13
|
+
|
|
14
|
+
## Required Sections
|
|
15
|
+
|
|
16
|
+
Every workflow MUST have:
|
|
17
|
+
|
|
18
|
+
1. `<purpose>` — What this workflow accomplishes (1-2 sentences)
|
|
19
|
+
2. `<when_to_use>` — Decision criteria for invoking this workflow
|
|
20
|
+
3. `<process>` — Container for execution steps
|
|
21
|
+
|
|
22
|
+
## Optional Sections
|
|
23
|
+
|
|
24
|
+
- `<required_reading>` — Files to read before starting
|
|
25
|
+
- `<loop_context>` — Current PLAN/APPLY/UNIFY phase awareness
|
|
26
|
+
- `<references>` — @-references to load conceptual docs when relevant
|
|
27
|
+
|
|
28
|
+
## Step Elements
|
|
29
|
+
|
|
30
|
+
When using `<step>` elements within `<process>`:
|
|
31
|
+
|
|
32
|
+
```xml
|
|
33
|
+
<step name="load_project_state" priority="first">
|
|
34
|
+
Read .drive/STATE.md to determine current position.
|
|
35
|
+
Verify loop phase matches expected phase for this workflow.
|
|
36
|
+
</step>
|
|
37
|
+
|
|
38
|
+
<step name="execute_tasks">
|
|
39
|
+
For each task in PLAN.md:
|
|
40
|
+
1. Execute task action
|
|
41
|
+
2. Run task verification
|
|
42
|
+
3. Record result
|
|
43
|
+
</step>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
- `name` attribute: snake_case (e.g., `name="load_project_state"`)
|
|
47
|
+
- `priority` attribute: Optional ("first", "second") for ordering hints
|
|
48
|
+
- Content: Imperative instructions, can include numbered steps
|
|
49
|
+
|
|
50
|
+
## Loop Phase Awareness
|
|
51
|
+
|
|
52
|
+
Workflows should be aware of their position in the Drive loop:
|
|
53
|
+
|
|
54
|
+
```xml
|
|
55
|
+
<loop_context>
|
|
56
|
+
Expected phase: PLAN
|
|
57
|
+
Prior phase: UNIFY (previous plan) or none (first plan)
|
|
58
|
+
Next phase: APPLY (after plan approval)
|
|
59
|
+
</loop_context>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
This helps workflows validate they're being invoked at the right time.
|
|
63
|
+
|
|
64
|
+
## Conditional Logic
|
|
65
|
+
|
|
66
|
+
For mode-dependent behavior:
|
|
67
|
+
|
|
68
|
+
```xml
|
|
69
|
+
<if autonomous="true">
|
|
70
|
+
Execute all tasks without checkpoints.
|
|
71
|
+
</if>
|
|
72
|
+
|
|
73
|
+
<if autonomous="false">
|
|
74
|
+
Pause at each checkpoint:human-verify task.
|
|
75
|
+
</if>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Conditions reference PLAN.md frontmatter or config values.
|
|
79
|
+
|
|
80
|
+
## Key Principle
|
|
81
|
+
|
|
82
|
+
Workflows contain detailed execution logic. Commands are thin wrappers that delegate to workflows.
|
|
83
|
+
|
|
84
|
+
A workflow can be long and detailed. It answers "how to do it" comprehensively.
|
|
85
|
+
|
|
86
|
+
## Example Workflow Structure
|
|
87
|
+
|
|
88
|
+
```markdown
|
|
89
|
+
<purpose>
|
|
90
|
+
Execute an approved PLAN by running tasks in order, verifying each, and recording results.
|
|
91
|
+
</purpose>
|
|
92
|
+
|
|
93
|
+
<when_to_use>
|
|
94
|
+
- User has approved a PLAN.md
|
|
95
|
+
- STATE.md shows loop position at PLAN (ready for APPLY)
|
|
96
|
+
- No blocking checkpoints remain unresolved
|
|
97
|
+
</when_to_use>
|
|
98
|
+
|
|
99
|
+
<required_reading>
|
|
100
|
+
@.drive/STATE.md
|
|
101
|
+
@.drive/phases/{phase}/{plan}-PLAN.md
|
|
102
|
+
</required_reading>
|
|
103
|
+
|
|
104
|
+
<loop_context>
|
|
105
|
+
Expected phase: APPLY
|
|
106
|
+
Prior phase: PLAN (approval just received)
|
|
107
|
+
Next phase: UNIFY (after execution completes)
|
|
108
|
+
</loop_context>
|
|
109
|
+
|
|
110
|
+
<process>
|
|
111
|
+
|
|
112
|
+
<step name="validate_preconditions" priority="first">
|
|
113
|
+
1. Read STATE.md, confirm loop position
|
|
114
|
+
2. Read PLAN.md, confirm autonomous flag
|
|
115
|
+
3. If autonomous=false and checkpoints exist, warn user
|
|
116
|
+
</step>
|
|
117
|
+
|
|
118
|
+
<step name="execute_tasks">
|
|
119
|
+
For each <task> in PLAN.md <tasks> section:
|
|
120
|
+
1. Log task start
|
|
121
|
+
2. Execute <action> content
|
|
122
|
+
3. Run <verify> command
|
|
123
|
+
4. If verify passes, record in APPLY-LOG
|
|
124
|
+
5. If verify fails, stop and report
|
|
125
|
+
</step>
|
|
126
|
+
|
|
127
|
+
<step name="finalize">
|
|
128
|
+
1. Update STATE.md loop position to UNIFY
|
|
129
|
+
2. Report completion status
|
|
130
|
+
</step>
|
|
131
|
+
|
|
132
|
+
</process>
|
|
133
|
+
```
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# CONTEXT.md Template
|
|
2
|
+
|
|
3
|
+
Template for `.drive/phases/{NN}-{name}/CONTEXT.md` - phase discussion context handoff.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Captures user's vision, goals, and approach before planning. Created by `/drive:discuss`, consumed by `/drive:plan`.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## File Template
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
# Phase Context
|
|
13
|
+
|
|
14
|
+
**Phase:** {NN} — {phase_name}
|
|
15
|
+
**Generated:** {date}
|
|
16
|
+
**Status:** Ready for planning | Needs more discussion
|
|
17
|
+
|
|
18
|
+
## Goals
|
|
19
|
+
|
|
20
|
+
{user's goals as bullets}
|
|
21
|
+
- Goal 1: [description]
|
|
22
|
+
- Goal 2: [description]
|
|
23
|
+
- Goal 3: [description]
|
|
24
|
+
|
|
25
|
+
## Approach
|
|
26
|
+
|
|
27
|
+
{user's approach notes}
|
|
28
|
+
- Pattern/library preferences
|
|
29
|
+
- Technical direction
|
|
30
|
+
- Constraints mentioned
|
|
31
|
+
|
|
32
|
+
## Constraints
|
|
33
|
+
|
|
34
|
+
{any limitations or requirements}
|
|
35
|
+
- Constraint 1
|
|
36
|
+
- Constraint 2
|
|
37
|
+
|
|
38
|
+
## Open Questions
|
|
39
|
+
|
|
40
|
+
{items still unclear or needing research}
|
|
41
|
+
- Question 1
|
|
42
|
+
- Question 2
|
|
43
|
+
|
|
44
|
+
## Additional Context
|
|
45
|
+
|
|
46
|
+
{any other notes from discussion}
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
*This file is temporary. It informs planning but is not required.*
|
|
51
|
+
*Created by /drive:discuss, consumed by /drive:plan.*
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Field Descriptions
|
|
57
|
+
|
|
58
|
+
| Field | Purpose |
|
|
59
|
+
|-------|---------|
|
|
60
|
+
| `Phase` | Phase number and name from ROADMAP.md |
|
|
61
|
+
| `Generated` | Date context was created |
|
|
62
|
+
| `Status` | Whether context is complete or needs more discussion |
|
|
63
|
+
| `Goals` | User's objectives for the phase |
|
|
64
|
+
| `Approach` | Technical direction, patterns, preferences |
|
|
65
|
+
| `Constraints` | Limitations or requirements |
|
|
66
|
+
| `Open Questions` | Items needing research or decisions |
|
|
67
|
+
| `Additional Context` | Other notes from discussion |
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Usage Pattern
|
|
72
|
+
|
|
73
|
+
1. User runs `/drive:discuss <phase>`
|
|
74
|
+
2. Discussion workflow explores goals and approach
|
|
75
|
+
3. CONTEXT.md created in phase directory
|
|
76
|
+
4. `/drive:plan` reads CONTEXT.md to inform planning
|
|
77
|
+
5. CONTEXT.md remains for reference (not deleted)
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Relationship to Other Files
|
|
82
|
+
|
|
83
|
+
| File | Relationship |
|
|
84
|
+
|------|--------------|
|
|
85
|
+
| ROADMAP.md | Source of phase definition |
|
|
86
|
+
| CONTEXT.md | Discussion output (this file) |
|
|
87
|
+
| PLAN.md | Consumes context for planning |
|
|
88
|
+
| RESEARCH.md | May inform context or result from questions |
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Debug Template
|
|
2
|
+
|
|
3
|
+
Template for `.drive/debug/[slug].md` — active debug session tracking.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Template
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
---
|
|
11
|
+
status: gathering | investigating | fixing | verifying | resolved
|
|
12
|
+
trigger: "[verbatim user input]"
|
|
13
|
+
created: [ISO timestamp]
|
|
14
|
+
updated: [ISO timestamp]
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Current Focus
|
|
18
|
+
<!-- OVERWRITE on each update - always reflects NOW -->
|
|
19
|
+
|
|
20
|
+
hypothesis: [current theory being tested]
|
|
21
|
+
test: [how testing it]
|
|
22
|
+
expecting: [what result means if true/false]
|
|
23
|
+
next_action: [immediate next step]
|
|
24
|
+
|
|
25
|
+
## Symptoms
|
|
26
|
+
<!-- Written during gathering, then immutable -->
|
|
27
|
+
|
|
28
|
+
expected: [what should happen]
|
|
29
|
+
actual: [what actually happens]
|
|
30
|
+
errors: [error messages if any]
|
|
31
|
+
reproduction: [how to trigger]
|
|
32
|
+
started: [when it broke / always broken]
|
|
33
|
+
|
|
34
|
+
## Eliminated
|
|
35
|
+
<!-- APPEND only - prevents re-investigating after context reset -->
|
|
36
|
+
|
|
37
|
+
- hypothesis: [theory that was wrong]
|
|
38
|
+
evidence: [what disproved it]
|
|
39
|
+
timestamp: [when eliminated]
|
|
40
|
+
|
|
41
|
+
## Evidence
|
|
42
|
+
<!-- APPEND only - facts discovered during investigation -->
|
|
43
|
+
|
|
44
|
+
- timestamp: [when found]
|
|
45
|
+
checked: [what was examined]
|
|
46
|
+
found: [what was observed]
|
|
47
|
+
implication: [what this means]
|
|
48
|
+
|
|
49
|
+
## Resolution
|
|
50
|
+
<!-- OVERWRITE as understanding evolves -->
|
|
51
|
+
|
|
52
|
+
root_cause: [empty until found]
|
|
53
|
+
fix: [empty until applied]
|
|
54
|
+
verification: [empty until verified]
|
|
55
|
+
files_changed: []
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
<section_rules>
|
|
61
|
+
|
|
62
|
+
**Frontmatter (status, trigger, timestamps):**
|
|
63
|
+
- `status`: OVERWRITE - reflects current phase
|
|
64
|
+
- `trigger`: IMMUTABLE - verbatim user input, never changes
|
|
65
|
+
- `created`: IMMUTABLE - set once
|
|
66
|
+
- `updated`: OVERWRITE - update on every change
|
|
67
|
+
|
|
68
|
+
**Current Focus:**
|
|
69
|
+
- OVERWRITE entirely on each update
|
|
70
|
+
- Always reflects what Claude is doing RIGHT NOW
|
|
71
|
+
- If Claude reads this after context reset, it knows exactly where to resume
|
|
72
|
+
- Fields: hypothesis, test, expecting, next_action
|
|
73
|
+
|
|
74
|
+
**Symptoms:**
|
|
75
|
+
- Written during initial gathering phase
|
|
76
|
+
- IMMUTABLE after gathering complete
|
|
77
|
+
- Reference point for what we're trying to fix
|
|
78
|
+
- Fields: expected, actual, errors, reproduction, started
|
|
79
|
+
|
|
80
|
+
**Eliminated:**
|
|
81
|
+
- APPEND only - never remove entries
|
|
82
|
+
- Prevents re-investigating dead ends after context reset
|
|
83
|
+
- Each entry: hypothesis, evidence that disproved it, timestamp
|
|
84
|
+
- Critical for efficiency across session boundaries
|
|
85
|
+
|
|
86
|
+
**Evidence:**
|
|
87
|
+
- APPEND only - never remove entries
|
|
88
|
+
- Facts discovered during investigation
|
|
89
|
+
- Each entry: timestamp, what checked, what found, implication
|
|
90
|
+
- Builds the case for root cause
|
|
91
|
+
|
|
92
|
+
**Resolution:**
|
|
93
|
+
- OVERWRITE as understanding evolves
|
|
94
|
+
- May update multiple times as fixes are tried
|
|
95
|
+
- Final state shows confirmed root cause and verified fix
|
|
96
|
+
- Fields: root_cause, fix, verification, files_changed
|
|
97
|
+
|
|
98
|
+
</section_rules>
|
|
99
|
+
|
|
100
|
+
<lifecycle>
|
|
101
|
+
|
|
102
|
+
**Creation:** Immediately when debug workflow is called
|
|
103
|
+
- Create file with trigger from user input
|
|
104
|
+
- Set status to "gathering"
|
|
105
|
+
- Current Focus: next_action = "gather symptoms"
|
|
106
|
+
- Symptoms: empty, to be filled
|
|
107
|
+
|
|
108
|
+
**During symptom gathering:**
|
|
109
|
+
- Update Symptoms section as user answers questions
|
|
110
|
+
- Update Current Focus with each question
|
|
111
|
+
- When complete: status → "investigating"
|
|
112
|
+
|
|
113
|
+
**During investigation:**
|
|
114
|
+
- OVERWRITE Current Focus with each hypothesis
|
|
115
|
+
- APPEND to Evidence with each finding
|
|
116
|
+
- APPEND to Eliminated when hypothesis disproved
|
|
117
|
+
- Update timestamp in frontmatter
|
|
118
|
+
|
|
119
|
+
**During fixing:**
|
|
120
|
+
- status → "fixing"
|
|
121
|
+
- Update Resolution.root_cause when confirmed
|
|
122
|
+
- Update Resolution.fix when applied
|
|
123
|
+
- Update Resolution.files_changed
|
|
124
|
+
|
|
125
|
+
**During verification:**
|
|
126
|
+
- status → "verifying"
|
|
127
|
+
- Update Resolution.verification with results
|
|
128
|
+
- If verification fails: status → "investigating", try again
|
|
129
|
+
|
|
130
|
+
**On resolution:**
|
|
131
|
+
- status → "resolved"
|
|
132
|
+
- Move file to .drive/debug/resolved/
|
|
133
|
+
|
|
134
|
+
**Complex fixes:** If fix requires significant code changes:
|
|
135
|
+
- Create a dedicated PLAN.md for the fix
|
|
136
|
+
- Reference debug file in plan context
|
|
137
|
+
- Debug file stays in "fixing" until plan completes
|
|
138
|
+
|
|
139
|
+
</lifecycle>
|
|
140
|
+
|
|
141
|
+
<resume_behavior>
|
|
142
|
+
|
|
143
|
+
When Claude reads this file after context reset:
|
|
144
|
+
|
|
145
|
+
1. Parse frontmatter → know status
|
|
146
|
+
2. Read Current Focus → know exactly what was happening
|
|
147
|
+
3. Read Eliminated → know what NOT to retry
|
|
148
|
+
4. Read Evidence → know what's been learned
|
|
149
|
+
5. Continue from next_action
|
|
150
|
+
|
|
151
|
+
The file IS the debugging brain. Claude should be able to resume perfectly from any interruption point.
|
|
152
|
+
|
|
153
|
+
</resume_behavior>
|
|
154
|
+
|
|
155
|
+
<size_constraint>
|
|
156
|
+
|
|
157
|
+
Keep debug files focused:
|
|
158
|
+
- Evidence entries: 1-2 lines each, just the facts
|
|
159
|
+
- Eliminated: brief - hypothesis + why it failed
|
|
160
|
+
- No narrative prose - structured data only
|
|
161
|
+
|
|
162
|
+
If evidence grows very large (10+ entries), consider whether you're going in circles. Check Eliminated to ensure you're not re-treading.
|
|
163
|
+
|
|
164
|
+
</size_constraint>
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# DISCOVERY.md Template
|
|
2
|
+
|
|
3
|
+
Template for `.drive/phases/{phase-number}-{name}/DISCOVERY.md` — technical discovery documentation.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Document technical research, options comparison, and recommendations before planning.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## File Template
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
---
|
|
13
|
+
phase: XX-name
|
|
14
|
+
topic: [what was discovered]
|
|
15
|
+
depth: [quick | standard | deep]
|
|
16
|
+
confidence: [HIGH | MEDIUM | LOW]
|
|
17
|
+
created: YYYY-MM-DD
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Discovery: [Topic]
|
|
21
|
+
|
|
22
|
+
**Recommendation:** [One-liner recommendation]
|
|
23
|
+
|
|
24
|
+
**Confidence:** [HIGH/MEDIUM/LOW] — [Brief justification]
|
|
25
|
+
|
|
26
|
+
## Objective
|
|
27
|
+
|
|
28
|
+
What we needed to learn before planning:
|
|
29
|
+
- [Question 1]
|
|
30
|
+
- [Question 2]
|
|
31
|
+
- [Question 3]
|
|
32
|
+
|
|
33
|
+
## Scope
|
|
34
|
+
|
|
35
|
+
**Include:**
|
|
36
|
+
- [What was researched]
|
|
37
|
+
|
|
38
|
+
**Exclude:**
|
|
39
|
+
- [What was explicitly out of scope]
|
|
40
|
+
|
|
41
|
+
## Findings
|
|
42
|
+
|
|
43
|
+
### Option A: [Name]
|
|
44
|
+
|
|
45
|
+
**Source:** [URL or documentation reference]
|
|
46
|
+
|
|
47
|
+
**Summary:** [Brief description]
|
|
48
|
+
|
|
49
|
+
**Pros:**
|
|
50
|
+
- [Advantage 1]
|
|
51
|
+
- [Advantage 2]
|
|
52
|
+
|
|
53
|
+
**Cons:**
|
|
54
|
+
- [Disadvantage 1]
|
|
55
|
+
- [Disadvantage 2]
|
|
56
|
+
|
|
57
|
+
**For our use case:** [Fit assessment]
|
|
58
|
+
|
|
59
|
+
### Option B: [Name]
|
|
60
|
+
|
|
61
|
+
**Source:** [URL or documentation reference]
|
|
62
|
+
|
|
63
|
+
**Summary:** [Brief description]
|
|
64
|
+
|
|
65
|
+
**Pros:**
|
|
66
|
+
- [Advantage 1]
|
|
67
|
+
- [Advantage 2]
|
|
68
|
+
|
|
69
|
+
**Cons:**
|
|
70
|
+
- [Disadvantage 1]
|
|
71
|
+
- [Disadvantage 2]
|
|
72
|
+
|
|
73
|
+
**For our use case:** [Fit assessment]
|
|
74
|
+
|
|
75
|
+
## Comparison
|
|
76
|
+
|
|
77
|
+
| Criteria | Option A | Option B |
|
|
78
|
+
|----------|----------|----------|
|
|
79
|
+
| [Criterion 1] | [Rating] | [Rating] |
|
|
80
|
+
| [Criterion 2] | [Rating] | [Rating] |
|
|
81
|
+
| [Criterion 3] | [Rating] | [Rating] |
|
|
82
|
+
|
|
83
|
+
## Recommendation
|
|
84
|
+
|
|
85
|
+
**Choose: [Option]**
|
|
86
|
+
|
|
87
|
+
**Rationale:**
|
|
88
|
+
[Why this option is best for our specific use case]
|
|
89
|
+
|
|
90
|
+
**Caveats:**
|
|
91
|
+
- [Any limitations or concerns to watch for]
|
|
92
|
+
|
|
93
|
+
## Open Questions
|
|
94
|
+
|
|
95
|
+
[Questions that remain after discovery - may affect implementation]
|
|
96
|
+
|
|
97
|
+
- [Question 1] — Impact: [low/medium/high]
|
|
98
|
+
- [Question 2] — Impact: [low/medium/high]
|
|
99
|
+
|
|
100
|
+
Or: "None — discovery answered all questions."
|
|
101
|
+
|
|
102
|
+
## Quality Report
|
|
103
|
+
|
|
104
|
+
**Sources consulted:**
|
|
105
|
+
- [Source 1 with date]
|
|
106
|
+
- [Source 2 with date]
|
|
107
|
+
|
|
108
|
+
**Verification:**
|
|
109
|
+
- [Claim 1]: Verified via [source]
|
|
110
|
+
- [Claim 2]: Verified via [source]
|
|
111
|
+
|
|
112
|
+
**Assumptions (not verified):**
|
|
113
|
+
- [Assumption 1]
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
*Discovery completed: [date]*
|
|
117
|
+
*Confidence: [level]*
|
|
118
|
+
*Ready for: /drive:plan [phase]*
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Section Specifications
|
|
124
|
+
|
|
125
|
+
### Frontmatter
|
|
126
|
+
|
|
127
|
+
| Field | Required | Purpose |
|
|
128
|
+
|-------|----------|---------|
|
|
129
|
+
| `phase` | Yes | Phase this discovery informs |
|
|
130
|
+
| `topic` | Yes | What was discovered |
|
|
131
|
+
| `depth` | Yes | quick, standard, or deep |
|
|
132
|
+
| `confidence` | Yes | HIGH, MEDIUM, or LOW |
|
|
133
|
+
| `created` | Yes | Discovery date |
|
|
134
|
+
|
|
135
|
+
### Confidence Levels
|
|
136
|
+
|
|
137
|
+
| Level | Meaning | Evidence Required |
|
|
138
|
+
|-------|---------|-------------------|
|
|
139
|
+
| HIGH | Verified, low risk | Multiple authoritative sources, tested |
|
|
140
|
+
| MEDIUM | Likely accurate | Official docs OR multiple sources |
|
|
141
|
+
| LOW | Uncertain | Single source, assumptions, gaps |
|
|
142
|
+
|
|
143
|
+
### Quality Report
|
|
144
|
+
|
|
145
|
+
Required for Level 2-3 discovery:
|
|
146
|
+
- List all sources with dates
|
|
147
|
+
- Verify each key claim
|
|
148
|
+
- Document assumptions explicitly
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Drive Handoff
|
|
2
|
+
|
|
3
|
+
**Date:** {{timestamp}}
|
|
4
|
+
**Session:** {{session_id}}
|
|
5
|
+
**Status:** {{status}}
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## READ THIS FIRST
|
|
10
|
+
|
|
11
|
+
You have no prior context. This document tells you everything.
|
|
12
|
+
|
|
13
|
+
**Project:** {{project_name}}
|
|
14
|
+
**Core value:** {{core_value}}
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Current State
|
|
19
|
+
|
|
20
|
+
**Version:** {{version}}
|
|
21
|
+
**Phase:** {{phase_number}} of {{total_phases}} — {{phase_name}}
|
|
22
|
+
**Plan:** {{plan_id}} — {{plan_status}}
|
|
23
|
+
|
|
24
|
+
**Loop Position:**
|
|
25
|
+
```
|
|
26
|
+
PLAN ──▶ APPLY ──▶ UNIFY
|
|
27
|
+
{{plan_mark}} {{apply_mark}} {{unify_mark}}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## What Was Done
|
|
33
|
+
|
|
34
|
+
{{accomplished_list}}
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## What's In Progress
|
|
39
|
+
|
|
40
|
+
{{in_progress_list}}
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## What's Next
|
|
45
|
+
|
|
46
|
+
**Immediate:** {{next_action}}
|
|
47
|
+
|
|
48
|
+
**After that:** {{following_action}}
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Key Files
|
|
53
|
+
|
|
54
|
+
| File | Purpose |
|
|
55
|
+
|------|---------|
|
|
56
|
+
| `.drive/STATE.md` | Live project state |
|
|
57
|
+
| `.drive/ROADMAP.md` | Phase overview |
|
|
58
|
+
| {{current_plan_path}} | {{plan_purpose}} |
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Resume Instructions
|
|
63
|
+
|
|
64
|
+
1. Read `.drive/STATE.md` for latest position
|
|
65
|
+
2. Check if PLAN exists for current phase
|
|
66
|
+
3. Based on loop position:
|
|
67
|
+
- `○○○` (fresh) → Run `/drive:plan`
|
|
68
|
+
- `✓○○` (planned) → Review plan, then `/drive:apply`
|
|
69
|
+
- `✓✓○` (applied) → Run `/drive:unify`
|
|
70
|
+
- `✓✓✓` (complete) → Ready for next phase
|
|
71
|
+
|
|
72
|
+
**Or simply run:** `/drive:resume`
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
*Handoff created: {{timestamp}}*
|
|
77
|
+
*This file is the single entry point for fresh sessions*
|