@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,259 @@
1
+ # Architecture Template
2
+
3
+ Template for `.drive/codebase/ARCHITECTURE.md` - captures conceptual code organization.
4
+
5
+ **Purpose:** Document how the code is organized at a conceptual level. Complements STRUCTURE.md (which shows physical file locations).
6
+
7
+ ---
8
+
9
+ ## File Template
10
+
11
+ ```markdown
12
+ # Architecture
13
+
14
+ **Analysis Date:** [YYYY-MM-DD]
15
+
16
+ ## Pattern Overview
17
+
18
+ **Overall:** [Pattern name: e.g., "Monolithic CLI", "Serverless API", "Full-stack MVC"]
19
+
20
+ **Key Characteristics:**
21
+ - [Characteristic 1: e.g., "Single executable"]
22
+ - [Characteristic 2: e.g., "Stateless request handling"]
23
+ - [Characteristic 3: e.g., "Event-driven"]
24
+
25
+ ## Layers
26
+
27
+ [Describe the conceptual layers and their responsibilities]
28
+
29
+ **[Layer Name]:**
30
+ - Purpose: [What this layer does]
31
+ - Contains: [Types of code: e.g., "route handlers", "business logic"]
32
+ - Depends on: [What it uses: e.g., "data layer only"]
33
+ - Used by: [What uses it: e.g., "API routes"]
34
+
35
+ **[Layer Name]:**
36
+ - Purpose: [What this layer does]
37
+ - Contains: [Types of code]
38
+ - Depends on: [What it uses]
39
+ - Used by: [What uses it]
40
+
41
+ ## Data Flow
42
+
43
+ [Describe the typical request/execution lifecycle]
44
+
45
+ **[Flow Name] (e.g., "HTTP Request", "CLI Command", "Event Processing"):**
46
+
47
+ 1. [Entry point: e.g., "User runs command"]
48
+ 2. [Processing step: e.g., "Router matches path"]
49
+ 3. [Processing step: e.g., "Controller validates input"]
50
+ 4. [Processing step: e.g., "Service executes logic"]
51
+ 5. [Output: e.g., "Response returned"]
52
+
53
+ **State Management:**
54
+ - [How state is handled: e.g., "Stateless - no persistent state", "Database per request", "In-memory cache"]
55
+
56
+ ## Key Abstractions
57
+
58
+ [Core concepts/patterns used throughout the codebase]
59
+
60
+ **[Abstraction Name]:**
61
+ - Purpose: [What it represents]
62
+ - Examples: [e.g., "UserService, ProjectService"]
63
+ - Pattern: [e.g., "Singleton", "Factory", "Repository"]
64
+
65
+ **[Abstraction Name]:**
66
+ - Purpose: [What it represents]
67
+ - Examples: [Concrete examples]
68
+ - Pattern: [Pattern used]
69
+
70
+ ## Entry Points
71
+
72
+ [Where execution begins]
73
+
74
+ **[Entry Point]:**
75
+ - Location: [Brief: e.g., "src/index.ts", "API Gateway triggers"]
76
+ - Triggers: [What invokes it: e.g., "CLI invocation", "HTTP request"]
77
+ - Responsibilities: [What it does: e.g., "Parse args, route to command"]
78
+
79
+ ## Error Handling
80
+
81
+ **Strategy:** [How errors are handled: e.g., "Exception bubbling to top-level handler", "Per-route error middleware"]
82
+
83
+ **Patterns:**
84
+ - [Pattern: e.g., "try/catch at controller level"]
85
+ - [Pattern: e.g., "Error codes returned to user"]
86
+
87
+ ## Cross-Cutting Concerns
88
+
89
+ [Aspects that affect multiple layers]
90
+
91
+ **Logging:**
92
+ - [Approach: e.g., "Winston logger, injected per-request"]
93
+
94
+ **Validation:**
95
+ - [Approach: e.g., "Zod schemas at API boundary"]
96
+
97
+ **Authentication:**
98
+ - [Approach: e.g., "JWT middleware on protected routes"]
99
+
100
+ ---
101
+
102
+ *Architecture analysis: [date]*
103
+ *Update when major patterns change*
104
+ ```
105
+
106
+ ---
107
+
108
+ ## Good Example
109
+
110
+ ```markdown
111
+ # Architecture
112
+
113
+ **Analysis Date:** 2025-01-20
114
+
115
+ ## Pattern Overview
116
+
117
+ **Overall:** CLI Application with Plugin System
118
+
119
+ **Key Characteristics:**
120
+ - Single executable with subcommands
121
+ - Plugin-based extensibility
122
+ - File-based state (no database)
123
+ - Synchronous execution model
124
+
125
+ ## Layers
126
+
127
+ **Command Layer:**
128
+ - Purpose: Parse user input and route to appropriate handler
129
+ - Contains: Command definitions, argument parsing, help text
130
+ - Location: `src/commands/*.ts`
131
+ - Depends on: Service layer for business logic
132
+ - Used by: CLI entry point (`src/index.ts`)
133
+
134
+ **Service Layer:**
135
+ - Purpose: Core business logic
136
+ - Contains: FileService, TemplateService, InstallService
137
+ - Location: `src/services/*.ts`
138
+ - Depends on: File system utilities, external tools
139
+ - Used by: Command handlers
140
+
141
+ **Utility Layer:**
142
+ - Purpose: Shared helpers and abstractions
143
+ - Contains: File I/O wrappers, path resolution, string formatting
144
+ - Location: `src/utils/*.ts`
145
+ - Depends on: Node.js built-ins only
146
+ - Used by: Service layer
147
+
148
+ ## Data Flow
149
+
150
+ **CLI Command Execution:**
151
+
152
+ 1. User runs: `gsd new-project`
153
+ 2. Commander parses args and flags
154
+ 3. Command handler invoked (`src/commands/new-project.ts`)
155
+ 4. Handler calls service methods (`src/services/project.ts` → `create()`)
156
+ 5. Service reads templates, processes files, writes output
157
+ 6. Results logged to console
158
+ 7. Process exits with status code
159
+
160
+ **State Management:**
161
+ - File-based: All state lives in `.drive/` directory
162
+ - No persistent in-memory state
163
+ - Each command execution is independent
164
+
165
+ ## Key Abstractions
166
+
167
+ **Service:**
168
+ - Purpose: Encapsulate business logic for a domain
169
+ - Examples: `src/services/file.ts`, `src/services/template.ts`, `src/services/project.ts`
170
+ - Pattern: Singleton-like (imported as modules, not instantiated)
171
+
172
+ **Command:**
173
+ - Purpose: CLI command definition
174
+ - Examples: `src/commands/new-project.ts`, `src/commands/plan-phase.ts`
175
+ - Pattern: Commander.js command registration
176
+
177
+ **Template:**
178
+ - Purpose: Reusable document structures
179
+ - Examples: PROJECT.md, PLAN.md templates
180
+ - Pattern: Markdown files with substitution variables
181
+
182
+ ## Entry Points
183
+
184
+ **CLI Entry:**
185
+ - Location: `src/index.ts`
186
+ - Triggers: User runs `gsd <command>`
187
+ - Responsibilities: Register commands, parse args, display help
188
+
189
+ **Commands:**
190
+ - Location: `src/commands/*.ts`
191
+ - Triggers: Matched command from CLI
192
+ - Responsibilities: Validate input, call services, format output
193
+
194
+ ## Error Handling
195
+
196
+ **Strategy:** Throw exceptions, catch at command level, log and exit
197
+
198
+ **Patterns:**
199
+ - Services throw Error with descriptive messages
200
+ - Command handlers catch, log error to stderr, exit(1)
201
+ - Validation errors shown before execution (fail fast)
202
+
203
+ ## Cross-Cutting Concerns
204
+
205
+ **Logging:**
206
+ - Console.log for normal output
207
+ - Console.error for errors
208
+ - Chalk for colored output
209
+
210
+ **Validation:**
211
+ - Zod schemas for config file parsing
212
+ - Manual validation in command handlers
213
+ - Fail fast on invalid input
214
+
215
+ **File Operations:**
216
+ - FileService abstraction over fs-extra
217
+ - All paths validated before operations
218
+ - Atomic writes (temp file + rename)
219
+
220
+ ---
221
+
222
+ *Architecture analysis: 2025-01-20*
223
+ *Update when major patterns change*
224
+ ```
225
+
226
+ ---
227
+
228
+ ## Guidelines
229
+
230
+ **What belongs in ARCHITECTURE.md:**
231
+ - Overall architectural pattern (monolith, microservices, layered, etc.)
232
+ - Conceptual layers and their relationships
233
+ - Data flow / request lifecycle
234
+ - Key abstractions and patterns
235
+ - Entry points
236
+ - Error handling strategy
237
+ - Cross-cutting concerns (logging, auth, validation)
238
+
239
+ **What does NOT belong here:**
240
+ - Exhaustive file listings (that's STRUCTURE.md)
241
+ - Technology choices (that's STACK.md)
242
+ - Line-by-line code walkthrough (defer to code reading)
243
+ - Implementation details of specific features
244
+
245
+ **File paths ARE welcome:**
246
+ Include file paths as concrete examples of abstractions. Use backtick formatting: `src/services/user.ts`. This makes the architecture document actionable for Claude when planning.
247
+
248
+ **When filling this template:**
249
+ - Read main entry points (index, server, main)
250
+ - Identify layers by reading imports/dependencies
251
+ - Trace a typical request/command execution
252
+ - Note recurring patterns (services, controllers, repositories)
253
+ - Keep descriptions conceptual, not mechanical
254
+
255
+ **Useful for phase planning when:**
256
+ - Adding new features (where does it fit in the layers?)
257
+ - Refactoring (understanding current patterns)
258
+ - Identifying where to add code (which layer handles X?)
259
+ - Understanding dependencies between components
@@ -0,0 +1,329 @@
1
+ # Codebase Concerns Template
2
+
3
+ Template for `.drive/codebase/CONCERNS.md` - captures known issues and areas requiring care.
4
+
5
+ **Purpose:** Surface actionable warnings about the codebase. Focused on "what to watch out for when making changes."
6
+
7
+ ---
8
+
9
+ ## File Template
10
+
11
+ ```markdown
12
+ # Codebase Concerns
13
+
14
+ **Analysis Date:** [YYYY-MM-DD]
15
+
16
+ ## Tech Debt
17
+
18
+ **[Area/Component]:**
19
+ - Issue: [What's the shortcut/workaround]
20
+ - Files: [Specific file paths with backticks]
21
+ - Why: [Why it was done this way]
22
+ - Impact: [What breaks or degrades because of it]
23
+ - Fix approach: [How to properly address it]
24
+
25
+ **[Area/Component]:**
26
+ - Issue: [What's the shortcut/workaround]
27
+ - Files: [Specific file paths]
28
+ - Why: [Why it was done this way]
29
+ - Impact: [What breaks or degrades because of it]
30
+ - Fix approach: [How to properly address it]
31
+
32
+ ## Known Bugs
33
+
34
+ **[Bug description]:**
35
+ - Symptoms: [What happens]
36
+ - Trigger: [How to reproduce]
37
+ - Files: [Where the bug lives]
38
+ - Workaround: [Temporary mitigation if any]
39
+ - Root cause: [If known]
40
+ - Blocked by: [If waiting on something]
41
+
42
+ **[Bug description]:**
43
+ - Symptoms: [What happens]
44
+ - Trigger: [How to reproduce]
45
+ - Files: [Where the bug lives]
46
+ - Workaround: [Temporary mitigation if any]
47
+ - Root cause: [If known]
48
+
49
+ ## Security Considerations
50
+
51
+ **[Area requiring security care]:**
52
+ - Risk: [What could go wrong]
53
+ - Files: [Affected file paths]
54
+ - Current mitigation: [What's in place now]
55
+ - Recommendations: [What should be added]
56
+
57
+ **[Area requiring security care]:**
58
+ - Risk: [What could go wrong]
59
+ - Files: [Affected file paths]
60
+ - Current mitigation: [What's in place now]
61
+ - Recommendations: [What should be added]
62
+
63
+ ## Performance Bottlenecks
64
+
65
+ **[Slow operation/endpoint]:**
66
+ - Problem: [What's slow]
67
+ - Files: [Where the slow code lives]
68
+ - Measurement: [Actual numbers: "500ms p95", "2s load time"]
69
+ - Cause: [Why it's slow]
70
+ - Improvement path: [How to speed it up]
71
+
72
+ **[Slow operation/endpoint]:**
73
+ - Problem: [What's slow]
74
+ - Files: [Where the slow code lives]
75
+ - Measurement: [Actual numbers]
76
+ - Cause: [Why it's slow]
77
+ - Improvement path: [How to speed it up]
78
+
79
+ ## Fragile Areas
80
+
81
+ **[Component/Module]:**
82
+ - Files: [Specific file paths]
83
+ - Why fragile: [What makes it break easily]
84
+ - Common failures: [What typically goes wrong]
85
+ - Safe modification: [How to change it without breaking]
86
+ - Test coverage: [Is it tested? Gaps?]
87
+
88
+ **[Component/Module]:**
89
+ - Files: [Specific file paths]
90
+ - Why fragile: [What makes it break easily]
91
+ - Common failures: [What typically goes wrong]
92
+ - Safe modification: [How to change it without breaking]
93
+ - Test coverage: [Is it tested? Gaps?]
94
+
95
+ ## Scaling Limits
96
+
97
+ **[Resource/System]:**
98
+ - Current capacity: [Numbers: "100 req/sec", "10k users"]
99
+ - Limit: [Where it breaks]
100
+ - Symptoms at limit: [What happens]
101
+ - Scaling path: [How to increase capacity]
102
+
103
+ ## Dependencies at Risk
104
+
105
+ **[Package/Service]:**
106
+ - Risk: [e.g., "deprecated", "unmaintained", "breaking changes coming"]
107
+ - Impact: [What breaks if it fails]
108
+ - Migration plan: [Alternative or upgrade path]
109
+
110
+ ## Missing Critical Features
111
+
112
+ **[Feature gap]:**
113
+ - Problem: [What's missing]
114
+ - Current workaround: [How users cope]
115
+ - Blocks: [What can't be done without it]
116
+ - Implementation complexity: [Rough effort estimate]
117
+
118
+ ## Test Coverage Gaps
119
+
120
+ **[Untested area]:**
121
+ - What's not tested: [Specific functionality]
122
+ - Files: [Untested file paths]
123
+ - Risk: [What could break unnoticed]
124
+ - Priority: [High/Medium/Low]
125
+ - Difficulty to test: [Why it's not tested yet]
126
+
127
+ ---
128
+
129
+ *Concerns audit: [date]*
130
+ *Update as issues are fixed or new ones discovered*
131
+ ```
132
+
133
+ ---
134
+
135
+ ## Good Example
136
+
137
+ ```markdown
138
+ # Codebase Concerns
139
+
140
+ **Analysis Date:** 2025-01-20
141
+
142
+ ## Tech Debt
143
+
144
+ **Database queries in React components:**
145
+ - Issue: Direct Supabase queries in 15+ page components instead of server actions
146
+ - Files: `app/dashboard/page.tsx`, `app/profile/page.tsx`, `app/courses/[id]/page.tsx`, `app/settings/page.tsx` (and 11 more in `app/`)
147
+ - Why: Rapid prototyping during MVP phase
148
+ - Impact: Can't implement RLS properly, exposes DB structure to client
149
+ - Fix approach: Move all queries to server actions in `app/actions/`, add proper RLS policies
150
+
151
+ **Manual webhook signature validation:**
152
+ - Issue: Copy-pasted Stripe webhook verification code in 3 different endpoints
153
+ - Files: `app/api/webhooks/stripe/route.ts`, `app/api/webhooks/checkout/route.ts`, `app/api/webhooks/subscription/route.ts`
154
+ - Why: Each webhook added ad-hoc without abstraction
155
+ - Impact: Easy to miss verification in new webhooks (security risk)
156
+ - Fix approach: Create shared `lib/stripe/validate-webhook.ts` middleware
157
+
158
+ ## Known Bugs
159
+
160
+ **Race condition in subscription updates:**
161
+ - Symptoms: User shows as "free" tier for 5-10 seconds after successful payment
162
+ - Trigger: Fast navigation after Stripe checkout redirect, before webhook processes
163
+ - Files: `app/checkout/success/page.tsx` (redirect handler), `app/api/webhooks/stripe/route.ts` (webhook)
164
+ - Workaround: Stripe webhook eventually updates status (self-heals)
165
+ - Root cause: Webhook processing slower than user navigation, no optimistic UI update
166
+ - Fix: Add polling in `app/checkout/success/page.tsx` after redirect
167
+
168
+ **Inconsistent session state after logout:**
169
+ - Symptoms: User redirected to /dashboard after logout instead of /login
170
+ - Trigger: Logout via button in mobile nav (desktop works fine)
171
+ - Files: `components/MobileNav.tsx` (line ~45, logout handler)
172
+ - Workaround: Manual URL navigation to /login works
173
+ - Root cause: Mobile nav component not awaiting supabase.auth.signOut()
174
+ - Fix: Add await to logout handler in `components/MobileNav.tsx`
175
+
176
+ ## Security Considerations
177
+
178
+ **Admin role check client-side only:**
179
+ - Risk: Admin dashboard pages check isAdmin from Supabase client, no server verification
180
+ - Files: `app/admin/page.tsx`, `app/admin/users/page.tsx`, `components/AdminGuard.tsx`
181
+ - Current mitigation: None (relying on UI hiding)
182
+ - Recommendations: Add middleware to admin routes in `middleware.ts`, verify role server-side
183
+
184
+ **Unvalidated file uploads:**
185
+ - Risk: Users can upload any file type to avatar bucket (no size/type validation)
186
+ - Files: `components/AvatarUpload.tsx` (upload handler)
187
+ - Current mitigation: Supabase bucket limits to 2MB (configured in dashboard)
188
+ - Recommendations: Add file type validation (image/* only) in `lib/storage/validate.ts`
189
+
190
+ ## Performance Bottlenecks
191
+
192
+ **/api/courses endpoint:**
193
+ - Problem: Fetching all courses with nested lessons and authors
194
+ - Files: `app/api/courses/route.ts`
195
+ - Measurement: 1.2s p95 response time with 50+ courses
196
+ - Cause: N+1 query pattern (separate query per course for lessons)
197
+ - Improvement path: Use Prisma include to eager-load lessons in `lib/db/courses.ts`, add Redis caching
198
+
199
+ **Dashboard initial load:**
200
+ - Problem: Waterfall of 5 serial API calls on mount
201
+ - Files: `app/dashboard/page.tsx`
202
+ - Measurement: 3.5s until interactive on slow 3G
203
+ - Cause: Each component fetches own data independently
204
+ - Improvement path: Convert to Server Component with single parallel fetch
205
+
206
+ ## Fragile Areas
207
+
208
+ **Authentication middleware chain:**
209
+ - Files: `middleware.ts`
210
+ - Why fragile: 4 different middleware functions run in specific order (auth -> role -> subscription -> logging)
211
+ - Common failures: Middleware order change breaks everything, hard to debug
212
+ - Safe modification: Add tests before changing order, document dependencies in comments
213
+ - Test coverage: No integration tests for middleware chain (only unit tests)
214
+
215
+ **Stripe webhook event handling:**
216
+ - Files: `app/api/webhooks/stripe/route.ts`
217
+ - Why fragile: Giant switch statement with 12 event types, shared transaction logic
218
+ - Common failures: New event type added without handling, partial DB updates on error
219
+ - Safe modification: Extract each event handler to `lib/stripe/handlers/*.ts`
220
+ - Test coverage: Only 3 of 12 event types have tests
221
+
222
+ ## Scaling Limits
223
+
224
+ **Supabase Free Tier:**
225
+ - Current capacity: 500MB database, 1GB file storage, 2GB bandwidth/month
226
+ - Limit: ~5000 users estimated before hitting limits
227
+ - Symptoms at limit: 429 rate limit errors, DB writes fail
228
+ - Scaling path: Upgrade to Pro ($25/mo) extends to 8GB DB, 100GB storage
229
+
230
+ **Server-side render blocking:**
231
+ - Current capacity: ~50 concurrent users before slowdown
232
+ - Limit: Vercel Hobby plan (10s function timeout, 100GB-hrs/mo)
233
+ - Symptoms at limit: 504 gateway timeouts on course pages
234
+ - Scaling path: Upgrade to Vercel Pro ($20/mo), add edge caching
235
+
236
+ ## Dependencies at Risk
237
+
238
+ **react-hot-toast:**
239
+ - Risk: Unmaintained (last update 18 months ago), React 19 compatibility unknown
240
+ - Impact: Toast notifications break, no graceful degradation
241
+ - Migration plan: Switch to sonner (actively maintained, similar API)
242
+
243
+ ## Missing Critical Features
244
+
245
+ **Payment failure handling:**
246
+ - Problem: No retry mechanism or user notification when subscription payment fails
247
+ - Current workaround: Users manually re-enter payment info (if they notice)
248
+ - Blocks: Can't retain users with expired cards, no dunning process
249
+ - Implementation complexity: Medium (Stripe webhooks + email flow + UI)
250
+
251
+ **Course progress tracking:**
252
+ - Problem: No persistent state for which lessons completed
253
+ - Current workaround: Users manually track progress
254
+ - Blocks: Can't show completion percentage, can't recommend next lesson
255
+ - Implementation complexity: Low (add completed_lessons junction table)
256
+
257
+ ## Test Coverage Gaps
258
+
259
+ **Payment flow end-to-end:**
260
+ - What's not tested: Full Stripe checkout -> webhook -> subscription activation flow
261
+ - Files: `app/api/checkout/route.ts`, `app/api/webhooks/stripe/route.ts`, `lib/subscription.ts`
262
+ - Risk: Payment processing could break silently (has happened twice)
263
+ - Priority: High
264
+ - Difficulty to test: Need Stripe test fixtures and webhook simulation setup
265
+
266
+ **Error boundary behavior:**
267
+ - What's not tested: How app behaves when components throw errors
268
+ - Files: `app/error.tsx`, `components/ErrorBoundary.tsx`
269
+ - Risk: White screen of death for users, no error reporting
270
+ - Priority: Medium
271
+ - Difficulty to test: Need to intentionally trigger errors in test environment
272
+
273
+ ---
274
+
275
+ *Concerns audit: 2025-01-20*
276
+ *Update as issues are fixed or new ones discovered*
277
+ ```
278
+
279
+ ---
280
+
281
+ ## Guidelines
282
+
283
+ **What belongs in CONCERNS.md:**
284
+ - Tech debt with clear impact and fix approach
285
+ - Known bugs with reproduction steps
286
+ - Security gaps and mitigation recommendations
287
+ - Performance bottlenecks with measurements
288
+ - Fragile code that breaks easily
289
+ - Scaling limits with numbers
290
+ - Dependencies that need attention
291
+ - Missing features that block workflows
292
+ - Test coverage gaps
293
+
294
+ **What does NOT belong here:**
295
+ - Opinions without evidence ("code is messy")
296
+ - Complaints without solutions ("auth sucks")
297
+ - Future feature ideas (that's for product planning)
298
+ - Normal TODOs (those live in code comments)
299
+ - Architectural decisions that are working fine
300
+ - Minor code style issues
301
+
302
+ **Critical requirement - File paths:**
303
+ **Always include file paths** - Concerns without locations are not actionable. Use backticks: `src/file.ts`. For every issue, specify exactly where it is.
304
+
305
+ **When filling this template:**
306
+ - Be specific with measurements ("500ms p95" not "slow")
307
+ - Include reproduction steps for bugs
308
+ - Suggest fix approaches, not just problems
309
+ - Focus on actionable items
310
+ - Prioritize by risk/impact
311
+ - Update as issues get resolved
312
+ - Add new concerns as discovered
313
+
314
+ **Tone guidelines:**
315
+ - Professional, not emotional ("N+1 query pattern" not "terrible queries")
316
+ - Solution-oriented ("Fix: add index" not "needs fixing")
317
+ - Risk-focused ("Could expose user data" not "security is bad")
318
+ - Factual ("3.5s load time" not "really slow")
319
+
320
+ **Useful for phase planning when:**
321
+ - Deciding what to work on next
322
+ - Estimating risk of changes
323
+ - Understanding where to be careful
324
+ - Prioritizing improvements
325
+ - Onboarding new Claude contexts
326
+ - Planning refactoring work
327
+
328
+ **How this gets populated:**
329
+ Explore agents detect these during codebase mapping. Manual additions welcome for human-discovered issues. This is living documentation, not a complaint list.