@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,393 @@
1
+ <purpose>
2
+ Execute an approved PLAN.md by running tasks in order with Execute/Qualify verification per task, structured escalation statuses, and diagnostic failure routing at checkpoints. Records results for UNIFY phase reconciliation.
3
+ </purpose>
4
+
5
+ <when_to_use>
6
+ - User has approved a PLAN.md (explicit approval required)
7
+ - STATE.md shows loop position at PLAN complete, ready for APPLY
8
+ - No unresolved blockers from planning phase
9
+ </when_to_use>
10
+
11
+ <loop_context>
12
+ Expected phase: APPLY
13
+ Prior phase: PLAN (approval just received)
14
+ Next phase: UNIFY (after execution completes)
15
+ </loop_context>
16
+
17
+ <required_reading>
18
+ @.drive/STATE.md
19
+ @.drive/phases/{phase}/{plan}-PLAN.md
20
+ </required_reading>
21
+
22
+ <references>
23
+ @~/.claude/drive-framework/references/checkpoints.md (if plan has checkpoints)
24
+ @~/.claude/drive-framework/references/loop-phases.md
25
+ @~/.claude/drive-framework/references/quality-principles.md
26
+ </references>
27
+
28
+ <process>
29
+
30
+ <step name="validate_approval" priority="first">
31
+ 1. Confirm user has explicitly approved the plan
32
+ - Do NOT assume approval — instead, look for an explicit signal ("approved", "execute", "go ahead"), because executing on assumed approval may implement against flawed assumptions that approval review would have caught
33
+ - If approval unclear: Ask "Plan ready at [path]. Approve execution?" and wait
34
+ 2. Read STATE.md to verify:
35
+ - Loop position shows PLAN complete
36
+ - Correct phase and plan identified
37
+ </step>
38
+
39
+ <step name="load_plan">
40
+ 1. Read the PLAN.md file
41
+ 2. Parse frontmatter:
42
+ - autonomous: determines checkpoint handling
43
+ - files_modified: track what we'll change
44
+ - depends_on: verify dependencies met
45
+ 3. Extract tasks from <tasks> section
46
+ 4. Note boundaries from <boundaries> section
47
+ 5. Load acceptance criteria for qualification reference
48
+ </step>
49
+
50
+ <step name="verify_required_skills" priority="blocking">
51
+ **BLOCKING CHECK: Required skills must be loaded before execution.**
52
+
53
+ 1. Check if PLAN.md has a <skills> section
54
+ 2. If no <skills> section: proceed (no skill requirements)
55
+ 3. If <skills> section exists:
56
+ a. For each skill marked "required":
57
+ - Check if skill has been invoked in current session
58
+ - If not invoked: add to missing_skills list
59
+ b. If missing_skills is not empty:
60
+ - **BLOCK execution**
61
+ - Display:
62
+ ```
63
+ ════════════════════════════════════════
64
+ ⛔ BLOCKED: Required skills not loaded
65
+ ════════════════════════════════════════
66
+
67
+ This plan requires the following skills:
68
+
69
+ Missing:
70
+ - /skill-name → Run: /skill-name
71
+ - /skill-name → Run: /skill-name
72
+
73
+ Load these skills now, then type "ready" to continue.
74
+ Or type "override" to proceed without (not recommended).
75
+ ════════════════════════════════════════
76
+ ```
77
+ - Wait for user input
78
+ - If "ready": re-check skills, proceed if all loaded
79
+ - If "override":
80
+ - Log deviation to STATE.md Decisions: "Override: Proceeded without required skills [list]"
81
+ - Proceed with warning
82
+ c. If all required skills loaded:
83
+ - Display: "All required skills loaded"
84
+ - Proceed to execute_tasks
85
+
86
+ **This check runs BEFORE any task execution, ensuring skills are in place.**
87
+ </step>
88
+
89
+ <step name="execute_tasks">
90
+ **For each <task> in order, follow the Execute/Qualify (E/Q) loop:**
91
+
92
+ ---
93
+
94
+ **AUTO TASKS — E/Q Loop:**
95
+
96
+ **1. EXECUTE**
97
+ - Log task start: "Task N: [name]"
98
+ - Execute <action> content:
99
+ - Create/modify files specified in <files>
100
+ - Follow specific instructions
101
+ - Respect boundaries — instead of rationalizing "just this once" modifications to protected files, because boundary violations cascade into untraceable changes that break future plans
102
+
103
+ **2. REPORT STATUS**
104
+ Before any verification, honestly report one of:
105
+
106
+ | Status | When to Use | What Happens Next |
107
+ |---|---|---|
108
+ | **DONE** | Task completed, no concerns | Standard qualify check |
109
+ | **DONE_WITH_CONCERNS** | Completed, but you have doubts about correctness, approach, or completeness | Qualify focuses on flagged concerns first, then full check |
110
+ | **NEEDS_CONTEXT** | Can't complete — missing information not in the plan or accessible files | Pause. Surface exactly what's missing. Wait for user |
111
+ | **BLOCKED** | Can't complete — structural impediment (permissions, missing dependency, broken environment) | Stop. Report what was attempted, what blocks, what help is needed |
112
+
113
+ **Rules:**
114
+ - NEVER silently produce work you're unsure about — instead report DONE_WITH_CONCERNS with specific doubts, because pretending confidence when uncertain produces work that fails during verification or, worse, in production
115
+ - NEEDS_CONTEXT is not failure — it's honest communication that prevents wasted work on wrong assumptions
116
+ - BLOCKED must include specifics (what was attempted, what blocks, what help is needed) — instead of a vague "I'm stuck", because specificity enables the user to unblock you efficiently
117
+
118
+ **3. QUALIFY (runs for DONE and DONE_WITH_CONCERNS only)**
119
+
120
+ ⚠️ **The qualify step exists because your report of your own work is inherently optimistic. Trust the output, not your memory of producing it.**
121
+
122
+ a. **Re-read actual output** — instead of trusting what you remember writing, because execution memory is optimistic and may omit details you glossed over
123
+ - Open and read files you just created or modified
124
+ - Check actual state of what was produced
125
+
126
+ b. **Run <verify> command fresh** — instead of recalling prior results, because stale verification is not verification
127
+ - Execute the full verify command
128
+ - Read complete output
129
+ - Check exit code
130
+
131
+ c. **Compare against spec AND linked AC**
132
+ - Re-read the task's <action> spec line by line
133
+ - Re-read the linked AC (Given/When/Then)
134
+ - Check: does the actual output satisfy BOTH?
135
+
136
+ d. **Score the result:**
137
+ - **PASS** — output matches spec and AC. Move to next task.
138
+ - **GAP** — something in the spec or AC is missing from the output
139
+ - **DRIFT** — output does something different than what was specified
140
+
141
+ e. **If GAP or DRIFT:**
142
+ - Examine: What specifically doesn't match? Be concrete.
143
+ - Fix the gap
144
+ - Re-qualify (go back to step 3a)
145
+ - Loop max 3 times. If still not PASS after 3 attempts, escalate to user:
146
+ ```
147
+ ════════════════════════════════════════
148
+ QUALIFY: Cannot resolve after 3 attempts
149
+ ════════════════════════════════════════
150
+
151
+ Task: [name]
152
+ Issue: [what doesn't match]
153
+ Attempts: 3
154
+ Last result: [GAP/DRIFT — specifics]
155
+
156
+ [1] Provide guidance | [2] Skip task (deviation) | [3] Stop execution
157
+ ════════════════════════════════════════
158
+ ```
159
+
160
+ f. **If DONE_WITH_CONCERNS:** Qualify focuses on the flagged concerns FIRST. If concerns are validated (real issues), fix before full check. If concerns are unfounded (output is actually correct), note and proceed.
161
+
162
+ **Before claiming any task is complete, check yourself:**
163
+
164
+ | If you're thinking... | STOP. Instead... | Because... |
165
+ |---|---|---|
166
+ | "Should work now" | Run the verify command and read its output | Confidence is not evidence — you must see proof before claiming success |
167
+ | "I already checked this" | Check it again, fresh | Memory of checking is not the same as verification — re-read the actual files |
168
+ | "It's close enough" | Compare against the AC word by word | "Close" fails acceptance criteria — partial match is a GAP, not a PASS |
169
+ | "The test passes" | Also compare against the spec | Tests verify what was tested, not what was specified — they can be incomplete |
170
+ | "This is a minor deviation" | Log it explicitly | Minor deviations compound into drift — UNIFY needs accurate records to reconcile |
171
+ | "I'm confident it works" | Run it and prove it | Confidence without evidence is the #1 cause of false completion claims |
172
+
173
+ **4. HANDLE NEEDS_CONTEXT**
174
+ - Present what's missing clearly and specifically
175
+ - Ask user for the missing information
176
+ - When provided, re-execute the task from step 1
177
+ - Do NOT guess or fill in gaps with assumptions — instead ask, because wrong assumptions produce work that needs to be thrown away
178
+
179
+ **5. HANDLE BLOCKED**
180
+ - Present clearly: what was attempted, what's blocking, what kind of help is needed
181
+ - Offer options:
182
+ ```
183
+ [1] Provide missing context/access
184
+ [2] Skip task (creates deviation)
185
+ [3] Stop execution
186
+ ```
187
+ - Wait for user response
188
+ - If skip: record as deviation for UNIFY
189
+
190
+ ---
191
+
192
+ **CHECKPOINT TASKS:**
193
+
194
+ **If type="checkpoint:human-verify":**
195
+ 1. Stop execution
196
+ 2. Present checkpoint clearly:
197
+ ```
198
+ ════════════════════════════════════════
199
+ CHECKPOINT: Human Verification
200
+ ════════════════════════════════════════
201
+
202
+ Task [N] of [Total]: [name]
203
+
204
+ What was built:
205
+ [what-built content]
206
+
207
+ How to verify:
208
+ [how-to-verify content]
209
+
210
+ [resume-signal content]
211
+ ════════════════════════════════════════
212
+ ```
213
+ 3. Wait for user response
214
+ 4. **On "approved":** continue to next task
215
+ 5. **On issues reported — DIAGNOSTIC CLASSIFICATION:**
216
+
217
+ Do NOT immediately attempt to fix. First, classify the root cause — instead of patching blindly, because the wrong fix layer wastes loops and produces fragile patches:
218
+
219
+ ```
220
+ ════════════════════════════════════════
221
+ CHECKPOINT: Issue Detected
222
+ ════════════════════════════════════════
223
+
224
+ Before fixing, let's classify the root cause:
225
+
226
+ [1] Intent issue — I need to build something different than what was planned
227
+ [2] Spec issue — The plan was missing something or got it wrong
228
+ [3] Code issue — The plan was right, the implementation doesn't match
229
+
230
+ This determines how we fix it.
231
+ ════════════════════════════════════════
232
+ ```
233
+
234
+ Wait for user selection.
235
+
236
+ **Intent (1):** "Let's re-plan this phase with updated intent."
237
+ - Archive current plan: rename with `_superseded` suffix
238
+ - Route to `/drive:plan` for same phase with updated intent
239
+ - Do NOT patch — the spec itself was wrong
240
+
241
+ **Spec (2):** "The plan needs updating before we patch code."
242
+ - Identify which ACs or tasks need revision
243
+ - Present the spec-level changes needed
244
+ - Generate targeted fix plan that updates ACs/tasks FIRST, then fixes code
245
+ - This is different from just patching — the plan was wrong, not just the code
246
+
247
+ **Code (3):** Standard fix-in-place (existing behavior)
248
+ - The plan was correct, implementation needs fixing
249
+ - Address issues, re-verify
250
+ - Continue execution after fix confirmed
251
+
252
+ **If type="checkpoint:decision":**
253
+ 1. Stop execution
254
+ 2. Present decision with options:
255
+ ```
256
+ ════════════════════════════════════════
257
+ CHECKPOINT: Decision Required
258
+ ════════════════════════════════════════
259
+
260
+ Decision: [decision content]
261
+ Context: [context content]
262
+
263
+ Options:
264
+ [option-a]: [name] - Pros: [pros] / Cons: [cons]
265
+ [option-b]: [name] - Pros: [pros] / Cons: [cons]
266
+
267
+ [resume-signal content]
268
+ ════════════════════════════════════════
269
+ ```
270
+ 3. Wait for user selection
271
+ 4. **Record decision to STATE.md:**
272
+ - Open `.drive/STATE.md`
273
+ - Find `### Decisions` under `## Accumulated Context`
274
+ - Add row: `| [date]: [Decision summary] | Phase [N] | [Impact on work] |`
275
+ 5. Continue with chosen direction
276
+
277
+ **If type="checkpoint:human-action":**
278
+ 1. Stop execution
279
+ 2. Present required action:
280
+ ```
281
+ ════════════════════════════════════════
282
+ CHECKPOINT: Human Action Required
283
+ ════════════════════════════════════════
284
+
285
+ Action: [action content]
286
+
287
+ Instructions:
288
+ [instructions content]
289
+
290
+ After completion, I will verify:
291
+ [verification content]
292
+
293
+ [resume-signal content]
294
+ ════════════════════════════════════════
295
+ ```
296
+ 3. Wait for user confirmation
297
+ 4. Run verification check
298
+ 5. Continue if verified, report if failed
299
+ </step>
300
+
301
+ <step name="track_progress">
302
+ Throughout execution:
303
+
304
+ 1. Maintain log of:
305
+ - Tasks completed (with status and qualify results)
306
+ - Tasks failed (with reasons and diagnostic classification)
307
+ - Checkpoints resolved (with decisions/approvals)
308
+ - Deviations from plan
309
+ - Concerns flagged via DONE_WITH_CONCERNS (even if resolved)
310
+ 2. This information feeds into UNIFY phase
311
+ </step>
312
+
313
+ <step name="finalize">
314
+ After all tasks attempted:
315
+
316
+ 1. Summarize execution:
317
+ - Tasks completed: N of M
318
+ - Qualify results: PASS/GAP/DRIFT counts
319
+ - Escalation statuses used: list any non-DONE statuses
320
+ - Failures: list any
321
+ - Deviations: list any
322
+ 2. Update STATE.md:
323
+ - Loop position: PLAN → APPLY → UNIFY
324
+ - Last activity: timestamp and completion status
325
+ 3. Report with quick continuation prompt:
326
+ ```
327
+ ════════════════════════════════════════
328
+ APPLY COMPLETE
329
+ ════════════════════════════════════════
330
+ [execution summary]
331
+
332
+ ---
333
+ Continue to UNIFY?
334
+
335
+ [1] Yes, run UNIFY | [2] Pause here
336
+ ```
337
+ 4. **Accept quick inputs:** "1", "yes", "continue", "go" → run `/drive:unify [plan-path]`
338
+ </step>
339
+
340
+ </process>
341
+
342
+ <output>
343
+ - Modified files as specified in PLAN.md
344
+ - Execution log (for UNIFY): task statuses, qualify results, deviations
345
+ - STATE.md updated with APPLY complete
346
+ </output>
347
+
348
+ <error_handling>
349
+ **Plan not found:**
350
+ - Check STATE.md for correct path
351
+ - Ask user to confirm plan location
352
+
353
+ **Boundary violation attempted:**
354
+ - Stop immediately — instead of rationalizing the change, because boundary violations create untraceable modifications that break the audit trail
355
+ - Report which boundary would be violated
356
+ - Do not modify protected files
357
+
358
+ **Verification command fails:**
359
+ - Report the failure with specific output
360
+ - Offer retry/skip/stop options
361
+ - Do not mark task as complete — instead of "it probably works", because a failed verify is evidence of a problem, not an inconvenience to ignore
362
+
363
+ **Checkpoint timeout:**
364
+ - Remind user checkpoint is waiting
365
+ - Do not proceed without response — instead of assuming approval, because unverified work compounds into technical debt
366
+ - Offer to save state and continue later
367
+ </error_handling>
368
+
369
+ <anti_patterns>
370
+ **Assuming approval:**
371
+ Do NOT start APPLY without explicit user approval — instead wait for clear signal, because plans may contain incorrect assumptions that the approval step would catch.
372
+
373
+ **Skipping verification:**
374
+ NEVER skip the verify step — instead run the command and read its output before claiming completion, because "it looks right" is not evidence of correctness.
375
+
376
+ **Skipping qualify after verify:**
377
+ NEVER stop at "verify passed" — instead also compare against the spec and linked AC, because verify commands test what they test, not what was specified. Qualify catches the gap between "tests pass" and "spec satisfied."
378
+
379
+ **Trusting your own execution report:**
380
+ NEVER claim completion based on memory of what you built — instead re-read the actual files and compare to spec, because execution memory is optimistic and omits details.
381
+
382
+ **Ignoring boundaries:**
383
+ If a task would modify a protected file, STOP — instead of rationalizing "it's a small change", because boundary violations cascade into untraceable changes.
384
+
385
+ **Proceeding past checkpoints:**
386
+ Checkpoints are blocking. Do not continue without user response — instead of "I'll note the checkpoint and move on", because unverified work at checkpoints accumulates into larger failures.
387
+
388
+ **Patching without diagnosing:**
389
+ When a checkpoint fails, NEVER start patching immediately — instead classify the failure (intent/spec/code) first, because patching code when the spec is wrong produces fragile fixes that break again.
390
+
391
+ **Swallowing concerns:**
392
+ NEVER report DONE when you have doubts — instead report DONE_WITH_CONCERNS with specific flags, because silently uncertain work produces false completion that fails during verification or in production.
393
+ </anti_patterns>