@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,698 @@
1
+ <purpose>
2
+ Initialize Drive structure in a new project. Creates .drive/ directory with PROJECT.md, ROADMAP.md, STATE.md, and phases/ directory. Gathers project context through a type-adapted requirements walkthrough before populating files — instead of leaving skeleton placeholders for planning to fill.
3
+ </purpose>
4
+
5
+ <when_to_use>
6
+ - Starting Drive in a project that doesn't have .drive/ directory
7
+ - User explicitly requests project initialization
8
+ - Beginning a new project from scratch
9
+ </when_to_use>
10
+
11
+ <loop_context>
12
+ N/A - This is a setup workflow, not a loop phase.
13
+ After init, project is ready for first PLAN.
14
+ </loop_context>
15
+
16
+ <philosophy>
17
+ **Flow and momentum:** Init should feel like the natural start of work, not a chore.
18
+ - Ask questions conversationally — instead of presenting all sections at once, because users disengage when faced with a wall of questions
19
+ - Populate files from answers (user doesn't edit templates)
20
+ - Adapt depth to what the user is actually building — instead of one-size-fits-all, because a CLI tool and a SaaS platform need different scoping depth
21
+ - End with ONE next action
22
+ - Build momentum into planning
23
+ </philosophy>
24
+
25
+ <references>
26
+ @src/templates/config.md
27
+ @src/templates/drive-json.md
28
+ @src/references/sonarqube-integration.md
29
+ </references>
30
+
31
+ <process>
32
+
33
+ <step name="check_existing" priority="first">
34
+ 1. Check if .drive/ directory exists:
35
+ ```bash
36
+ ls .drive/ 2>/dev/null
37
+ ```
38
+ 2. If exists:
39
+ - "Drive already initialized in this project."
40
+ - Route to `/drive:resume` or `/drive:progress`
41
+ - Exit this workflow
42
+ 3. If not exists: proceed with initialization
43
+ </step>
44
+
45
+ <step name="detect_planning_md" priority="early">
46
+ **Check for existing PLANNING.md (from Ignition graduation or manual creation).**
47
+
48
+ 1. Check if PLANNING.md exists in project root:
49
+ ```bash
50
+ ls PLANNING.md 2>/dev/null
51
+ ```
52
+ 2. **If found:**
53
+ - Display:
54
+ ```
55
+ Found PLANNING.md in this directory.
56
+
57
+ This file contains project requirements that can populate your Drive setup
58
+ automatically — instead of answering setup questions from scratch.
59
+
60
+ [1] Yes, import from PLANNING.md
61
+ [2] No, start fresh
62
+ ```
63
+ - Wait for response
64
+ - **If "1" or "yes" or "import":**
65
+ - Read PLANNING.md fully
66
+ - Parse: project name, description, core value, type, tech stack, requirements, constraints, phases, success criteria
67
+ - Store all parsed fields
68
+ - Skip to `create_structure` → then directly to `create_project_md` (using imported data)
69
+ - Skip the requirements walkthrough (PLANNING.md already covers it)
70
+ - **If "2" or "no" or "fresh":**
71
+ - Proceed with normal flow
72
+
73
+ 3. **If not found:** Proceed with normal flow (no message needed)
74
+ </step>
75
+
76
+ <step name="create_structure">
77
+ Create directories first (gives immediate feedback):
78
+ ```bash
79
+ mkdir -p .drive/phases
80
+ ```
81
+
82
+ Display:
83
+ ```
84
+ Drive structure created.
85
+
86
+ Before planning, I need to understand what you're building.
87
+ ```
88
+ </step>
89
+
90
+ <step name="gather_core_value">
91
+ **Ask ONE question at a time — instead of batching questions, because single-question flow produces more thoughtful answers and builds conversational momentum.**
92
+
93
+ **Question 1: Core Value**
94
+ ```
95
+ What's the core value this project delivers?
96
+
97
+ (Example: "Users can track expenses and see spending patterns")
98
+ ```
99
+
100
+ Wait for user response. Store as `core_value`.
101
+ </step>
102
+
103
+ <step name="gather_description">
104
+ **Question 2: What are you building?**
105
+ ```
106
+ What are you building? (1-2 sentences)
107
+
108
+ (Example: "A CLI tool for managing Docker containers"
109
+ or "An email drip campaign for our SaaS launch"
110
+ or "An automation that syncs CRM contacts to our email platform")
111
+ ```
112
+
113
+ Wait for user response. Store as `description`.
114
+ </step>
115
+
116
+ <step name="gather_project_name">
117
+ **Question 3: Project name**
118
+
119
+ Infer from:
120
+ 1. Directory name
121
+ 2. package.json name field
122
+ 3. Ask if unclear
123
+
124
+ If obvious, confirm:
125
+ ```
126
+ Project name: [inferred-name]
127
+
128
+ Is this correct? (yes/different name)
129
+ ```
130
+
131
+ Store as `project_name`.
132
+ </step>
133
+
134
+ <step name="detect_project_type">
135
+ **Determine what kind of project this is — instead of assuming everything is a software application, because Drive manages campaigns, workflows, and other non-code projects equally well.**
136
+
137
+ Present type selection:
138
+ ```
139
+ What kind of project is this?
140
+
141
+ [1] Application — software (web app, CLI, API, mobile app)
142
+ [2] Campaign — marketing (funnel, ads, email sequence, launch)
143
+ [3] Workflow — automation (integrations, processes, pipelines)
144
+ [4] Other — tell me what you're building
145
+ ```
146
+
147
+ Wait for user response.
148
+
149
+ **If "4" or "other":**
150
+ - Ask: "Describe it briefly — I'll adapt the setup questions."
151
+ - Store response, proceed with universal sections only
152
+
153
+ Store as `project_type`.
154
+
155
+ **Infer complexity from description + type:**
156
+ - **Simple:** description mentions single purpose, 1-2 features, small scope → store `complexity = simple`
157
+ - **Standard:** typical scope for the type → store `complexity = standard`
158
+ - **Complex:** multi-service, multi-channel, enterprise, or user mentions multiple major systems → store `complexity = complex`
159
+
160
+ Do NOT ask the user about complexity — infer it. If uncertain, default to `standard`.
161
+ </step>
162
+
163
+ <step name="requirements_walkthrough">
164
+ **Type-adapted requirements gathering. Work through sections conversationally — offer concrete suggestions when the user is stuck, push toward decisions when it's time, let ideas breathe when they need space.**
165
+
166
+ **Style rules:**
167
+ - Present 1-2 related sections at a time, not all at once — instead of dumping every question, because focused conversations produce deeper answers
168
+ - If the user already addressed something naturally in prior answers, acknowledge it and move on — instead of re-asking, because repetition kills momentum
169
+ - Offer concrete suggestions: "For this kind of project, most builders use X because..." or "Given your timeline, you might consider Y"
170
+ - If the user is stuck, propose a direction: "Here's one way this could work: ..."
171
+ - If the user is going too broad, gently constrain: "That's ambitious — what's the minimum slice that proves the concept?"
172
+
173
+ **Section routing by type:**
174
+
175
+ **Application projects — ask in this order:**
176
+ 1. **Tech Stack:** "Do you have a stack in mind, or exploring? What's the deployment target?" (Suggest: "For solo builders, Next.js + SQLite ships fast. For teams, consider what everyone knows.")
177
+ 2. **Core Features:** "What are the 3-5 things a user does in this app? What's the minimum slice that proves the concept?"
178
+ 3. **Data Model (skip if complexity=simple):** "What are the core things this app tracks? How do they relate? Start with 3-5 entities."
179
+ 4. **Deployment Target (skip if complexity=simple):** "Where does this run? Local dev, cloud, Docker? CI/CD needed?"
180
+ 5. **Known Constraints:** "Any auth requirements? External APIs you need to integrate? Compliance needs? Hard timeline?"
181
+ 6. **Success Criteria:** "What does 'working' look like? How will you know this project succeeded?"
182
+
183
+ **Campaign projects — ask in this order:**
184
+ 1. **Deliverables:** "What are the deliverables? (landing pages, emails, ad copy, video scripts, etc.)"
185
+ 2. **Platforms & Tools:** "What platforms are you using? (GHL, ClickFunnels, Mailchimp, Meta Ads, etc.)"
186
+ 3. **Target Audience:** "Who is this for? What channels will you reach them on? What's the timeline?"
187
+ 4. **Known Constraints:** "Budget limits? Brand guidelines? Approval chains? Hard deadlines?"
188
+ 5. **Success Metrics:** "What metrics define success? (conversion rate, open rate, ROAS, lead volume, etc.)"
189
+
190
+ **Workflow projects — ask in this order:**
191
+ 1. **Automation Scope:** "What does this automate? What triggers it?"
192
+ 2. **Integrations & Tools:** "What systems does this connect? APIs, webhooks, platforms involved?"
193
+ 3. **Data Flow:** "What data goes in, what comes out? Where does it execute — cron, webhook, manual trigger?"
194
+ 4. **Known Constraints:** "Rate limits? Auth requirements? Error handling needs? SLAs?"
195
+ 5. **Success Criteria:** "What does 'done' look like? How do you verify it works?"
196
+
197
+ **Other projects — universal sections only:**
198
+ 1. **Core Deliverables:** "What are the main things this project produces or delivers?"
199
+ 2. **Tools Involved:** "What tools, platforms, or technologies are involved?"
200
+ 3. **Known Constraints:** "Any hard limits, requirements, or timeline constraints?"
201
+ 4. **Success Criteria:** "How will you know this project succeeded?"
202
+
203
+ **Adaptive depth:**
204
+ - If `complexity = simple`: Ask core features/deliverables + constraints + success criteria only. Skip data model, deployment detail, and any section not essential.
205
+ - If `complexity = standard`: Full walkthrough for the selected type.
206
+ - If `complexity = complex`: Full walkthrough. After completing, trigger `seed_recommendation` step.
207
+
208
+ Store all gathered data by section name.
209
+
210
+ Wait for user response at each section boundary before proceeding.
211
+ </step>
212
+
213
+ <step name="seed_recommendation">
214
+ **Only triggers if `complexity = complex` OR if user's answers were notably thin across 2+ sections.**
215
+
216
+ Present Ignition recommendation:
217
+ ```
218
+ This project has significant scope. For deeper incubation — detailed planning,
219
+ phased breakdown, design decisions, data model design — Drive has a companion
220
+ tool called Ignition that specializes in this.
221
+
222
+ Ignition produces a PLANNING.md that Drive can consume directly.
223
+
224
+ [1] Install Ignition and start there (recommended for complex projects)
225
+ [2] Continue with Drive init using what we've gathered
226
+ ```
227
+
228
+ Wait for user response.
229
+
230
+ **If "1" or "install":**
231
+ 1. Run: `npx drive-framework add-skill ignition` (or applicable install command)
232
+ 2. Display: "Ignition installed. Starting ideation with your project context..."
233
+ 3. Hand off to `/ignition` — pass project_name, description, core_value, project_type, and any gathered requirements as context
234
+ 4. Exit init workflow (Ignition will handle the rest; user returns via `/ignition launch`)
235
+
236
+ **If "2" or "continue":**
237
+ - Proceed to create_project_md with gathered data
238
+ </step>
239
+
240
+ <step name="create_project_md">
241
+ **Generate PROJECT.md populated from walkthrough data — instead of skeleton placeholders, because plans built against real requirements produce better output.**
242
+
243
+ Create `.drive/PROJECT.md`:
244
+
245
+ ```markdown
246
+ # [project_name]
247
+
248
+ ## What This Is
249
+
250
+ [description]
251
+
252
+ ## Core Value
253
+
254
+ [core_value]
255
+
256
+ ## Current State
257
+
258
+ | Attribute | Value |
259
+ |-----------|-------|
260
+ | Type | [project_type] |
261
+ | Version | 0.0.0 |
262
+ | Status | Initializing |
263
+ | Last Updated | [timestamp] |
264
+
265
+ ## Requirements
266
+
267
+ ### Core [Features / Deliverables / Automation Scope — label adapts by type]
268
+
269
+ [Populated from walkthrough — the 3-5 core items identified]
270
+ - [item 1]
271
+ - [item 2]
272
+ - [item 3]
273
+
274
+ ### Validated (Shipped)
275
+ None yet.
276
+
277
+ ### Active (In Progress)
278
+ None yet.
279
+
280
+ ### Planned (Next)
281
+ [If phases were discussed during walkthrough, list high-level phase goals here]
282
+
283
+ ### Out of Scope
284
+ [If user mentioned things they explicitly excluded during walkthrough, capture here]
285
+
286
+ ## Constraints
287
+
288
+ ### Technical Constraints
289
+ [Populated from known constraints — tech/platform/deployment limits]
290
+ - [constraint 1]
291
+
292
+ ### Business Constraints
293
+ [Populated from known constraints — timeline, budget, dependencies]
294
+ - [constraint 1]
295
+
296
+ ## Key Decisions
297
+
298
+ | Decision | Rationale | Date | Status |
299
+ |----------|-----------|------|--------|
300
+ [If tech stack or approach decisions were made during walkthrough, record them]
301
+
302
+ ## Success Metrics
303
+
304
+ | Metric | Target | Current | Status |
305
+ |--------|--------|---------|--------|
306
+ [Populated from success criteria walkthrough — label adapts by type]
307
+ | [metric 1] | [target] | - | Not started |
308
+
309
+ ## Tech Stack / Tools
310
+
311
+ | Layer | Technology | Notes |
312
+ |-------|------------|-------|
313
+ [Populated from tech stack / platforms / tools walkthrough — adapts by type]
314
+ [Application: Framework, DB, Hosting, Auth, etc.]
315
+ [Campaign: Platform, Ad tools, Email tool, etc.]
316
+ [Workflow: Integration platform, APIs, Scheduler, etc.]
317
+
318
+ ---
319
+ *Created: [timestamp]*
320
+ ```
321
+
322
+ **If PLANNING.md was imported:** Populate all sections from parsed PLANNING.md data instead of walkthrough data. Preserve all decisions, tech stack choices, phase breakdowns, and constraints from the original document.
323
+
324
+ **Fallback:** If any section has no data from the walkthrough (user skipped or answered minimally), use a single-line placeholder: `- To be defined during /drive:plan` — instead of multi-line placeholder blocks, because minimal placeholders signal "not yet explored" without cluttering the document.
325
+ </step>
326
+
327
+ <step name="create_roadmap_md">
328
+ Create `.drive/ROADMAP.md`:
329
+
330
+ ```markdown
331
+ # Roadmap: [project_name]
332
+
333
+ ## Overview
334
+ [description]
335
+
336
+ ## Current Milestone
337
+ **v0.1 Initial Release** (v0.1.0)
338
+ Status: Not started
339
+ Phases: 0 of TBD complete
340
+
341
+ ## Phases
342
+
343
+ | Phase | Name | Plans | Status | Completed |
344
+ |-------|------|-------|--------|-----------|
345
+ | 1 | TBD | TBD | Not started | - |
346
+
347
+ ## Phase Details
348
+
349
+ Phases will be defined during `/drive:plan`.
350
+
351
+ ---
352
+ *Roadmap created: [timestamp]*
353
+ ```
354
+
355
+ Note: Phase details are populated during planning, not init.
356
+ </step>
357
+
358
+ <step name="create_state_md">
359
+ Create `.drive/STATE.md`:
360
+
361
+ ```markdown
362
+ # Project State
363
+
364
+ ## Project Reference
365
+
366
+ See: .drive/PROJECT.md (updated [timestamp])
367
+
368
+ **Core value:** [core_value]
369
+ **Current focus:** Project initialized — ready for planning
370
+
371
+ ## Current Position
372
+
373
+ Milestone: v0.1 Initial Release
374
+ Phase: Not yet defined
375
+ Plan: None yet
376
+ Status: Ready to create roadmap and first PLAN
377
+ Last activity: [timestamp] — Project initialized
378
+
379
+ Progress:
380
+ - Milestone: [░░░░░░░░░░] 0%
381
+
382
+ ## Loop Position
383
+
384
+ Current loop state:
385
+ ```
386
+ PLAN ──▶ APPLY ──▶ UNIFY
387
+ ○ ○ ○ [Ready for first PLAN]
388
+ ```
389
+
390
+ ## Accumulated Context
391
+
392
+ ### Decisions
393
+ [If any decisions were made during init walkthrough, record them here]
394
+
395
+ ### Deferred Issues
396
+ None yet.
397
+
398
+ ### Blockers/Concerns
399
+ None yet.
400
+
401
+ ## Session Continuity
402
+
403
+ Last session: [timestamp]
404
+ Stopped at: Project initialization complete
405
+ Next action: Run /drive:plan to define phases and first plan
406
+ Resume file: .drive/PROJECT.md
407
+
408
+ ---
409
+ *STATE.md — Updated after every significant action*
410
+ ```
411
+ </step>
412
+
413
+ <step name="create_paul_json">
414
+ **Create satellite manifest for external system discovery.**
415
+
416
+ Reference: @src/templates/drive-json.md
417
+
418
+ Create `.drive/drive.json`:
419
+ ```json
420
+ {
421
+ "name": "[project_name]",
422
+ "version": "0.0.0",
423
+ "milestone": {
424
+ "name": "None",
425
+ "version": "0.0.0",
426
+ "status": "not_started"
427
+ },
428
+ "phase": {
429
+ "number": 0,
430
+ "name": "None",
431
+ "status": "not_started"
432
+ },
433
+ "loop": {
434
+ "plan": null,
435
+ "position": "IDLE"
436
+ },
437
+ "timestamps": {
438
+ "created_at": "[ISO timestamp]",
439
+ "updated_at": "[ISO timestamp]"
440
+ },
441
+ "satellite": {
442
+ "groom": true
443
+ }
444
+ }
445
+ ```
446
+
447
+ **Note:** drive.json is infrastructure — no extra display or user prompts needed.
448
+ </step>
449
+
450
+ <step name="prompt_integrations">
451
+ **Ask about optional integrations:**
452
+
453
+ ```
454
+ Optional integrations:
455
+
456
+ Would you like to enable SonarQube code quality scanning?
457
+ (Requires SonarQube server and MCP server - can enable later)
458
+
459
+ [1] Yes, enable SonarQube
460
+ [2] Skip for now
461
+ ```
462
+
463
+ Wait for user response.
464
+
465
+ **If "1" or "yes" or "enable":**
466
+
467
+ 1. Prompt for project key:
468
+ ```
469
+ SonarQube project key?
470
+ (Press Enter to use: [project_name])
471
+ ```
472
+
473
+ - If user presses Enter: use `project_name`
474
+ - Otherwise: use provided key
475
+
476
+ 2. Create `.drive/config.md`:
477
+ ```markdown
478
+ # Project Config
479
+
480
+ **Project:** [project_name]
481
+ **Created:** [timestamp]
482
+
483
+ ## Project Settings
484
+
485
+ ```yaml
486
+ project:
487
+ name: [project_name]
488
+ version: 0.0.0
489
+ ```
490
+
491
+ ## Integrations
492
+
493
+ ### SonarQube
494
+
495
+ ```yaml
496
+ sonarqube:
497
+ enabled: true
498
+ project_key: [project_key]
499
+ ```
500
+
501
+ ## Preferences
502
+
503
+ ```yaml
504
+ preferences:
505
+ auto_commit: false
506
+ verbose_output: false
507
+ ```
508
+
509
+ ---
510
+ *Config created: [timestamp]*
511
+ ```
512
+
513
+ 3. Store `integrations_enabled = true`
514
+
515
+ **If "2" or "skip" or "no":**
516
+
517
+ Store `sonarqube_enabled = false`
518
+ (Don't create config.md yet - check enterprise audit next)
519
+ </step>
520
+
521
+ <step name="prompt_enterprise_audit">
522
+ **Ask about enterprise plan audit:**
523
+
524
+ ```
525
+ Is this a commercial/enterprise project that needs architectural plan auditing?
526
+ (Adds enterprise-grade review step between PLAN and APPLY)
527
+
528
+ [1] Yes, enable enterprise plan audit
529
+ [2] Skip for now
530
+ ```
531
+
532
+ Wait for user response.
533
+
534
+ **If "1" or "yes" or "enable":**
535
+
536
+ Store `enterprise_audit_enabled = true`
537
+
538
+ **If "2" or "skip" or "no":**
539
+
540
+ Store `enterprise_audit_enabled = false`
541
+ </step>
542
+
543
+ <step name="create_config_if_needed">
544
+ **Create config.md if any integration was enabled.**
545
+
546
+ If `sonarqube_enabled` OR `enterprise_audit_enabled`:
547
+
548
+ Create `.drive/config.md`:
549
+ ```markdown
550
+ # Project Config
551
+
552
+ **Project:** [project_name]
553
+ **Created:** [timestamp]
554
+
555
+ ## Project Settings
556
+
557
+ ```yaml
558
+ project:
559
+ name: [project_name]
560
+ version: 0.0.0
561
+ ```
562
+
563
+ ## Integrations
564
+
565
+ ### SonarQube
566
+
567
+ ```yaml
568
+ sonarqube:
569
+ enabled: [true/false based on sonarqube_enabled]
570
+ project_key: [project_key if enabled]
571
+ ```
572
+
573
+ ### Enterprise Plan Audit
574
+
575
+ ```yaml
576
+ enterprise_plan_audit:
577
+ enabled: [true/false based on enterprise_audit_enabled]
578
+ ```
579
+
580
+ ## Preferences
581
+
582
+ ```yaml
583
+ preferences:
584
+ auto_commit: false
585
+ verbose_output: false
586
+ ```
587
+
588
+ ---
589
+ *Config created: [timestamp]*
590
+ ```
591
+
592
+ Store `integrations_enabled = true`
593
+
594
+ **If neither was enabled:**
595
+
596
+ Store `integrations_enabled = false`
597
+ (Don't create config.md - user can add later via /drive:config)
598
+ </step>
599
+
600
+ <step name="check_specialized_flows">
601
+ **Ask about specialized skills:**
602
+
603
+ ```
604
+ Do you have specialized skills or commands for this project?
605
+ (e.g., /revops-expert, /frontend-design, custom workflows)
606
+
607
+ [1] Yes, configure now
608
+ [2] Skip for now (add later via /drive:flows)
609
+ ```
610
+
611
+ Wait for user response.
612
+
613
+ **If "1" or "yes" or "configure":**
614
+
615
+ 1. Store `specialized_flows_enabled = true`
616
+ 2. Route to: @workflows/configure-special-flows.md
617
+ 3. After completion, return to init confirmation
618
+ 4. Store `skills_configured_count` from workflow output
619
+
620
+ **If "2" or "skip" or "no":**
621
+
622
+ Store `specialized_flows_enabled = false`
623
+ (User can add later via /drive:flows)
624
+ </step>
625
+
626
+ <step name="confirm_and_route">
627
+ **Display confirmation with ONE next action:**
628
+
629
+ **Display based on enabled features:**
630
+
631
+ ```
632
+ ════════════════════════════════════════
633
+ Drive INITIALIZED
634
+ ════════════════════════════════════════
635
+
636
+ Project: [project_name]
637
+ Type: [project_type]
638
+ Core value: [core_value]
639
+
640
+ Created:
641
+ .drive/PROJECT.md ✓ (requirements populated from walkthrough)
642
+ .drive/ROADMAP.md ✓
643
+ .drive/STATE.md ✓
644
+ .drive/drive.json ✓
645
+ .drive/config.md ✓ (if integrations_enabled: list enabled integrations)
646
+ .drive/SPECIAL-FLOWS.md ✓ (if specialized_flows_enabled: "[N] skills configured")
647
+ .drive/phases/ ✓
648
+
649
+ ────────────────────────────────────────
650
+ ▶ NEXT: /drive:plan
651
+ Define your phases and create your first plan.
652
+ ────────────────────────────────────────
653
+
654
+ Type "yes" to proceed, or ask questions first.
655
+ ```
656
+
657
+ **Note:** Only show config.md and SPECIAL-FLOWS.md lines if those features were enabled.
658
+ If neither was enabled, show the minimal version without those lines.
659
+
660
+ **Config line detail:** When showing config.md, list what's enabled:
661
+ - If sonarqube_enabled: include "SonarQube"
662
+ - If enterprise_audit_enabled: include "Enterprise Plan Audit"
663
+ - Example: `.drive/config.md ✓ (SonarQube, Enterprise Plan Audit enabled)`
664
+
665
+ **Do NOT suggest multiple next steps.** ONE action only.
666
+ </step>
667
+
668
+ </process>
669
+
670
+ <output>
671
+ - `.drive/` directory structure
672
+ - `.drive/PROJECT.md` (populated from walkthrough or PLANNING.md import)
673
+ - `.drive/ROADMAP.md` (skeleton for planning)
674
+ - `.drive/STATE.md` (initialized state)
675
+ - `.drive/drive.json` (satellite manifest for external system discovery)
676
+ - `.drive/config.md` (if integrations enabled)
677
+ - `.drive/SPECIAL-FLOWS.md` (if specialized flows enabled)
678
+ - `.drive/phases/` (empty directory)
679
+ - Clear routing to `/drive:plan`
680
+ </output>
681
+
682
+ <error_handling>
683
+ **Permission denied:**
684
+ - Report filesystem error
685
+ - Ask user to check permissions
686
+
687
+ **User declines to answer:**
688
+ - Use single-line placeholder: "- To be defined during /drive:plan"
689
+ - Note that planning will ask for this information
690
+
691
+ **Partial creation failure:**
692
+ - Report what was created vs failed
693
+ - Offer to retry or clean up
694
+
695
+ **PLANNING.md parse failure:**
696
+ - Warn: "Couldn't parse all sections from PLANNING.md. I'll use what I can and ask about the rest."
697
+ - Fall back to walkthrough for unparsed sections
698
+ </error_handling>