@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,283 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Configure specialized skill integrations for a Drive project. Discovers available skills, prompts user to select applicable ones, maps skills to work types, and generates .drive/SPECIAL-FLOWS.md.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<when_to_use>
|
|
6
|
+
- During init when user has specialized skills/commands
|
|
7
|
+
- Ad-hoc via `/drive:flows` command
|
|
8
|
+
- When adding new skills to an existing project
|
|
9
|
+
- When amending existing SPECIAL-FLOWS.md
|
|
10
|
+
</when_to_use>
|
|
11
|
+
|
|
12
|
+
<loop_context>
|
|
13
|
+
N/A - This is a utility workflow, not a loop phase.
|
|
14
|
+
Can be run at any time without affecting PLAN/APPLY/UNIFY state.
|
|
15
|
+
</loop_context>
|
|
16
|
+
|
|
17
|
+
<required_reading>
|
|
18
|
+
@.drive/PROJECT.md (project context)
|
|
19
|
+
@.drive/SPECIAL-FLOWS.md (if exists, for amendment)
|
|
20
|
+
</required_reading>
|
|
21
|
+
|
|
22
|
+
<references>
|
|
23
|
+
@src/references/specialized-workflow-integration.md
|
|
24
|
+
@src/templates/SPECIAL-FLOWS.md
|
|
25
|
+
</references>
|
|
26
|
+
|
|
27
|
+
<process>
|
|
28
|
+
|
|
29
|
+
<step name="check_existing" priority="first">
|
|
30
|
+
1. Check if .drive/SPECIAL-FLOWS.md exists:
|
|
31
|
+
```bash
|
|
32
|
+
ls .drive/SPECIAL-FLOWS.md 2>/dev/null
|
|
33
|
+
```
|
|
34
|
+
2. If exists:
|
|
35
|
+
```
|
|
36
|
+
Existing SPECIAL-FLOWS.md found.
|
|
37
|
+
|
|
38
|
+
[1] Amend (add new skills)
|
|
39
|
+
[2] Replace (start fresh)
|
|
40
|
+
[3] View current configuration
|
|
41
|
+
```
|
|
42
|
+
Wait for user response before proceeding.
|
|
43
|
+
3. If not exists: proceed with fresh creation
|
|
44
|
+
</step>
|
|
45
|
+
|
|
46
|
+
<step name="discover_available_skills">
|
|
47
|
+
1. Scan for available skills:
|
|
48
|
+
```bash
|
|
49
|
+
ls ~/.claude/commands/ 2>/dev/null | head -20
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
2. Present categorized list to user:
|
|
53
|
+
```
|
|
54
|
+
Available skills in your environment:
|
|
55
|
+
|
|
56
|
+
Commands:
|
|
57
|
+
- /revops-expert
|
|
58
|
+
- /frontend-design
|
|
59
|
+
- /site-launcher-wp
|
|
60
|
+
- /content-manager
|
|
61
|
+
[... etc]
|
|
62
|
+
|
|
63
|
+
Which skills apply to this project?
|
|
64
|
+
(Enter comma-separated names, or "none" to skip)
|
|
65
|
+
|
|
66
|
+
Example: revops-expert, frontend-design
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
3. Wait for user response. Store as `selected_skills`.
|
|
70
|
+
4. If "none" or empty: skip to end with minimal SPECIAL-FLOWS.md
|
|
71
|
+
</step>
|
|
72
|
+
|
|
73
|
+
<step name="map_skills_to_work_types">
|
|
74
|
+
For each selected skill, gather mapping:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
Configuring: /{{skill_name}}
|
|
78
|
+
|
|
79
|
+
1. What type of work triggers this skill?
|
|
80
|
+
(Example: "Persuasion copy", "UI components", "Database changes")
|
|
81
|
+
|
|
82
|
+
Work type:
|
|
83
|
+
```
|
|
84
|
+
Wait for response. Store as `work_type`.
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
2. Is this skill required or optional?
|
|
88
|
+
- required: Gap logged if not used
|
|
89
|
+
- optional: Informational only
|
|
90
|
+
|
|
91
|
+
[1] Required (Recommended)
|
|
92
|
+
[2] Optional
|
|
93
|
+
```
|
|
94
|
+
Wait for response. Store as `priority`.
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
3. When should this skill be invoked?
|
|
98
|
+
(Example: "Before writing headlines", "When creating HTML")
|
|
99
|
+
|
|
100
|
+
Trigger:
|
|
101
|
+
```
|
|
102
|
+
Wait for response. Store as `trigger`.
|
|
103
|
+
|
|
104
|
+
Repeat for each selected skill.
|
|
105
|
+
</step>
|
|
106
|
+
|
|
107
|
+
<step name="check_phase_overrides">
|
|
108
|
+
```
|
|
109
|
+
Do any phases need additional skills beyond the defaults?
|
|
110
|
+
(Example: Phase 3 might need a specific framework skill)
|
|
111
|
+
|
|
112
|
+
[1] Yes, configure phase overrides
|
|
113
|
+
[2] No, defaults are sufficient
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
**If "1" or "yes":**
|
|
117
|
+
```
|
|
118
|
+
Phase number (e.g., 3):
|
|
119
|
+
```
|
|
120
|
+
Wait for response.
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
Additional skill for this phase:
|
|
124
|
+
```
|
|
125
|
+
Wait for response.
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
Why is this needed for this phase?
|
|
129
|
+
```
|
|
130
|
+
Wait for response.
|
|
131
|
+
|
|
132
|
+
Repeat or ask "Add another phase override? [y/n]"
|
|
133
|
+
</step>
|
|
134
|
+
|
|
135
|
+
<step name="identify_templates_assets">
|
|
136
|
+
```
|
|
137
|
+
Do you have reference templates or assets for this project?
|
|
138
|
+
(HTML templates, external docs, reference materials)
|
|
139
|
+
|
|
140
|
+
[1] Yes, add templates/assets
|
|
141
|
+
[2] No, skip this section
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
**If "1" or "yes":**
|
|
145
|
+
```
|
|
146
|
+
Asset type (e.g., "Hero template", "API docs"):
|
|
147
|
+
```
|
|
148
|
+
Wait for response.
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
Location (file path or URL):
|
|
152
|
+
```
|
|
153
|
+
Wait for response.
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
When is this used?
|
|
157
|
+
```
|
|
158
|
+
Wait for response.
|
|
159
|
+
|
|
160
|
+
Repeat or ask "Add another asset? [y/n]"
|
|
161
|
+
</step>
|
|
162
|
+
|
|
163
|
+
<step name="generate_output">
|
|
164
|
+
1. Create .drive/SPECIAL-FLOWS.md using template:
|
|
165
|
+
- Replace all {{placeholders}} with gathered data
|
|
166
|
+
- Populate tables with skill mappings
|
|
167
|
+
- Set timestamp to current date/time
|
|
168
|
+
|
|
169
|
+
2. Update PROJECT.md with quick reference section:
|
|
170
|
+
```markdown
|
|
171
|
+
## Specialized Flows
|
|
172
|
+
|
|
173
|
+
See: .drive/SPECIAL-FLOWS.md
|
|
174
|
+
|
|
175
|
+
Quick Reference:
|
|
176
|
+
- /skill1 → Work type 1
|
|
177
|
+
- /skill2 → Work type 2
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
3. Display confirmation:
|
|
181
|
+
```
|
|
182
|
+
════════════════════════════════════════
|
|
183
|
+
SPECIAL-FLOWS CONFIGURED
|
|
184
|
+
════════════════════════════════════════
|
|
185
|
+
|
|
186
|
+
Created: .drive/SPECIAL-FLOWS.md
|
|
187
|
+
|
|
188
|
+
Skills configured:
|
|
189
|
+
- /skill1 (required) → Work type 1
|
|
190
|
+
- /skill2 (optional) → Work type 2
|
|
191
|
+
|
|
192
|
+
Phase overrides: [N configured / None]
|
|
193
|
+
Templates/assets: [N configured / None]
|
|
194
|
+
|
|
195
|
+
────────────────────────────────────────
|
|
196
|
+
Verification will occur during UNIFY.
|
|
197
|
+
Run /drive:flows audit to check current phase.
|
|
198
|
+
────────────────────────────────────────
|
|
199
|
+
```
|
|
200
|
+
</step>
|
|
201
|
+
|
|
202
|
+
</process>
|
|
203
|
+
|
|
204
|
+
<subcommand name="add">
|
|
205
|
+
Quick add a single skill without full configuration:
|
|
206
|
+
|
|
207
|
+
1. Ask for skill name
|
|
208
|
+
2. Ask for work type
|
|
209
|
+
3. Ask for priority (required/optional)
|
|
210
|
+
4. Ask for trigger
|
|
211
|
+
5. Append to existing SPECIAL-FLOWS.md table
|
|
212
|
+
6. Confirm addition
|
|
213
|
+
</subcommand>
|
|
214
|
+
|
|
215
|
+
<subcommand name="audit">
|
|
216
|
+
Check current phase against declared flows:
|
|
217
|
+
|
|
218
|
+
1. Read .drive/SPECIAL-FLOWS.md
|
|
219
|
+
2. Read .drive/STATE.md for current phase
|
|
220
|
+
3. Check ROADMAP.md for phase skill requirements
|
|
221
|
+
4. Display:
|
|
222
|
+
```
|
|
223
|
+
SKILL AUDIT - Phase {{N}}
|
|
224
|
+
|
|
225
|
+
Required for this phase:
|
|
226
|
+
- /skill1 (project-level)
|
|
227
|
+
- /skill2 (phase override)
|
|
228
|
+
|
|
229
|
+
Check invocations before UNIFY.
|
|
230
|
+
```
|
|
231
|
+
</subcommand>
|
|
232
|
+
|
|
233
|
+
<subcommand name="list">
|
|
234
|
+
Display current configuration:
|
|
235
|
+
|
|
236
|
+
1. Read .drive/SPECIAL-FLOWS.md
|
|
237
|
+
2. Display formatted summary:
|
|
238
|
+
```
|
|
239
|
+
SPECIAL-FLOWS CONFIGURATION
|
|
240
|
+
|
|
241
|
+
Project-Level Skills:
|
|
242
|
+
- /skill1 (required) → Work type 1
|
|
243
|
+
- /skill2 (optional) → Work type 2
|
|
244
|
+
|
|
245
|
+
Phase Overrides:
|
|
246
|
+
- Phase 3: /skill3
|
|
247
|
+
|
|
248
|
+
Templates/Assets: 2 configured
|
|
249
|
+
```
|
|
250
|
+
</subcommand>
|
|
251
|
+
|
|
252
|
+
<output>
|
|
253
|
+
- `.drive/SPECIAL-FLOWS.md` created or updated
|
|
254
|
+
- `.drive/PROJECT.md` updated with quick reference
|
|
255
|
+
- User informed of configuration
|
|
256
|
+
</output>
|
|
257
|
+
|
|
258
|
+
<error_handling>
|
|
259
|
+
**No .claude/commands/ directory:**
|
|
260
|
+
```
|
|
261
|
+
No skills directory found at ~/.claude/commands/
|
|
262
|
+
Add skills to your Claude Code configuration first.
|
|
263
|
+
|
|
264
|
+
You can still manually specify skill names.
|
|
265
|
+
Enter skill names (comma-separated) or "skip":
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
**Existing SPECIAL-FLOWS.md and user chooses amend:**
|
|
269
|
+
- Read existing configuration
|
|
270
|
+
- Preserve existing entries
|
|
271
|
+
- Add new entries from this session
|
|
272
|
+
- Update timestamp
|
|
273
|
+
|
|
274
|
+
**No .drive/ directory:**
|
|
275
|
+
```
|
|
276
|
+
Drive not initialized in this project.
|
|
277
|
+
Run /drive:init first, or create .drive/ manually.
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
**User provides invalid skill name:**
|
|
281
|
+
- Warn but proceed (skill may exist elsewhere)
|
|
282
|
+
- Note: "Skill not found in ~/.claude/commands/ but adding anyway"
|
|
283
|
+
</error_handling>
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Review all open issues with current codebase context. Categorize as resolved, urgent, natural-fit, or can-wait. Offer triage actions. Prevents issue pile-up by closing the loop on deferred work.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<when_to_use>
|
|
6
|
+
- Before milestone completion (clean up before release)
|
|
7
|
+
- Periodically during active development
|
|
8
|
+
- When planning new phase (check for natural fits)
|
|
9
|
+
- After significant refactoring (issues may be resolved)
|
|
10
|
+
</when_to_use>
|
|
11
|
+
|
|
12
|
+
<process>
|
|
13
|
+
|
|
14
|
+
<step name="find_issues">
|
|
15
|
+
**Locate all issue files:**
|
|
16
|
+
|
|
17
|
+
1. Check for global issues:
|
|
18
|
+
```bash
|
|
19
|
+
ls .drive/ISSUES.md 2>/dev/null
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
2. Check for phase-scoped UAT files:
|
|
23
|
+
```bash
|
|
24
|
+
find .drive/phases -name "*-UAT.md" -type f 2>/dev/null
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
3. If no issue files found:
|
|
28
|
+
```
|
|
29
|
+
No issues to review.
|
|
30
|
+
|
|
31
|
+
Issue files are created by:
|
|
32
|
+
- Deferred enhancements during development → .drive/ISSUES.md
|
|
33
|
+
- UAT testing findings → .drive/phases/XX-name/{plan}-UAT.md
|
|
34
|
+
|
|
35
|
+
All clear - continue with current work.
|
|
36
|
+
```
|
|
37
|
+
Exit workflow.
|
|
38
|
+
</step>
|
|
39
|
+
|
|
40
|
+
<step name="parse_issues">
|
|
41
|
+
**Parse all open issues:**
|
|
42
|
+
|
|
43
|
+
From ISSUES.md "## Open Issues" section:
|
|
44
|
+
- ISS number (ISS-001, ISS-002, etc.)
|
|
45
|
+
- Brief description
|
|
46
|
+
- Discovered phase/date
|
|
47
|
+
- Type (Bug/Enhancement/Technical Debt/UX)
|
|
48
|
+
- Effort estimate
|
|
49
|
+
|
|
50
|
+
From UAT files:
|
|
51
|
+
- UAT number (UAT-001, UAT-002, etc.)
|
|
52
|
+
- Severity (Blocker/Major/Minor/Cosmetic)
|
|
53
|
+
- Related AC
|
|
54
|
+
- Description
|
|
55
|
+
|
|
56
|
+
Build consolidated list with source file reference.
|
|
57
|
+
</step>
|
|
58
|
+
|
|
59
|
+
<step name="analyze_each">
|
|
60
|
+
**For each open issue, analyze against codebase:**
|
|
61
|
+
|
|
62
|
+
1. **Check if still relevant:**
|
|
63
|
+
- Search for related code/files mentioned
|
|
64
|
+
- If code no longer exists or significantly refactored → likely resolved
|
|
65
|
+
|
|
66
|
+
2. **Check if accidentally resolved:**
|
|
67
|
+
- Look for changes that may have addressed this
|
|
68
|
+
- Check if enhancement was implemented as part of other work
|
|
69
|
+
|
|
70
|
+
3. **Assess current urgency:**
|
|
71
|
+
- Blocking upcoming phases?
|
|
72
|
+
- Pain point in recent work?
|
|
73
|
+
- Affecting actively-touched code?
|
|
74
|
+
|
|
75
|
+
4. **Check natural fit:**
|
|
76
|
+
- Aligns with upcoming phase in roadmap?
|
|
77
|
+
- Would touch same files as current work?
|
|
78
|
+
|
|
79
|
+
**Categorize:**
|
|
80
|
+
- **Resolved** - Can be closed (code changed, no longer applicable)
|
|
81
|
+
- **Urgent** - Should address before continuing (blocking/problematic)
|
|
82
|
+
- **Natural fit** - Good candidate for upcoming phase X
|
|
83
|
+
- **Can wait** - Keep deferred, no change in status
|
|
84
|
+
</step>
|
|
85
|
+
|
|
86
|
+
<step name="report">
|
|
87
|
+
**Present categorized report:**
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
# Issue Review
|
|
91
|
+
|
|
92
|
+
**Analyzed:** [N] open issues
|
|
93
|
+
**Date:** [today]
|
|
94
|
+
|
|
95
|
+
## Resolved (can close)
|
|
96
|
+
|
|
97
|
+
### ISS-XXX: [description]
|
|
98
|
+
**Reason:** [Why resolved - code changed, implemented elsewhere]
|
|
99
|
+
**Evidence:** [What you found]
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Urgent (should address now)
|
|
104
|
+
|
|
105
|
+
### UAT-XXX: [description]
|
|
106
|
+
**Why urgent:** [What changed - blocking, causing problems]
|
|
107
|
+
**Recommendation:** Insert plan or add to current phase
|
|
108
|
+
**Effort:** [Quick/Medium/Substantial]
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Natural Fit for Upcoming Work
|
|
113
|
+
|
|
114
|
+
### ISS-XXX: [description]
|
|
115
|
+
**Fits with:** Phase [X] - [phase name]
|
|
116
|
+
**Reason:** [Same files, same subsystem]
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Can Wait (no change)
|
|
121
|
+
|
|
122
|
+
[List issue IDs with brief status]
|
|
123
|
+
```
|
|
124
|
+
</step>
|
|
125
|
+
|
|
126
|
+
<step name="offer_actions">
|
|
127
|
+
**Offer actions based on findings:**
|
|
128
|
+
|
|
129
|
+
Use AskUserQuestion with relevant options:
|
|
130
|
+
|
|
131
|
+
**If resolved issues exist:**
|
|
132
|
+
- "Close resolved" - Move to closed section
|
|
133
|
+
- "Review each first" - Show details before closing
|
|
134
|
+
|
|
135
|
+
**If urgent issues exist:**
|
|
136
|
+
- "Insert urgent phase" - Create decimal phase (e.g., 10.3)
|
|
137
|
+
- "Add to current plan" - Include in next plan
|
|
138
|
+
- "Defer anyway" - Keep as-is
|
|
139
|
+
|
|
140
|
+
**If natural fits exist:**
|
|
141
|
+
- "Note for phase" - Update issue with suggested phase
|
|
142
|
+
- "Keep as-is" - No annotation needed
|
|
143
|
+
|
|
144
|
+
**Always include:**
|
|
145
|
+
- "Done for now" - Exit without changes
|
|
146
|
+
</step>
|
|
147
|
+
|
|
148
|
+
<step name="execute_actions">
|
|
149
|
+
**Execute selected actions:**
|
|
150
|
+
|
|
151
|
+
**Closing resolved issues:**
|
|
152
|
+
1. Move from "## Open Issues" to "## Closed Issues"
|
|
153
|
+
2. Add resolution note with date and reason
|
|
154
|
+
3. Update STATE.md deferred issues count
|
|
155
|
+
|
|
156
|
+
**Inserting urgent phase:**
|
|
157
|
+
- Suggest command: `/drive:plan 10.3 Address urgent issues [list]`
|
|
158
|
+
|
|
159
|
+
**Noting for phase:**
|
|
160
|
+
- Update issue entry with "Suggested: Phase [X]"
|
|
161
|
+
</step>
|
|
162
|
+
|
|
163
|
+
</process>
|
|
164
|
+
|
|
165
|
+
<success_criteria>
|
|
166
|
+
- [ ] All issue files discovered
|
|
167
|
+
- [ ] All open issues parsed
|
|
168
|
+
- [ ] Each issue analyzed against codebase
|
|
169
|
+
- [ ] Each issue categorized with reasoning
|
|
170
|
+
- [ ] Actions offered based on findings
|
|
171
|
+
- [ ] Files updated if actions taken
|
|
172
|
+
</success_criteria>
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Define a new milestone in the project. Creates milestone structure in ROADMAP.md, initializes phase directories, and updates project state. Uses MILESTONE-CONTEXT.md handoff if available from discuss-milestone.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<when_to_use>
|
|
6
|
+
- User explicitly requests new milestone
|
|
7
|
+
- Triggered after /drive:discuss-milestone (reads context)
|
|
8
|
+
- Project completed previous milestone, needs next
|
|
9
|
+
- Starting fresh project milestone planning
|
|
10
|
+
</when_to_use>
|
|
11
|
+
|
|
12
|
+
<loop_context>
|
|
13
|
+
N/A - This is a milestone setup workflow, not a loop phase.
|
|
14
|
+
After create-milestone, project is ready for first phase PLAN.
|
|
15
|
+
</loop_context>
|
|
16
|
+
|
|
17
|
+
<required_reading>
|
|
18
|
+
@.drive/STATE.md
|
|
19
|
+
@.drive/ROADMAP.md
|
|
20
|
+
@.drive/MILESTONE-CONTEXT.md (if exists)
|
|
21
|
+
</required_reading>
|
|
22
|
+
|
|
23
|
+
<references>
|
|
24
|
+
@src/templates/ROADMAP.md (milestone section format)
|
|
25
|
+
@src/templates/milestone-context.md (handoff structure)
|
|
26
|
+
</references>
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
|
|
30
|
+
<step name="load_context" priority="first">
|
|
31
|
+
1. Check for MILESTONE-CONTEXT.md:
|
|
32
|
+
```bash
|
|
33
|
+
cat .drive/MILESTONE-CONTEXT.md 2>/dev/null
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. **If found:**
|
|
37
|
+
- Display: "Loading context from discuss-milestone..."
|
|
38
|
+
- Parse: Features, Scope, Phase Mapping, Constraints
|
|
39
|
+
- Store for use in subsequent steps
|
|
40
|
+
- Skip to step 4 (update_roadmap)
|
|
41
|
+
|
|
42
|
+
3. **If not found:**
|
|
43
|
+
- Display: "No discussion context found. Let's define the milestone."
|
|
44
|
+
- Proceed to step 2 (get_milestone_info)
|
|
45
|
+
</step>
|
|
46
|
+
|
|
47
|
+
<step name="get_milestone_info">
|
|
48
|
+
**Only if no MILESTONE-CONTEXT.md exists.**
|
|
49
|
+
|
|
50
|
+
Ask ONE question at a time:
|
|
51
|
+
|
|
52
|
+
**Question 1: Milestone name/version**
|
|
53
|
+
```
|
|
54
|
+
What version/name for this milestone?
|
|
55
|
+
|
|
56
|
+
Example: "v0.3 Roadmap Management" or "v1.0 Production Release"
|
|
57
|
+
```
|
|
58
|
+
Wait for response. Store as `milestone_name`.
|
|
59
|
+
|
|
60
|
+
**Question 2: Theme**
|
|
61
|
+
```
|
|
62
|
+
What's the focus of this milestone? (1 sentence)
|
|
63
|
+
```
|
|
64
|
+
Wait for response. Store as `milestone_theme`.
|
|
65
|
+
</step>
|
|
66
|
+
|
|
67
|
+
<step name="identify_phases">
|
|
68
|
+
**Only if no MILESTONE-CONTEXT.md exists.**
|
|
69
|
+
|
|
70
|
+
Ask about phases:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
What phases will this milestone include?
|
|
74
|
+
|
|
75
|
+
(Example: "Templates, Workflows, Commands" or "3 phases for auth, dashboard, deployment")
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Wait for response. Parse into phase list.
|
|
79
|
+
|
|
80
|
+
For each phase, derive:
|
|
81
|
+
- Phase number (next available from ROADMAP.md)
|
|
82
|
+
- Phase name
|
|
83
|
+
- Brief description
|
|
84
|
+
</step>
|
|
85
|
+
|
|
86
|
+
<step name="update_roadmap">
|
|
87
|
+
Read current ROADMAP.md and update:
|
|
88
|
+
|
|
89
|
+
1. **Add milestone header section:**
|
|
90
|
+
```markdown
|
|
91
|
+
## Current Milestone
|
|
92
|
+
**{milestone_name}** ({version})
|
|
93
|
+
Status: 🚧 In Progress
|
|
94
|
+
Phases: 0 of {phase_count} complete
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
2. **Add phases to table:**
|
|
98
|
+
```markdown
|
|
99
|
+
| Phase | Name | Plans | Status | Completed |
|
|
100
|
+
|-------|------|-------|--------|-----------|
|
|
101
|
+
| {N} | {name} | TBD | Not started | - |
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
3. **Add phase details section:**
|
|
105
|
+
```markdown
|
|
106
|
+
### Phase {N}: {name}
|
|
107
|
+
|
|
108
|
+
Focus: {description}
|
|
109
|
+
Plans: TBD (defined during /drive:plan)
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
4. **Update footer timestamp**
|
|
113
|
+
</step>
|
|
114
|
+
|
|
115
|
+
<step name="create_phase_directories">
|
|
116
|
+
For each phase in the new milestone:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
mkdir -p .drive/phases/{NN}-{name-slug}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Where:
|
|
123
|
+
- `NN` = zero-padded phase number
|
|
124
|
+
- `name-slug` = lowercase, hyphenated phase name
|
|
125
|
+
</step>
|
|
126
|
+
|
|
127
|
+
<step name="update_state">
|
|
128
|
+
Update STATE.md:
|
|
129
|
+
|
|
130
|
+
1. **Current Position:**
|
|
131
|
+
```markdown
|
|
132
|
+
## Current Position
|
|
133
|
+
|
|
134
|
+
Milestone: {milestone_name}
|
|
135
|
+
Phase: {first_phase_number} of {total} ({first_phase_name})
|
|
136
|
+
Plan: Not started
|
|
137
|
+
Status: Ready to plan
|
|
138
|
+
Last activity: {timestamp} — Milestone created
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
2. **Progress:**
|
|
142
|
+
```markdown
|
|
143
|
+
Progress:
|
|
144
|
+
- {milestone_name}: [░░░░░░░░░░] 0%
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
3. **Loop Position:**
|
|
148
|
+
```markdown
|
|
149
|
+
## Loop Position
|
|
150
|
+
|
|
151
|
+
Current loop state:
|
|
152
|
+
```
|
|
153
|
+
PLAN ──▶ APPLY ──▶ UNIFY
|
|
154
|
+
○ ○ ○ [Ready for first PLAN]
|
|
155
|
+
```
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
4. **Session Continuity:**
|
|
159
|
+
```markdown
|
|
160
|
+
## Session Continuity
|
|
161
|
+
|
|
162
|
+
Last session: {timestamp}
|
|
163
|
+
Stopped at: Milestone created, ready to plan
|
|
164
|
+
Next action: /drive:plan for Phase {first_phase_number}
|
|
165
|
+
Resume file: .drive/ROADMAP.md
|
|
166
|
+
```
|
|
167
|
+
</step>
|
|
168
|
+
|
|
169
|
+
<step name="sync_paul_json">
|
|
170
|
+
**Sync satellite manifest (drive.json):**
|
|
171
|
+
|
|
172
|
+
1. Check if `.drive/drive.json` exists:
|
|
173
|
+
```bash
|
|
174
|
+
ls .drive/drive.json 2>/dev/null
|
|
175
|
+
```
|
|
176
|
+
2. If not found: skip silently (pre-v1.1 project)
|
|
177
|
+
3. If found: read current drive.json and update:
|
|
178
|
+
- `milestone.name` → new milestone name
|
|
179
|
+
- `milestone.version` → new milestone version
|
|
180
|
+
- `milestone.status` → "in_progress"
|
|
181
|
+
- `version` → new milestone version string
|
|
182
|
+
- `phase.number` → first phase number
|
|
183
|
+
- `phase.name` → first phase name
|
|
184
|
+
- `phase.status` → "not_started"
|
|
185
|
+
- `loop.plan` → null
|
|
186
|
+
- `loop.position` → "IDLE"
|
|
187
|
+
- `timestamps.updated_at` → current ISO timestamp
|
|
188
|
+
4. Write updated drive.json back
|
|
189
|
+
</step>
|
|
190
|
+
|
|
191
|
+
<step name="cleanup_context">
|
|
192
|
+
**If MILESTONE-CONTEXT.md existed:**
|
|
193
|
+
|
|
194
|
+
Delete the handoff file:
|
|
195
|
+
```bash
|
|
196
|
+
rm .drive/MILESTONE-CONTEXT.md
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Display: "Cleaned up milestone context handoff."
|
|
200
|
+
|
|
201
|
+
**Note:** This file is temporary — its job is done once milestone is created.
|
|
202
|
+
</step>
|
|
203
|
+
|
|
204
|
+
<step name="offer_next">
|
|
205
|
+
Display completion with ONE next action:
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
════════════════════════════════════════
|
|
209
|
+
MILESTONE CREATED
|
|
210
|
+
════════════════════════════════════════
|
|
211
|
+
|
|
212
|
+
Milestone: {milestone_name}
|
|
213
|
+
Theme: {milestone_theme}
|
|
214
|
+
Phases: {phase_count}
|
|
215
|
+
|
|
216
|
+
Created:
|
|
217
|
+
.drive/phases/{phase-1-slug}/ ✓
|
|
218
|
+
.drive/phases/{phase-2-slug}/ ✓
|
|
219
|
+
.drive/phases/{phase-N-slug}/ ✓
|
|
220
|
+
|
|
221
|
+
ROADMAP.md updated ✓
|
|
222
|
+
STATE.md updated ✓
|
|
223
|
+
|
|
224
|
+
────────────────────────────────────────
|
|
225
|
+
▶ NEXT: /drive:plan
|
|
226
|
+
Begin planning Phase {first_phase_number}: {first_phase_name}
|
|
227
|
+
────────────────────────────────────────
|
|
228
|
+
|
|
229
|
+
Type "yes" to proceed, or ask questions first.
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Do NOT suggest multiple next steps.** ONE action only.
|
|
233
|
+
</step>
|
|
234
|
+
|
|
235
|
+
</process>
|
|
236
|
+
|
|
237
|
+
<output>
|
|
238
|
+
- ROADMAP.md updated with new milestone section
|
|
239
|
+
- Phase directories created in .drive/phases/
|
|
240
|
+
- STATE.md updated with new position
|
|
241
|
+
- MILESTONE-CONTEXT.md deleted (if existed)
|
|
242
|
+
- Clear routing to /drive:plan
|
|
243
|
+
</output>
|
|
244
|
+
|
|
245
|
+
<success_criteria>
|
|
246
|
+
- [ ] MILESTONE-CONTEXT.md loaded if exists
|
|
247
|
+
- [ ] User prompted only if no context exists
|
|
248
|
+
- [ ] ROADMAP.md has new milestone section
|
|
249
|
+
- [ ] Phase directories created
|
|
250
|
+
- [ ] STATE.md reflects new milestone position
|
|
251
|
+
- [ ] MILESTONE-CONTEXT.md cleaned up
|
|
252
|
+
- [ ] Single next action offered
|
|
253
|
+
</success_criteria>
|
|
254
|
+
|
|
255
|
+
<error_handling>
|
|
256
|
+
**MILESTONE-CONTEXT.md malformed:**
|
|
257
|
+
- Report parsing error
|
|
258
|
+
- Fall back to manual questions
|
|
259
|
+
- Clean up malformed file
|
|
260
|
+
|
|
261
|
+
**Phase directory exists:**
|
|
262
|
+
- Check if empty → proceed
|
|
263
|
+
- If has content → warn about overwrite, ask to confirm
|
|
264
|
+
|
|
265
|
+
**ROADMAP.md missing:**
|
|
266
|
+
- Create basic structure
|
|
267
|
+
- Or route to /drive:init if project not initialized
|
|
268
|
+
</error_handling>
|