@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,93 @@
|
|
|
1
|
+
# Project Issues Log
|
|
2
|
+
|
|
3
|
+
Template for `.drive/ISSUES.md` — deferred enhancements discovered during execution.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Track nice-to-haves that aren't critical to current work. These follow deviation rule #5: log enhancements, continue with plan.
|
|
6
|
+
|
|
7
|
+
**Location:** `.drive/ISSUES.md` (project-level, not phase-level)
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## File Template
|
|
12
|
+
|
|
13
|
+
```markdown
|
|
14
|
+
# Project Issues Log
|
|
15
|
+
|
|
16
|
+
Enhancements discovered during execution. Not critical - address in future phases.
|
|
17
|
+
|
|
18
|
+
## Open Enhancements
|
|
19
|
+
|
|
20
|
+
### ISS-001: [Brief description]
|
|
21
|
+
|
|
22
|
+
- **Discovered:** Phase [X] Plan [Y] (YYYY-MM-DD)
|
|
23
|
+
- **Type:** [Performance / Refactoring / UX / Testing / Documentation / Accessibility]
|
|
24
|
+
- **Description:** [What could be improved and why it would help]
|
|
25
|
+
- **Impact:** Low (works correctly, this would enhance)
|
|
26
|
+
- **Effort:** [Quick / Medium / Substantial]
|
|
27
|
+
- **Suggested phase:** [Phase number or "Future"]
|
|
28
|
+
|
|
29
|
+
### ISS-002: [Brief description]
|
|
30
|
+
|
|
31
|
+
...
|
|
32
|
+
|
|
33
|
+
## Closed Enhancements
|
|
34
|
+
|
|
35
|
+
[Moved here when addressed]
|
|
36
|
+
|
|
37
|
+
### ISS-001: [Brief description]
|
|
38
|
+
**Resolved:** [date] — Addressed in Phase [X] Plan [Y]
|
|
39
|
+
**Commit:** [hash or "N/A"]
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
*Last updated: [date]*
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Issue Types
|
|
49
|
+
|
|
50
|
+
| Type | Description | Example |
|
|
51
|
+
|------|-------------|---------|
|
|
52
|
+
| Performance | Speed or efficiency improvements | "Cache API responses" |
|
|
53
|
+
| Refactoring | Code quality improvements | "Extract shared utility" |
|
|
54
|
+
| UX | User experience enhancements | "Add loading spinner" |
|
|
55
|
+
| Testing | Test coverage additions | "Add edge case tests" |
|
|
56
|
+
| Documentation | Doc improvements | "Add JSDoc comments" |
|
|
57
|
+
| Accessibility | A11y improvements | "Add ARIA labels" |
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Effort Estimates
|
|
62
|
+
|
|
63
|
+
| Effort | Definition |
|
|
64
|
+
|--------|------------|
|
|
65
|
+
| Quick | < 30 min, single task |
|
|
66
|
+
| Medium | 1-2 hours, may need its own plan |
|
|
67
|
+
| Substantial | Half day+, definitely needs dedicated plan |
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## When to Create
|
|
72
|
+
|
|
73
|
+
**Create an issue when:**
|
|
74
|
+
- During APPLY, you notice something that could be better
|
|
75
|
+
- It's not blocking current work
|
|
76
|
+
- It's not a bug (bugs get fixed immediately)
|
|
77
|
+
- It would be scope creep to address now
|
|
78
|
+
|
|
79
|
+
**Don't create an issue when:**
|
|
80
|
+
- It's a bug (fix it or document as blocker)
|
|
81
|
+
- It's required for current AC (do it)
|
|
82
|
+
- It's already in the roadmap
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Workflow
|
|
87
|
+
|
|
88
|
+
1. During APPLY, notice enhancement opportunity
|
|
89
|
+
2. Log to `.drive/ISSUES.md` with ISS-NNN format
|
|
90
|
+
3. Note in SUMMARY.md: "Logged ISS-003 for future consideration"
|
|
91
|
+
4. Continue with current plan
|
|
92
|
+
5. Review ISSUES.md during phase planning
|
|
93
|
+
6. Address issues in appropriate future phase
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# MILESTONES.md Template
|
|
2
|
+
|
|
3
|
+
Template for `.drive/MILESTONES.md` — the project's milestone log.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Track completed milestones with key accomplishments, stats, and links to next work.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## File Template
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
# Project Milestones: [Project Name]
|
|
13
|
+
|
|
14
|
+
[Entries in reverse chronological order - newest first]
|
|
15
|
+
|
|
16
|
+
## v[X.Y] [Name] (Shipped: YYYY-MM-DD)
|
|
17
|
+
|
|
18
|
+
**Delivered:** [One sentence describing what shipped]
|
|
19
|
+
|
|
20
|
+
**Phases completed:** [X-Y] ([Z] plans total)
|
|
21
|
+
|
|
22
|
+
**Key accomplishments:**
|
|
23
|
+
- [Major achievement 1]
|
|
24
|
+
- [Major achievement 2]
|
|
25
|
+
- [Major achievement 3]
|
|
26
|
+
- [Major achievement 4]
|
|
27
|
+
|
|
28
|
+
**Stats:**
|
|
29
|
+
| Metric | Value |
|
|
30
|
+
|--------|-------|
|
|
31
|
+
| Files modified | [X] |
|
|
32
|
+
| Lines of code | [Y] |
|
|
33
|
+
| Phases | [N] |
|
|
34
|
+
| Plans completed | [M] |
|
|
35
|
+
| Duration | [D] days |
|
|
36
|
+
|
|
37
|
+
**Git range:** `feat(XX-XX)` → `feat(YY-YY)`
|
|
38
|
+
|
|
39
|
+
**What's next:** [Brief description of next milestone, or link to ROADMAP.md]
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Section Specifications
|
|
47
|
+
|
|
48
|
+
### Header
|
|
49
|
+
**Format:** `## v[X.Y] [Name] (Shipped: YYYY-MM-DD)`
|
|
50
|
+
**Example:** `## v0.2 Session Continuity (Shipped: 2026-01-28)`
|
|
51
|
+
|
|
52
|
+
### Delivered
|
|
53
|
+
**Purpose:** One-sentence summary of what shipped.
|
|
54
|
+
**Keep it:** User-focused, outcome-oriented.
|
|
55
|
+
|
|
56
|
+
### Phases completed
|
|
57
|
+
**Format:** `[Start]-[End] ([N] plans total)`
|
|
58
|
+
**Example:** `5-7 (4 plans total)` or `8.5-8.7 (3 plans total)` for decimal phases
|
|
59
|
+
|
|
60
|
+
### Key accomplishments
|
|
61
|
+
**Count:** 3-5 major achievements.
|
|
62
|
+
**Focus:** User-visible features, technical capabilities, quality improvements.
|
|
63
|
+
**Avoid:** Implementation details, internal refactors (unless significant).
|
|
64
|
+
|
|
65
|
+
### Stats
|
|
66
|
+
**Purpose:** Quantify the work for historical reference.
|
|
67
|
+
**Collect via:**
|
|
68
|
+
- Files: `git diff --stat feat(XX-XX)..feat(YY-YY) | tail -1`
|
|
69
|
+
- LOC: Count primary language (varies by project)
|
|
70
|
+
- Phases/Plans: Count from ROADMAP.md
|
|
71
|
+
- Duration: Days from first commit to ship
|
|
72
|
+
|
|
73
|
+
### Git range
|
|
74
|
+
**Purpose:** Reproducible reference to milestone commits.
|
|
75
|
+
**Format:** First commit → last commit of milestone.
|
|
76
|
+
|
|
77
|
+
### What's next
|
|
78
|
+
**Purpose:** Link to future work.
|
|
79
|
+
**Options:**
|
|
80
|
+
- Next milestone goal: "v0.3 Roadmap & Milestone Management"
|
|
81
|
+
- Reference: "See [ROADMAP.md](ROADMAP.md) for planned work"
|
|
82
|
+
- End state: "Project complete" or "Maintenance mode"
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Guidelines
|
|
87
|
+
|
|
88
|
+
### When to create milestones
|
|
89
|
+
|
|
90
|
+
**DO create for:**
|
|
91
|
+
- Initial MVP shipped (v1.0)
|
|
92
|
+
- Major version releases (v2.0, v3.0)
|
|
93
|
+
- Significant feature milestones (v1.1, v1.2)
|
|
94
|
+
- Before archiving planning (capture what was shipped)
|
|
95
|
+
|
|
96
|
+
**DON'T create for:**
|
|
97
|
+
- Individual phase completions (normal workflow)
|
|
98
|
+
- Work in progress (wait until shipped)
|
|
99
|
+
- Minor bug fixes that don't constitute a release
|
|
100
|
+
|
|
101
|
+
### Ordering
|
|
102
|
+
|
|
103
|
+
Entries are **reverse chronological** — newest milestone at top.
|
|
104
|
+
|
|
105
|
+
### Decimal phases
|
|
106
|
+
|
|
107
|
+
Include decimal phases in the range when relevant:
|
|
108
|
+
- "Phases completed: 8-8.7 (5 plans total)" — includes 8, 8.5, 8.6, 8.7
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Example
|
|
113
|
+
|
|
114
|
+
```markdown
|
|
115
|
+
# Project Milestones: Drive Framework
|
|
116
|
+
|
|
117
|
+
## v0.2 Session Continuity (Shipped: 2026-01-28)
|
|
118
|
+
|
|
119
|
+
**Delivered:** Pause/resume workflow with handoff files and enhanced STATE.md session tracking
|
|
120
|
+
|
|
121
|
+
**Phases completed:** 7-8.7 (5 plans total)
|
|
122
|
+
|
|
123
|
+
**Key accomplishments:**
|
|
124
|
+
- Handoff file generation for session breaks
|
|
125
|
+
- STATE.md Session Continuity section
|
|
126
|
+
- SonarQube integration (optional)
|
|
127
|
+
- Codebase CLAUDE.md improvements
|
|
128
|
+
|
|
129
|
+
**Stats:**
|
|
130
|
+
| Metric | Value |
|
|
131
|
+
|--------|-------|
|
|
132
|
+
| Files modified | 12 |
|
|
133
|
+
| Lines of code | 850 |
|
|
134
|
+
| Phases | 4 (7, 8.5, 8.6, 8.7) |
|
|
135
|
+
| Plans completed | 5 |
|
|
136
|
+
| Duration | 2 days |
|
|
137
|
+
|
|
138
|
+
**Git range:** `feat(07-01)` → `feat(08.7-01)`
|
|
139
|
+
|
|
140
|
+
**What's next:** v0.3 Roadmap & Milestone Management — milestone lifecycle commands
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## v0.1 Core Loop (Shipped: 2026-01-27)
|
|
145
|
+
|
|
146
|
+
**Delivered:** Drive framework foundation with Plan-Apply-Unify loop
|
|
147
|
+
|
|
148
|
+
**Phases completed:** 1-6 (4 plans total)
|
|
149
|
+
|
|
150
|
+
**Key accomplishments:**
|
|
151
|
+
- PLAN.md, STATE.md, PROJECT.md, SUMMARY.md templates
|
|
152
|
+
- ROADMAP.md with phase structure
|
|
153
|
+
- Vector Drive domain with 11 rules
|
|
154
|
+
|
|
155
|
+
**Stats:**
|
|
156
|
+
| Metric | Value |
|
|
157
|
+
|--------|-------|
|
|
158
|
+
| Files modified | 18 |
|
|
159
|
+
| Lines of code | 1,200 |
|
|
160
|
+
| Phases | 6 |
|
|
161
|
+
| Plans completed | 4 |
|
|
162
|
+
| Duration | 1 day |
|
|
163
|
+
|
|
164
|
+
**Git range:** `feat(01-01)` → `feat(06-01)`
|
|
165
|
+
|
|
166
|
+
**What's next:** v0.2 Session Continuity — pause/resume workflow
|
|
167
|
+
```
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
# PLAN.md Template
|
|
2
|
+
|
|
3
|
+
Template for `.drive/phases/{phase-number}-{name}/{phase}-{plan}-PLAN.md` - executable phase plans.
|
|
4
|
+
|
|
5
|
+
**Naming:** `{phase}-{plan}-PLAN.md` (e.g., `01-02-PLAN.md` for Phase 1, Plan 2)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## File Template
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
---
|
|
13
|
+
phase: XX-name
|
|
14
|
+
plan: NN
|
|
15
|
+
type: execute # execute | tdd | research
|
|
16
|
+
wave: N # Execution wave (1, 2, 3...). Pre-computed at plan time.
|
|
17
|
+
depends_on: [] # Plan IDs this plan requires (e.g., ["01-01"]).
|
|
18
|
+
files_modified: [] # Files this plan modifies.
|
|
19
|
+
autonomous: true # false if plan has checkpoints requiring user interaction
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
<objective>
|
|
23
|
+
## Goal
|
|
24
|
+
[What this plan accomplishes - specific, measurable]
|
|
25
|
+
|
|
26
|
+
## Purpose
|
|
27
|
+
[Why this matters for the project - connects to PROJECT.md value]
|
|
28
|
+
|
|
29
|
+
## Output
|
|
30
|
+
[What artifacts will be created/modified]
|
|
31
|
+
</objective>
|
|
32
|
+
|
|
33
|
+
<context>
|
|
34
|
+
## Project Context
|
|
35
|
+
@.drive/PROJECT.md
|
|
36
|
+
@.drive/ROADMAP.md
|
|
37
|
+
@.drive/STATE.md
|
|
38
|
+
|
|
39
|
+
## Prior Work (only if genuinely needed)
|
|
40
|
+
# Only reference prior SUMMARYs if:
|
|
41
|
+
# - This plan imports types/exports from prior plan
|
|
42
|
+
# - Prior plan made decision affecting this plan
|
|
43
|
+
# - Prior plan's output is direct input to this plan
|
|
44
|
+
#
|
|
45
|
+
# Do NOT reflexively chain: Plan 02 refs 01, Plan 03 refs 02...
|
|
46
|
+
|
|
47
|
+
## Source Files
|
|
48
|
+
@path/to/relevant/source.ts
|
|
49
|
+
</context>
|
|
50
|
+
|
|
51
|
+
<skills>
|
|
52
|
+
## Required Skills (from SPECIAL-FLOWS.md)
|
|
53
|
+
|
|
54
|
+
<!-- If .drive/SPECIAL-FLOWS.md exists, this section is auto-populated by /drive:plan -->
|
|
55
|
+
<!-- If no SPECIAL-FLOWS.md, omit this section or show "No specialized flows configured" -->
|
|
56
|
+
|
|
57
|
+
| Skill | Priority | When to Invoke | Loaded? |
|
|
58
|
+
|-------|----------|----------------|---------|
|
|
59
|
+
| /skill-name | required | Before [work type] | ○ |
|
|
60
|
+
| /skill-name | optional | For [specific need] | ○ |
|
|
61
|
+
|
|
62
|
+
**BLOCKING:** Required skills MUST be loaded before APPLY proceeds.
|
|
63
|
+
Run each skill command or confirm already loaded.
|
|
64
|
+
|
|
65
|
+
## Skill Invocation Checklist
|
|
66
|
+
- [ ] /skill-1 loaded (run command or confirm)
|
|
67
|
+
- [ ] /skill-2 loaded (run command or confirm)
|
|
68
|
+
|
|
69
|
+
</skills>
|
|
70
|
+
|
|
71
|
+
<acceptance_criteria>
|
|
72
|
+
|
|
73
|
+
## AC-1: [Criterion Name]
|
|
74
|
+
```gherkin
|
|
75
|
+
Given [precondition / system state]
|
|
76
|
+
When [user action / trigger]
|
|
77
|
+
Then [expected outcome / observable result]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## AC-2: [Criterion Name]
|
|
81
|
+
```gherkin
|
|
82
|
+
Given [precondition]
|
|
83
|
+
When [action]
|
|
84
|
+
Then [outcome]
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## AC-3: [Criterion Name]
|
|
88
|
+
```gherkin
|
|
89
|
+
Given [precondition]
|
|
90
|
+
When [action]
|
|
91
|
+
Then [outcome]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
</acceptance_criteria>
|
|
95
|
+
|
|
96
|
+
<tasks>
|
|
97
|
+
|
|
98
|
+
<task type="auto">
|
|
99
|
+
<name>Task 1: [Action-oriented name]</name>
|
|
100
|
+
<files>path/to/file.ext, another/file.ext</files>
|
|
101
|
+
<action>
|
|
102
|
+
[Specific implementation instructions]
|
|
103
|
+
- What to do
|
|
104
|
+
- How to do it
|
|
105
|
+
- What to avoid and WHY
|
|
106
|
+
</action>
|
|
107
|
+
<verify>[Command or check to prove it worked]</verify>
|
|
108
|
+
<done>[Measurable acceptance criteria - links to AC-N]</done>
|
|
109
|
+
</task>
|
|
110
|
+
|
|
111
|
+
<task type="auto">
|
|
112
|
+
<name>Task 2: [Action-oriented name]</name>
|
|
113
|
+
<files>path/to/file.ext</files>
|
|
114
|
+
<action>[Specific implementation]</action>
|
|
115
|
+
<verify>[Command or check]</verify>
|
|
116
|
+
<done>[Acceptance criteria]</done>
|
|
117
|
+
</task>
|
|
118
|
+
|
|
119
|
+
<task type="checkpoint:decision" gate="blocking">
|
|
120
|
+
<decision>[What needs deciding]</decision>
|
|
121
|
+
<context>[Why this decision matters now]</context>
|
|
122
|
+
<options>
|
|
123
|
+
<option id="option-a">
|
|
124
|
+
<name>[Option name]</name>
|
|
125
|
+
<pros>[Benefits and advantages]</pros>
|
|
126
|
+
<cons>[Tradeoffs and limitations]</cons>
|
|
127
|
+
</option>
|
|
128
|
+
<option id="option-b">
|
|
129
|
+
<name>[Option name]</name>
|
|
130
|
+
<pros>[Benefits and advantages]</pros>
|
|
131
|
+
<cons>[Tradeoffs and limitations]</cons>
|
|
132
|
+
</option>
|
|
133
|
+
</options>
|
|
134
|
+
<resume-signal>Select: option-a or option-b</resume-signal>
|
|
135
|
+
</task>
|
|
136
|
+
|
|
137
|
+
<task type="checkpoint:human-verify" gate="blocking">
|
|
138
|
+
<what-built>[What was built that needs verification]</what-built>
|
|
139
|
+
<how-to-verify>
|
|
140
|
+
1. Run: [command to start]
|
|
141
|
+
2. Visit: [URL or location]
|
|
142
|
+
3. Test: [Specific interactions]
|
|
143
|
+
4. Confirm: [Expected behaviors]
|
|
144
|
+
</how-to-verify>
|
|
145
|
+
<resume-signal>Type "approved" to continue, or describe issues to fix</resume-signal>
|
|
146
|
+
</task>
|
|
147
|
+
|
|
148
|
+
</tasks>
|
|
149
|
+
|
|
150
|
+
<boundaries>
|
|
151
|
+
|
|
152
|
+
## DO NOT CHANGE
|
|
153
|
+
- [Protected file or pattern]
|
|
154
|
+
- [Another protected element]
|
|
155
|
+
|
|
156
|
+
## SCOPE LIMITS
|
|
157
|
+
- [What's explicitly out of scope for this plan]
|
|
158
|
+
- [Another exclusion]
|
|
159
|
+
|
|
160
|
+
</boundaries>
|
|
161
|
+
|
|
162
|
+
<verification>
|
|
163
|
+
Before declaring plan complete:
|
|
164
|
+
- [ ] [Specific test command]
|
|
165
|
+
- [ ] [Build/type check passes]
|
|
166
|
+
- [ ] [Behavior verification]
|
|
167
|
+
- [ ] All acceptance criteria met
|
|
168
|
+
</verification>
|
|
169
|
+
|
|
170
|
+
<success_criteria>
|
|
171
|
+
- All tasks completed
|
|
172
|
+
- All verification checks pass
|
|
173
|
+
- No errors or warnings introduced
|
|
174
|
+
- [Plan-specific criteria]
|
|
175
|
+
</success_criteria>
|
|
176
|
+
|
|
177
|
+
<output>
|
|
178
|
+
After completion, create `.drive/phases/XX-name/{phase}-{plan}-SUMMARY.md`
|
|
179
|
+
</output>
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Frontmatter Fields
|
|
185
|
+
|
|
186
|
+
| Field | Required | Purpose |
|
|
187
|
+
|-------|----------|---------|
|
|
188
|
+
| `phase` | Yes | Phase identifier (e.g., `01-foundation`) |
|
|
189
|
+
| `plan` | Yes | Plan number within phase (e.g., `01`, `02`) |
|
|
190
|
+
| `type` | Yes | `execute` for standard, `tdd` for test-driven, `research` for exploration |
|
|
191
|
+
| `wave` | Yes | Execution wave number (1, 2, 3...). Pre-computed at plan time. |
|
|
192
|
+
| `depends_on` | Yes | Array of plan IDs this plan requires. Empty = parallel candidate. |
|
|
193
|
+
| `files_modified` | Yes | Files this plan touches. For conflict detection. |
|
|
194
|
+
| `autonomous` | Yes | `true` if no checkpoints, `false` if has checkpoints |
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Task Types
|
|
199
|
+
|
|
200
|
+
| Type | Use For | Behavior |
|
|
201
|
+
|------|---------|----------|
|
|
202
|
+
| `auto` | Everything AI can do independently | Fully autonomous execution |
|
|
203
|
+
| `checkpoint:decision` | Implementation choices requiring human input | Pauses, presents options, waits for selection |
|
|
204
|
+
| `checkpoint:human-verify` | Visual/functional verification | Pauses, presents verification steps, waits for approval |
|
|
205
|
+
| `checkpoint:human-action` | Truly unavoidable manual steps (rare) | Pauses, describes action, waits for confirmation |
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## Task Structure Requirements
|
|
210
|
+
|
|
211
|
+
Every `auto` task MUST have:
|
|
212
|
+
- `<name>` - Action-oriented, describes outcome
|
|
213
|
+
- `<files>` - Which files created/modified
|
|
214
|
+
- `<action>` - Specific implementation (what to do, what to avoid)
|
|
215
|
+
- `<verify>` - How to prove it worked (command, check)
|
|
216
|
+
- `<done>` - Acceptance criteria (links to AC-N)
|
|
217
|
+
|
|
218
|
+
**If you can't specify Files + Action + Verify + Done, the task is too vague.**
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## Acceptance Criteria Format
|
|
223
|
+
|
|
224
|
+
Use Given/When/Then (BDD) format:
|
|
225
|
+
|
|
226
|
+
```gherkin
|
|
227
|
+
Given [precondition / initial state]
|
|
228
|
+
When [action / trigger]
|
|
229
|
+
Then [expected outcome]
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Guidelines:**
|
|
233
|
+
- Each criterion should be independently testable
|
|
234
|
+
- Include error states and edge cases
|
|
235
|
+
- Avoid implementation details (describe behavior, not code)
|
|
236
|
+
- Link tasks to criteria via `<done>AC-N satisfied</done>`
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## Scope Guidance
|
|
241
|
+
|
|
242
|
+
**Plan sizing:**
|
|
243
|
+
- 2-3 tasks per plan maximum
|
|
244
|
+
- ~50% context usage target
|
|
245
|
+
- Single concern per plan
|
|
246
|
+
|
|
247
|
+
**When to split into multiple plans:**
|
|
248
|
+
- Different subsystems (auth vs API vs UI)
|
|
249
|
+
- More than 3 tasks
|
|
250
|
+
- Risk of context overflow
|
|
251
|
+
- TDD candidates (separate plans)
|
|
252
|
+
|
|
253
|
+
**Prefer vertical slices:**
|
|
254
|
+
```
|
|
255
|
+
PREFER: Plan 01 = User (model + API + UI)
|
|
256
|
+
Plan 02 = Product (model + API + UI)
|
|
257
|
+
|
|
258
|
+
AVOID: Plan 01 = All models
|
|
259
|
+
Plan 02 = All APIs
|
|
260
|
+
Plan 03 = All UIs
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## Parallel Execution
|
|
266
|
+
|
|
267
|
+
**Wave 1 candidates (parallel):**
|
|
268
|
+
- `depends_on: []` - No dependencies
|
|
269
|
+
- No file conflicts with other Wave 1 plans
|
|
270
|
+
- `autonomous: true` - No checkpoints blocking
|
|
271
|
+
|
|
272
|
+
**Sequential (genuine dependency):**
|
|
273
|
+
- `depends_on: ["01-01"]` - Requires prior plan output
|
|
274
|
+
- Uses types/exports created by prior plan
|
|
275
|
+
- Prior plan makes decision affecting this plan
|
|
276
|
+
|
|
277
|
+
**Do NOT reflexively chain:** Plan 02 depending on 01 "just because" creates false sequential execution.
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
## Anti-Patterns
|
|
282
|
+
|
|
283
|
+
**Vague tasks:**
|
|
284
|
+
```xml
|
|
285
|
+
<!-- BAD -->
|
|
286
|
+
<task type="auto">
|
|
287
|
+
<name>Set up authentication</name>
|
|
288
|
+
<action>Add auth to the app</action>
|
|
289
|
+
</task>
|
|
290
|
+
|
|
291
|
+
<!-- GOOD -->
|
|
292
|
+
<task type="auto">
|
|
293
|
+
<name>Create login endpoint with JWT</name>
|
|
294
|
+
<files>src/api/auth/login.ts, src/lib/jwt.ts</files>
|
|
295
|
+
<action>
|
|
296
|
+
Create POST /api/auth/login endpoint:
|
|
297
|
+
- Accept { email, password } body
|
|
298
|
+
- Validate against User model with bcrypt compare
|
|
299
|
+
- Return JWT token on success (15min expiry)
|
|
300
|
+
- Return 401 on invalid credentials
|
|
301
|
+
Avoid: Storing plaintext passwords, using weak JWT secrets
|
|
302
|
+
</action>
|
|
303
|
+
<verify>curl -X POST /api/auth/login returns JWT token</verify>
|
|
304
|
+
<done>AC-1 satisfied: User can authenticate with valid credentials</done>
|
|
305
|
+
</task>
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
**Reflexive dependencies:**
|
|
309
|
+
```yaml
|
|
310
|
+
# BAD - chaining just because sequential
|
|
311
|
+
depends_on: ["01-01"] # Plan 02 doesn't actually need 01's output
|
|
312
|
+
|
|
313
|
+
# GOOD - genuine dependency
|
|
314
|
+
depends_on: ["01-01"] # Plan 02 imports User type from 01-01
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
**Missing boundaries:**
|
|
318
|
+
```markdown
|
|
319
|
+
<!-- BAD - no protection -->
|
|
320
|
+
<tasks>...</tasks>
|
|
321
|
+
|
|
322
|
+
<!-- GOOD - explicit boundaries -->
|
|
323
|
+
<boundaries>
|
|
324
|
+
## DO NOT CHANGE
|
|
325
|
+
- database/migrations/* (schema locked for this phase)
|
|
326
|
+
- src/lib/auth.ts (auth system stable)
|
|
327
|
+
</boundaries>
|
|
328
|
+
```
|