@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.
Files changed (376) hide show
  1. package/CLAUDE.md +19 -0
  2. package/LICENSE +33 -0
  3. package/README.md +275 -0
  4. package/bin/install.js +661 -0
  5. package/docs/getting-started.md +164 -0
  6. package/docs/module-guide.md +139 -0
  7. package/modules/drive/LICENSE +21 -0
  8. package/modules/drive/PAUL-VS-GSD.md +171 -0
  9. package/modules/drive/README.md +555 -0
  10. package/modules/drive/assets/terminal.svg +67 -0
  11. package/modules/drive/bin/install.js +210 -0
  12. package/modules/drive/integration.js +76 -0
  13. package/modules/drive/package.json +38 -0
  14. package/modules/drive/src/commands/add-phase.md +36 -0
  15. package/modules/drive/src/commands/apply.md +83 -0
  16. package/modules/drive/src/commands/assumptions.md +37 -0
  17. package/modules/drive/src/commands/audit.md +57 -0
  18. package/modules/drive/src/commands/complete-milestone.md +36 -0
  19. package/modules/drive/src/commands/config.md +175 -0
  20. package/modules/drive/src/commands/consider-issues.md +41 -0
  21. package/modules/drive/src/commands/discover.md +48 -0
  22. package/modules/drive/src/commands/discuss-milestone.md +33 -0
  23. package/modules/drive/src/commands/discuss.md +34 -0
  24. package/modules/drive/src/commands/flows.md +73 -0
  25. package/modules/drive/src/commands/handoff.md +201 -0
  26. package/modules/drive/src/commands/help.md +525 -0
  27. package/modules/drive/src/commands/init.md +54 -0
  28. package/modules/drive/src/commands/map-codebase.md +34 -0
  29. package/modules/drive/src/commands/milestone.md +34 -0
  30. package/modules/drive/src/commands/pause.md +44 -0
  31. package/modules/drive/src/commands/plan-fix.md +216 -0
  32. package/modules/drive/src/commands/plan.md +36 -0
  33. package/modules/drive/src/commands/progress.md +138 -0
  34. package/modules/drive/src/commands/register.md +29 -0
  35. package/modules/drive/src/commands/remove-phase.md +37 -0
  36. package/modules/drive/src/commands/research-phase.md +209 -0
  37. package/modules/drive/src/commands/research.md +47 -0
  38. package/modules/drive/src/commands/resume.md +49 -0
  39. package/modules/drive/src/commands/status.md +78 -0
  40. package/modules/drive/src/commands/unify.md +87 -0
  41. package/modules/drive/src/commands/verify.md +60 -0
  42. package/modules/drive/src/references/checkpoints.md +234 -0
  43. package/modules/drive/src/references/context-management.md +219 -0
  44. package/modules/drive/src/references/git-strategy.md +206 -0
  45. package/modules/drive/src/references/loop-phases.md +254 -0
  46. package/modules/drive/src/references/plan-format.md +263 -0
  47. package/modules/drive/src/references/quality-principles.md +152 -0
  48. package/modules/drive/src/references/research-quality-control.md +247 -0
  49. package/modules/drive/src/references/sonarqube-integration.md +244 -0
  50. package/modules/drive/src/references/specialized-workflow-integration.md +186 -0
  51. package/modules/drive/src/references/subagent-criteria.md +179 -0
  52. package/modules/drive/src/references/tdd.md +219 -0
  53. package/modules/drive/src/references/work-units.md +161 -0
  54. package/modules/drive/src/rules/commands.md +108 -0
  55. package/modules/drive/src/rules/references.md +107 -0
  56. package/modules/drive/src/rules/style.md +123 -0
  57. package/modules/drive/src/rules/templates.md +51 -0
  58. package/modules/drive/src/rules/workflows.md +133 -0
  59. package/modules/drive/src/templates/CONTEXT.md +88 -0
  60. package/modules/drive/src/templates/DEBUG.md +164 -0
  61. package/modules/drive/src/templates/DISCOVERY.md +148 -0
  62. package/modules/drive/src/templates/HANDOFF.md +77 -0
  63. package/modules/drive/src/templates/ISSUES.md +93 -0
  64. package/modules/drive/src/templates/MILESTONES.md +167 -0
  65. package/modules/drive/src/templates/PLAN.md +328 -0
  66. package/modules/drive/src/templates/PROJECT.md +219 -0
  67. package/modules/drive/src/templates/RESEARCH.md +130 -0
  68. package/modules/drive/src/templates/ROADMAP.md +328 -0
  69. package/modules/drive/src/templates/SPECIAL-FLOWS.md +70 -0
  70. package/modules/drive/src/templates/STATE.md +210 -0
  71. package/modules/drive/src/templates/SUMMARY.md +221 -0
  72. package/modules/drive/src/templates/UAT-ISSUES.md +139 -0
  73. package/modules/drive/src/templates/codebase/architecture.md +259 -0
  74. package/modules/drive/src/templates/codebase/concerns.md +329 -0
  75. package/modules/drive/src/templates/codebase/conventions.md +311 -0
  76. package/modules/drive/src/templates/codebase/integrations.md +284 -0
  77. package/modules/drive/src/templates/codebase/stack.md +190 -0
  78. package/modules/drive/src/templates/codebase/structure.md +287 -0
  79. package/modules/drive/src/templates/codebase/testing.md +484 -0
  80. package/modules/drive/src/templates/config.md +181 -0
  81. package/modules/drive/src/templates/milestone-archive.md +236 -0
  82. package/modules/drive/src/templates/milestone-context.md +190 -0
  83. package/modules/drive/src/templates/paul-json.md +147 -0
  84. package/modules/drive/src/vector-config/PAUL +26 -0
  85. package/modules/drive/src/vector-config/PAUL.manifest +11 -0
  86. package/modules/drive/src/workflows/apply-phase.md +393 -0
  87. package/modules/drive/src/workflows/audit-plan.md +344 -0
  88. package/modules/drive/src/workflows/complete-milestone.md +479 -0
  89. package/modules/drive/src/workflows/configure-special-flows.md +283 -0
  90. package/modules/drive/src/workflows/consider-issues.md +172 -0
  91. package/modules/drive/src/workflows/create-milestone.md +268 -0
  92. package/modules/drive/src/workflows/debug.md +292 -0
  93. package/modules/drive/src/workflows/discovery.md +187 -0
  94. package/modules/drive/src/workflows/discuss-milestone.md +245 -0
  95. package/modules/drive/src/workflows/discuss-phase.md +231 -0
  96. package/modules/drive/src/workflows/init-project.md +698 -0
  97. package/modules/drive/src/workflows/map-codebase.md +459 -0
  98. package/modules/drive/src/workflows/pause-work.md +259 -0
  99. package/modules/drive/src/workflows/phase-assumptions.md +181 -0
  100. package/modules/drive/src/workflows/plan-phase.md +385 -0
  101. package/modules/drive/src/workflows/quality-gate.md +263 -0
  102. package/modules/drive/src/workflows/register-manifest.md +107 -0
  103. package/modules/drive/src/workflows/research.md +241 -0
  104. package/modules/drive/src/workflows/resume-project.md +200 -0
  105. package/modules/drive/src/workflows/roadmap-management.md +334 -0
  106. package/modules/drive/src/workflows/transition-phase.md +368 -0
  107. package/modules/drive/src/workflows/unify-phase.md +290 -0
  108. package/modules/drive/src/workflows/verify-work.md +241 -0
  109. package/modules/forge/README.md +281 -0
  110. package/modules/forge/bin/install.js +200 -0
  111. package/modules/forge/package.json +32 -0
  112. package/modules/forge/skillsmith/rules/checklists-rules.md +42 -0
  113. package/modules/forge/skillsmith/rules/context-rules.md +43 -0
  114. package/modules/forge/skillsmith/rules/entry-point-rules.md +44 -0
  115. package/modules/forge/skillsmith/rules/frameworks-rules.md +43 -0
  116. package/modules/forge/skillsmith/rules/tasks-rules.md +52 -0
  117. package/modules/forge/skillsmith/rules/templates-rules.md +43 -0
  118. package/modules/forge/skillsmith/skillsmith.md +82 -0
  119. package/modules/forge/skillsmith/tasks/audit.md +277 -0
  120. package/modules/forge/skillsmith/tasks/discover.md +145 -0
  121. package/modules/forge/skillsmith/tasks/distill.md +276 -0
  122. package/modules/forge/skillsmith/tasks/scaffold.md +349 -0
  123. package/modules/forge/specs/checklists.md +193 -0
  124. package/modules/forge/specs/context.md +223 -0
  125. package/modules/forge/specs/entry-point.md +320 -0
  126. package/modules/forge/specs/frameworks.md +228 -0
  127. package/modules/forge/specs/rules.md +245 -0
  128. package/modules/forge/specs/tasks.md +344 -0
  129. package/modules/forge/specs/templates.md +335 -0
  130. package/modules/forge/terminal.svg +70 -0
  131. package/modules/ignition/README.md +245 -0
  132. package/modules/ignition/bin/install.js +184 -0
  133. package/modules/ignition/checklists/planning-quality.md +55 -0
  134. package/modules/ignition/data/application/config.md +21 -0
  135. package/modules/ignition/data/application/guide.md +51 -0
  136. package/modules/ignition/data/application/skill-loadout.md +11 -0
  137. package/modules/ignition/data/campaign/config.md +18 -0
  138. package/modules/ignition/data/campaign/guide.md +36 -0
  139. package/modules/ignition/data/campaign/skill-loadout.md +10 -0
  140. package/modules/ignition/data/client/config.md +18 -0
  141. package/modules/ignition/data/client/guide.md +36 -0
  142. package/modules/ignition/data/client/skill-loadout.md +11 -0
  143. package/modules/ignition/data/utility/config.md +18 -0
  144. package/modules/ignition/data/utility/guide.md +31 -0
  145. package/modules/ignition/data/utility/skill-loadout.md +8 -0
  146. package/modules/ignition/data/workflow/config.md +19 -0
  147. package/modules/ignition/data/workflow/guide.md +41 -0
  148. package/modules/ignition/data/workflow/skill-loadout.md +10 -0
  149. package/modules/ignition/integration.js +54 -0
  150. package/modules/ignition/package.json +35 -0
  151. package/modules/ignition/seed.md +81 -0
  152. package/modules/ignition/tasks/add-type.md +164 -0
  153. package/modules/ignition/tasks/graduate.md +182 -0
  154. package/modules/ignition/tasks/ideate.md +221 -0
  155. package/modules/ignition/tasks/launch.md +137 -0
  156. package/modules/ignition/tasks/status.md +71 -0
  157. package/modules/ignition/templates/planning-application.md +193 -0
  158. package/modules/ignition/templates/planning-campaign.md +138 -0
  159. package/modules/ignition/templates/planning-client.md +149 -0
  160. package/modules/ignition/templates/planning-utility.md +112 -0
  161. package/modules/ignition/templates/planning-workflow.md +125 -0
  162. package/modules/ignition/terminal.svg +74 -0
  163. package/modules/mission-control/CONTEXT-CONTINUITY-SPEC.md +293 -0
  164. package/modules/mission-control/CONTEXT-ENGINEERING-GUIDE.md +282 -0
  165. package/modules/mission-control/README.md +91 -0
  166. package/modules/mission-control/assets/terminal.svg +80 -0
  167. package/modules/mission-control/examples/entities.example.json +133 -0
  168. package/modules/mission-control/examples/projects.example.json +318 -0
  169. package/modules/mission-control/examples/state.example.json +183 -0
  170. package/modules/mission-control/examples/vector.example.json +245 -0
  171. package/modules/mission-control/mission-control/checklists/install-verification.md +46 -0
  172. package/modules/mission-control/mission-control/frameworks/framework-registry.md +83 -0
  173. package/modules/mission-control/mission-control/mission-control.md +83 -0
  174. package/modules/mission-control/mission-control/tasks/insights.md +73 -0
  175. package/modules/mission-control/mission-control/tasks/install.md +194 -0
  176. package/modules/mission-control/mission-control/tasks/status.md +125 -0
  177. package/modules/mission-control/schemas/entities.schema.json +89 -0
  178. package/modules/mission-control/schemas/projects.schema.json +221 -0
  179. package/modules/mission-control/schemas/state.schema.json +108 -0
  180. package/modules/mission-control/schemas/vector.schema.json +200 -0
  181. package/modules/momentum/README.md +678 -0
  182. package/modules/momentum/bin/install.js +563 -0
  183. package/modules/momentum/integration.js +131 -0
  184. package/modules/momentum/package.json +42 -0
  185. package/modules/momentum/schemas/entities.schema.json +89 -0
  186. package/modules/momentum/schemas/projects.schema.json +221 -0
  187. package/modules/momentum/schemas/state.schema.json +108 -0
  188. package/modules/momentum/src/commands/audit-claude-md.md +31 -0
  189. package/modules/momentum/src/commands/audit.md +33 -0
  190. package/modules/momentum/src/commands/groom.md +35 -0
  191. package/modules/momentum/src/commands/history.md +27 -0
  192. package/modules/momentum/src/commands/pulse.md +33 -0
  193. package/modules/momentum/src/commands/scaffold.md +33 -0
  194. package/modules/momentum/src/commands/status.md +28 -0
  195. package/modules/momentum/src/commands/surface-convert.md +35 -0
  196. package/modules/momentum/src/commands/surface-create.md +34 -0
  197. package/modules/momentum/src/commands/surface-list.md +27 -0
  198. package/modules/momentum/src/commands/vector-hygiene.md +33 -0
  199. package/modules/momentum/src/framework/context/momentum-principles.md +71 -0
  200. package/modules/momentum/src/framework/frameworks/audit-strategies.md +53 -0
  201. package/modules/momentum/src/framework/frameworks/satellite-registration.md +44 -0
  202. package/modules/momentum/src/framework/tasks/audit-claude-md.md +68 -0
  203. package/modules/momentum/src/framework/tasks/audit.md +64 -0
  204. package/modules/momentum/src/framework/tasks/groom.md +164 -0
  205. package/modules/momentum/src/framework/tasks/history.md +34 -0
  206. package/modules/momentum/src/framework/tasks/pulse.md +83 -0
  207. package/modules/momentum/src/framework/tasks/scaffold.md +202 -0
  208. package/modules/momentum/src/framework/tasks/status.md +35 -0
  209. package/modules/momentum/src/framework/tasks/surface-convert.md +143 -0
  210. package/modules/momentum/src/framework/tasks/surface-create.md +184 -0
  211. package/modules/momentum/src/framework/tasks/surface-list.md +42 -0
  212. package/modules/momentum/src/framework/tasks/vector-hygiene.md +160 -0
  213. package/modules/momentum/src/framework/templates/workspace-json.md +96 -0
  214. package/modules/momentum/src/hooks/_template.py +129 -0
  215. package/modules/momentum/src/hooks/active-hook.py +178 -0
  216. package/modules/momentum/src/hooks/backlog-hook.py +115 -0
  217. package/modules/momentum/src/hooks/mission-control-insights.py +169 -0
  218. package/modules/momentum/src/hooks/momentum-pulse-check.py +351 -0
  219. package/modules/momentum/src/hooks/operator.py +53 -0
  220. package/modules/momentum/src/hooks/psmm-injector.py +67 -0
  221. package/modules/momentum/src/hooks/satellite-detection.py +248 -0
  222. package/modules/momentum/src/packages/momentum-mcp/index.js +119 -0
  223. package/modules/momentum/src/packages/momentum-mcp/package.json +10 -0
  224. package/modules/momentum/src/packages/momentum-mcp/tools/entities.js +226 -0
  225. package/modules/momentum/src/packages/momentum-mcp/tools/operator.js +106 -0
  226. package/modules/momentum/src/packages/momentum-mcp/tools/projects.js +322 -0
  227. package/modules/momentum/src/packages/momentum-mcp/tools/psmm.js +206 -0
  228. package/modules/momentum/src/packages/momentum-mcp/tools/state.js +199 -0
  229. package/modules/momentum/src/packages/momentum-mcp/tools/surfaces.js +404 -0
  230. package/modules/momentum/src/skill/momentum.md +111 -0
  231. package/modules/momentum/src/tasks/groom.md +164 -0
  232. package/modules/momentum/src/templates/operator.json +66 -0
  233. package/modules/momentum/src/templates/workspace.json +111 -0
  234. package/modules/momentum/terminal.svg +77 -0
  235. package/modules/radar/README.md +1552 -0
  236. package/modules/radar/commands/audit.md +233 -0
  237. package/modules/radar/commands/guardrails.md +194 -0
  238. package/modules/radar/commands/init.md +207 -0
  239. package/modules/radar/commands/playbook.md +176 -0
  240. package/modules/radar/commands/remediate.md +156 -0
  241. package/modules/radar/commands/report.md +172 -0
  242. package/modules/radar/commands/resume.md +176 -0
  243. package/modules/radar/commands/status.md +148 -0
  244. package/modules/radar/commands/transform.md +205 -0
  245. package/modules/radar/commands/validate.md +177 -0
  246. package/modules/radar/docs/ARCHITECTURE.md +336 -0
  247. package/modules/radar/docs/GETTING-STARTED.md +287 -0
  248. package/modules/radar/docs/standards/agents.md +197 -0
  249. package/modules/radar/docs/standards/commands.md +250 -0
  250. package/modules/radar/docs/standards/domains.md +191 -0
  251. package/modules/radar/docs/standards/personas.md +211 -0
  252. package/modules/radar/docs/standards/rules.md +218 -0
  253. package/modules/radar/docs/standards/runtime.md +445 -0
  254. package/modules/radar/docs/standards/schemas.md +269 -0
  255. package/modules/radar/docs/standards/tools.md +273 -0
  256. package/modules/radar/docs/standards/workflows.md +254 -0
  257. package/modules/radar/docs/terminal.svg +72 -0
  258. package/modules/radar/docs/validation/convention-compliance-report.md +183 -0
  259. package/modules/radar/docs/validation/cross-reference-report.md +195 -0
  260. package/modules/radar/docs/validation/validation-summary.md +118 -0
  261. package/modules/radar/docs/validation/version-manifest.yaml +363 -0
  262. package/modules/radar/install.sh +711 -0
  263. package/modules/radar/integration.js +53 -0
  264. package/modules/radar/src/core/agents/architect.md +25 -0
  265. package/modules/radar/src/core/agents/compliance-officer.md +25 -0
  266. package/modules/radar/src/core/agents/data-engineer.md +25 -0
  267. package/modules/radar/src/core/agents/devils-advocate.md +22 -0
  268. package/modules/radar/src/core/agents/performance-engineer.md +25 -0
  269. package/modules/radar/src/core/agents/principal-engineer.md +23 -0
  270. package/modules/radar/src/core/agents/reality-gap-analyst.md +22 -0
  271. package/modules/radar/src/core/agents/security-engineer.md +25 -0
  272. package/modules/radar/src/core/agents/senior-app-engineer.md +25 -0
  273. package/modules/radar/src/core/agents/sre.md +25 -0
  274. package/modules/radar/src/core/agents/staff-engineer.md +23 -0
  275. package/modules/radar/src/core/agents/test-engineer.md +25 -0
  276. package/modules/radar/src/core/personas/architect.md +111 -0
  277. package/modules/radar/src/core/personas/compliance-officer.md +104 -0
  278. package/modules/radar/src/core/personas/data-engineer.md +113 -0
  279. package/modules/radar/src/core/personas/devils-advocate.md +105 -0
  280. package/modules/radar/src/core/personas/performance-engineer.md +119 -0
  281. package/modules/radar/src/core/personas/principal-engineer.md +119 -0
  282. package/modules/radar/src/core/personas/reality-gap-analyst.md +111 -0
  283. package/modules/radar/src/core/personas/security-engineer.md +108 -0
  284. package/modules/radar/src/core/personas/senior-app-engineer.md +111 -0
  285. package/modules/radar/src/core/personas/sre.md +117 -0
  286. package/modules/radar/src/core/personas/staff-engineer.md +109 -0
  287. package/modules/radar/src/core/personas/test-engineer.md +109 -0
  288. package/modules/radar/src/core/workflows/disagreement-resolution.md +183 -0
  289. package/modules/radar/src/core/workflows/phase-0-context.md +148 -0
  290. package/modules/radar/src/core/workflows/phase-1-reconnaissance.md +169 -0
  291. package/modules/radar/src/core/workflows/phase-2-domain-audits.md +190 -0
  292. package/modules/radar/src/core/workflows/phase-3-cross-domain.md +177 -0
  293. package/modules/radar/src/core/workflows/phase-4-adversarial-review.md +165 -0
  294. package/modules/radar/src/core/workflows/phase-5-report.md +189 -0
  295. package/modules/radar/src/core/workflows/phase-checkpoint.md +222 -0
  296. package/modules/radar/src/core/workflows/session-handoff.md +152 -0
  297. package/modules/radar/src/domains/00-context.md +201 -0
  298. package/modules/radar/src/domains/01-architecture.md +248 -0
  299. package/modules/radar/src/domains/02-data.md +224 -0
  300. package/modules/radar/src/domains/03-correctness.md +230 -0
  301. package/modules/radar/src/domains/04-security.md +274 -0
  302. package/modules/radar/src/domains/05-compliance.md +228 -0
  303. package/modules/radar/src/domains/06-testing.md +228 -0
  304. package/modules/radar/src/domains/07-reliability.md +246 -0
  305. package/modules/radar/src/domains/08-performance.md +247 -0
  306. package/modules/radar/src/domains/09-maintainability.md +271 -0
  307. package/modules/radar/src/domains/10-operability.md +250 -0
  308. package/modules/radar/src/domains/11-change-risk.md +246 -0
  309. package/modules/radar/src/domains/12-team-risk.md +221 -0
  310. package/modules/radar/src/domains/13-risk-synthesis.md +202 -0
  311. package/modules/radar/src/rules/agent-boundaries.md +78 -0
  312. package/modules/radar/src/rules/disagreement-protocol.md +76 -0
  313. package/modules/radar/src/rules/epistemic-hygiene.md +78 -0
  314. package/modules/radar/src/schemas/confidence.md +185 -0
  315. package/modules/radar/src/schemas/disagreement.md +238 -0
  316. package/modules/radar/src/schemas/finding.md +287 -0
  317. package/modules/radar/src/schemas/report-section.md +150 -0
  318. package/modules/radar/src/schemas/signal.md +108 -0
  319. package/modules/radar/src/tools/checkov.md +463 -0
  320. package/modules/radar/src/tools/git-history.md +581 -0
  321. package/modules/radar/src/tools/gitleaks.md +447 -0
  322. package/modules/radar/src/tools/grype.md +611 -0
  323. package/modules/radar/src/tools/semgrep.md +378 -0
  324. package/modules/radar/src/tools/sonarqube.md +550 -0
  325. package/modules/radar/src/tools/syft.md +539 -0
  326. package/modules/radar/src/tools/trivy.md +439 -0
  327. package/modules/radar/src/transform/agents/change-risk-modeler.md +24 -0
  328. package/modules/radar/src/transform/agents/execution-validator.md +24 -0
  329. package/modules/radar/src/transform/agents/guardrail-generator.md +24 -0
  330. package/modules/radar/src/transform/agents/pedagogy-agent.md +24 -0
  331. package/modules/radar/src/transform/agents/remediation-architect.md +24 -0
  332. package/modules/radar/src/transform/personas/change-risk-modeler.md +95 -0
  333. package/modules/radar/src/transform/personas/execution-validator.md +95 -0
  334. package/modules/radar/src/transform/personas/guardrail-generator.md +103 -0
  335. package/modules/radar/src/transform/personas/pedagogy-agent.md +105 -0
  336. package/modules/radar/src/transform/personas/remediation-architect.md +95 -0
  337. package/modules/radar/src/transform/rules/change-risk-rules.md +87 -0
  338. package/modules/radar/src/transform/rules/safety-governance.md +87 -0
  339. package/modules/radar/src/transform/schemas/change-risk.md +139 -0
  340. package/modules/radar/src/transform/schemas/intervention-level.md +207 -0
  341. package/modules/radar/src/transform/schemas/playbook.md +205 -0
  342. package/modules/radar/src/transform/schemas/verification-plan.md +134 -0
  343. package/modules/radar/src/transform/workflows/phase-6-remediation.md +148 -0
  344. package/modules/radar/src/transform/workflows/phase-7-risk-validation.md +161 -0
  345. package/modules/radar/src/transform/workflows/phase-8-execution-planning.md +159 -0
  346. package/modules/radar/src/transform/workflows/transform-safety.md +158 -0
  347. package/modules/vector/.vector-template/sessions/.gitkeep +0 -0
  348. package/modules/vector/.vector-template/vector.json +72 -0
  349. package/modules/vector/AUDIT-CLAUDEMD.md +154 -0
  350. package/modules/vector/INSTALL.md +185 -0
  351. package/modules/vector/LICENSE +21 -0
  352. package/modules/vector/README.md +409 -0
  353. package/modules/vector/VECTOR-BLOCK.md +57 -0
  354. package/modules/vector/assets/terminal.svg +68 -0
  355. package/modules/vector/bin/install.js +455 -0
  356. package/modules/vector/bin/migrate-v1-to-v2.sh +492 -0
  357. package/modules/vector/commands/help.md +46 -0
  358. package/modules/vector/hooks/vector-hook.py +775 -0
  359. package/modules/vector/mcp/index.js +118 -0
  360. package/modules/vector/mcp/package.json +10 -0
  361. package/modules/vector/mcp/tools/decisions.js +269 -0
  362. package/modules/vector/mcp/tools/domains.js +361 -0
  363. package/modules/vector/mcp/tools/staging.js +252 -0
  364. package/modules/vector/mcp/tools/vector-json.js +647 -0
  365. package/modules/vector/package.json +38 -0
  366. package/modules/vector/schemas/vector.schema.json +237 -0
  367. package/package.json +39 -0
  368. package/shared/branding/branding.js +70 -0
  369. package/shared/config/defaults.json +59 -0
  370. package/shared/events/README.md +175 -0
  371. package/shared/events/event-bus.js +134 -0
  372. package/shared/events/event_bus.py +255 -0
  373. package/shared/events/integrations.js +161 -0
  374. package/shared/events/schemas/audit-complete.schema.json +21 -0
  375. package/shared/events/schemas/phase-progress.schema.json +23 -0
  376. package/shared/events/schemas/plan-created.schema.json +21 -0
@@ -0,0 +1,678 @@
1
+ <div align="center">
2
+ <img src="terminal.svg" alt="Momentum terminal" width="740"/>
3
+ </div>
4
+
5
+ <div align="center">
6
+
7
+ [![npm](https://img.shields.io/npm/v/@accel/momentum?color=00d8ff&label=npm&style=flat-square)](https://www.npmjs.com/package/@accel/momentum)
8
+ [![Node](https://img.shields.io/badge/node-%3E%3D16.7.0-brightgreen?style=flat-square)](https://nodejs.org)
9
+ [![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE)
10
+ [![Claude Code](https://img.shields.io/badge/Claude%20Code-compatible-8b5cf6?style=flat-square)](https://claude.ai/code)
11
+
12
+ **Your AI builder operating system.**<br/>
13
+ Turn Claude Code from a per-session tool into a workspace that remembers, maintains itself, and never goes stale.
14
+
15
+
16
+ </div>
17
+
18
+ ---
19
+
20
+ ## Contents
21
+
22
+ - [The Problem Every Claude Code User Hits](#the-problem-every-claude-code-user-hits)
23
+ - [What Momentum Actually Does](#what-momentum-actually-does)
24
+ - [How It Works](#how-it-works)
25
+ - [Install](#install)
26
+ - [Upgrading from v2](#upgrading-from-v2)
27
+ - [What Gets Installed](#what-gets-installed)
28
+ - [The Maintenance Cycle](#the-maintenance-cycle)
29
+ - [Config Alignment](#config-alignment--claude-directory-audit)
30
+ - [MCP Server](#mcp-server--claude-operates-on-your-data)
31
+ - [Operator Profile](#operator-profile--who-you-are-always-in-context)
32
+ - [PSMM — Session Intelligence](#per-session-meta-memory-psmm--session-intelligence)
33
+ - [Mission Control Insights](#mission-control-insights--workspace-analytics)
34
+ - [Multi-Project Workspaces — Momentum + Drive](#multi-project-workspaces--momentum--drive)
35
+ - [Creating Custom Surfaces](#creating-custom-surfaces)
36
+ - [How the Ecosystem Fits Together](#how-the-ecosystem-fits-together)
37
+ - [Design Principles](#design-principles)
38
+ - [Quick Start](#quick-start)
39
+
40
+ ---
41
+
42
+ ## Ecosystem
43
+
44
+ Momentum is part of a broader Claude Code extension ecosystem:
45
+
46
+ | System | What It Does | Link |
47
+ |--------|-------------|------|
48
+ | **Radar** | Multi-agent codebase auditing — diagnosis + controlled evolution | [GitHub](https://github.com/accelerationguy/radar) |
49
+ | **Momentum** | Builder's Automated State Engine — workspace lifecycle, health tracking, drift prevention | You are here |
50
+ | **Vector** | Context Augmentation & Reinforcement Layer — dynamic rules loaded JIT by intent | [GitHub](https://github.com/accelerationguy/vector) |
51
+ | **Drive** | Project orchestration — Plan, Apply, Unify Loop | [GitHub](https://github.com/accelerationguy/drive) |
52
+ | **Ignition** | Typed project incubator — guided ideation through graduation into buildable projects | [GitHub](https://github.com/accelerationguy/ignition) |
53
+ | **Forge** | Skill builder — standardized syntax specs + guided workflows for Claude Code skills | [GitHub](https://github.com/accelerationguy/forge) |
54
+ | **CC Strategic AI** | Skool community — courses, community, live support | [Skool](https://accelerationguy.com) |
55
+
56
+ ---
57
+
58
+ ## The Problem Every Claude Code User Hits
59
+
60
+ You start a Claude Code session. Claude doesn't know:
61
+
62
+ - What you're working on
63
+ - What's blocked
64
+ - What you worked on yesterday
65
+ - What's overdue
66
+ - Which projects need attention
67
+
68
+ So you repeat yourself. Every. Single. Session.
69
+
70
+ Maybe you've tried fixing this with a massive `CLAUDE.md` file, `@`-mentions pointing at markdown docs, or manual context dumps at session start. It works... until it doesn't. Files go stale. Your CLAUDE.md becomes a junk drawer. You forget to update things. Claude starts making decisions based on outdated information. And the bigger your workspace gets, the worse it breaks.
71
+
72
+ **This is the duct tape phase.** Everyone goes through it. Momentum is what comes after.
73
+
74
+ ---
75
+
76
+ ## What Momentum Actually Does
77
+
78
+ Momentum turns your Claude Code workspace into a managed operating system. Instead of scattered markdown files and manual context loading, you get:
79
+
80
+ **Structured data that Claude reads automatically.** Your active projects, backlog items, client lists — anything you want Claude to passively know about — lives in structured JSON files. Lightweight hooks inject compact summaries into every session automatically. You never type "here's what I'm working on" again.
81
+
82
+ **Health monitoring that catches drift before it hurts.** A drift score tracks how far your workspace state has drifted from reality. When things go stale, Momentum tells you. When grooming is overdue, Momentum tells you. You fix it with a guided maintenance cycle, not a weekend of cleanup.
83
+
84
+ **A manifest that drives everything.** One config file (`workspace.json`) declares what your workspace contains, how each area should be maintained, and what projects are in play. Every command reads from it. Your workspace is self-describing.
85
+
86
+ ### What This Looks Like in Practice
87
+
88
+ You open Claude Code. Before you type anything, Claude already knows:
89
+
90
+ ```xml
91
+ <active-awareness items="5">
92
+ [URGENT]
93
+ - [ACT-001] Client Portal Launch (Blocked: API auth)
94
+ DUE: 2026-03-20
95
+ [HIGH]
96
+ - [ACT-002] Course Module 3 (In Progress)
97
+ - [ACT-003] MCP Server Refactor (In Review)
98
+
99
+ BEHAVIOR: PASSIVE AWARENESS ONLY.
100
+ Do NOT proactively mention unless user asks or deadline < 24h.
101
+ </active-awareness>
102
+ ```
103
+
104
+ Claude doesn't nag. It doesn't start the session with "here are your tasks." But the moment you ask "what should I work on?" — the answer is instant and accurate. No file reading. No context window wasted. No stale data.
105
+
106
+ ---
107
+
108
+ ## How It Works
109
+
110
+ ### Data Surfaces — The Core Concept
111
+
112
+ A "data surface" is just a structured JSON file paired with a hook that injects it into Claude's context. That's it.
113
+
114
+ ```
115
+ JSON file (your data) → Hook (reads + summarizes) → Claude knows it
116
+ ```
117
+
118
+ Momentum ships with five built-in surfaces:
119
+
120
+ | Surface | What It Tracks |
121
+ |---------|---------------|
122
+ | **Active** | Current projects, tasks, blockers, deadlines, status |
123
+ | **Backlog** | Future work, ideas, deferred items with review deadlines |
124
+ | **Projects** | Unified project tracking with Drive integration, categories, revenue |
125
+ | **Entities** | People and organizations — contacts, stakeholders, collaborators |
126
+ | **State** | Workspace health — drift score, area statuses, groom tracking |
127
+
128
+ But you can create surfaces for anything — clients, contacts, content pipelines, API keys, whatever persistent data you want Claude to passively know about. The `/momentum:surface create` command walks you through it: define a schema, pick an injection format, and Momentum generates the JSON file, the hook, and the wiring automatically.
129
+
130
+ ### The Manifest — One File Rules Everything
131
+
132
+ `workspace.json` is the brain. It registers:
133
+
134
+ - Every data surface and its schema
135
+ - Every tracked area in your workspace (projects, tools, content, clients...)
136
+ - Grooming schedules per area
137
+ - Audit strategies per area type
138
+ - Connected projects and their health status
139
+
140
+ Every Momentum command reads from this manifest. You configure it once during setup, and the system maintains itself from there.
141
+
142
+ ### Hooks — The Glue
143
+
144
+ Momentum uses Claude Code's [hook system](https://docs.anthropic.com/en/docs/claude-code/hooks) to inject context automatically. There are two types:
145
+
146
+ **Every prompt** (`UserPromptSubmit`) — Fire on every message you send, keeping Claude's awareness current throughout the session:
147
+
148
+ | Hook | What It Does |
149
+ |------|-------------|
150
+ | **Pulse check** | Calculates workspace drift score, warns if grooming is overdue |
151
+ | **PSMM injector** | Re-injects important session moments (decisions, corrections, insights) into Claude's context so they don't get buried in a long session. [Details below.](#per-session-meta-memory-psmm--session-intelligence) |
152
+ | **Operator** | Injects a compact identity summary from your operator profile — north star, values, vision — so Claude stays aligned with who you are and what you're building toward |
153
+ | **Surface hooks** | One per data surface (active, backlog, or custom). Reads the JSON, outputs a compact summary so Claude passively knows the current state |
154
+
155
+ **Session start** (`SessionStart`) — Runs once when a Claude Code session begins:
156
+
157
+ | Hook | What It Does |
158
+ |------|-------------|
159
+ | **Drive project detection** | Scans your workspace for [Drive](https://github.com/accelerationguy/drive) project files (`.drive/drive.json`) and auto-registers new ones into `workspace.json`. Only needs to run once — your project list doesn't change mid-session. (More on Drive below.) |
160
+
161
+ **On demand** — Invoked by specific commands, not auto-fired:
162
+
163
+ | Hook | What It Does |
164
+ |------|-------------|
165
+ | **Apex insights** | Workspace analytics engine — velocity tracking, stall detection, blocking analysis, revenue exposure, dependency chains. Invoked by `/accel:insights`. |
166
+
167
+ All hooks are lightweight Python — they read JSON files and output compact XML summaries. No network calls, no heavy dependencies, no noticeable latency. A hook that has nothing to report outputs nothing and exits silently.
168
+
169
+ ---
170
+
171
+ ## Install
172
+
173
+ ```bash
174
+ npx @accel/momentum --global --workspace
175
+ ```
176
+
177
+ One command. Two layers:
178
+
179
+ - `--global` installs commands and the framework to `~/.claude` (shared across all your workspaces)
180
+ - `--workspace` installs the data layer to `.accel/momentum/` in your current directory
181
+
182
+ Then open Claude Code and run `/momentum:scaffold` to configure your workspace with a guided setup.
183
+
184
+ ```bash
185
+ # Full install — most users start here
186
+ npx @accel/momentum --global --workspace
187
+
188
+ # Already installed globally? Wire up a new workspace
189
+ npx @accel/momentum --workspace
190
+
191
+ # Global only — set up workspaces later with /momentum:scaffold
192
+ npx @accel/momentum --global
193
+ ```
194
+
195
+ | Flag | What It Does |
196
+ |------|-------------|
197
+ | `--global` | Commands + framework to `~/.claude` (shared) |
198
+ | `--workspace` | Data layer to `.accel/momentum/` in current directory |
199
+ | `--local` | Commands to `./.claude` instead of global |
200
+ | `--config-dir <path>` | Custom Claude config directory |
201
+ | `--workspace-dir <path>` | Target a specific workspace path |
202
+
203
+ ### Upgrading from v2
204
+
205
+ If you're upgrading from Momentum v2.x, the installer detects old artifacts and offers to archive them before proceeding. Nothing is deleted — everything moves to `.accel/momentum/_archive/upgrade-v3/` where you can recover it if needed.
206
+
207
+ | What Gets Archived | Why |
208
+ |-------------------|-----|
209
+ | `.accel/momentum/vector-mcp/` | Vector MCP is no longer bundled with Momentum. Install [vector-core](https://github.com/accelerationguy/vector) separately for Vector MCP tools. |
210
+ | `.claude/hooks/momentum-pulse-check.py`, `psmm-injector.py`, `satellite-detection.py` | Session hooks moved to `.accel/momentum/hooks/`. Old copies in `.claude/hooks/` cause double-fire. |
211
+ | `.mcp.json` vector-mcp entry | Removed to prevent startup errors from missing server. |
212
+ | `momentum-framework/templates/active-md.md`, `backlog-md.md`, `state-md.md` | Replaced by JSON templates. Scaffold no longer references these. |
213
+
214
+ The upgrade prompt looks like this:
215
+ ```
216
+ === UPGRADE DETECTED ===
217
+ Found 8 artifact(s) from a previous Momentum version:
218
+
219
+ ! .accel/momentum/vector-mcp/
220
+ Vector MCP no longer ships with Momentum — install vector-core separately
221
+ ! .claude/hooks/momentum-pulse-check.py
222
+ Hooks now live in .accel/momentum/hooks/ — duplicate here causes double-fire
223
+ ...
224
+
225
+ These will be archived to: .accel/momentum/_archive/upgrade-v3/
226
+ Nothing is deleted — you can recover from the archive.
227
+
228
+ Archive these artifacts? [Y/n]:
229
+ ```
230
+
231
+ Answering `n` skips cleanup and installs v3 alongside existing artifacts. You can clean up manually later.
232
+
233
+ ---
234
+
235
+ ## What Gets Installed
236
+
237
+ ```
238
+ ~/.claude/ Shared across all workspaces
239
+ ├── commands/momentum/ Slash commands (/momentum:pulse, /momentum:groom, etc.)
240
+ ├── skills/momentum/ Skill entry point + package sources
241
+ └── momentum-framework/
242
+ ├── tasks/ How each command works (pulse, groom, audit...)
243
+ ├── templates/ Schemas for workspace.json, surfaces
244
+ ├── context/ Core principles
245
+ ├── frameworks/ Audit strategies, config alignment, project registration
246
+ ├── utils/ Scanner utilities (scan-claude-dirs.py)
247
+ └── hooks/ All hook sources (for scaffold reference)
248
+
249
+ .accel/momentum/ Per-workspace
250
+ ├── workspace.json The manifest — everything is registered here
251
+ ├── operator.json Operator profile — north star, values, vision, pitch
252
+ ├── data/
253
+ │ ├── active.json Active work surface
254
+ │ ├── backlog.json Backlog surface
255
+ │ ├── projects.json Unified project tracking
256
+ │ ├── entities.json People and organizations
257
+ │ └── state.json Workspace health state
258
+ ├── hooks/
259
+ │ ├── _template.py Hook template for creating new surfaces
260
+ │ ├── active-hook.py Injects active work into Claude's context
261
+ │ ├── backlog-hook.py Injects backlog into Claude's context
262
+ │ ├── momentum-pulse-check.py Drift score + groom reminders
263
+ │ ├── psmm-injector.py Session meta memory
264
+ │ ├── satellite-detection.py Drive project auto-discovery
265
+ │ ├── operator.py Operator identity context
266
+ │ └── mission-control-insights.py Workspace analytics (on-demand)
267
+ └── momentum-mcp/ MCP server for surface + project operations
268
+ ```
269
+
270
+ ---
271
+
272
+ ## The Maintenance Cycle
273
+
274
+ Most workspace management tools are set-and-forget. Momentum is designed around the reality that workspaces are living things that drift.
275
+
276
+ ### Pulse — Session Start Health Check
277
+
278
+ `/momentum:pulse` runs automatically via hook. It reads your manifest, checks filesystem timestamps, and calculates a drift score:
279
+
280
+ | Drift Score | What It Means | What to Do |
281
+ |-------------|--------------|------------|
282
+ | **0** | Everything is current | Work normally |
283
+ | **1-7** | Minor drift | Fix at next groom |
284
+ | **8-14** | Moderate — Claude may be acting on stale info | Groom soon |
285
+ | **15+** | Critical — workspace context is unreliable | Groom now |
286
+
287
+ No stop hooks. No unreliable session-end tracking. Pulse always starts from filesystem ground truth.
288
+
289
+ ### Groom — Weekly Maintenance
290
+
291
+ `/momentum:groom` is a guided, voice-friendly walkthrough of your entire workspace. It reviews one area at a time, oldest-first:
292
+
293
+ 1. **Active work** — "Still active? Status changed? Anything done?" — walks through each project and task
294
+ 2. **Backlog** — Enforces time-based rules:
295
+ - High priority items get 7 days before they demand a decision
296
+ - Medium gets 14 days. Low gets 30 days.
297
+ - Items that sit past 2x their review window get auto-archived.
298
+ - "Decide or kill" — nothing sits in limbo forever.
299
+ 3. **Graduation** — "Ready to work on any backlog items?" Items move to active work. Always explicit, never automatic.
300
+ 4. **Directories** — Scans tracked directories (projects, clients, tools) for orphaned or new items
301
+ 5. **Connected projects** — Checks project health across your workspace (more on this below)
302
+ 6. **System layer** — Quick scan for dead hooks, unused commands, stale rules
303
+
304
+ Result: drift score resets to 0, summary gets logged, next groom date is set.
305
+
306
+ ### Audit — Deep Optimization
307
+
308
+ `/momentum:audit` goes deeper than grooming. Each tracked area maps to a configurable audit strategy:
309
+
310
+ | Strategy | Applies To | What It Does |
311
+ |----------|-----------|-------------|
312
+ | `staleness` | Working memory files | Checks file age against thresholds |
313
+ | `classify` | Directories (projects/, clients/) | Lists items for triage: active, archive, or delete |
314
+ | `cross-reference` | Tools with config files | Finds orphaned tools and broken config references |
315
+ | `dead-code` | System directories | Finds unused hooks, commands, skills |
316
+ | `pipeline-status` | Content or task workflows | Flags stuck items and bottlenecks |
317
+
318
+ The number of audit phases is dynamic — generated from your manifest, not hardcoded. A small workspace gets 3 phases. A large one gets 12. Same command, adapted to your reality.
319
+
320
+ ### Config Alignment — `.claude/` Directory Audit
321
+
322
+ `/momentum:audit-claude` solves a problem that grows silently: `.claude/` directory sprawl.
323
+
324
+ As you work across multiple projects, each one accumulates its own `.claude/` directory — hooks copied from another project, skills installed locally before you went global, settings files with MCP server lists from three months ago. Over time you end up with duplicated hooks running twice, stale config referencing tools that don't exist, and skills taking up space in five project directories when they should live in one global location.
325
+
326
+ #### How it works
327
+
328
+ The audit runs in two stages:
329
+
330
+ **Stage 1: Scanner** — A Python utility (`scan-claude-dirs.py`) runs first and produces a complete JSON dataset of your workspace. It recursively discovers every `.claude/` directory, catalogs every file inside them, and generates an MD5 fingerprint for each one. It also builds baselines of your global `~/.claude/` and workspace root `.claude/` — same treatment, every file fingerprinted. The result is a structured JSON file saved to `.accel/momentum/audits/data-sets/`.
331
+
332
+ An MD5 fingerprint is a unique identifier generated from a file's contents. If two files produce the same fingerprint, they are byte-for-byte identical — not "similar," not "probably the same," but provably exact. If the fingerprints differ, the files are different. This means every classification in the audit is based on evidence, not assumption.
333
+
334
+ **Stage 2: Classification + Report** — Claude reads the scanner's JSON dataset and classifies every item against both baselines:
335
+
336
+ | Classification | What It Means |
337
+ |---------------|---------------|
338
+ | **DUPLICATE** | Fingerprint matches a baseline file — provably identical, safe to remove |
339
+ | **DIVERGED** | Same name exists in a baseline but different fingerprint — needs a decision |
340
+ | **GLOBAL_CANDIDATE** | Verified not to exist in any baseline — suggest promotion |
341
+ | **PROJECT_SPECIFIC** | Legitimately belongs in this project — leave it alone |
342
+ | **STALE** | References things that no longer exist — clean up |
343
+ | **ACCIDENTAL** | Nested `.claude/.claude/` dirs, empty dirs — delete |
344
+ | **TEMPLATE** | Lives in a `_template/` directory — intentional, skip |
345
+
346
+ The scanner produces the data. Claude produces the judgment. Separating these means the data is deterministic and complete — Claude can't accidentally skip a file or forget to check a baseline.
347
+
348
+ #### Remediation
349
+
350
+ Findings are grouped by risk level (lowest first) and every change requires explicit approval. The workflow never batch-deletes, never assumes a messy config is wrong, and never modifies your global `~/.claude/` without asking. After changes, it verifies no broken references were created and recommends which projects to test.
351
+
352
+ The full audit report is written to `.accel/momentum/audits/` as a structured markdown file — readable in any markdown viewer, not buried in terminal output. The scanner's raw JSON dataset is preserved in `.accel/momentum/audits/data-sets/` for reference.
353
+
354
+ The strategy is defined in a standalone framework file (`claude-config-alignment.md`) that any audit workflow can compose in at runtime — it doesn't modify existing audit strategies.
355
+
356
+ ---
357
+
358
+ ## MCP Server — Claude Operates on Your Data
359
+
360
+ Momentum ships one MCP server so Claude can read and write your workspace data through structured tool calls instead of raw file edits.
361
+
362
+ ### Momentum MCP — Surfaces, Projects, Entities, Operator, State
363
+
364
+ A unified interface for all workspace data. Claude can manage surfaces, track projects, maintain entities, read operator context, and check workspace state:
365
+
366
+ | Tool | What It Does |
367
+ |------|-------------|
368
+ | `momentum_list_surfaces` | List all surfaces with item counts |
369
+ | `momentum_get_surface` | Read all items from a surface |
370
+ | `momentum_get_item` | Get one item by ID |
371
+ | `momentum_add_item` | Add item (auto-generates ID, validates against schema) |
372
+ | `momentum_update_item` | Update specific fields (preserves everything else) |
373
+ | `momentum_archive_item` | Move item to archive with timestamp |
374
+ | `momentum_search` | Search across one or all surfaces by keyword |
375
+
376
+ Additional tool modules for first-class data:
377
+
378
+ | Module | Tools | What They Do |
379
+ |--------|-------|-------------|
380
+ | **Projects** | `momentum_get_projects`, `momentum_update_project` | Unified project tracking with Drive integration |
381
+ | **Entities** | `momentum_get_entities`, `momentum_add_entity`, `momentum_update_entity` | People and organization management |
382
+ | **Operator** | `momentum_get_operator` | Read operator profile (north star, values, vision) |
383
+ | **State** | `momentum_get_state`, `momentum_update_state` | Workspace health and drift tracking |
384
+ | **PSMM** | `momentum_psmm_log`, `momentum_psmm_get`, `momentum_psmm_list`, `momentum_psmm_clean` | Per-session meta memory — log and manage session moments |
385
+
386
+ When you create a new surface, the MCP server auto-discovers it from `workspace.json`. No code changes needed.
387
+
388
+ ### Vector Integration
389
+
390
+ [Vector](https://github.com/accelerationguy/vector) (Context Augmentation & Reinforcement Layer) is a dynamic rules engine for Claude Code. It stores behavioral rules in domain files — groups of rules that load automatically based on what you're doing. Say "check Skool" and Vector loads your Skool community rules. Start coding and it loads your development standards. The rules are just config files in `.vector/`.
391
+
392
+ **Vector is fully independent — it works without Momentum, and Momentum works without Vector.** Vector ships its own MCP server (`vector-mcp`) as part of the [vector-core](https://github.com/accelerationguy/vector) package. Install it separately if you want Vector's tools. If you use both, they complement each other — Vector handles rules and decisions, Momentum handles workspace data and project tracking.
393
+
394
+ When Vector is installed alongside Momentum, Claude gets programmatic access to three powerful systems (all provided by Vector's MCP, not Momentum's):
395
+
396
+ #### Dynamic Rules
397
+
398
+ Claude can read, search, and manage your rule domains through tool calls instead of file edits:
399
+
400
+ | Tool | What It Does |
401
+ |------|-------------|
402
+ | `vector_list_domains` | List all rule domains and their status |
403
+ | `vector_get_domain_rules` | Read rules for a specific domain |
404
+ | `vector_stage_proposal` | Stage a new rule proposal for review (more on this below) |
405
+
406
+ #### Decision Logger
407
+
408
+ Decisions get lost. You make a call in one session — "we're using OAuth, not API keys" — and three sessions later Claude asks you the same question. Or worse, it makes the opposite choice because it has no memory of what you decided.
409
+
410
+ Vector's decision logger fixes this. Decisions are stored per domain (e.g., `decisions/development.json`, `decisions/global.json`) and **load automatically alongside domain rules**. When Vector loads the "development" domain because you're coding, every decision you've ever logged in that domain loads with it as lightweight metadata. Claude reads your decisions before acting on the prompt itself. It never misses a key decision again — not because it searches for it, but because the decision is already in context the moment the domain is relevant.
411
+
412
+ | Tool | What It Does |
413
+ |------|-------------|
414
+ | `vector_log_decision` | Record a decision with domain, rationale, and recall keywords |
415
+ | `vector_search_decisions` | Search across all domains when you need to find something specific |
416
+
417
+ #### The Rule Staging Pipeline
418
+
419
+ This is where Vector connects to Momentum's [PSMM](#per-session-meta-memory-psmm--session-intelligence) system. Session moments logged via PSMM can graduate into permanent Vector rules:
420
+
421
+ 1. **During a session** — Claude notices a pattern worth codifying (a correction you gave, a decision that should become policy, an insight about how you work)
422
+ 2. **Stage it** — `vector_stage_proposal` creates a draft rule in staging, not in your live rules
423
+ 3. **Review during hygiene** — Momentum's `/momentum:vector-hygiene` command walks you through staged proposals: approve, edit, or kill each one
424
+ 4. **Approved rules go live** — They become part of your Vector domains, loaded automatically in future sessions
425
+
426
+ This means your AI assistant gets smarter over time — not by accumulating a massive prompt, but by distilling session learnings into clean, targeted rules. And because staging exists, nothing goes live without your review. The hygiene cycle (part of Momentum's groom flow) prevents staged proposals from going stale — they get reviewed or they get killed.
427
+
428
+ ---
429
+
430
+ ## Operator Profile — Who You Are, Always in Context
431
+
432
+ `operator.json` is a structured identity document that gives Claude persistent alignment with your goals, values, and vision. Instead of re-explaining who you are and what you're building toward each session, your operator profile loads automatically.
433
+
434
+ The profile is built through a guided questionnaire (via `/momentum:scaffold`) that walks through five layers:
435
+
436
+ | Section | What It Captures |
437
+ |---------|-----------------|
438
+ | **Deep Why** | Five increasingly deep questions about your motivation — not a mission statement, but the real reason you do what you do |
439
+ | **North Star** | One measurable metric with a timeframe — the thing you're optimizing for right now |
440
+ | **Key Values** | Rank-ordered values with concrete meanings — not platitudes, but actionable principles |
441
+ | **Elevator Pitch** | A layered pitch (1-4 floors) that describes what you do at increasing depth |
442
+ | **Surface Vision** | Concrete scenes of what success looks like — not abstract goals, but vivid snapshots |
443
+
444
+ The operator hook injects a compact summary into every session. Claude doesn't quote it back to you — it just stays aligned. When you're making decisions, Claude's suggestions naturally reflect your north star and values without being asked.
445
+
446
+ ---
447
+
448
+ ## Per-Session Meta Memory (PSMM) — Session Intelligence
449
+
450
+ Here's the problem with long Claude Code sessions: Claude's context window is huge (up to 1M tokens), but important moments — a design decision you made at minute 5, a correction at minute 20, a key insight at minute 45 — get buried under thousands of lines of tool output and code. By the time you're deep into the session, Claude has technically "seen" these moments but they've drifted so far back in context that they stop influencing behavior.
451
+
452
+ PSMM fixes this. Both logging and injection are built into Momentum:
453
+
454
+ **Logging** — When something significant happens, Claude logs it via the Momentum MCP:
455
+
456
+ | Tool | What It Does |
457
+ |------|-------------|
458
+ | `momentum_psmm_log` | Log a session meta-memory entry (type: DECISION, CORRECTION, SHIFT, INSIGHT, COMMITMENT) |
459
+ | `momentum_psmm_get` | Retrieve entries for a specific session |
460
+ | `momentum_psmm_list` | List all sessions with entry counts |
461
+ | `momentum_psmm_clean` | Remove stale session data |
462
+
463
+ **Injection** — The PSMM hook re-injects the current session's entries into Claude's context on every prompt. Important moments stay hot for the entire session, no matter how long it runs.
464
+
465
+ **Graduation** — When a session insight should become a permanent rule, it can be staged as a [Vector](https://github.com/accelerationguy/vector) rule proposal via `vector_stage_proposal`. This is the only point where PSMM connects to Vector — everything else is self-contained in Momentum.
466
+
467
+ No Vector required. PSMM works standalone as session memory. Vector adds the optional path from "session insight" to "permanent behavioral rule."
468
+
469
+ ---
470
+
471
+ ## Mission Control Insights — Workspace Analytics
472
+
473
+ `/accel:insights` is your portfolio dashboard. It reads `projects.json` and `workspace.json` to compute:
474
+
475
+ | Analysis | What It Shows |
476
+ |----------|--------------|
477
+ | **Velocity** | Projects sorted by plan age, phase progress, and loop position |
478
+ | **Stall detection** | Projects with plan age > 14 days that aren't completed or deferred |
479
+ | **Blocking analysis** | Groups blocked projects by blocker, flags revenue at risk |
480
+ | **Cross-project dependencies** | Visualizes dependency chains between projects |
481
+ | **Workload by category** | Active project count per category |
482
+ | **Revenue exposure** | All revenue-tied projects with blocked flags |
483
+ | **Pending handoffs** | Drive satellites awaiting handoff processing |
484
+
485
+ Use it during weekly groom cycles, when deciding what to work on next, before stakeholder updates, or whenever a project feels stalled.
486
+
487
+ ---
488
+
489
+ ## Multi-Project Workspaces — Momentum + Drive
490
+
491
+ Here's where Momentum really separates from "just another CLAUDE.md helper."
492
+
493
+ Most Claude Code users work on one project at a time. But real workspaces have multiple projects — apps, client work, tools, content pipelines — each in their own directory, sometimes their own git repo. Without something managing the workspace level, you lose track. Projects stall silently. Work gets abandoned. Nobody notices until it's a problem.
494
+
495
+ ### What Is Drive?
496
+
497
+ [Drive](https://github.com/accelerationguy/drive) is a project orchestration framework for Claude Code. It manages individual project builds through a structured **Plan → Apply → Unify** loop:
498
+
499
+ - **Plan** — Define what you're building, break it into phases, get alignment before writing code
500
+ - **Apply** — Execute the plan phase by phase with built-in progress tracking
501
+ - **Unify** — Reconcile what was planned vs what was built, close the loop, start the next milestone
502
+
503
+ Each Drive project lives in its own directory with a `.drive/` config folder that tracks the project's state, milestones, and phase history. Drive is excellent at managing a single project's lifecycle. But it doesn't know about your other projects, your backlog, or your workspace health.
504
+
505
+ ### Where Momentum Comes In
506
+
507
+ Momentum is designed to work alongside Drive as the workspace layer that ties everything together. Think of it as the difference between **project management** and **portfolio management:**
508
+
509
+ - **Drive** manages each project: "What phase am I in? What's the plan? What's left to build?"
510
+ - **Momentum** manages your workspace: "Which of my 6 projects needs attention? Which ones are stalling? What should I work on today?"
511
+
512
+ ### How They Connect
513
+
514
+ Momentum automatically detects and registers Drive projects across your workspace:
515
+
516
+ - On session start, a hook scans your workspace for `.drive/drive.json` files and registers any new Drive projects in `workspace.json` automatically
517
+ - If you started using Drive before Momentum, update Drive to the latest version and run `/drive:register` in any Drive project directory to generate the `drive.json` manifest. The next time you start a session in your Momentum workspace, it picks it up automatically.
518
+ - Activity timestamps from each project flow into the workspace manifest so Momentum always knows when each project was last touched
519
+ - During weekly groom, Momentum checks each registered project's health:
520
+ - **Stuck?** — Planning done but implementation stalled for 7+ days
521
+ - **Abandoned?** — No activity for 14+ days with work still incomplete
522
+ - **Drifting?** — Milestone marked complete but no new work started
523
+ - You can configure health checks per project — enable or disable them in the manifest
524
+
525
+ Momentum never modifies your projects. It only reads and reports. Each project manages itself through Drive. Momentum manages the workspace those projects live in.
526
+
527
+ ```json
528
+ {
529
+ "satellites": {
530
+ "my-saas-app": {
531
+ "path": "apps/my-saas-app",
532
+ "engine": "drive",
533
+ "state": "apps/my-saas-app/.drive/STATE.md",
534
+ "registered": "2026-03-15",
535
+ "groom_check": true,
536
+ "last_activity": "2026-03-17T14:30:00-05:00",
537
+ "phase_name": "Auth System",
538
+ "phase_number": 3,
539
+ "phase_status": "in_progress",
540
+ "loop_position": "APPLY",
541
+ "handoff": false,
542
+ "last_plan_completed_at": "2026-03-15T10:00:00-05:00"
543
+ }
544
+ }
545
+ }
546
+ ```
547
+
548
+ ### Without Drive
549
+
550
+ Don't use Drive? Momentum still works as a standalone workspace framework. You still get:
551
+
552
+ - Data surfaces for tracking any structured information
553
+ - Drift detection and grooming for all workspace areas
554
+ - Audit strategies for directories, tools, and system files
555
+ - The full MCP server for surface CRUD
556
+ - Custom surface creation for anything you need
557
+
558
+ The project detection hook simply has nothing to find. Everything else operates independently.
559
+
560
+ ---
561
+
562
+ ## Creating Custom Surfaces
563
+
564
+ The five built-in surfaces cover common workspace needs. The real power is creating surfaces for your specific needs.
565
+
566
+ ### `/momentum:surface create`
567
+
568
+ A guided workflow that generates everything:
569
+
570
+ ```
571
+ > /momentum:surface create
572
+
573
+ What does this surface track? → "Client projects and their current phase"
574
+
575
+ What fields does each item need?
576
+ - name (string, required)
577
+ - company (string, required)
578
+ - phase (enum: discovery, proposal, active, maintenance)
579
+ - monthly_value (number)
580
+ - next_action (string)
581
+
582
+ How should this appear in Claude's context?
583
+ - Group by: phase
584
+ - Summary format: "[ID] name — company (phase)"
585
+ - Behavior: passive (silent unless asked)
586
+
587
+ Generating...
588
+ + .accel/momentum/data/clients.json
589
+ + .accel/momentum/hooks/clients-hook.py
590
+ + workspace.json updated
591
+ + Hook registered in settings.json
592
+ ```
593
+
594
+ Next session, Claude passively knows your client roster without you doing anything.
595
+
596
+ ### `/momentum:surface convert`
597
+
598
+ Already have a markdown file with structured data? This command reads it, detects the structure, proposes a JSON schema, migrates the content, and generates everything. Your old `@CLIENTS.md` file becomes a proper data surface with full MCP support.
599
+
600
+ ---
601
+
602
+ ## How the Ecosystem Fits Together
603
+
604
+ ```
605
+ ┌─────────────────────────────────┐
606
+ │ Drive (per-project lifecycle) │ Plan → Apply → Unify
607
+ ├─────────────────────────────────┤
608
+ │ Vector (per-session rules) │ Load rules based on intent
609
+ ├─────────────────────────────────┤
610
+ │ Momentum (workspace layer) │ Surfaces, projects, analytics, health
611
+ │ + Operator profile │ Identity alignment across sessions
612
+ └─────────────────────────────────┘
613
+ ```
614
+
615
+ **All tools are fully independent.** No dependencies between them. Use one, some, or all. References to uninstalled tools are silent — no errors, no noise. If you only install Momentum, you'll never see a Drive or Vector warning.
616
+
617
+ Together, they turn Claude Code from a per-session coding tool into a managed operating system for AI builders.
618
+
619
+ <details>
620
+ <summary><strong>How they enhance each other when combined</strong></summary>
621
+
622
+ - **Momentum + Drive** — Drive projects auto-register with Momentum on session start, giving you workspace-level visibility across all your builds. Momentum groom checks project health. Drive handles the project. Momentum handles the portfolio.
623
+ - **Momentum + Vector** — Vector brings dynamic rules and decision memory. Momentum brings workspace data and project tracking. Together, Claude has both behavioral guidance (Vector) and situational awareness (Momentum). Momentum groom can optionally check Vector rule health and surface staged proposals for review.
624
+ - **Vector + Drive** — Independent. Each operates in its own scope (session rules vs project builds).
625
+
626
+ </details>
627
+
628
+ **See also:** [Radar](https://github.com/accelerationguy/radar) — an optional companion for deep codebase auditing (security, architecture, scalability, compliance). 12 AI agent personas across 14 audit domains. Works standalone or pairs with Drive for structured remediation.
629
+
630
+ ---
631
+
632
+ ## Design Principles
633
+
634
+ 1. **If it's not current, it's harmful.** Stale context feeds Claude bad information. Maintenance isn't optional — it's the whole point.
635
+ 2. **Every file earns its place.** Can't explain why it's here in 5 seconds? It moves or dies.
636
+ 3. **Archive over delete.** When in doubt, archive. You can always delete later. You can't un-delete.
637
+ 4. **The workspace is the product.** Treat it like production code, not a scratch pad.
638
+ 5. **One manifest drives everything.** `workspace.json` is the single source of truth. No manual bookkeeping.
639
+ 6. **Tools register themselves.** Projects auto-register. Surfaces auto-discover. Zero human memory required.
640
+ 7. **Passive by default.** Claude has awareness. Claude does not nag.
641
+
642
+ ---
643
+
644
+ ## Quick Start
645
+
646
+ ```bash
647
+ # 1. Install globally + wire current workspace
648
+ npx @accel/momentum --global --workspace
649
+
650
+ # 2. Open Claude Code
651
+ claude
652
+
653
+ # 3. Run guided workspace setup
654
+ /momentum:scaffold
655
+
656
+ # 4. Check workspace health anytime
657
+ /momentum:pulse
658
+
659
+ # 5. Weekly maintenance
660
+ /momentum:groom
661
+
662
+ # 6. Create a custom surface for anything you want Claude to know about
663
+ /momentum:surface create
664
+ ```
665
+
666
+ ---
667
+
668
+ ## Requirements
669
+
670
+ - **Node.js** >= 16.7.0
671
+ - **Python 3** (for hooks)
672
+ - **[Claude Code](https://claude.ai/code)**
673
+
674
+ ---
675
+
676
+ ## License
677
+
678
+ MIT — [Acceleration Guy](https://github.com/accelerationguy)