@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,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: momentum:status
|
|
3
|
+
description: Quick workspace health check
|
|
4
|
+
allowed-tools: [Read, Glob, Bash]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
One-liner workspace health status — drift score and area summary.
|
|
9
|
+
|
|
10
|
+
**When to use:** Quick check, "workspace status", "how's my workspace".
|
|
11
|
+
</objective>
|
|
12
|
+
|
|
13
|
+
<execution_context>
|
|
14
|
+
@.claude/skills/momentum/tasks/status.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
@.accel/momentum/workspace.json
|
|
19
|
+
@.accel/momentum/STATE.md
|
|
20
|
+
</context>
|
|
21
|
+
|
|
22
|
+
<process>
|
|
23
|
+
Follow task: @.claude/skills/momentum/tasks/status.md
|
|
24
|
+
</process>
|
|
25
|
+
|
|
26
|
+
<success_criteria>
|
|
27
|
+
- [ ] Health status displayed
|
|
28
|
+
</success_criteria>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: momentum:surface-convert
|
|
3
|
+
description: Convert a markdown file into a data surface
|
|
4
|
+
argument-hint: "<file-path>"
|
|
5
|
+
allowed-tools: [Read, Write, Edit, Glob, Bash, AskUserQuestion]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Convert an existing @-mentioned markdown file into a structured data surface. Analyzes structure, proposes schema, migrates content.
|
|
10
|
+
|
|
11
|
+
**When to use:** User has a markdown file they want to convert to a structured surface.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.claude/skills/momentum/tasks/surface-convert.md
|
|
16
|
+
@.accel/momentum/hooks/_template.py
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
$ARGUMENTS
|
|
21
|
+
|
|
22
|
+
@.accel/momentum/workspace.json
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
Follow task: @.claude/skills/momentum/tasks/surface-convert.md
|
|
27
|
+
</process>
|
|
28
|
+
|
|
29
|
+
<success_criteria>
|
|
30
|
+
- [ ] .accel/momentum/data/{name}.json created with migrated items
|
|
31
|
+
- [ ] .accel/momentum/hooks/{name}-hook.py created
|
|
32
|
+
- [ ] workspace.json updated with surface registration
|
|
33
|
+
- [ ] settings.json updated with hook entry
|
|
34
|
+
- [ ] Original markdown file preserved
|
|
35
|
+
</success_criteria>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: momentum:surface-create
|
|
3
|
+
description: Create a new data surface (guided)
|
|
4
|
+
argument-hint: "[surface-name]"
|
|
5
|
+
allowed-tools: [Read, Write, Edit, Glob, Bash, AskUserQuestion]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Create a new data surface through guided conversation. Generates JSON data file, injection hook, workspace.json registration, and settings.json hook entry.
|
|
10
|
+
|
|
11
|
+
**When to use:** User wants to track something new as a structured data surface.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.claude/skills/momentum/tasks/surface-create.md
|
|
16
|
+
@.accel/momentum/hooks/_template.py
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
$ARGUMENTS
|
|
21
|
+
|
|
22
|
+
@.accel/momentum/workspace.json
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
Follow task: @.claude/skills/momentum/tasks/surface-create.md
|
|
27
|
+
</process>
|
|
28
|
+
|
|
29
|
+
<success_criteria>
|
|
30
|
+
- [ ] .accel/momentum/data/{name}.json created
|
|
31
|
+
- [ ] .accel/momentum/hooks/{name}-hook.py created
|
|
32
|
+
- [ ] workspace.json updated with surface registration
|
|
33
|
+
- [ ] settings.json updated with hook entry
|
|
34
|
+
</success_criteria>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: momentum:surface-list
|
|
3
|
+
description: Show all registered data surfaces
|
|
4
|
+
allowed-tools: [Read, Bash]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Display all registered data surfaces with item counts and hook status.
|
|
9
|
+
|
|
10
|
+
**When to use:** User wants to see what surfaces exist.
|
|
11
|
+
</objective>
|
|
12
|
+
|
|
13
|
+
<execution_context>
|
|
14
|
+
@.claude/skills/momentum/tasks/surface-list.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
@.accel/momentum/workspace.json
|
|
19
|
+
</context>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
Follow task: @.claude/skills/momentum/tasks/surface-list.md
|
|
23
|
+
</process>
|
|
24
|
+
|
|
25
|
+
<success_criteria>
|
|
26
|
+
- [ ] All registered surfaces displayed with counts
|
|
27
|
+
</success_criteria>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: momentum:vector-hygiene
|
|
3
|
+
description: Vector domain maintenance and rule review
|
|
4
|
+
allowed-tools: [Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Vector rule lifecycle management — review staleness, dedup, staging pipeline, domain health.
|
|
9
|
+
|
|
10
|
+
**When to use:** "vector hygiene", "review vector rules", "clean up vector".
|
|
11
|
+
</objective>
|
|
12
|
+
|
|
13
|
+
<execution_context>
|
|
14
|
+
@.claude/skills/momentum/tasks/vector-hygiene.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
$ARGUMENTS
|
|
19
|
+
|
|
20
|
+
@.vector/manifest
|
|
21
|
+
@.accel/momentum/workspace.json
|
|
22
|
+
</context>
|
|
23
|
+
|
|
24
|
+
<process>
|
|
25
|
+
Follow task: @.claude/skills/momentum/tasks/vector-hygiene.md
|
|
26
|
+
</process>
|
|
27
|
+
|
|
28
|
+
<success_criteria>
|
|
29
|
+
- [ ] All domains reviewed for staleness
|
|
30
|
+
- [ ] Duplicate/conflicting rules identified
|
|
31
|
+
- [ ] Staging pipeline processed
|
|
32
|
+
- [ ] vector_hygiene.last_run updated in workspace.json
|
|
33
|
+
</success_criteria>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Momentum Principles
|
|
2
|
+
|
|
3
|
+
## Core Laws
|
|
4
|
+
|
|
5
|
+
1. **If it's not current, it's harmful.** Stale context documents feed AI bad information. Maintenance isn't optional.
|
|
6
|
+
2. **Every file earns its place.** If you can't explain why it's here in 5 seconds, it moves or dies.
|
|
7
|
+
3. **Archive > delete.** When in doubt, archive. You can always delete later. You can't un-delete.
|
|
8
|
+
4. **The workspace is the product.** Treat it like production code, not a scratch pad.
|
|
9
|
+
5. **Clean as you go.** The best time to file something correctly is when you create it. The second best time is now.
|
|
10
|
+
6. **Scaffold generates manifest. Manifest drives everything.** One configuration point. No manual bookkeeping.
|
|
11
|
+
7. **Tools register themselves.** Drive projects auto-register with Momentum. No human memory required.
|
|
12
|
+
|
|
13
|
+
## Drift Score
|
|
14
|
+
|
|
15
|
+
Drift is the gap between documented state and actual state. Measured in days-overdue across all tracked areas.
|
|
16
|
+
|
|
17
|
+
- **0** — Everything current. Workspace is clean.
|
|
18
|
+
- **1-7** — Minor drift. Normal during execution sprints. Fix at next groom.
|
|
19
|
+
- **8-14** — Moderate drift. Context documents are likely misleading AI. Groom soon.
|
|
20
|
+
- **15+** — Critical drift. Sessions are operating on stale context. Groom NOW.
|
|
21
|
+
|
|
22
|
+
## Maintenance Cadence
|
|
23
|
+
|
|
24
|
+
| What | Default Cadence | Override |
|
|
25
|
+
|------|----------------|---------|
|
|
26
|
+
| ACTIVE.md | Every session or weekly | workspace.json |
|
|
27
|
+
| BACKLOG.md | Weekly groom | workspace.json |
|
|
28
|
+
| Project directory | Monthly | workspace.json |
|
|
29
|
+
| Tools/MCP | Monthly | workspace.json |
|
|
30
|
+
| System layer | Monthly | workspace.json |
|
|
31
|
+
| Full audit | Quarterly or after major shifts | On demand |
|
|
32
|
+
|
|
33
|
+
## Backlog Rules
|
|
34
|
+
|
|
35
|
+
Items have time-based properties enforced by grooming:
|
|
36
|
+
|
|
37
|
+
- **Added** — auto-set when item enters backlog
|
|
38
|
+
- **Review-by** — priority-based: High=7d, Medium=14d, Low=30d
|
|
39
|
+
- **Staleness** — 2x review-by threshold. Auto-archive if reached without action.
|
|
40
|
+
|
|
41
|
+
During groom: items past review-by surface as "decide or kill." Items past staleness auto-archive with a note.
|
|
42
|
+
|
|
43
|
+
## Graduation Flow
|
|
44
|
+
|
|
45
|
+
Backlog items don't sit forever. They graduate to ACTIVE.md when the operator is ready to work on them.
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
BACKLOG (waiting review)
|
|
49
|
+
→ ACTIVE.md TASKS (standalone, bounded work items)
|
|
50
|
+
→ ACTIVE.md PROJECT (complex work warranting its own project entry)
|
|
51
|
+
→ DONE (closed with outcome + date)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**TASKS vs PROJECTS:** A task is bounded — it has a finish line. "Extract .mcp.json secrets" is a task. "Build the Vector MCP server" might start as a task but could become a project if it grows. The operator decides during groom.
|
|
55
|
+
|
|
56
|
+
**Graduation is never automatic.** The groom flow asks explicitly: "Ready to work on any backlog items?" The operator decides what graduates and where it lands.
|
|
57
|
+
|
|
58
|
+
**Items can also move backward:** An ACTIVE task that loses priority can return to backlog. A project that stalls can move to DEFERRED. Nothing is permanent.
|
|
59
|
+
|
|
60
|
+
## Scaffold Modes
|
|
61
|
+
|
|
62
|
+
Momentum scaffold operates in two modes:
|
|
63
|
+
|
|
64
|
+
- **Standard** (`/momentum:scaffold`) — Data layer only. Creates `.accel/momentum/` with workspace.json, STATE.md, ROADMAP.md. Scans and tracks what exists. Framework-agnostic.
|
|
65
|
+
- **Full** (`/momentum:scaffold --full`) — Data layer + operational templates. Creates ACTIVE.md, BACKLOG.md from templates. Offers CLAUDE.md audit. Sets up symlinks. The "batteries included" version for AI builders who want the full system.
|
|
66
|
+
|
|
67
|
+
Standard mode works for any workspace. Full mode provides Yogi's proven operational structure.
|
|
68
|
+
|
|
69
|
+
## File Location
|
|
70
|
+
|
|
71
|
+
Momentum operates strictly out of `.accel/momentum/`. All state files (ACTIVE.md, BACKLOG.md, STATE.md, workspace.json, ROADMAP.md) live in `.accel/momentum/`. Symlinks at workspace root are a **migration tool only** — offered when existing references (CLAUDE.md @mentions, hooks) would break. New installations never need symlinks. `.accel/momentum/` is the canonical location.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Audit Strategies
|
|
2
|
+
|
|
3
|
+
Reusable audit strategies that can be applied to any workspace area. The workspace manifest (`workspace.json`) maps areas to strategies. The audit command reads the manifest and applies the appropriate strategy to each area.
|
|
4
|
+
|
|
5
|
+
## Strategies
|
|
6
|
+
|
|
7
|
+
### staleness
|
|
8
|
+
**Applies to:** Working memory files (ACTIVE.md, BACKLOG.md, any tracked document)
|
|
9
|
+
**What it does:** Check file modification timestamps against configured thresholds. Flag files past their groom cadence.
|
|
10
|
+
**Config:**
|
|
11
|
+
- `threshold_days` — days after which the file is considered stale
|
|
12
|
+
**Output:** List of stale files with age, recommended action (update or review)
|
|
13
|
+
|
|
14
|
+
### classify
|
|
15
|
+
**Applies to:** Directories with lifecycle items (projects/, clients/)
|
|
16
|
+
**What it does:** List all items in the directory. For each, present to operator for classification: active, archive, or delete. Check for planning docs, recent activity, git history.
|
|
17
|
+
**Config:**
|
|
18
|
+
- `states` — classification options (default: ["active", "archive", "delete"])
|
|
19
|
+
- `archive_path` — where archived items go (default: `{path}/_archive/`)
|
|
20
|
+
**Output:** Classification decisions, items moved to archive, items deleted
|
|
21
|
+
|
|
22
|
+
### cross-reference
|
|
23
|
+
**Applies to:** Tools/servers that have a config file mapping (e.g., MCP servers vs .mcp.json)
|
|
24
|
+
**What it does:** Compare directory contents against a configuration file. Identify directories not referenced in config (orphaned) and config entries pointing to missing directories (broken).
|
|
25
|
+
**Config:**
|
|
26
|
+
- `config_file` — path to the configuration file to cross-reference
|
|
27
|
+
**Output:** Orphaned items, broken references, recommendations
|
|
28
|
+
|
|
29
|
+
### dead-code
|
|
30
|
+
**Applies to:** System directories (hooks, commands, skills)
|
|
31
|
+
**What it does:** Scan for files that appear unused — no references from other files, no recent invocations, no clear purpose. Presents findings for human decision.
|
|
32
|
+
**Config:**
|
|
33
|
+
- `reference_check` — whether to search for references in other files (default: true)
|
|
34
|
+
**Output:** Potentially dead files with evidence, operator decides keep/delete
|
|
35
|
+
|
|
36
|
+
### pipeline-status
|
|
37
|
+
**Applies to:** Content pipelines, task queues, any workflow with stages
|
|
38
|
+
**What it does:** Check items in each pipeline stage. Flag stuck items (in same stage too long), empty stages, bottlenecks.
|
|
39
|
+
**Config:**
|
|
40
|
+
- `stages` — ordered list of pipeline stages
|
|
41
|
+
- `stuck_threshold_days` — days in one stage before flagging
|
|
42
|
+
**Output:** Pipeline health report, stuck items, stage distribution
|
|
43
|
+
|
|
44
|
+
## Extending Strategies
|
|
45
|
+
|
|
46
|
+
Custom strategies can be added for workspace-specific needs. A strategy is defined by:
|
|
47
|
+
1. A name (kebab-case)
|
|
48
|
+
2. What it applies to (description)
|
|
49
|
+
3. What it checks (logic)
|
|
50
|
+
4. What config it needs (parameters)
|
|
51
|
+
5. What it outputs (findings format)
|
|
52
|
+
|
|
53
|
+
Add custom strategies to this file and reference them in `workspace.json`.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Satellite Registration Framework
|
|
2
|
+
|
|
3
|
+
## What Are Satellites
|
|
4
|
+
|
|
5
|
+
Satellites are projects that live in their own git repos inside the workspace (e.g., `apps/*`). They run their own Claude Code sessions independently. Momentum needs visibility into them without owning them.
|
|
6
|
+
|
|
7
|
+
## Registration Flow
|
|
8
|
+
|
|
9
|
+
### Automatic (via Drive init)
|
|
10
|
+
When `/drive:init` runs in a subdirectory:
|
|
11
|
+
1. Check if parent directory has `.accel/momentum/workspace.json`
|
|
12
|
+
2. If yes, write registration entry: project name, path, engine type, state file path, date
|
|
13
|
+
3. Report: "Registered with Momentum workspace: {workspace-name}"
|
|
14
|
+
|
|
15
|
+
### Automatic (via Momentum scaffold)
|
|
16
|
+
When `/momentum:scaffold` runs:
|
|
17
|
+
1. Scan configured satellite directories (default: `apps/`)
|
|
18
|
+
2. Detect existing `.drive/` directories
|
|
19
|
+
3. Auto-register discovered projects
|
|
20
|
+
4. Report: "Found {N} satellite projects. Registered."
|
|
21
|
+
|
|
22
|
+
### Automatic (via Momentum groom)
|
|
23
|
+
During groom:
|
|
24
|
+
1. Read registered satellites from workspace.json
|
|
25
|
+
2. Check each path exists (clean up broken registrations)
|
|
26
|
+
3. Scan satellite directories for unregistered projects with `.drive/`
|
|
27
|
+
4. Flag: "Found unregistered project: {name}. Register?"
|
|
28
|
+
|
|
29
|
+
## Health Checks
|
|
30
|
+
|
|
31
|
+
During `/momentum:pulse` and `/momentum:groom`, for each satellite:
|
|
32
|
+
1. Read the state file (e.g., `.drive/STATE.md`)
|
|
33
|
+
2. Check last modification date
|
|
34
|
+
3. Extract current phase/milestone if parseable
|
|
35
|
+
4. Report health: active, stale, or unknown
|
|
36
|
+
|
|
37
|
+
Momentum never modifies satellite state. It only reads and reports. Drive (or whatever engine) manages the project. Momentum manages the workspace those projects live in.
|
|
38
|
+
|
|
39
|
+
## Deregistration
|
|
40
|
+
|
|
41
|
+
Satellites are deregistered when:
|
|
42
|
+
- The project directory no longer exists (auto-cleaned during groom)
|
|
43
|
+
- The user explicitly removes it during audit
|
|
44
|
+
- The project is archived (moved to `_archive/` or similar)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Audit an existing CLAUDE.md and generate a recommended alternative (CLAUDE.accel/momentum.md) that follows Momentum workspace conventions. Never overwrites the user's existing file.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<user-story>
|
|
6
|
+
As an AI builder setting up Momentum, I want my CLAUDE.md audited against best practices, so that I get a recommended version I can adopt without losing my current config.
|
|
7
|
+
</user-story>
|
|
8
|
+
|
|
9
|
+
<when-to-use>
|
|
10
|
+
- During /momentum:scaffold (optional step)
|
|
11
|
+
- When user says "audit my claude.md", "improve my claude.md"
|
|
12
|
+
- Entry point routes here via /momentum:audit-claude-md
|
|
13
|
+
</when-to-use>
|
|
14
|
+
|
|
15
|
+
<steps>
|
|
16
|
+
|
|
17
|
+
<step name="read_existing" priority="first">
|
|
18
|
+
Read the user's existing CLAUDE.md.
|
|
19
|
+
|
|
20
|
+
1. Read `CLAUDE.md` from workspace root
|
|
21
|
+
2. If no CLAUDE.md exists, skip audit and generate fresh from template
|
|
22
|
+
3. Parse sections: identify what's covered (identity, structure, conventions, tool config, etc.)
|
|
23
|
+
4. Note what's missing vs Momentum best practices
|
|
24
|
+
</step>
|
|
25
|
+
|
|
26
|
+
<step name="assess_and_recommend">
|
|
27
|
+
Compare against Momentum workspace conventions.
|
|
28
|
+
|
|
29
|
+
Check for:
|
|
30
|
+
- [ ] Working memory references (@ACTIVE.md, @BACKLOG.md, @STATE.md)
|
|
31
|
+
- [ ] Workspace structure tree (accurate to actual filesystem?)
|
|
32
|
+
- [ ] Git strategy documentation
|
|
33
|
+
- [ ] Tool priority declarations (LSP, etc.)
|
|
34
|
+
- [ ] Business/identity context (who, what, why)
|
|
35
|
+
- [ ] Vector/Momentum integration references
|
|
36
|
+
- [ ] Key locations table
|
|
37
|
+
- [ ] Documentation system description
|
|
38
|
+
- [ ] Banned words / style preferences
|
|
39
|
+
|
|
40
|
+
For each missing or outdated section, prepare a recommendation.
|
|
41
|
+
</step>
|
|
42
|
+
|
|
43
|
+
<step name="generate_alternative">
|
|
44
|
+
Generate CLAUDE.accel/momentum.md as a recommended version.
|
|
45
|
+
|
|
46
|
+
1. Build a complete CLAUDE.md following Momentum conventions
|
|
47
|
+
2. Preserve all existing content that's still accurate
|
|
48
|
+
3. Add missing sections from Momentum template
|
|
49
|
+
4. Update workspace structure tree to match actual filesystem
|
|
50
|
+
5. Write to `CLAUDE.accel/momentum.md` (NOT CLAUDE.md)
|
|
51
|
+
6. Present diff summary: "Here's what changed vs your current CLAUDE.md"
|
|
52
|
+
|
|
53
|
+
Tell user: "Review CLAUDE.accel/momentum.md. If you want to adopt it, rename it to CLAUDE.md. Your original is untouched."
|
|
54
|
+
</step>
|
|
55
|
+
|
|
56
|
+
</steps>
|
|
57
|
+
|
|
58
|
+
<output>
|
|
59
|
+
CLAUDE.accel/momentum.md file in workspace root — a recommended CLAUDE.md following Momentum conventions. Original CLAUDE.md is never modified.
|
|
60
|
+
</output>
|
|
61
|
+
|
|
62
|
+
<acceptance-criteria>
|
|
63
|
+
- [ ] Existing CLAUDE.md read and analyzed
|
|
64
|
+
- [ ] All Momentum best-practice sections checked
|
|
65
|
+
- [ ] CLAUDE.accel/momentum.md generated with recommendations
|
|
66
|
+
- [ ] Original CLAUDE.md untouched
|
|
67
|
+
- [ ] User informed of differences and how to adopt
|
|
68
|
+
</acceptance-criteria>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Deep workspace optimization. Dynamically generate audit phases from the workspace manifest, run each area's configured audit strategy, and execute operator-approved changes.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<user-story>
|
|
6
|
+
As an AI builder, I want a thorough workspace audit that adapts to my workspace structure, so that every area gets properly reviewed regardless of how complex my setup is.
|
|
7
|
+
</user-story>
|
|
8
|
+
|
|
9
|
+
<when-to-use>
|
|
10
|
+
- Quarterly or after major workspace shifts
|
|
11
|
+
- When user says "momentum audit", "deep clean", "optimize workspace"
|
|
12
|
+
- Entry point routes here via /momentum:audit
|
|
13
|
+
</when-to-use>
|
|
14
|
+
|
|
15
|
+
<steps>
|
|
16
|
+
|
|
17
|
+
<step name="generate_phases" priority="first">
|
|
18
|
+
Read workspace manifest and generate audit phases dynamically.
|
|
19
|
+
|
|
20
|
+
1. Read `.accel/momentum/workspace.json`
|
|
21
|
+
2. For each area, create an audit phase using its configured strategy
|
|
22
|
+
3. Present phase list: "Audit will cover {N} phases: {list with strategies}"
|
|
23
|
+
4. Create task tracking for each phase
|
|
24
|
+
|
|
25
|
+
**Wait for operator confirmation. Allow them to skip or reorder phases.**
|
|
26
|
+
</step>
|
|
27
|
+
|
|
28
|
+
<step name="execute_phases">
|
|
29
|
+
Run each phase using its configured audit strategy.
|
|
30
|
+
|
|
31
|
+
For each phase:
|
|
32
|
+
1. Announce: "Phase {N}: {area-name} ({strategy})"
|
|
33
|
+
2. Execute the strategy (reference frameworks/audit-strategies.md)
|
|
34
|
+
3. Present findings
|
|
35
|
+
4. Collect operator decisions (keep/archive/delete/move)
|
|
36
|
+
5. Execute approved changes
|
|
37
|
+
6. Mark phase complete
|
|
38
|
+
|
|
39
|
+
Strategies are documented in `@frameworks/audit-strategies.md`.
|
|
40
|
+
</step>
|
|
41
|
+
|
|
42
|
+
<step name="record_audit">
|
|
43
|
+
Record the audit results.
|
|
44
|
+
|
|
45
|
+
1. Update `.accel/momentum/STATE.md`
|
|
46
|
+
2. Write audit record to `.accel/momentum/audits/{YYYY-MM-DD}.md`
|
|
47
|
+
3. Log to `.accel/momentum/ROADMAP.md`
|
|
48
|
+
4. Report final summary: phases completed, items changed, new drift score
|
|
49
|
+
</step>
|
|
50
|
+
|
|
51
|
+
</steps>
|
|
52
|
+
|
|
53
|
+
<output>
|
|
54
|
+
Complete workspace audit with dynamic phases. All areas reviewed, changes executed, audit recorded.
|
|
55
|
+
</output>
|
|
56
|
+
|
|
57
|
+
<acceptance-criteria>
|
|
58
|
+
- [ ] Phases generated dynamically from manifest (not hardcoded)
|
|
59
|
+
- [ ] Each area audited using its configured strategy
|
|
60
|
+
- [ ] Operator approved all changes before execution
|
|
61
|
+
- [ ] Audit record written to audits/ directory
|
|
62
|
+
- [ ] STATE.md updated
|
|
63
|
+
- [ ] ROADMAP.md updated with audit entry
|
|
64
|
+
</acceptance-criteria>
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Structured weekly maintenance cycle. Walk through each workspace area, review with operator, enforce backlog time-based rules, graduate ready items, and log the groom.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<user-story>
|
|
6
|
+
As an AI builder, I want a guided workspace maintenance session, so that my context documents stay current, my backlog items graduate when ready, and my workspace doesn't drift.
|
|
7
|
+
</user-story>
|
|
8
|
+
|
|
9
|
+
<when-to-use>
|
|
10
|
+
- Weekly (on configured groom day)
|
|
11
|
+
- When pulse reports overdue grooming
|
|
12
|
+
- When user says "momentum groom", "let's groom", "workspace maintenance"
|
|
13
|
+
- Entry point routes here via /momentum:groom
|
|
14
|
+
</when-to-use>
|
|
15
|
+
|
|
16
|
+
<steps>
|
|
17
|
+
|
|
18
|
+
<step name="assess_scope" priority="first">
|
|
19
|
+
Determine what needs grooming.
|
|
20
|
+
|
|
21
|
+
1. Read `.accel/momentum/workspace.json` manifest
|
|
22
|
+
2. Read `.accel/momentum/STATE.md` for last groom dates per area
|
|
23
|
+
3. Identify which areas are due for grooming (past their cadence)
|
|
24
|
+
4. Sort by staleness (most overdue first)
|
|
25
|
+
5. Present: "Groom session starting. {N} areas due for review: {list}. Estimated time: {N*5} minutes."
|
|
26
|
+
|
|
27
|
+
**Wait for operator confirmation before proceeding.**
|
|
28
|
+
</step>
|
|
29
|
+
|
|
30
|
+
<step name="groom_active">
|
|
31
|
+
Review ACTIVE.md — the working memory for projects and tasks.
|
|
32
|
+
|
|
33
|
+
1. Read `.accel/momentum/ACTIVE.md`
|
|
34
|
+
2. Present summary: "{N} projects, {N} tasks, last updated {date}"
|
|
35
|
+
3. For each project: "Still active? Status changed? Next action current?"
|
|
36
|
+
4. For each task in TASKS section: "Done? Still in progress? Blocked?"
|
|
37
|
+
5. Close completed tasks (move to DONE/CLOSED with outcome + date)
|
|
38
|
+
6. Ask: "Anything new to add?"
|
|
39
|
+
7. Update timestamp
|
|
40
|
+
|
|
41
|
+
Voice-friendly: walk through one entry at a time, wait for response.
|
|
42
|
+
</step>
|
|
43
|
+
|
|
44
|
+
<step name="groom_backlog">
|
|
45
|
+
Review BACKLOG.md — enforce time-based rules AND handle graduation.
|
|
46
|
+
|
|
47
|
+
**Time-based enforcement:**
|
|
48
|
+
1. For each item, check Added date against review-by threshold:
|
|
49
|
+
- High priority: 7 days
|
|
50
|
+
- Medium priority: 14 days
|
|
51
|
+
- Low priority: 30 days
|
|
52
|
+
2. Items past review-by → surface: "These items need a decision: {list}"
|
|
53
|
+
3. Items past staleness (2x review-by) → "Auto-archiving: {list} (past {N} days without action)"
|
|
54
|
+
4. Process operator decisions on each flagged item
|
|
55
|
+
|
|
56
|
+
**Graduation check:**
|
|
57
|
+
5. For each remaining item, ask: "Ready to work on any of these?"
|
|
58
|
+
6. If yes — determine destination:
|
|
59
|
+
- **As a TASK:** Item is bounded, standalone work. Move to ACTIVE.md → TASKS section.
|
|
60
|
+
Format: `### {Task Name}` with Status, Next, Blocked, Notes fields.
|
|
61
|
+
- **As a PROJECT:** Item is complex enough to warrant its own project entry.
|
|
62
|
+
Move to ACTIVE.md under appropriate priority section with full project format.
|
|
63
|
+
- **Stay in backlog:** Not ready yet. Keep with updated review-by date.
|
|
64
|
+
7. For graduated items: remove from BACKLOG.md, add to ACTIVE.md in correct section
|
|
65
|
+
8. Update BACKLOG.md timestamp
|
|
66
|
+
|
|
67
|
+
**The graduation question is explicit every groom.** Items don't graduate silently — the operator decides.
|
|
68
|
+
</step>
|
|
69
|
+
|
|
70
|
+
<step name="groom_directories">
|
|
71
|
+
Review directory-type areas (projects/, clients/, tools/).
|
|
72
|
+
|
|
73
|
+
For each directory area due for grooming:
|
|
74
|
+
1. List contents
|
|
75
|
+
2. Flag anything that looks orphaned or new since last groom
|
|
76
|
+
3. Ask: "Anything to archive, delete, or reclassify?"
|
|
77
|
+
4. Execute approved changes
|
|
78
|
+
</step>
|
|
79
|
+
|
|
80
|
+
<step name="groom_satellites">
|
|
81
|
+
Review Drive satellite project health.
|
|
82
|
+
|
|
83
|
+
1. Read `.accel/momentum/workspace.json` — collect all satellite entries where `groom_check: true`
|
|
84
|
+
2. If no satellites have `groom_check: true` → skip this step silently
|
|
85
|
+
3. For each eligible satellite:
|
|
86
|
+
a. Read its STATE.md at the path in `satellite.state` (relative to workspace root)
|
|
87
|
+
b. If STATE.md is missing or unreadable → note as "⚠️ {name}: STATE.md not found"
|
|
88
|
+
c. Get last activity timestamp:
|
|
89
|
+
- PRIMARY: read `satellite.last_activity` from workspace.json entry (ISO timestamp written by session-start hook from drive.json)
|
|
90
|
+
- FALLBACK: if `last_activity` not present in workspace.json, parse "Last activity" line from the satellite's STATE.md
|
|
91
|
+
- If neither available → note as "⚠️ {name}: cannot determine last activity"
|
|
92
|
+
d. Parse "Loop Position" section from STATE.md → extract PLAN/APPLY/UNIFY markers (✓ = done, ○ = pending)
|
|
93
|
+
e. Evaluate health criteria:
|
|
94
|
+
- **STUCK LOOP**: Loop shows PLAN ✓ APPLY ○ or PLAN ✓ APPLY ✓ UNIFY ○, AND last activity > 7 days ago
|
|
95
|
+
- **ABANDONED PHASE**: Last activity > 14 days ago AND milestone status is not COMPLETE
|
|
96
|
+
- **MILESTONE DRIFT**: Milestone marked COMPLETE, loop shows ○ ○ ○ (no new milestone started), AND last activity > 14 days ago
|
|
97
|
+
4. Collect all issues across satellites
|
|
98
|
+
5. If issues found: surface as:
|
|
99
|
+
```
|
|
100
|
+
⚠️ Satellite health issues:
|
|
101
|
+
- {satellite-name}: {issue type} (last active: {date})
|
|
102
|
+
```
|
|
103
|
+
6. If no issues: output single line "Satellites: all healthy ({N} checked)"
|
|
104
|
+
|
|
105
|
+
**Report only — do NOT auto-fix.** Operator decides what to do with flagged satellites.
|
|
106
|
+
</step>
|
|
107
|
+
|
|
108
|
+
<step name="groom_system">
|
|
109
|
+
Review system layer areas (hooks, commands, skills, Vector).
|
|
110
|
+
|
|
111
|
+
1. Quick scan for obvious dead items
|
|
112
|
+
2. Only flag if something clearly wrong
|
|
113
|
+
3. Ask: "Any system changes to note?"
|
|
114
|
+
4. If Vector hygiene is enabled (workspace.json `vector_hygiene.proactive: true`):
|
|
115
|
+
- Check `.vector/staging/` for pending proposals
|
|
116
|
+
- Check rule timestamps for staleness
|
|
117
|
+
- Surface: "{N} staged proposals, {N} stale rules — run /momentum:vector-hygiene?"
|
|
118
|
+
</step>
|
|
119
|
+
|
|
120
|
+
<step name="log_groom">
|
|
121
|
+
Record the groom session.
|
|
122
|
+
|
|
123
|
+
1. Update `.accel/momentum/STATE.md` with new timestamps for all groomed areas
|
|
124
|
+
2. Reset drift score
|
|
125
|
+
3. Write groom summary to `.accel/momentum/grooming/{YYYY}-W{NN}.md`:
|
|
126
|
+
```markdown
|
|
127
|
+
# Groom Summary — Week {NN}, {YYYY}
|
|
128
|
+
|
|
129
|
+
**Date:** {YYYY-MM-DD}
|
|
130
|
+
**Areas Reviewed:** {list}
|
|
131
|
+
**Drift Score:** {before} → 0
|
|
132
|
+
|
|
133
|
+
## Changes
|
|
134
|
+
- {what changed}
|
|
135
|
+
|
|
136
|
+
## Graduated from Backlog
|
|
137
|
+
- {item} → ACTIVE.md TASKS / PROJECT
|
|
138
|
+
|
|
139
|
+
## Archived / Killed
|
|
140
|
+
- {item} (reason)
|
|
141
|
+
|
|
142
|
+
## Next Groom Due
|
|
143
|
+
{YYYY-MM-DD}
|
|
144
|
+
```
|
|
145
|
+
4. Report: "Groom complete. Drift score: 0. Next groom due: {date}."
|
|
146
|
+
</step>
|
|
147
|
+
|
|
148
|
+
</steps>
|
|
149
|
+
|
|
150
|
+
<output>
|
|
151
|
+
Updated workspace state. All due areas reviewed and current. Backlog time-based rules enforced. Ready items graduated. Groom summary logged.
|
|
152
|
+
</output>
|
|
153
|
+
|
|
154
|
+
<acceptance-criteria>
|
|
155
|
+
- [ ] All overdue areas reviewed with operator
|
|
156
|
+
- [ ] ACTIVE.md and BACKLOG.md timestamps updated
|
|
157
|
+
- [ ] Backlog time-based rules enforced (review-by, staleness)
|
|
158
|
+
- [ ] Graduation question asked explicitly for backlog items
|
|
159
|
+
- [ ] Graduated items properly moved to ACTIVE.md (TASKS or PROJECT)
|
|
160
|
+
- [ ] STATE.md updated with new groom date
|
|
161
|
+
- [ ] Groom summary written to grooming/ directory
|
|
162
|
+
- [ ] Drift score reset to 0
|
|
163
|
+
- [ ] Operator confirmed completion of each area
|
|
164
|
+
</acceptance-criteria>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Show workspace evolution over time. Read ROADMAP.md and present the chronological record of major workspace changes.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<user-story>
|
|
6
|
+
As an AI builder, I want to see how my workspace has evolved, so that I can understand the trajectory and make informed decisions about future changes.
|
|
7
|
+
</user-story>
|
|
8
|
+
|
|
9
|
+
<when-to-use>
|
|
10
|
+
- When user wants to review workspace history
|
|
11
|
+
- Entry point routes here via /momentum:history
|
|
12
|
+
</when-to-use>
|
|
13
|
+
|
|
14
|
+
<steps>
|
|
15
|
+
|
|
16
|
+
<step name="read_history" priority="first">
|
|
17
|
+
Read and present workspace evolution.
|
|
18
|
+
|
|
19
|
+
1. Read `.accel/momentum/ROADMAP.md`
|
|
20
|
+
2. Present chronologically: dates, what changed, why
|
|
21
|
+
3. Include audit summaries and major groom outcomes
|
|
22
|
+
4. If ROADMAP.md is empty or missing: "No history yet. Run /momentum:audit or /momentum:groom to start building your workspace timeline."
|
|
23
|
+
</step>
|
|
24
|
+
|
|
25
|
+
</steps>
|
|
26
|
+
|
|
27
|
+
<output>
|
|
28
|
+
Chronological workspace evolution timeline from ROADMAP.md.
|
|
29
|
+
</output>
|
|
30
|
+
|
|
31
|
+
<acceptance-criteria>
|
|
32
|
+
- [ ] History presented in clear chronological format
|
|
33
|
+
- [ ] Includes both audits and significant groom outcomes
|
|
34
|
+
</acceptance-criteria>
|