@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,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drive:research
|
|
3
|
+
description: Research a topic using subagents for discovery
|
|
4
|
+
argument-hint: "<topic> [--codebase | --web]"
|
|
5
|
+
allowed-tools: [Read, Task, Bash, Write]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Research a specific topic using subagents and save findings for review.
|
|
10
|
+
|
|
11
|
+
**When to use:** When you need to gather information on a topic before planning or implementing.
|
|
12
|
+
|
|
13
|
+
**Subagent use case:** Research is the APPROPRIATE use of subagents per subagent-criteria.md:
|
|
14
|
+
- Task Independence: Research is self-contained
|
|
15
|
+
- Clear Scope: Topic defines clear inputs/outputs
|
|
16
|
+
- Parallel Value: Multiple topics can run simultaneously
|
|
17
|
+
- Complexity Sweet Spot: 15-30 min per research task
|
|
18
|
+
</objective>
|
|
19
|
+
|
|
20
|
+
<execution_context>
|
|
21
|
+
@~/.claude/drive-framework/workflows/research.md
|
|
22
|
+
@~/.claude/drive-framework/references/subagent-criteria.md
|
|
23
|
+
</execution_context>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
Topic: $ARGUMENTS (required)
|
|
27
|
+
|
|
28
|
+
Optional flags:
|
|
29
|
+
- `--codebase`: Focus on codebase exploration (uses Explore agent)
|
|
30
|
+
- `--web`: Focus on web/documentation (uses general-purpose agent)
|
|
31
|
+
- No flag: Auto-detect based on topic
|
|
32
|
+
|
|
33
|
+
@.drive/PROJECT.md
|
|
34
|
+
@.drive/STATE.md
|
|
35
|
+
</context>
|
|
36
|
+
|
|
37
|
+
<process>
|
|
38
|
+
Follow workflow: @~/.claude/drive-framework/workflows/research.md
|
|
39
|
+
</process>
|
|
40
|
+
|
|
41
|
+
<success_criteria>
|
|
42
|
+
- [ ] Topic validated (not trivial)
|
|
43
|
+
- [ ] Appropriate agent type selected
|
|
44
|
+
- [ ] Subagent spawned for research
|
|
45
|
+
- [ ] Findings saved to .drive/research/{topic}.md
|
|
46
|
+
- [ ] Summary presented for review
|
|
47
|
+
</success_criteria>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drive:resume
|
|
3
|
+
description: Restore context from handoff and continue work
|
|
4
|
+
argument-hint: "[optional: handoff path, e.g., '.drive/HANDOFF-phase10-audit.md']"
|
|
5
|
+
allowed-tools: [Read, Glob, Bash]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Restore Drive context after a session break, determine current position, and suggest exactly ONE next action.
|
|
10
|
+
|
|
11
|
+
**When to use:** Starting a new session on an existing Drive project.
|
|
12
|
+
|
|
13
|
+
**Handoff lifecycle:** Detects handoffs, presents content, archives after work proceeds.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@~/.claude/drive-framework/workflows/resume-project.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
$ARGUMENTS (optional handoff path)
|
|
22
|
+
|
|
23
|
+
@.drive/STATE.md
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
**Follow workflow: @~/.claude/drive-framework/workflows/resume-project.md**
|
|
28
|
+
|
|
29
|
+
The workflow implements:
|
|
30
|
+
1. Verify .drive/ exists
|
|
31
|
+
2. Detect handoff files (use $ARGUMENTS if provided, else find most recent)
|
|
32
|
+
3. Load STATE.md
|
|
33
|
+
4. Present handoff content if detected
|
|
34
|
+
5. Reconcile handoff vs STATE.md
|
|
35
|
+
6. Determine exactly ONE next action based on loop position
|
|
36
|
+
7. Display resume status with single routing
|
|
37
|
+
8. After work proceeds: archive/delete consumed handoff
|
|
38
|
+
|
|
39
|
+
**Key behavior:** Suggest exactly ONE next action, not multiple options.
|
|
40
|
+
|
|
41
|
+
**Handoff pattern:** `.drive/HANDOFF-{context}.md` (e.g., `HANDOFF-phase10-audit.md`)
|
|
42
|
+
</process>
|
|
43
|
+
|
|
44
|
+
<success_criteria>
|
|
45
|
+
- [ ] Context restored from STATE.md and/or handoff
|
|
46
|
+
- [ ] Loop position correctly identified
|
|
47
|
+
- [ ] Exactly ONE next action suggested (not multiple options)
|
|
48
|
+
- [ ] User can proceed or redirect with context
|
|
49
|
+
</success_criteria>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drive:status
|
|
3
|
+
description: "[DEPRECATED] Use /drive:progress instead"
|
|
4
|
+
argument-hint:
|
|
5
|
+
allowed-tools: [Read]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
> **⚠️ DEPRECATED:** This command is deprecated. Use `/drive:progress` instead.
|
|
9
|
+
>
|
|
10
|
+
> `/drive:progress` provides the same information plus:
|
|
11
|
+
> - Visual milestone progress
|
|
12
|
+
> - Smarter routing with single next-action suggestion
|
|
13
|
+
> - Optional context argument for tailored suggestions
|
|
14
|
+
|
|
15
|
+
<objective>
|
|
16
|
+
Display current loop position (PLAN/APPLY/UNIFY) and phase progress.
|
|
17
|
+
|
|
18
|
+
**When to use:** Use `/drive:progress` instead for better routing.
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<execution_context>
|
|
22
|
+
</execution_context>
|
|
23
|
+
|
|
24
|
+
<context>
|
|
25
|
+
@.drive/STATE.md
|
|
26
|
+
@.drive/ROADMAP.md
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
|
|
31
|
+
<step name="read_state">
|
|
32
|
+
Read STATE.md and extract:
|
|
33
|
+
- Current milestone
|
|
34
|
+
- Current phase (X of Y)
|
|
35
|
+
- Current plan status
|
|
36
|
+
- Loop position (PLAN/APPLY/UNIFY)
|
|
37
|
+
- Last activity
|
|
38
|
+
</step>
|
|
39
|
+
|
|
40
|
+
<step name="display_status">
|
|
41
|
+
Display formatted status:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Drive Status
|
|
45
|
+
════════════════════════════════════════
|
|
46
|
+
|
|
47
|
+
Milestone: [name]
|
|
48
|
+
Phase: [X of Y] ([phase name])
|
|
49
|
+
Plan: [status]
|
|
50
|
+
|
|
51
|
+
Loop Position:
|
|
52
|
+
┌─────────────────────────────────────┐
|
|
53
|
+
│ PLAN ──▶ APPLY ──▶ UNIFY │
|
|
54
|
+
│ [✓/○] [✓/○] [✓/○] │
|
|
55
|
+
└─────────────────────────────────────┘
|
|
56
|
+
|
|
57
|
+
Last: [timestamp] — [activity]
|
|
58
|
+
Next: [recommended action]
|
|
59
|
+
|
|
60
|
+
════════════════════════════════════════
|
|
61
|
+
```
|
|
62
|
+
</step>
|
|
63
|
+
|
|
64
|
+
<step name="suggest_next">
|
|
65
|
+
Based on loop position, suggest next action:
|
|
66
|
+
- If PLAN needed: "Run /drive:plan to create plan"
|
|
67
|
+
- If PLAN ready: "Approve plan, then run /drive:apply"
|
|
68
|
+
- If APPLY complete: "Run /drive:unify to close loop"
|
|
69
|
+
- If UNIFY complete: "Loop closed. Ready for next phase."
|
|
70
|
+
</step>
|
|
71
|
+
|
|
72
|
+
</process>
|
|
73
|
+
|
|
74
|
+
<success_criteria>
|
|
75
|
+
- [ ] Loop position displayed clearly
|
|
76
|
+
- [ ] Phase progress shown
|
|
77
|
+
- [ ] Next action suggested
|
|
78
|
+
</success_criteria>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drive:unify
|
|
3
|
+
description: Reconcile plan vs actual and close the loop
|
|
4
|
+
argument-hint: "[plan-path]"
|
|
5
|
+
allowed-tools: [Read, Write, AskUserQuestion]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Reconcile plan versus actual results, create SUMMARY.md, and close the loop.
|
|
10
|
+
|
|
11
|
+
**When to use:** After APPLY phase complete. This is MANDATORY - never skip UNIFY.
|
|
12
|
+
|
|
13
|
+
Creates SUMMARY.md documenting what was built, decisions made, and any deferred issues.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@~/.claude/drive-framework/workflows/unify-phase.md
|
|
18
|
+
@~/.claude/drive-framework/templates/SUMMARY.md
|
|
19
|
+
</execution_context>
|
|
20
|
+
|
|
21
|
+
<context>
|
|
22
|
+
Plan path: $ARGUMENTS
|
|
23
|
+
|
|
24
|
+
@.drive/STATE.md
|
|
25
|
+
@{plan-path} (the PLAN.md being unified)
|
|
26
|
+
</context>
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
|
|
30
|
+
<step name="validate_preconditions">
|
|
31
|
+
1. Confirm PLAN.md exists at $ARGUMENTS path
|
|
32
|
+
2. Confirm APPLY phase was executed (tasks completed)
|
|
33
|
+
3. If SUMMARY.md already exists: "Loop already closed. SUMMARY: {path}"
|
|
34
|
+
</step>
|
|
35
|
+
|
|
36
|
+
<step name="reconcile">
|
|
37
|
+
Follow workflow: @~/.claude/drive-framework/workflows/unify-phase.md
|
|
38
|
+
|
|
39
|
+
Compare plan to actual:
|
|
40
|
+
- Which tasks completed as planned?
|
|
41
|
+
- Any deviations from plan?
|
|
42
|
+
- Decisions made during execution?
|
|
43
|
+
- Issues discovered but deferred?
|
|
44
|
+
</step>
|
|
45
|
+
|
|
46
|
+
<step name="create_summary">
|
|
47
|
+
Create SUMMARY.md in same directory as PLAN.md:
|
|
48
|
+
- Document what was built
|
|
49
|
+
- Record acceptance criteria results
|
|
50
|
+
- Note any deferred issues
|
|
51
|
+
- Capture decisions made
|
|
52
|
+
- List files created/modified
|
|
53
|
+
</step>
|
|
54
|
+
|
|
55
|
+
<step name="update_state">
|
|
56
|
+
Update STATE.md:
|
|
57
|
+
- Loop position: PLAN ✓ → APPLY ✓ → UNIFY ✓
|
|
58
|
+
- Phase progress if plan completes phase
|
|
59
|
+
- Performance metrics (duration)
|
|
60
|
+
- Session continuity (next action)
|
|
61
|
+
</step>
|
|
62
|
+
|
|
63
|
+
<step name="report">
|
|
64
|
+
Display:
|
|
65
|
+
```
|
|
66
|
+
Loop Closed
|
|
67
|
+
════════════════════════════════════════
|
|
68
|
+
|
|
69
|
+
Plan: {plan-path}
|
|
70
|
+
Summary: {summary-path}
|
|
71
|
+
|
|
72
|
+
PLAN ──▶ APPLY ──▶ UNIFY
|
|
73
|
+
✓ ✓ ✓
|
|
74
|
+
|
|
75
|
+
Next: [phase complete message or next plan]
|
|
76
|
+
|
|
77
|
+
════════════════════════════════════════
|
|
78
|
+
```
|
|
79
|
+
</step>
|
|
80
|
+
|
|
81
|
+
</process>
|
|
82
|
+
|
|
83
|
+
<success_criteria>
|
|
84
|
+
- [ ] SUMMARY.md created
|
|
85
|
+
- [ ] STATE.md updated with loop closure
|
|
86
|
+
- [ ] User knows next action
|
|
87
|
+
</success_criteria>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drive:verify
|
|
3
|
+
description: Guide manual user acceptance testing of recently built features
|
|
4
|
+
argument-hint: "[optional: phase or plan number, e.g., '4' or '04-02']"
|
|
5
|
+
allowed-tools: [Read, Bash, Glob, Grep, Edit, Write, AskUserQuestion]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Guide the user through manual acceptance testing of recently built features.
|
|
10
|
+
|
|
11
|
+
**When to use:** After completing a plan, validate that what Claude built actually works from the user's perspective.
|
|
12
|
+
|
|
13
|
+
**Who tests:** The USER performs all testing. Claude generates the test checklist, guides the process, and captures issues.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@~/.claude/drive-framework/workflows/verify-work.md
|
|
18
|
+
@~/.claude/drive-framework/templates/UAT-ISSUES.md
|
|
19
|
+
</execution_context>
|
|
20
|
+
|
|
21
|
+
<context>
|
|
22
|
+
Scope: $ARGUMENTS (optional)
|
|
23
|
+
- If provided: Test specific phase or plan (e.g., "4" or "04-02")
|
|
24
|
+
- If not provided: Test most recently completed plan
|
|
25
|
+
|
|
26
|
+
@.drive/STATE.md
|
|
27
|
+
@.drive/ROADMAP.md
|
|
28
|
+
</context>
|
|
29
|
+
|
|
30
|
+
<process>
|
|
31
|
+
**Follow workflow: @~/.claude/drive-framework/workflows/verify-work.md**
|
|
32
|
+
|
|
33
|
+
The workflow implements:
|
|
34
|
+
1. Identify test scope (specified or most recent SUMMARY)
|
|
35
|
+
2. Extract testable deliverables from SUMMARY.md
|
|
36
|
+
3. Generate test checklist based on acceptance criteria
|
|
37
|
+
4. Guide user through each test via AskUserQuestion
|
|
38
|
+
5. Collect and categorize any issues found
|
|
39
|
+
6. Log issues to phase-scoped UAT file
|
|
40
|
+
7. Present summary with verdict
|
|
41
|
+
8. Offer next steps based on results
|
|
42
|
+
</process>
|
|
43
|
+
|
|
44
|
+
<success_criteria>
|
|
45
|
+
- [ ] Test scope identified from SUMMARY.md
|
|
46
|
+
- [ ] Checklist generated based on deliverables
|
|
47
|
+
- [ ] User guided through each test
|
|
48
|
+
- [ ] All test results captured (pass/fail/partial/skip)
|
|
49
|
+
- [ ] Any issues logged to `.drive/phases/XX-name/{plan}-UAT.md`
|
|
50
|
+
- [ ] Summary presented with verdict
|
|
51
|
+
- [ ] User knows next steps based on results
|
|
52
|
+
</success_criteria>
|
|
53
|
+
|
|
54
|
+
<anti_patterns>
|
|
55
|
+
- Don't run automated tests (that's for CI/test suites)
|
|
56
|
+
- Don't make assumptions about test results — USER reports outcomes
|
|
57
|
+
- Don't skip the guidance — walk through each test
|
|
58
|
+
- Don't dismiss minor issues — log everything user reports
|
|
59
|
+
- Don't fix issues during testing — capture for later
|
|
60
|
+
</anti_patterns>
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
<checkpoints>
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Checkpoints formalize interaction points where human verification or decisions are needed during plan execution. Plans execute autonomously except at checkpoints.
|
|
6
|
+
|
|
7
|
+
**Core principle:** Claude automates everything with CLI/API. Checkpoints are for verification and decisions, not manual work.
|
|
8
|
+
|
|
9
|
+
**Golden rule:** If Claude CAN automate it, Claude MUST automate it.
|
|
10
|
+
|
|
11
|
+
## Checkpoint Types
|
|
12
|
+
|
|
13
|
+
### checkpoint:human-verify (90% of checkpoints)
|
|
14
|
+
|
|
15
|
+
**When:** Claude completed automated work, human confirms it works correctly.
|
|
16
|
+
|
|
17
|
+
**Use for:** Visual UI checks, interactive flows, functional verification, audio/video quality, animation smoothness, accessibility testing.
|
|
18
|
+
|
|
19
|
+
**Structure:**
|
|
20
|
+
```xml
|
|
21
|
+
<task type="checkpoint:human-verify" gate="blocking">
|
|
22
|
+
<what-built>[What Claude automated]</what-built>
|
|
23
|
+
<how-to-verify>
|
|
24
|
+
1. [First verification step]
|
|
25
|
+
2. [Second verification step]
|
|
26
|
+
3. [Expected behavior to confirm]
|
|
27
|
+
</how-to-verify>
|
|
28
|
+
<resume-signal>Type "approved" or describe issues</resume-signal>
|
|
29
|
+
</task>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**Example:**
|
|
33
|
+
```xml
|
|
34
|
+
<task type="checkpoint:human-verify" gate="blocking">
|
|
35
|
+
<what-built>Responsive dashboard with sidebar navigation</what-built>
|
|
36
|
+
<how-to-verify>
|
|
37
|
+
1. Run: npm run dev
|
|
38
|
+
2. Visit: http://localhost:3000/dashboard
|
|
39
|
+
3. Desktop (>1024px): Sidebar visible on left
|
|
40
|
+
4. Mobile (375px): Sidebar collapses to hamburger menu
|
|
41
|
+
5. Check: No layout shift, smooth transitions
|
|
42
|
+
</how-to-verify>
|
|
43
|
+
<resume-signal>Type "approved" or describe issues</resume-signal>
|
|
44
|
+
</task>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### checkpoint:decision (9% of checkpoints)
|
|
48
|
+
|
|
49
|
+
**When:** Human must make choice that affects implementation direction.
|
|
50
|
+
|
|
51
|
+
**Use for:** Technology selection, architecture decisions, design choices, feature prioritization.
|
|
52
|
+
|
|
53
|
+
**Structure:**
|
|
54
|
+
```xml
|
|
55
|
+
<task type="checkpoint:decision" gate="blocking">
|
|
56
|
+
<decision>[What's being decided]</decision>
|
|
57
|
+
<context>[Why this matters]</context>
|
|
58
|
+
<options>
|
|
59
|
+
<option id="option-a">
|
|
60
|
+
<name>[Name]</name>
|
|
61
|
+
<pros>[Benefits]</pros>
|
|
62
|
+
<cons>[Tradeoffs]</cons>
|
|
63
|
+
</option>
|
|
64
|
+
<option id="option-b">
|
|
65
|
+
<name>[Name]</name>
|
|
66
|
+
<pros>[Benefits]</pros>
|
|
67
|
+
<cons>[Tradeoffs]</cons>
|
|
68
|
+
</option>
|
|
69
|
+
</options>
|
|
70
|
+
<resume-signal>Select: option-a or option-b</resume-signal>
|
|
71
|
+
</task>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Example:**
|
|
75
|
+
```xml
|
|
76
|
+
<task type="checkpoint:decision" gate="blocking">
|
|
77
|
+
<decision>Select state management approach</decision>
|
|
78
|
+
<context>Dashboard needs client-side state. Two viable approaches:</context>
|
|
79
|
+
<options>
|
|
80
|
+
<option id="zustand">
|
|
81
|
+
<name>Zustand</name>
|
|
82
|
+
<pros>Lightweight, simple API, no boilerplate</pros>
|
|
83
|
+
<cons>Less structure for large apps</cons>
|
|
84
|
+
</option>
|
|
85
|
+
<option id="context">
|
|
86
|
+
<name>React Context + useReducer</name>
|
|
87
|
+
<pros>No dependencies, built-in</pros>
|
|
88
|
+
<cons>More boilerplate, potential re-render issues</cons>
|
|
89
|
+
</option>
|
|
90
|
+
</options>
|
|
91
|
+
<resume-signal>Select: zustand or context</resume-signal>
|
|
92
|
+
</task>
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### checkpoint:human-action (1% - rare)
|
|
96
|
+
|
|
97
|
+
**When:** Action has NO CLI/API and requires human-only interaction.
|
|
98
|
+
|
|
99
|
+
**Use ONLY for:**
|
|
100
|
+
- Email verification links
|
|
101
|
+
- SMS 2FA codes
|
|
102
|
+
- Manual account approvals
|
|
103
|
+
- 3D Secure payment flows
|
|
104
|
+
- OAuth app approvals
|
|
105
|
+
|
|
106
|
+
**Do NOT use for:**
|
|
107
|
+
- Deployments (use CLI)
|
|
108
|
+
- Creating resources (use CLI/API)
|
|
109
|
+
- Builds/tests (use Bash)
|
|
110
|
+
- File operations (use Write/Edit)
|
|
111
|
+
|
|
112
|
+
**Structure:**
|
|
113
|
+
```xml
|
|
114
|
+
<task type="checkpoint:human-action" gate="blocking">
|
|
115
|
+
<action>[Unavoidable manual step]</action>
|
|
116
|
+
<instructions>
|
|
117
|
+
[What Claude already automated]
|
|
118
|
+
[The ONE thing requiring human action]
|
|
119
|
+
</instructions>
|
|
120
|
+
<verification>[What Claude checks afterward]</verification>
|
|
121
|
+
<resume-signal>Type "done" when complete</resume-signal>
|
|
122
|
+
</task>
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Execution Protocol
|
|
126
|
+
|
|
127
|
+
When executing a plan encounters `type="checkpoint:*"`:
|
|
128
|
+
|
|
129
|
+
1. **Stop immediately** — do not proceed to next task
|
|
130
|
+
2. **Display checkpoint clearly** with visual separator
|
|
131
|
+
3. **Wait for user response** — instead of proceeding on assumptions, because unverified checkpoints accumulate into larger failures that are harder to diagnose
|
|
132
|
+
4. **Verify if possible** — check files, run tests after human action
|
|
133
|
+
5. **Resume execution** — continue only after confirmation
|
|
134
|
+
|
|
135
|
+
## Diagnostic Failure Routing
|
|
136
|
+
|
|
137
|
+
When a checkpoint:human-verify receives failure reports OR when `/drive:verify` finds issues, classify the root cause BEFORE attempting fixes — instead of patching immediately, because wrong-layer fixes produce fragile patches that break again.
|
|
138
|
+
|
|
139
|
+
**Classification:**
|
|
140
|
+
|
|
141
|
+
| Type | Signal | Routing |
|
|
142
|
+
|---|---|---|
|
|
143
|
+
| **Intent** | "I need something different than what was planned" | Archive plan, re-plan the phase with updated intent |
|
|
144
|
+
| **Spec** | "The plan missed something or got it wrong" | Update ACs/tasks at the spec level before generating code fixes |
|
|
145
|
+
| **Code** | "The plan was right, implementation doesn't match" | Standard fix-in-place — patch code, re-verify |
|
|
146
|
+
|
|
147
|
+
**Where this applies:**
|
|
148
|
+
- **During APPLY:** checkpoint:human-verify failures (see apply-phase.md)
|
|
149
|
+
- **After APPLY:** /drive:verify UAT failures (see verify-work.md)
|
|
150
|
+
|
|
151
|
+
**Why classification matters:**
|
|
152
|
+
- Intent wrong + code patch = fix that contradicts what the user actually wants
|
|
153
|
+
- Spec wrong + code patch = fix that contradicts the plan, making UNIFY reconciliation unreliable
|
|
154
|
+
- Code wrong + code patch = correct response — this is the only case where patching is the right move
|
|
155
|
+
|
|
156
|
+
**Anti-pattern:** Jumping straight to code patches without classifying. Claude's default under pressure is to patch code because it's the fastest visible action — but speed at the wrong layer creates more work than pausing to classify.
|
|
157
|
+
|
|
158
|
+
## Authentication Gates
|
|
159
|
+
|
|
160
|
+
When Claude tries CLI/API and gets auth error, this is NOT a failure - it's a gate requiring human input to unblock automation.
|
|
161
|
+
|
|
162
|
+
**Pattern:** Claude tries automation → auth error → creates dynamic checkpoint → human authenticates → Claude retries → continues
|
|
163
|
+
|
|
164
|
+
**Key distinction:**
|
|
165
|
+
- Pre-planned checkpoint: "I need you to deploy" (WRONG - Claude should automate)
|
|
166
|
+
- Auth gate: "I tried to deploy but need credentials" (CORRECT - unblocks automation)
|
|
167
|
+
|
|
168
|
+
## Guidelines
|
|
169
|
+
|
|
170
|
+
**DO:**
|
|
171
|
+
- Automate everything with CLI/API before checkpoint
|
|
172
|
+
- Be specific: "Visit https://myapp.vercel.app" not "check deployment"
|
|
173
|
+
- Number verification steps
|
|
174
|
+
- State expected outcomes
|
|
175
|
+
- Make verification executable
|
|
176
|
+
|
|
177
|
+
**DON'T:**
|
|
178
|
+
- Ask human to do work Claude can automate
|
|
179
|
+
- Assume knowledge: "Configure the usual settings"
|
|
180
|
+
- Mix multiple verifications in one checkpoint
|
|
181
|
+
- Use checkpoints too frequently (verification fatigue)
|
|
182
|
+
|
|
183
|
+
**Placement:**
|
|
184
|
+
- After automation completes (not before)
|
|
185
|
+
- After UI buildout
|
|
186
|
+
- Before dependent work (decisions)
|
|
187
|
+
- At integration points
|
|
188
|
+
|
|
189
|
+
## Anti-Patterns
|
|
190
|
+
|
|
191
|
+
**BAD: Asking human to automate**
|
|
192
|
+
```xml
|
|
193
|
+
<task type="checkpoint:human-action">
|
|
194
|
+
<action>Deploy to Vercel</action>
|
|
195
|
+
<instructions>Visit vercel.com/new, import repo, click Deploy</instructions>
|
|
196
|
+
</task>
|
|
197
|
+
```
|
|
198
|
+
Why bad: Vercel has CLI. Use `vercel --yes`.
|
|
199
|
+
|
|
200
|
+
**BAD: Too many checkpoints**
|
|
201
|
+
```xml
|
|
202
|
+
<task type="auto">Create schema</task>
|
|
203
|
+
<task type="checkpoint:human-verify">Check schema</task>
|
|
204
|
+
<task type="auto">Create API</task>
|
|
205
|
+
<task type="checkpoint:human-verify">Check API</task>
|
|
206
|
+
```
|
|
207
|
+
Why bad: Verification fatigue. Combine into one checkpoint at end.
|
|
208
|
+
|
|
209
|
+
**GOOD: Claude automates, human verifies once**
|
|
210
|
+
```xml
|
|
211
|
+
<task type="auto">Create schema</task>
|
|
212
|
+
<task type="auto">Create API</task>
|
|
213
|
+
<task type="auto">Create UI</task>
|
|
214
|
+
|
|
215
|
+
<task type="checkpoint:human-verify">
|
|
216
|
+
<what-built>Complete auth flow</what-built>
|
|
217
|
+
<how-to-verify>Test full flow: register, login, access protected page</how-to-verify>
|
|
218
|
+
</task>
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
## Summary
|
|
222
|
+
|
|
223
|
+
| Type | % Used | Purpose |
|
|
224
|
+
|------|--------|---------|
|
|
225
|
+
| checkpoint:human-verify | 90% | Claude automated, human confirms visual/functional |
|
|
226
|
+
| checkpoint:decision | 9% | Human makes architectural/technology choice |
|
|
227
|
+
| checkpoint:human-action | 1% | Truly unavoidable manual step (no API/CLI) |
|
|
228
|
+
|
|
229
|
+
**When NOT to use checkpoints:**
|
|
230
|
+
- Things Claude can verify programmatically (tests, builds)
|
|
231
|
+
- File operations (Claude can read/write)
|
|
232
|
+
- Anything with CLI/API available
|
|
233
|
+
|
|
234
|
+
</checkpoints>
|