code-ai-installer 4.0.0 → 4.0.1-b

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 (471) hide show
  1. package/README.md +83 -67
  2. package/dist/index.js +2 -0
  3. package/dist/mcp/audit_ledger.d.ts +12 -0
  4. package/dist/mcp/audit_ledger.js +82 -0
  5. package/dist/mcp/cli.js +7 -1
  6. package/dist/mcp/config.d.ts +23 -0
  7. package/dist/mcp/config.js +44 -6
  8. package/dist/mcp/index.d.ts +1 -2
  9. package/dist/mcp/index.js +1 -2
  10. package/dist/mcp/paths.d.ts +20 -2
  11. package/dist/mcp/paths.js +29 -5
  12. package/dist/mcp/proposal_dedup.d.ts +32 -0
  13. package/dist/mcp/proposal_dedup.js +102 -0
  14. package/dist/mcp/proposal_store.d.ts +18 -0
  15. package/dist/mcp/proposal_store.js +74 -0
  16. package/dist/mcp/scorecard.d.ts +140 -0
  17. package/dist/mcp/scorecard.js +103 -0
  18. package/dist/mcp/skill_invocations.d.ts +15 -0
  19. package/dist/mcp/skill_invocations.js +28 -0
  20. package/dist/mcp/task_state.d.ts +77 -2
  21. package/dist/mcp/tools/_subprocess.d.ts +16 -0
  22. package/dist/mcp/tools/_subprocess.js +56 -0
  23. package/dist/mcp/tools/advance_gate.js +2 -2
  24. package/dist/mcp/tools/aggregate_run_metrics.d.ts +19 -0
  25. package/dist/mcp/tools/aggregate_run_metrics.js +139 -0
  26. package/dist/mcp/tools/apply_diff.d.ts +2 -0
  27. package/dist/mcp/tools/apply_diff.js +29 -0
  28. package/dist/mcp/tools/audit_bilocale_parity.d.ts +2 -0
  29. package/dist/mcp/tools/audit_bilocale_parity.js +146 -0
  30. package/dist/mcp/tools/audit_budget_compliance.d.ts +35 -0
  31. package/dist/mcp/tools/audit_budget_compliance.js +172 -0
  32. package/dist/mcp/tools/build.d.ts +2 -0
  33. package/dist/mcp/tools/build.js +47 -0
  34. package/dist/mcp/tools/check_lint.d.ts +2 -0
  35. package/dist/mcp/tools/check_lint.js +23 -0
  36. package/dist/mcp/tools/classify_gate.js +2 -2
  37. package/dist/mcp/tools/current_gate.js +2 -2
  38. package/dist/mcp/tools/dependency_supply_chain.d.ts +2 -0
  39. package/dist/mcp/tools/dependency_supply_chain.js +59 -0
  40. package/dist/mcp/tools/docker_compose.d.ts +2 -0
  41. package/dist/mcp/tools/docker_compose.js +24 -0
  42. package/dist/mcp/tools/e2e_playwright.d.ts +2 -0
  43. package/dist/mcp/tools/e2e_playwright.js +88 -0
  44. package/dist/mcp/tools/get_skill.js +17 -0
  45. package/dist/mcp/tools/git_commit.d.ts +2 -0
  46. package/dist/mcp/tools/git_commit.js +30 -0
  47. package/dist/mcp/tools/list_proposals.d.ts +6 -0
  48. package/dist/mcp/tools/list_proposals.js +16 -0
  49. package/dist/mcp/tools/list_skills.js +9 -1
  50. package/dist/mcp/tools/load_role.d.ts +3 -4
  51. package/dist/mcp/tools/load_role.js +11 -13
  52. package/dist/mcp/tools/propose_change.d.ts +8 -0
  53. package/dist/mcp/tools/propose_change.js +36 -0
  54. package/dist/mcp/tools/record_decision.js +25 -25
  55. package/dist/mcp/tools/review_proposal.d.ts +17 -0
  56. package/dist/mcp/tools/review_proposal.js +99 -0
  57. package/dist/mcp/tools/run_drift_audit.d.ts +11 -0
  58. package/dist/mcp/tools/run_drift_audit.js +79 -0
  59. package/dist/mcp/tools/run_tests.d.ts +2 -0
  60. package/dist/mcp/tools/run_tests.js +92 -0
  61. package/dist/mcp/tools/sign_off.js +14 -2
  62. package/dist/mcp/tools/stubs.js +30 -9
  63. package/dist/mcp/tools/verify_claim.js +33 -6
  64. package/dist/mcp_setup.d.ts +14 -3
  65. package/dist/mcp_setup.js +15 -6
  66. package/dist/shared/frontmatter.d.ts +44 -2
  67. package/dist/shared/frontmatter.js +54 -6
  68. package/dist/shared/index.d.ts +0 -5
  69. package/dist/shared/index.js +0 -5
  70. package/dist/shared/persona.d.ts +2 -2
  71. package/dist/shared/persona.js +1 -1
  72. package/dist/shared/pipeline.d.ts +46 -1
  73. package/dist/shared/tools.d.ts +1382 -16
  74. package/dist/shared/tools.js +229 -0
  75. package/dist/shared/vocabulary.d.ts +99 -4
  76. package/dist/shared/vocabulary.js +94 -5
  77. package/domains/analytics/.agents/skills/ansoff-matrix/SKILL.md +316 -300
  78. package/domains/analytics/.agents/skills/bcg-matrix/SKILL.md +345 -329
  79. package/domains/analytics/.agents/skills/blue-ocean-strategy/SKILL.md +432 -416
  80. package/domains/analytics/.agents/skills/board/SKILL.md +22 -0
  81. package/domains/analytics/.agents/skills/cohort-analysis/SKILL.md +338 -322
  82. package/domains/analytics/.agents/skills/competitive-analysis/SKILL.md +413 -395
  83. package/domains/analytics/.agents/skills/customer-journey-mapping/SKILL.md +347 -331
  84. package/domains/analytics/.agents/skills/gates/SKILL.md +388 -366
  85. package/domains/analytics/.agents/skills/handoff/SKILL.md +402 -380
  86. package/domains/analytics/.agents/skills/html-pdf-report/SKILL.md +21 -289
  87. package/domains/analytics/.agents/skills/html-pdf-report-reference/SKILL.md +325 -0
  88. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  89. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  90. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  91. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  92. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  93. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  94. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/skill.yaml +23 -0
  95. package/domains/analytics/.agents/skills/icp-buyer-persona/SKILL.md +407 -390
  96. package/domains/analytics/.agents/skills/jtbd-analysis/SKILL.md +357 -341
  97. package/domains/analytics/.agents/skills/karpathy-guidelines/SKILL.md +32 -0
  98. package/domains/analytics/.agents/skills/pest-analysis/SKILL.md +324 -305
  99. package/domains/analytics/.agents/skills/porters-five-forces/SKILL.md +377 -361
  100. package/domains/analytics/.agents/skills/report-design/SKILL.md +416 -398
  101. package/domains/analytics/.agents/skills/rfm-analysis/SKILL.md +330 -314
  102. package/domains/analytics/.agents/skills/session-prompt-generator/SKILL.md +400 -378
  103. package/domains/analytics/.agents/skills/swot-analysis/SKILL.md +340 -324
  104. package/domains/analytics/.agents/skills/tam-sam-som/SKILL.md +329 -312
  105. package/domains/analytics/.agents/skills/trend-analysis/SKILL.md +347 -331
  106. package/domains/analytics/.agents/skills/unit-economics/SKILL.md +430 -413
  107. package/domains/analytics/.agents/skills/value-chain-analysis/SKILL.md +346 -330
  108. package/domains/analytics/.agents/skills/web-research/SKILL.md +323 -308
  109. package/domains/analytics/AGENTS.md +1 -0
  110. package/domains/analytics/agents/auditor.md +76 -0
  111. package/domains/analytics/agents/conductor.md +11 -0
  112. package/domains/analytics/agents/data_analyst.md +11 -0
  113. package/domains/analytics/agents/designer.md +11 -0
  114. package/domains/analytics/agents/interviewer.md +11 -0
  115. package/domains/analytics/agents/layouter.md +11 -0
  116. package/domains/analytics/agents/mediator.md +11 -0
  117. package/domains/analytics/agents/researcher.md +11 -0
  118. package/domains/analytics/agents/strategist.md +11 -0
  119. package/domains/analytics/locales/en/.agents/skills/ansoff-matrix/SKILL.md +316 -300
  120. package/domains/analytics/locales/en/.agents/skills/bcg-matrix/SKILL.md +345 -329
  121. package/domains/analytics/locales/en/.agents/skills/blue-ocean-strategy/SKILL.md +432 -416
  122. package/domains/analytics/locales/en/.agents/skills/board/SKILL.md +22 -0
  123. package/domains/analytics/locales/en/.agents/skills/cohort-analysis/SKILL.md +338 -322
  124. package/domains/analytics/locales/en/.agents/skills/competitive-analysis/SKILL.md +413 -395
  125. package/domains/analytics/locales/en/.agents/skills/customer-journey-mapping/SKILL.md +347 -331
  126. package/domains/analytics/locales/en/.agents/skills/gates/SKILL.md +388 -366
  127. package/domains/analytics/locales/en/.agents/skills/handoff/SKILL.md +402 -380
  128. package/domains/analytics/locales/en/.agents/skills/html-pdf-report/SKILL.md +21 -289
  129. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/SKILL.md +325 -0
  130. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  131. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  132. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  133. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  134. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  135. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  136. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/skill.yaml +29 -0
  137. package/domains/analytics/locales/en/.agents/skills/icp-buyer-persona/SKILL.md +407 -390
  138. package/domains/analytics/locales/en/.agents/skills/jtbd-analysis/SKILL.md +357 -341
  139. package/domains/analytics/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +32 -0
  140. package/domains/analytics/locales/en/.agents/skills/pest-analysis/SKILL.md +324 -305
  141. package/domains/analytics/locales/en/.agents/skills/porters-five-forces/SKILL.md +377 -361
  142. package/domains/analytics/locales/en/.agents/skills/report-design/SKILL.md +416 -398
  143. package/domains/analytics/locales/en/.agents/skills/rfm-analysis/SKILL.md +330 -314
  144. package/domains/analytics/locales/en/.agents/skills/session-prompt-generator/SKILL.md +400 -378
  145. package/domains/analytics/locales/en/.agents/skills/swot-analysis/SKILL.md +340 -324
  146. package/domains/analytics/locales/en/.agents/skills/tam-sam-som/SKILL.md +329 -312
  147. package/domains/analytics/locales/en/.agents/skills/trend-analysis/SKILL.md +347 -331
  148. package/domains/analytics/locales/en/.agents/skills/unit-economics/SKILL.md +430 -413
  149. package/domains/analytics/locales/en/.agents/skills/value-chain-analysis/SKILL.md +366 -350
  150. package/domains/analytics/locales/en/.agents/skills/web-research/SKILL.md +324 -309
  151. package/domains/analytics/locales/en/AGENTS.md +1 -0
  152. package/domains/analytics/locales/en/agents/auditor.md +76 -0
  153. package/domains/analytics/locales/en/agents/conductor.md +27 -0
  154. package/domains/analytics/locales/en/agents/data_analyst.md +29 -0
  155. package/domains/analytics/locales/en/agents/designer.md +27 -0
  156. package/domains/analytics/locales/en/agents/interviewer.md +11 -0
  157. package/domains/analytics/locales/en/agents/layouter.md +11 -0
  158. package/domains/analytics/locales/en/agents/mediator.md +11 -0
  159. package/domains/analytics/locales/en/agents/researcher.md +11 -0
  160. package/domains/analytics/locales/en/agents/strategist.md +11 -0
  161. package/domains/analytics/persona/persona-base.md +94 -0
  162. package/domains/analytics/pipeline.yaml +102 -0
  163. package/domains/content/.agents/skills/audience-analysis/SKILL.md +15 -0
  164. package/domains/content/.agents/skills/board/SKILL.md +20 -0
  165. package/domains/content/.agents/skills/brand-compliance/SKILL.md +15 -0
  166. package/domains/content/.agents/skills/brand-guidelines/SKILL.md +17 -0
  167. package/domains/content/.agents/skills/competitor-content-analysis/SKILL.md +15 -0
  168. package/domains/content/.agents/skills/content-brief/SKILL.md +15 -0
  169. package/domains/content/.agents/skills/content-calendar/SKILL.md +15 -0
  170. package/domains/content/.agents/skills/content-release-gate/SKILL.md +15 -0
  171. package/domains/content/.agents/skills/content-review-checklist/SKILL.md +15 -0
  172. package/domains/content/.agents/skills/cta-optimization/SKILL.md +15 -0
  173. package/domains/content/.agents/skills/data-storytelling/SKILL.md +15 -0
  174. package/domains/content/.agents/skills/email-copywriting/SKILL.md +15 -0
  175. package/domains/content/.agents/skills/email-engagement-tiers/SKILL.md +15 -0
  176. package/domains/content/.agents/skills/fact-checking/SKILL.md +15 -0
  177. package/domains/content/.agents/skills/gates/SKILL.md +20 -0
  178. package/domains/content/.agents/skills/google-stitch-content/SKILL.md +15 -0
  179. package/domains/content/.agents/skills/handoff/SKILL.md +24 -0
  180. package/domains/content/.agents/skills/headline-formulas/SKILL.md +15 -0
  181. package/domains/content/.agents/skills/image-prompt-engineering/SKILL.md +15 -0
  182. package/domains/content/.agents/skills/karpathy-guidelines/SKILL.md +28 -0
  183. package/domains/content/.agents/skills/mailerlite-email-ops/SKILL.md +15 -0
  184. package/domains/content/.agents/skills/marketing-psychology/SKILL.md +15 -0
  185. package/domains/content/.agents/skills/moodboard/SKILL.md +15 -0
  186. package/domains/content/.agents/skills/platform-compliance/SKILL.md +15 -0
  187. package/domains/content/.agents/skills/platform-strategy/SKILL.md +15 -0
  188. package/domains/content/.agents/skills/platform-visual-specs/SKILL.md +15 -0
  189. package/domains/content/.agents/skills/readability-scoring/SKILL.md +15 -0
  190. package/domains/content/.agents/skills/seo-copywriting/SKILL.md +15 -0
  191. package/domains/content/.agents/skills/social-media-formats/SKILL.md +15 -0
  192. package/domains/content/.agents/skills/source-verification/SKILL.md +15 -0
  193. package/domains/content/.agents/skills/storytelling-framework/SKILL.md +15 -0
  194. package/domains/content/.agents/skills/tone-of-voice/SKILL.md +15 -0
  195. package/domains/content/.agents/skills/topic-research/SKILL.md +15 -0
  196. package/domains/content/.agents/skills/trend-research/SKILL.md +15 -0
  197. package/domains/content/.agents/skills/visual-brief/SKILL.md +15 -0
  198. package/domains/content/AGENTS.md +4 -0
  199. package/domains/content/agents/auditor.md +76 -0
  200. package/domains/content/agents/conductor.md +11 -0
  201. package/domains/content/agents/copywriter.md +11 -0
  202. package/domains/content/agents/researcher.md +11 -0
  203. package/domains/content/agents/reviewer.md +11 -0
  204. package/domains/content/agents/strategist.md +11 -0
  205. package/domains/content/agents/visual_concept.md +11 -0
  206. package/domains/content/locales/en/.agents/skills/audience-analysis/SKILL.md +15 -0
  207. package/domains/content/locales/en/.agents/skills/board/SKILL.md +20 -0
  208. package/domains/content/locales/en/.agents/skills/brand-compliance/SKILL.md +15 -0
  209. package/domains/content/locales/en/.agents/skills/brand-guidelines/SKILL.md +17 -0
  210. package/domains/content/locales/en/.agents/skills/competitor-content-analysis/SKILL.md +15 -0
  211. package/domains/content/locales/en/.agents/skills/content-brief/SKILL.md +15 -0
  212. package/domains/content/locales/en/.agents/skills/content-calendar/SKILL.md +15 -0
  213. package/domains/content/locales/en/.agents/skills/content-release-gate/SKILL.md +15 -0
  214. package/domains/content/locales/en/.agents/skills/content-review-checklist/SKILL.md +15 -0
  215. package/domains/content/locales/en/.agents/skills/cta-optimization/SKILL.md +15 -0
  216. package/domains/content/locales/en/.agents/skills/data-storytelling/SKILL.md +15 -0
  217. package/domains/content/locales/en/.agents/skills/email-copywriting/SKILL.md +15 -0
  218. package/domains/content/locales/en/.agents/skills/email-engagement-tiers/SKILL.md +15 -0
  219. package/domains/content/locales/en/.agents/skills/fact-checking/SKILL.md +15 -0
  220. package/domains/content/locales/en/.agents/skills/gates/SKILL.md +20 -0
  221. package/domains/content/locales/en/.agents/skills/google-stitch-content/SKILL.md +15 -0
  222. package/domains/content/locales/en/.agents/skills/handoff/SKILL.md +24 -0
  223. package/domains/content/locales/en/.agents/skills/headline-formulas/SKILL.md +15 -0
  224. package/domains/content/locales/en/.agents/skills/image-prompt-engineering/SKILL.md +15 -0
  225. package/domains/content/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +30 -1
  226. package/domains/content/locales/en/.agents/skills/mailerlite-email-ops/SKILL.md +15 -0
  227. package/domains/content/locales/en/.agents/skills/marketing-psychology/SKILL.md +15 -0
  228. package/domains/content/locales/en/.agents/skills/moodboard/SKILL.md +15 -0
  229. package/domains/content/locales/en/.agents/skills/platform-compliance/SKILL.md +15 -0
  230. package/domains/content/locales/en/.agents/skills/platform-strategy/SKILL.md +15 -0
  231. package/domains/content/locales/en/.agents/skills/platform-visual-specs/SKILL.md +15 -0
  232. package/domains/content/locales/en/.agents/skills/readability-scoring/SKILL.md +15 -0
  233. package/domains/content/locales/en/.agents/skills/seo-copywriting/SKILL.md +15 -0
  234. package/domains/content/locales/en/.agents/skills/social-media-formats/SKILL.md +15 -0
  235. package/domains/content/locales/en/.agents/skills/source-verification/SKILL.md +15 -0
  236. package/domains/content/locales/en/.agents/skills/storytelling-framework/SKILL.md +15 -0
  237. package/domains/content/locales/en/.agents/skills/tone-of-voice/SKILL.md +15 -0
  238. package/domains/content/locales/en/.agents/skills/topic-research/SKILL.md +15 -0
  239. package/domains/content/locales/en/.agents/skills/trend-research/SKILL.md +15 -0
  240. package/domains/content/locales/en/.agents/skills/visual-brief/SKILL.md +15 -0
  241. package/domains/content/locales/en/AGENTS.md +4 -0
  242. package/domains/content/locales/en/agents/auditor.md +76 -0
  243. package/domains/content/locales/en/agents/conductor.md +12 -0
  244. package/domains/content/locales/en/agents/copywriter.md +12 -0
  245. package/domains/content/locales/en/agents/researcher.md +12 -0
  246. package/domains/content/locales/en/agents/reviewer.md +12 -0
  247. package/domains/content/locales/en/agents/strategist.md +12 -0
  248. package/domains/content/locales/en/agents/visual_concept.md +12 -0
  249. package/domains/content/persona/persona-base.md +94 -0
  250. package/domains/content/pipeline.yaml +96 -0
  251. package/domains/development/.agents/skills/adr-log/SKILL.md +1 -0
  252. package/domains/development/.agents/skills/design-intake/SKILL.md +0 -4
  253. package/domains/development/.agents/skills/karpathy-guidelines/SKILL.md +2 -1
  254. package/domains/development/.agents/skills/lava-flow-legacy-detection/SKILL.md +15 -1
  255. package/domains/development/.agents/skills/mcp-integration/SKILL.md +211 -0
  256. package/domains/development/.agents/skills/mcp-integration/agents/claude.json +22 -0
  257. package/domains/development/.agents/skills/mcp-integration/agents/copilot.json +22 -0
  258. package/domains/development/.agents/skills/mcp-integration/agents/gemini.json +22 -0
  259. package/domains/development/.agents/skills/mcp-integration/agents/kimi.yaml +18 -0
  260. package/domains/development/.agents/skills/mcp-integration/agents/openai.yaml +8 -0
  261. package/domains/development/.agents/skills/mcp-integration/agents/qwen.json +22 -0
  262. package/domains/development/.agents/skills/mcp-integration/agents/skill.yaml +26 -0
  263. package/domains/development/.agents/skills/qa-ui-a11y-smoke/SKILL.md +1 -1
  264. package/domains/development/.agents/skills/ui-a11y-smoke-review/SKILL.md +1 -1
  265. package/domains/development/AGENTS.md +1 -0
  266. package/domains/development/AGENTS.yaml +1 -0
  267. package/domains/development/agents/architect.md +13 -1
  268. package/domains/development/agents/auditor.md +74 -0
  269. package/domains/development/agents/conductor.md +14 -3
  270. package/domains/development/agents/devops.md +8 -9
  271. package/domains/development/agents/reviewer.md +12 -0
  272. package/domains/development/agents/senior_full_stack.md +12 -0
  273. package/domains/development/agents/tester.md +10 -16
  274. package/domains/development/locales/en/.agents/skills/adr-log/SKILL.md +1 -0
  275. package/domains/development/locales/en/.agents/skills/current-state-analysis/SKILL.md +256 -172
  276. package/domains/development/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +2 -1
  277. package/domains/development/locales/en/.agents/skills/lava-flow-legacy-detection/SKILL.md +15 -1
  278. package/domains/development/locales/en/.agents/skills/mcp-integration/SKILL.md +211 -0
  279. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/claude.json +22 -0
  280. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/copilot.json +22 -0
  281. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/gemini.json +22 -0
  282. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/kimi.yaml +18 -0
  283. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/openai.yaml +8 -0
  284. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/qwen.json +22 -0
  285. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/skill.yaml +26 -0
  286. package/domains/development/locales/en/.agents/skills/qa-ui-a11y-smoke/SKILL.md +1 -1
  287. package/domains/development/locales/en/.agents/skills/ui-a11y-smoke-review/SKILL.md +1 -1
  288. package/domains/development/locales/en/AGENTS.md +5 -0
  289. package/domains/development/locales/en/AGENTS.yaml +1 -0
  290. package/domains/development/locales/en/agents/architect.md +13 -1
  291. package/domains/development/locales/en/agents/auditor.md +74 -0
  292. package/domains/development/locales/en/agents/conductor.md +14 -3
  293. package/domains/development/locales/en/agents/devops.md +8 -9
  294. package/domains/development/locales/en/agents/reviewer.md +12 -0
  295. package/domains/development/locales/en/agents/senior_full_stack.md +12 -0
  296. package/domains/development/locales/en/agents/tester.md +10 -16
  297. package/domains/development/persona/persona-base.md +94 -0
  298. package/domains/product/.agents/skills/aarrr-metrics/SKILL.md +451 -433
  299. package/domains/product/.agents/skills/ab-test-design/SKILL.md +428 -412
  300. package/domains/product/.agents/skills/acceptance-criteria/SKILL.md +422 -406
  301. package/domains/product/.agents/skills/assumption-mapping/SKILL.md +323 -307
  302. package/domains/product/.agents/skills/board/SKILL.md +24 -0
  303. package/domains/product/.agents/skills/design-brief/SKILL.md +433 -418
  304. package/domains/product/.agents/skills/epic-breakdown/SKILL.md +435 -420
  305. package/domains/product/.agents/skills/gates/SKILL.md +470 -446
  306. package/domains/product/.agents/skills/gtm-brief/SKILL.md +18 -321
  307. package/domains/product/.agents/skills/gtm-brief-reference/SKILL.md +348 -0
  308. package/domains/product/.agents/skills/gtm-brief-reference/agents/claude.json +17 -0
  309. package/domains/product/.agents/skills/gtm-brief-reference/agents/copilot.json +17 -0
  310. package/domains/product/.agents/skills/gtm-brief-reference/agents/gemini.json +17 -0
  311. package/domains/product/.agents/skills/gtm-brief-reference/agents/kimi.yaml +15 -0
  312. package/domains/product/.agents/skills/gtm-brief-reference/agents/openai.yaml +10 -0
  313. package/domains/product/.agents/skills/gtm-brief-reference/agents/qwen.json +17 -0
  314. package/domains/product/.agents/skills/gtm-brief-reference/agents/skill.yaml +22 -0
  315. package/domains/product/.agents/skills/handoff/SKILL.md +463 -439
  316. package/domains/product/.agents/skills/html-pdf-report/SKILL.md +21 -663
  317. package/domains/product/.agents/skills/html-pdf-report-reference/SKILL.md +699 -0
  318. package/domains/product/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  319. package/domains/product/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  320. package/domains/product/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  321. package/domains/product/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  322. package/domains/product/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  323. package/domains/product/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  324. package/domains/product/.agents/skills/html-pdf-report-reference/agents/skill.yaml +22 -0
  325. package/domains/product/.agents/skills/hypothesis-template/SKILL.md +484 -469
  326. package/domains/product/.agents/skills/jtbd-canvas/SKILL.md +274 -258
  327. package/domains/product/.agents/skills/kano-model/SKILL.md +370 -355
  328. package/domains/product/.agents/skills/karpathy-guidelines/SKILL.md +36 -0
  329. package/domains/product/.agents/skills/launch-checklist/SKILL.md +434 -419
  330. package/domains/product/.agents/skills/moscow-prioritization/SKILL.md +407 -392
  331. package/domains/product/.agents/skills/north-star-metric/SKILL.md +317 -301
  332. package/domains/product/.agents/skills/okr-framework/SKILL.md +299 -284
  333. package/domains/product/.agents/skills/opportunity-solution-tree/SKILL.md +472 -456
  334. package/domains/product/.agents/skills/prd-template/SKILL.md +18 -258
  335. package/domains/product/.agents/skills/prd-template-reference/SKILL.md +285 -0
  336. package/domains/product/.agents/skills/prd-template-reference/agents/claude.json +17 -0
  337. package/domains/product/.agents/skills/prd-template-reference/agents/copilot.json +17 -0
  338. package/domains/product/.agents/skills/prd-template-reference/agents/gemini.json +17 -0
  339. package/domains/product/.agents/skills/prd-template-reference/agents/kimi.yaml +16 -0
  340. package/domains/product/.agents/skills/prd-template-reference/agents/openai.yaml +10 -0
  341. package/domains/product/.agents/skills/prd-template-reference/agents/qwen.json +17 -0
  342. package/domains/product/.agents/skills/prd-template-reference/agents/skill.yaml +23 -0
  343. package/domains/product/.agents/skills/problem-statement/SKILL.md +327 -312
  344. package/domains/product/.agents/skills/product-roadmap/SKILL.md +320 -304
  345. package/domains/product/.agents/skills/product-vision/SKILL.md +409 -394
  346. package/domains/product/.agents/skills/release-notes/SKILL.md +18 -258
  347. package/domains/product/.agents/skills/release-notes-reference/SKILL.md +285 -0
  348. package/domains/product/.agents/skills/release-notes-reference/agents/claude.json +17 -0
  349. package/domains/product/.agents/skills/release-notes-reference/agents/copilot.json +17 -0
  350. package/domains/product/.agents/skills/release-notes-reference/agents/gemini.json +17 -0
  351. package/domains/product/.agents/skills/release-notes-reference/agents/kimi.yaml +15 -0
  352. package/domains/product/.agents/skills/release-notes-reference/agents/openai.yaml +10 -0
  353. package/domains/product/.agents/skills/release-notes-reference/agents/qwen.json +17 -0
  354. package/domains/product/.agents/skills/release-notes-reference/agents/skill.yaml +22 -0
  355. package/domains/product/.agents/skills/report-design/SKILL.md +17 -307
  356. package/domains/product/.agents/skills/report-design-reference/SKILL.md +331 -0
  357. package/domains/product/.agents/skills/report-design-reference/agents/claude.json +17 -0
  358. package/domains/product/.agents/skills/report-design-reference/agents/copilot.json +17 -0
  359. package/domains/product/.agents/skills/report-design-reference/agents/gemini.json +17 -0
  360. package/domains/product/.agents/skills/report-design-reference/agents/kimi.yaml +15 -0
  361. package/domains/product/.agents/skills/report-design-reference/agents/openai.yaml +10 -0
  362. package/domains/product/.agents/skills/report-design-reference/agents/qwen.json +17 -0
  363. package/domains/product/.agents/skills/report-design-reference/agents/skill.yaml +22 -0
  364. package/domains/product/.agents/skills/rice-scoring/SKILL.md +266 -251
  365. package/domains/product/.agents/skills/saas-metrics/SKILL.md +422 -404
  366. package/domains/product/.agents/skills/session-prompt-generator/SKILL.md +474 -450
  367. package/domains/product/.agents/skills/user-flow/SKILL.md +491 -476
  368. package/domains/product/.agents/skills/user-interview-script/SKILL.md +315 -298
  369. package/domains/product/.agents/skills/user-story/SKILL.md +401 -385
  370. package/domains/product/.agents/skills/wsjf-scoring/SKILL.md +333 -315
  371. package/domains/product/AGENTS.md +5 -0
  372. package/domains/product/AGENTS.yaml +1 -0
  373. package/domains/product/agents/auditor.md +76 -0
  374. package/domains/product/agents/conductor.md +11 -0
  375. package/domains/product/agents/data_analyst.md +11 -0
  376. package/domains/product/agents/designer.md +11 -0
  377. package/domains/product/agents/discovery.md +11 -0
  378. package/domains/product/agents/layouter.md +11 -0
  379. package/domains/product/agents/mediator.md +11 -0
  380. package/domains/product/agents/pm.md +11 -0
  381. package/domains/product/agents/product_strategist.md +11 -0
  382. package/domains/product/agents/tech_lead.md +11 -0
  383. package/domains/product/agents/ux_designer.md +11 -0
  384. package/domains/product/locales/en/.agents/skills/aarrr-metrics/SKILL.md +451 -433
  385. package/domains/product/locales/en/.agents/skills/ab-test-design/SKILL.md +428 -412
  386. package/domains/product/locales/en/.agents/skills/acceptance-criteria/SKILL.md +422 -406
  387. package/domains/product/locales/en/.agents/skills/assumption-mapping/SKILL.md +323 -307
  388. package/domains/product/locales/en/.agents/skills/board/SKILL.md +24 -0
  389. package/domains/product/locales/en/.agents/skills/design-brief/SKILL.md +433 -418
  390. package/domains/product/locales/en/.agents/skills/epic-breakdown/SKILL.md +435 -420
  391. package/domains/product/locales/en/.agents/skills/gates/SKILL.md +470 -446
  392. package/domains/product/locales/en/.agents/skills/gtm-brief/SKILL.md +18 -321
  393. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/SKILL.md +348 -0
  394. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/claude.json +17 -0
  395. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/copilot.json +17 -0
  396. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/gemini.json +17 -0
  397. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/kimi.yaml +15 -0
  398. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/openai.yaml +10 -0
  399. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/qwen.json +17 -0
  400. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/skill.yaml +22 -0
  401. package/domains/product/locales/en/.agents/skills/handoff/SKILL.md +463 -439
  402. package/domains/product/locales/en/.agents/skills/html-pdf-report/SKILL.md +21 -663
  403. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/SKILL.md +699 -0
  404. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  405. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  406. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  407. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  408. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  409. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  410. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/skill.yaml +22 -0
  411. package/domains/product/locales/en/.agents/skills/hypothesis-template/SKILL.md +484 -469
  412. package/domains/product/locales/en/.agents/skills/jtbd-canvas/SKILL.md +273 -257
  413. package/domains/product/locales/en/.agents/skills/kano-model/SKILL.md +370 -355
  414. package/domains/product/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +36 -0
  415. package/domains/product/locales/en/.agents/skills/launch-checklist/SKILL.md +434 -419
  416. package/domains/product/locales/en/.agents/skills/moscow-prioritization/SKILL.md +407 -392
  417. package/domains/product/locales/en/.agents/skills/north-star-metric/SKILL.md +317 -301
  418. package/domains/product/locales/en/.agents/skills/okr-framework/SKILL.md +299 -284
  419. package/domains/product/locales/en/.agents/skills/opportunity-solution-tree/SKILL.md +472 -456
  420. package/domains/product/locales/en/.agents/skills/prd-template/SKILL.md +18 -258
  421. package/domains/product/locales/en/.agents/skills/prd-template-reference/SKILL.md +285 -0
  422. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/claude.json +16 -0
  423. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/copilot.json +16 -0
  424. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/gemini.json +16 -0
  425. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/kimi.yaml +15 -0
  426. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/openai.yaml +10 -0
  427. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/qwen.json +16 -0
  428. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/skill.yaml +22 -0
  429. package/domains/product/locales/en/.agents/skills/problem-statement/SKILL.md +327 -312
  430. package/domains/product/locales/en/.agents/skills/product-roadmap/SKILL.md +321 -305
  431. package/domains/product/locales/en/.agents/skills/product-vision/SKILL.md +410 -395
  432. package/domains/product/locales/en/.agents/skills/release-notes/SKILL.md +18 -258
  433. package/domains/product/locales/en/.agents/skills/release-notes-reference/SKILL.md +285 -0
  434. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/claude.json +16 -0
  435. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/copilot.json +16 -0
  436. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/gemini.json +16 -0
  437. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/kimi.yaml +14 -0
  438. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/openai.yaml +10 -0
  439. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/qwen.json +16 -0
  440. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/skill.yaml +21 -0
  441. package/domains/product/locales/en/.agents/skills/report-design/SKILL.md +17 -307
  442. package/domains/product/locales/en/.agents/skills/report-design-reference/SKILL.md +331 -0
  443. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/claude.json +17 -0
  444. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/copilot.json +17 -0
  445. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/gemini.json +17 -0
  446. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/kimi.yaml +15 -0
  447. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/openai.yaml +10 -0
  448. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/qwen.json +17 -0
  449. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/skill.yaml +22 -0
  450. package/domains/product/locales/en/.agents/skills/rice-scoring/SKILL.md +266 -251
  451. package/domains/product/locales/en/.agents/skills/saas-metrics/SKILL.md +422 -404
  452. package/domains/product/locales/en/.agents/skills/session-prompt-generator/SKILL.md +474 -450
  453. package/domains/product/locales/en/.agents/skills/user-flow/SKILL.md +491 -476
  454. package/domains/product/locales/en/.agents/skills/user-interview-script/SKILL.md +314 -297
  455. package/domains/product/locales/en/.agents/skills/user-story/SKILL.md +401 -385
  456. package/domains/product/locales/en/.agents/skills/wsjf-scoring/SKILL.md +333 -315
  457. package/domains/product/locales/en/AGENTS.md +5 -0
  458. package/domains/product/locales/en/agents/auditor.md +76 -0
  459. package/domains/product/locales/en/agents/conductor.md +11 -0
  460. package/domains/product/locales/en/agents/data_analyst.md +11 -0
  461. package/domains/product/locales/en/agents/designer.md +11 -0
  462. package/domains/product/locales/en/agents/discovery.md +11 -0
  463. package/domains/product/locales/en/agents/layouter.md +11 -0
  464. package/domains/product/locales/en/agents/mediator.md +11 -0
  465. package/domains/product/locales/en/agents/pm.md +11 -0
  466. package/domains/product/locales/en/agents/product_strategist.md +11 -0
  467. package/domains/product/locales/en/agents/tech_lead.md +11 -0
  468. package/domains/product/locales/en/agents/ux_designer.md +11 -0
  469. package/domains/product/persona/persona-base.md +94 -0
  470. package/domains/product/pipeline.yaml +115 -0
  471. package/package.json +72 -70
@@ -1,420 +1,435 @@
1
- ---
2
- name: epic-breakdown
3
- description: Epic decomposition into stories with dependencies, size estimates (S/M/L/XL), critical path
4
- ---
5
- # Epic Breakdown
6
-
7
- > **Category:** Specification · **Slug:** `epic-breakdown`
8
-
9
- ## When to Use
10
-
11
- - After epic approval (via RICE / WSJF) — before sprint planning.
12
- - When estimating capacity for roadmap planning.
13
- - For identifying critical path and parallelizable work.
14
- - Pre-kickoff: the team needs to know the decomposition.
15
-
16
- ## Input
17
-
18
- | Field | Required | Description |
19
- |-------|:--------:|-------------|
20
- | Epic spec (from PRD) | ✅ | Scope + success criteria |
21
- | Existing architecture | ✅ | What already exists |
22
- | Team composition | ✅ | Senior/mid/junior, roles |
23
- | Dependencies / integrations | ⬚ | External systems |
24
- | Constraints | ⬚ | Deadlines, compliance |
25
-
26
- ## Data Sources
27
-
28
- 1. PRD via `$prd-template`.
29
- 2. Tech review from Tech Lead.
30
- 3. Existing codebase / architecture docs.
31
- 4. Historical velocity data.
32
-
33
- ### Related Skills
34
-
35
- | Skill | What we take | When to call |
36
- |-------|-------------|--------------|
37
- | `prd-template` | Epic scope | Parent |
38
- | `user-story` | Story-level granularity | After breakdown |
39
- | `acceptance-criteria` | Done criteria | Per story |
40
- | `wsjf-scoring` | Epic-level priority | Before breakdown |
41
-
42
- ## Structure
43
-
44
- ```
45
- Epic (1-2 quarters scale)
46
- ├── Story 1 (1-8 points, in-sprint)
47
- ├── Story 2
48
- ├── Story 3
49
- └── Story N
50
-
51
- + Technical Tasks (non-user-facing, e.g. infra)
52
- + Spikes (research / POC)
53
- ```
54
-
55
- Sizing:
56
- - **Epic:** weeks to months (>13 points equivalent)
57
- - **Story:** 1-8 points (fits in sprint)
58
- - **Task:** < 1 day
59
- - **Spike:** time-boxed research (usually 1-3 days)
60
-
61
- ## Protocol
62
-
63
- ### Step 0 — Epic Clarity
64
-
65
- - [ ] Epic outcome defined (what does "done" look like)?
66
- - [ ] Success metrics attached?
67
- - [ ] Scope explicit (in + out)?
68
-
69
- If not — return to PRD.
70
-
71
- ### Step 1 Vertical Slicing
72
-
73
- **Vertical slices** (user-facing, deliver value incrementally) **>** horizontal (layers: DB → backend → frontend → UI).
74
-
75
- Each story — a thin vertical slice, from UI to storage.
76
-
77
- Example for "Team Role Templates" epic:
78
- - Horizontal: Story 1 "DB schema", Story 2 "Backend API", Story 3 "Frontend" (nothing ships until all done)
79
- - ✅ Vertical: Story 1 "Create template (basic fields)", Story 2 "Edit template", Story 3 "Delete template", Story 4 "Assign template to new member"
80
-
81
- ### Step 2 Splitting Techniques
82
-
83
- If a story is too big:
84
- - **Workflow steps:** multi-step flow → story per step
85
- - **Data variations:** user type / region / locale
86
- - **Alternate paths:** happy path story + error cases story
87
- - **Acceptance criteria:** pull one AC out as a separate story
88
- - **Roles:** end-user story + admin story (separate)
89
- - **Simple/Complex:** basic version + advanced options
90
-
91
- ### Step 3 — Add Technical Tasks
92
-
93
- **Pure technical work** without user-visible value:
94
- - Infrastructure setup
95
- - DB migrations (if no user-facing story covers it)
96
- - Observability instrumentation
97
- - Tests / fixtures
98
-
99
- Keep separate from stories do not inflate user stories.
100
-
101
- ### Step 4 Identify Spikes
102
-
103
- If high uncertainty spike (time-boxed research):
104
- - Architecture decision (new tech evaluation)
105
- - Performance problem exploration
106
- - Integration feasibility check
107
-
108
- Output: ADR (architecture decision record) or POC code, not a shipping feature.
109
-
110
- ### Step 5 Dependency Mapping
111
-
112
- For each story — **depends on** / **enables**:
113
-
114
- | Story | Depends On | Enables | Can parallelize with |
115
- |-------|------------|---------|----------------------|
116
- | S1: Template CRUD | | S2, S4 | S5 (auth) |
117
- | S2: Permissions config | S1 | S3 | S5 |
118
- | S3: Assign to members | S1, S2 | | |
119
-
120
- ### Step 6 — Critical Path
121
-
122
- Identify critical path — longest sequence of dependent stories.
123
-
124
- ```
125
- S1 S2 S3 = critical path
126
- S5 (auth) parallel
127
- S4 (migration) parallel
128
- ```
129
-
130
- Length of critical path = minimum elapsed time for epic.
131
-
132
- ### Step 7 Sizing per Story
133
-
134
- T-shirt / Story Points:
135
- - **XS/1:** < 1 day
136
- - **S/2:** 1-2 days
137
- - **M/3:** 2-4 days
138
- - **L/5-8:** 1+ week
139
- - **XL/13+:** SPLIT (too big for sprint)
140
-
141
- Ensure no XL remains after breakdown.
142
-
143
- ### Step 8 — Team Role Assignment
144
-
145
- Per story who's involved?
146
- - Frontend + Backend + DB (full-stack slice)
147
- - Design needed?
148
- - Data / analytics involvement?
149
- - Security review needed?
150
- - QA time?
151
-
152
- ### Step 9 — Sprint Planning Input
153
-
154
- Output: epic breakdown doc:
155
- - Epic summary + success criteria
156
- - Stories list with size + dependencies
157
- - Critical path visualization
158
- - Technical tasks
159
- - Spikes
160
- - Estimated total effort
161
- - Timeline estimate
162
-
163
- ### Step 10 Validation Checkpoint
164
-
165
- Team review (PM + Eng Lead + Design):
166
- - Missing stories?
167
- - Mis-sized?
168
- - Dependencies correct?
169
- - Parallelizable work maximized?
170
-
171
- ## Validation (Quality Gate)
172
-
173
- - [ ] Epic outcome + success metrics explicit
174
- - [ ] Stories vertical slices (each delivers value)
175
- - [ ] No XL stories (all split to ≤ 8 pts)
176
- - [ ] Technical tasks separated from stories
177
- - [ ] Spikes time-boxed
178
- - [ ] Dependencies mapped
179
- - [ ] Critical path identified
180
- - [ ] Parallelizable work explicit
181
- - [ ] Team capacity check (total effort vs capacity)
182
- - [ ] Stakeholder review passed
183
-
184
- ## Handoff
185
-
186
- The result is the input for:
187
- - **Sprint Planning** — stories → sprints
188
- - **`user-story`** + **`acceptance-criteria`** for each story
189
- - **Tech Lead** technical tasks ownership
190
- - **PM** roadmap timeline refinement
191
-
192
- Format: epic breakdown doc (markdown + dependency graph). Via `$handoff`.
193
-
194
- ## Anti-patterns
195
-
196
- | Error | Why it's bad | How to do it right |
197
- |-------|-------------|-------------------|
198
- | Horizontal slicing | Nothing ships until layers done | Vertical thin slices |
199
- | XL stories | Does not fit in sprint | Split using techniques |
200
- | No spike for unknowns | Mis-estimated stories | Time-boxed spike |
201
- | Technical tasks inflate stories | Mis-sized | Separate track |
202
- | Ignore dependencies | Parallel work blocked | Explicit DAG |
203
- | Skip validation review | Missing stories discovered mid-sprint | Team review pre-kickoff |
204
-
205
- ## Template
206
-
207
- ```markdown
208
- # Epic Breakdown: [Epic Name]
209
-
210
- ## Epic Summary
211
- - Outcome: [what done looks like]
212
- - Success metric: [X from baseline to target]
213
- - Scope: [in scope]
214
- - Out of scope: [explicit]
215
-
216
- ## Stories (vertical slices)
217
-
218
- | # | Story | Size | Depends on | Enables | Roles |
219
- |---|-------|:----:|------------|---------|-------|
220
- | S1 | [...] | M | — | S2, S3 | FE+BE+Design |
221
- | S2 | [...] | S | S1 | S3 | BE |
222
-
223
- ## Technical Tasks
224
- - T1: DB migration for [X] — 1 day
225
- - T2: Observability instrumentation — 0.5 day
226
-
227
- ## Spikes
228
- - SP1: Evaluate Redis vs Memcached caching — 2 days time-box
229
-
230
- ## Critical Path
231
- S1 S2 → S3 (total: ~2 weeks)
232
- Parallel: T1 (DB migration), S5 (auth integration)
233
-
234
- ## Capacity Summary
235
- - Total estimate: N person-weeks
236
- - Team: M people × Y weeks = Available
237
- - Buffer: ~20%
238
-
239
- ## Open Questions
240
- - [Q, owner]
241
- ```
242
-
243
- ## Worked Example TeamFlow Epic Breakdown: AI Summarization
244
-
245
- **Context:** After WSJF the team decided to decompose Epic 3 "AI Summarization Core" (WSJF 1.77 — low due to job size). The decomposition cycle below turns the monolithic epic into vertical slices + technical tasks + spikes.
246
-
247
- ```markdown
248
- # Epic Breakdown: AI Summarization Core
249
-
250
- ## Epic Summary
251
- - **Outcome:** Managers using TeamFlow AI summarization weekly — Sticky Manager Ratio ≥20% by Day 90 post-launch
252
- - **Success metric:** 65% adoption in AI-tier accounts, action items completion 60→75%
253
- - **Scope:** Post-meeting AI summarization MVP (NOT real-time, NOT prep card — those are Q3)
254
- - **Out of scope:** Real-time transcription, multi-meeting intelligence, external meeting integration
255
-
256
- ## Stories (vertical slices — each delivers value end-to-end)
257
-
258
- | # | Story | Size | Depends on | Enables | Roles |
259
- |---|-------|:----:|------------|---------|-------|
260
- | S1 | Enable AI Summarization toggle per-meeting | S (2) | T1 (feature flag) | S2 | FE + BE |
261
- | S2 | Generate AI summary from meeting recording | L (8) | S1, T2 (LLM API), T3 (audio pipeline) | S3, S4 | BE + AI + Data |
262
- | S3 | Review and edit summary inline | M (5) | S2 | S6 (audit) | FE + Design + BE |
263
- | S4 | Extract action items with confidence scoring | M (5) | S2 | S5 | AI + BE |
264
- | S5 | Surface action items reminders before next 1:1 | S (3) | S4, T4 (notif infra) | — | BE + FE |
265
- | S6 | Admin org-wide AI policy | S (3) | S1 | — | FE + BE |
266
- | S7 | Export AI operations audit log | S (3) | S1, S2, S3, S6 | — | BE |
267
-
268
- **Total story points:** 29. Velocity estimate: 4-5 points/week for AI team (4 eng). Duration: ~6-7 weeks.
269
-
270
- ## Technical Tasks (do not deliver user value alone, but are necessary)
271
-
272
- | # | Task | Effort | Owner | Dependency |
273
- |---|------|:------:|-------|-----------|
274
- | T1 | Feature flag infrastructure (LaunchDarkly setup + wrapper) | 0.5 week | Platform | — (foundation) |
275
- | T2 | LLM API abstraction layer (OpenAI + Anthropic failover) | 1.5 weeks | AI team | SP1 result |
276
- | T3 | Audio ingestion pipeline (browser recording storage) | 1 week | Platform | |
277
- | T4 | Notification scheduling service | 0.5 week | Platform | (can reuse) |
278
- | T5 | Summary data model + schema migration | 0.5 week | Backend | |
279
- | T6 | Observability instrumentation (OTEL events, dashboards) | 0.5 week | SRE + AI | T2 |
280
- | T7 | SOC 2 Type II audit controls documentation | 1 week | Security + Legal | Parallel track |
281
-
282
- **Technical task total:** ~5.5 weeks of parallel work.
283
-
284
- ## Spikes (time-boxed research)
285
-
286
- | # | Spike | Time Box | Owner | Decision Needed |
287
- |---|-------|:--------:|-------|-----------------|
288
- | SP1 | LLM provider benchmark: OpenAI GPT-4 vs Anthropic Claude for HR conversation quality | 1 week | AI Lead | Which primary, which fallback |
289
- | SP2 | Audio pipeline: browser MediaRecorder vs WebRTC vs third-party (Recall.ai) | 1 week | Platform Lead | Build vs buy decision |
290
- | SP3 | Summary data storage: Postgres JSONB vs dedicated document store (for future ML) | 3 days | Data Lead | Schema approach |
291
-
292
- **Spike total:** ~2.5 weeks (parallel with early dev work).
293
-
294
- ## Dependency Graph (DAG)
295
-
296
- ```
297
- Spikes (Week 1):
298
- SP1 (LLM bench) → informs T2
299
- SP2 (Audio) → informs T3
300
- SP3 (Storage) → informs T5
301
-
302
- Technical foundation (Week 1-2, parallel):
303
- T1 (feature flag) ─┐
304
- T3 (audio pipeline) ┼─→ S1 (enable toggle)
305
- T5 (schema)
306
- T7 (SOC 2 docs — parallel, Weeks 1-8)
307
- T2 (LLM API) ──────────┐
308
-
309
- S1 S2 (generate summary) ─┬─→ S3 (edit inline)
310
- │ └─→ S6 (audit export, needs edit events)
311
- └─→ S4 (action items)
312
- └─→ S5 (reminders, needs T4)
313
-
314
- S6 (admin policy) requires S1
315
-
316
- T6 (observability) parallel, picks up as S2 ships
317
-
318
- Critical path: SP1 → T2 → S2 = 3.5 weeks sequential
319
- (S2 blocks S3, S4, ultimately S5, S6, S7)
320
- ```
321
-
322
- ## Critical Path Analysis
323
-
324
- **Critical path:**
325
- ```
326
- Week 1: Spikes (SP1 LLM bench) + T1 (feature flag) + T3 (audio pipeline) + T5 (schema) + SOC 2 parallel
327
- Week 2-3: T2 (LLM API abstraction) — blocked by SP1
328
- Week 3: S1 (enable toggle) — unblocked after T1
329
- Week 3-6: S2 (generate summary) the big one, 8 points at 2 points/week AI team
330
- Week 6-7: S3 (edit inline) + S4 (action items) parallel — both depend on S2
331
- Week 7-8: S5 (reminders), S6 (admin policy), S7 (audit export) all S-sized
332
- Week 8-10: Integration testing, beta, iteration
333
- Week 11-13: Limited GAFull GA
334
- ```
335
-
336
- **Compressed timeline:** 13 weeks for MVP (matches Q2 target).
337
-
338
- ## Parallelizable Work
339
-
340
- - Platform tasks (T1, T3, T4, T5) — independent, start simultaneously in Week 1
341
- - SOC 2 audit (T7) parallel track entire quarter
342
- - Design work for S3 inline editor parallel with S2 development
343
- - Data instrumentation (T6) — parallel with S2
344
-
345
- ## Team Role Assignment
346
-
347
- | Workstream | Team | Week 1-3 | Week 4-6 | Week 7-10 | Week 11-13 |
348
- |------------|------|----------|----------|-----------|------------|
349
- | AI/Backend | AI team (2 eng) | SP1, T2 | S2 core | S4, iterate | Beta fixes |
350
- | Backend | Platform (2 eng) | T1, T3, T4, T5, SP2 | S1 + support S2 | S5, S6, S7 | GA rollout |
351
- | Frontend | FE team (2 eng) | Designs review | S1 UI | S3, S5 UI | Iteration |
352
- | Design | Design (1) | Flow + wireframes | Hi-fi mocks for S3 | Edge cases | Polish |
353
- | Data | Data Lead | SP3 | Event schema | T6 instrumentation | Dashboards |
354
- | Security | Security Lead | T7 docs | T7 audit prep | T7 audit | Attestation |
355
- | PM/Design | PM + Design | Kickoff + AC | Beta prep | Beta running | GA planning |
356
-
357
- ## Sprint Plan (2-week sprints)
358
-
359
- **Sprint 1 (Weeks 1-2): Foundation**
360
- - Complete: SP1, SP2, SP3, T1, T3, T5
361
- - In progress: T2, T7
362
-
363
- **Sprint 2 (Weeks 3-4): First Feature**
364
- - Complete: T2, S1
365
- - In progress: S2
366
-
367
- **Sprint 3 (Weeks 5-6): Core AI**
368
- - Complete: S2
369
- - In progress: S3, S4
370
-
371
- **Sprint 4 (Weeks 7-8): Expand + Polish**
372
- - Complete: S3, S4, S5, S6
373
- - In progress: S7, T6, beta prep
374
-
375
- **Sprint 5 (Weeks 9-10): Beta + Iteration**
376
- - Beta live with 10 design partners
377
- - Iteration based on feedback
378
-
379
- **Sprint 6 (Weeks 11-12): Limited GA**
380
- - 25% of AI-tier customers
381
- - Monitor guardrails
382
-
383
- **Sprint 7 (Week 13): Full GA**
384
- - 100% AI-tier
385
- - Launch marketing
386
-
387
- ## Capacity Summary
388
-
389
- - **Team:** 8 engineers (AI team 2, Platform 2, FE 2, plus Design 1, Data 1) + 3 PM + Security
390
- - **Total person-weeks:** ~14 people × 13 weeks = 182 weeks
391
- - **Epic 3 allocation:** ~70 person-weeks (AI team fully, others partially) = 38% of team capacity
392
- - **Other Q2 epics in parallel:** Epic 1 (SSO), Epic 4 (Dashboard), T7 (SOC 2) — share remaining 60%
393
- - **Buffer:** ~20% of each engineer's time for incidents, oncall, emergent
394
-
395
- ## Validation Checkpoint (Week 6 — Pre-beta)
396
-
397
- **Before beta launch, team review:**
398
- - [ ] S2 quality threshold met (≥70% summary acceptance via internal dogfood)
399
- - [ ] P95 latency <60s for test meetings
400
- - [ ] Privacy audit passed (internal counsel review)
401
- - [ ] T2 failover tested (forced OpenAI outage → Anthropic switches in <10s)
402
- - [ ] 5 dogfood cases include edge scenarios (short meeting, long meeting, sensitive content)
403
-
404
- If any item fails extend Sprint 3-4 before beta (do not launch broken).
405
-
406
- ## Open Questions
407
-
408
- 1. SP1 benchmark which LLM primary? (Owner: AI Lead, by Week 2)
409
- 2. SP2 audio pipeline — browser-native sufficient or need Recall.ai? (Owner: Platform Lead, by Week 2)
410
- 3. BYOK encryption for Enterprisedesign? (Owner: Security Lead, by Week 4)
411
- 4. Beta customer selection finalized? (Owner: CS Lead, by Week 6)
412
- 5. Pricing for AI Tier confirmed +$8/seat? (Owner: VP Sales, by Week 3 — blocks tier launch)
413
- ```
414
-
415
- > **Epic-breakdown lesson:** Original Epic 3 was **WSJF 1.77 (near-reject)** because job size was 13. After decomposition:
416
- > - S2 (generate summary) alone = WSJF 4+ (high UBV, medium size)
417
- > - S5 reminders = WSJF 5+ (quick-win quality)
418
- > - T7 SOC 2 = WSJF 3+ (blocking compliance)
419
- >
420
- > Decomposed epic **fits budget** (70 pm in 182-pm quarter) with parallel workstreams. Without breakdown, monolithic 13-point WSJF would have suggested defer — missed opportunity. **Breakdown is a prioritization tool, not just a planning tool.**
1
+ ---
2
+ name: epic-breakdown
3
+ description: Epic decomposition into stories with dependencies, size estimates (S/M/L/XL), critical path
4
+ type: triggered
5
+ domain: product
6
+ owners:
7
+ - pm
8
+ gates:
9
+ - PM
10
+ tech: []
11
+ topic: []
12
+ triggers:
13
+ - epic-breakdown
14
+ - epic breakdown
15
+ - декомпозиция эпика
16
+ related: []
17
+ budget_lines: 435
18
+ schema_version: 1
19
+ ---
20
+ # Epic Breakdown
21
+
22
+ > **Category:** Specification · **Slug:** `epic-breakdown`
23
+
24
+ ## When to Use
25
+
26
+ - After epic approval (via RICE / WSJF) — before sprint planning.
27
+ - When estimating capacity for roadmap planning.
28
+ - For identifying critical path and parallelizable work.
29
+ - Pre-kickoff: the team needs to know the decomposition.
30
+
31
+ ## Input
32
+
33
+ | Field | Required | Description |
34
+ |-------|:--------:|-------------|
35
+ | Epic spec (from PRD) | | Scope + success criteria |
36
+ | Existing architecture | ✅ | What already exists |
37
+ | Team composition | | Senior/mid/junior, roles |
38
+ | Dependencies / integrations | | External systems |
39
+ | Constraints | | Deadlines, compliance |
40
+
41
+ ## Data Sources
42
+
43
+ 1. PRD via `$prd-template`.
44
+ 2. Tech review from Tech Lead.
45
+ 3. Existing codebase / architecture docs.
46
+ 4. Historical velocity data.
47
+
48
+ ### Related Skills
49
+
50
+ | Skill | What we take | When to call |
51
+ |-------|-------------|--------------|
52
+ | `prd-template` | Epic scope | Parent |
53
+ | `user-story` | Story-level granularity | After breakdown |
54
+ | `acceptance-criteria` | Done criteria | Per story |
55
+ | `wsjf-scoring` | Epic-level priority | Before breakdown |
56
+
57
+ ## Structure
58
+
59
+ ```
60
+ Epic (1-2 quarters scale)
61
+ ├── Story 1 (1-8 points, in-sprint)
62
+ ├── Story 2
63
+ ├── Story 3
64
+ └── Story N
65
+
66
+ + Technical Tasks (non-user-facing, e.g. infra)
67
+ + Spikes (research / POC)
68
+ ```
69
+
70
+ Sizing:
71
+ - **Epic:** weeks to months (>13 points equivalent)
72
+ - **Story:** 1-8 points (fits in sprint)
73
+ - **Task:** < 1 day
74
+ - **Spike:** time-boxed research (usually 1-3 days)
75
+
76
+ ## Protocol
77
+
78
+ ### Step 0 Epic Clarity
79
+
80
+ - [ ] Epic outcome defined (what does "done" look like)?
81
+ - [ ] Success metrics attached?
82
+ - [ ] Scope explicit (in + out)?
83
+
84
+ If not return to PRD.
85
+
86
+ ### Step 1 Vertical Slicing
87
+
88
+ **Vertical slices** (user-facing, deliver value incrementally) **>** horizontal (layers: DB → backend → frontend → UI).
89
+
90
+ Each story — a thin vertical slice, from UI to storage.
91
+
92
+ Example for "Team Role Templates" epic:
93
+ - Horizontal: Story 1 "DB schema", Story 2 "Backend API", Story 3 "Frontend" (nothing ships until all done)
94
+ - Vertical: Story 1 "Create template (basic fields)", Story 2 "Edit template", Story 3 "Delete template", Story 4 "Assign template to new member"
95
+
96
+ ### Step 2 — Splitting Techniques
97
+
98
+ If a story is too big:
99
+ - **Workflow steps:** multi-step flow story per step
100
+ - **Data variations:** user type / region / locale
101
+ - **Alternate paths:** happy path story + error cases story
102
+ - **Acceptance criteria:** pull one AC out as a separate story
103
+ - **Roles:** end-user story + admin story (separate)
104
+ - **Simple/Complex:** basic version + advanced options
105
+
106
+ ### Step 3 — Add Technical Tasks
107
+
108
+ **Pure technical work** without user-visible value:
109
+ - Infrastructure setup
110
+ - DB migrations (if no user-facing story covers it)
111
+ - Observability instrumentation
112
+ - Tests / fixtures
113
+
114
+ Keep separate from stories do not inflate user stories.
115
+
116
+ ### Step 4Identify Spikes
117
+
118
+ If high uncertaintyspike (time-boxed research):
119
+ - Architecture decision (new tech evaluation)
120
+ - Performance problem exploration
121
+ - Integration feasibility check
122
+
123
+ Output: ADR (architecture decision record) or POC code, not a shipping feature.
124
+
125
+ ### Step 5 Dependency Mapping
126
+
127
+ For each story — **depends on** / **enables**:
128
+
129
+ | Story | Depends On | Enables | Can parallelize with |
130
+ |-------|------------|---------|----------------------|
131
+ | S1: Template CRUD | — | S2, S4 | S5 (auth) |
132
+ | S2: Permissions config | S1 | S3 | S5 |
133
+ | S3: Assign to members | S1, S2 | — | — |
134
+
135
+ ### Step 6 Critical Path
136
+
137
+ Identify critical path — longest sequence of dependent stories.
138
+
139
+ ```
140
+ S1 → S2 → S3 = critical path
141
+ S5 (auth) parallel
142
+ S4 (migration) parallel
143
+ ```
144
+
145
+ Length of critical path = minimum elapsed time for epic.
146
+
147
+ ### Step 7 — Sizing per Story
148
+
149
+ T-shirt / Story Points:
150
+ - **XS/1:** < 1 day
151
+ - **S/2:** 1-2 days
152
+ - **M/3:** 2-4 days
153
+ - **L/5-8:** 1+ week
154
+ - **XL/13+:** SPLIT (too big for sprint)
155
+
156
+ Ensure no XL remains after breakdown.
157
+
158
+ ### Step 8 — Team Role Assignment
159
+
160
+ Per story who's involved?
161
+ - Frontend + Backend + DB (full-stack slice)
162
+ - Design needed?
163
+ - Data / analytics involvement?
164
+ - Security review needed?
165
+ - QA time?
166
+
167
+ ### Step 9 — Sprint Planning Input
168
+
169
+ Output: epic breakdown doc:
170
+ - Epic summary + success criteria
171
+ - Stories list with size + dependencies
172
+ - Critical path visualization
173
+ - Technical tasks
174
+ - Spikes
175
+ - Estimated total effort
176
+ - Timeline estimate
177
+
178
+ ### Step 10 Validation Checkpoint
179
+
180
+ Team review (PM + Eng Lead + Design):
181
+ - Missing stories?
182
+ - Mis-sized?
183
+ - Dependencies correct?
184
+ - Parallelizable work maximized?
185
+
186
+ ## Validation (Quality Gate)
187
+
188
+ - [ ] Epic outcome + success metrics explicit
189
+ - [ ] Stories vertical slices (each delivers value)
190
+ - [ ] No XL stories (all split to ≤ 8 pts)
191
+ - [ ] Technical tasks separated from stories
192
+ - [ ] Spikes time-boxed
193
+ - [ ] Dependencies mapped
194
+ - [ ] Critical path identified
195
+ - [ ] Parallelizable work explicit
196
+ - [ ] Team capacity check (total effort vs capacity)
197
+ - [ ] Stakeholder review passed
198
+
199
+ ## Handoff
200
+
201
+ The result is the input for:
202
+ - **Sprint Planning** stories sprints
203
+ - **`user-story`** + **`acceptance-criteria`** for each story
204
+ - **Tech Lead** → technical tasks ownership
205
+ - **PM** → roadmap timeline refinement
206
+
207
+ Format: epic breakdown doc (markdown + dependency graph). Via `$handoff`.
208
+
209
+ ## Anti-patterns
210
+
211
+ | Error | Why it's bad | How to do it right |
212
+ |-------|-------------|-------------------|
213
+ | Horizontal slicing | Nothing ships until layers done | Vertical thin slices |
214
+ | XL stories | Does not fit in sprint | Split using techniques |
215
+ | No spike for unknowns | Mis-estimated stories | Time-boxed spike |
216
+ | Technical tasks inflate stories | Mis-sized | Separate track |
217
+ | Ignore dependencies | Parallel work blocked | Explicit DAG |
218
+ | Skip validation review | Missing stories discovered mid-sprint | Team review pre-kickoff |
219
+
220
+ ## Template
221
+
222
+ ```markdown
223
+ # Epic Breakdown: [Epic Name]
224
+
225
+ ## Epic Summary
226
+ - Outcome: [what done looks like]
227
+ - Success metric: [X from baseline to target]
228
+ - Scope: [in scope]
229
+ - Out of scope: [explicit]
230
+
231
+ ## Stories (vertical slices)
232
+
233
+ | # | Story | Size | Depends on | Enables | Roles |
234
+ |---|-------|:----:|------------|---------|-------|
235
+ | S1 | [...] | M | — | S2, S3 | FE+BE+Design |
236
+ | S2 | [...] | S | S1 | S3 | BE |
237
+
238
+ ## Technical Tasks
239
+ - T1: DB migration for [X] — 1 day
240
+ - T2: Observability instrumentation — 0.5 day
241
+
242
+ ## Spikes
243
+ - SP1: Evaluate Redis vs Memcached caching 2 days time-box
244
+
245
+ ## Critical Path
246
+ S1 → S2 → S3 (total: ~2 weeks)
247
+ Parallel: T1 (DB migration), S5 (auth integration)
248
+
249
+ ## Capacity Summary
250
+ - Total estimate: N person-weeks
251
+ - Team: M people × Y weeks = Available
252
+ - Buffer: ~20%
253
+
254
+ ## Open Questions
255
+ - [Q, owner]
256
+ ```
257
+
258
+ ## Worked Example TeamFlow Epic Breakdown: AI Summarization
259
+
260
+ **Context:** After WSJF the team decided to decompose Epic 3 "AI Summarization Core" (WSJF 1.77 low due to job size). The decomposition cycle below turns the monolithic epic into vertical slices + technical tasks + spikes.
261
+
262
+ ```markdown
263
+ # Epic Breakdown: AI Summarization Core
264
+
265
+ ## Epic Summary
266
+ - **Outcome:** Managers using TeamFlow AI summarization weekly Sticky Manager Ratio ≥20% by Day 90 post-launch
267
+ - **Success metric:** 65% adoption in AI-tier accounts, action items completion 60→75%
268
+ - **Scope:** Post-meeting AI summarization MVP (NOT real-time, NOT prep card those are Q3)
269
+ - **Out of scope:** Real-time transcription, multi-meeting intelligence, external meeting integration
270
+
271
+ ## Stories (vertical slices — each delivers value end-to-end)
272
+
273
+ | # | Story | Size | Depends on | Enables | Roles |
274
+ |---|-------|:----:|------------|---------|-------|
275
+ | S1 | Enable AI Summarization toggle per-meeting | S (2) | T1 (feature flag) | S2 | FE + BE |
276
+ | S2 | Generate AI summary from meeting recording | L (8) | S1, T2 (LLM API), T3 (audio pipeline) | S3, S4 | BE + AI + Data |
277
+ | S3 | Review and edit summary inline | M (5) | S2 | S6 (audit) | FE + Design + BE |
278
+ | S4 | Extract action items with confidence scoring | M (5) | S2 | S5 | AI + BE |
279
+ | S5 | Surface action items reminders before next 1:1 | S (3) | S4, T4 (notif infra) | | BE + FE |
280
+ | S6 | Admin org-wide AI policy | S (3) | S1 | | FE + BE |
281
+ | S7 | Export AI operations audit log | S (3) | S1, S2, S3, S6 | — | BE |
282
+
283
+ **Total story points:** 29. Velocity estimate: 4-5 points/week for AI team (4 eng). Duration: ~6-7 weeks.
284
+
285
+ ## Technical Tasks (do not deliver user value alone, but are necessary)
286
+
287
+ | # | Task | Effort | Owner | Dependency |
288
+ |---|------|:------:|-------|-----------|
289
+ | T1 | Feature flag infrastructure (LaunchDarkly setup + wrapper) | 0.5 week | Platform | (foundation) |
290
+ | T2 | LLM API abstraction layer (OpenAI + Anthropic failover) | 1.5 weeks | AI team | SP1 result |
291
+ | T3 | Audio ingestion pipeline (browser recording → storage) | 1 week | Platform | — |
292
+ | T4 | Notification scheduling service | 0.5 week | Platform | (can reuse) |
293
+ | T5 | Summary data model + schema migration | 0.5 week | Backend | — |
294
+ | T6 | Observability instrumentation (OTEL events, dashboards) | 0.5 week | SRE + AI | T2 |
295
+ | T7 | SOC 2 Type II audit controls documentation | 1 week | Security + Legal | Parallel track |
296
+
297
+ **Technical task total:** ~5.5 weeks of parallel work.
298
+
299
+ ## Spikes (time-boxed research)
300
+
301
+ | # | Spike | Time Box | Owner | Decision Needed |
302
+ |---|-------|:--------:|-------|-----------------|
303
+ | SP1 | LLM provider benchmark: OpenAI GPT-4 vs Anthropic Claude for HR conversation quality | 1 week | AI Lead | Which primary, which fallback |
304
+ | SP2 | Audio pipeline: browser MediaRecorder vs WebRTC vs third-party (Recall.ai) | 1 week | Platform Lead | Build vs buy decision |
305
+ | SP3 | Summary data storage: Postgres JSONB vs dedicated document store (for future ML) | 3 days | Data Lead | Schema approach |
306
+
307
+ **Spike total:** ~2.5 weeks (parallel with early dev work).
308
+
309
+ ## Dependency Graph (DAG)
310
+
311
+ ```
312
+ Spikes (Week 1):
313
+ SP1 (LLM bench) → informs T2
314
+ SP2 (Audio) informs T3
315
+ SP3 (Storage) → informs T5
316
+
317
+ Technical foundation (Week 1-2, parallel):
318
+ T1 (feature flag) ─┐
319
+ T3 (audio pipeline) ┼─→ S1 (enable toggle)
320
+ T5 (schema) │
321
+ T7 (SOC 2 docs — parallel, Weeks 1-8)
322
+ T2 (LLM API) ──────────┐
323
+
324
+ S1 → S2 (generate summary) ─┬─→ S3 (edit inline)
325
+ │ └─→ S6 (audit export, needs edit events)
326
+ └─→ S4 (action items)
327
+ └─→ S5 (reminders, needs T4)
328
+
329
+ S6 (admin policy) requires S1
330
+
331
+ T6 (observability) parallel, picks up as S2 ships
332
+
333
+ Critical path: SP1 T2 S2 = 3.5 weeks sequential
334
+ (S2 blocks S3, S4, ultimately S5, S6, S7)
335
+ ```
336
+
337
+ ## Critical Path Analysis
338
+
339
+ **Critical path:**
340
+ ```
341
+ Week 1: Spikes (SP1 LLM bench) + T1 (feature flag) + T3 (audio pipeline) + T5 (schema) + SOC 2 parallel
342
+ Week 2-3: T2 (LLM API abstraction)blocked by SP1
343
+ Week 3: S1 (enable toggle) — unblocked after T1
344
+ Week 3-6: S2 (generate summary) — the big one, 8 points at 2 points/week AI team
345
+ Week 6-7: S3 (edit inline) + S4 (action items) parallel — both depend on S2
346
+ Week 7-8: S5 (reminders), S6 (admin policy), S7 (audit export) — all S-sized
347
+ Week 8-10: Integration testing, beta, iteration
348
+ Week 11-13: Limited GA → Full GA
349
+ ```
350
+
351
+ **Compressed timeline:** 13 weeks for MVP (matches Q2 target).
352
+
353
+ ## Parallelizable Work
354
+
355
+ - Platform tasks (T1, T3, T4, T5) independent, start simultaneously in Week 1
356
+ - SOC 2 audit (T7) — parallel track entire quarter
357
+ - Design work for S3 inline editor — parallel with S2 development
358
+ - Data instrumentation (T6) — parallel with S2
359
+
360
+ ## Team Role Assignment
361
+
362
+ | Workstream | Team | Week 1-3 | Week 4-6 | Week 7-10 | Week 11-13 |
363
+ |------------|------|----------|----------|-----------|------------|
364
+ | AI/Backend | AI team (2 eng) | SP1, T2 | S2 core | S4, iterate | Beta fixes |
365
+ | Backend | Platform (2 eng) | T1, T3, T4, T5, SP2 | S1 + support S2 | S5, S6, S7 | GA rollout |
366
+ | Frontend | FE team (2 eng) | Designs review | S1 UI | S3, S5 UI | Iteration |
367
+ | Design | Design (1) | Flow + wireframes | Hi-fi mocks for S3 | Edge cases | Polish |
368
+ | Data | Data Lead | SP3 | Event schema | T6 instrumentation | Dashboards |
369
+ | Security | Security Lead | T7 docs | T7 audit prep | T7 audit | Attestation |
370
+ | PM/Design | PM + Design | Kickoff + AC | Beta prep | Beta running | GA planning |
371
+
372
+ ## Sprint Plan (2-week sprints)
373
+
374
+ **Sprint 1 (Weeks 1-2): Foundation**
375
+ - Complete: SP1, SP2, SP3, T1, T3, T5
376
+ - In progress: T2, T7
377
+
378
+ **Sprint 2 (Weeks 3-4): First Feature**
379
+ - Complete: T2, S1
380
+ - In progress: S2
381
+
382
+ **Sprint 3 (Weeks 5-6): Core AI**
383
+ - Complete: S2
384
+ - In progress: S3, S4
385
+
386
+ **Sprint 4 (Weeks 7-8): Expand + Polish**
387
+ - Complete: S3, S4, S5, S6
388
+ - In progress: S7, T6, beta prep
389
+
390
+ **Sprint 5 (Weeks 9-10): Beta + Iteration**
391
+ - Beta live with 10 design partners
392
+ - Iteration based on feedback
393
+
394
+ **Sprint 6 (Weeks 11-12): Limited GA**
395
+ - 25% of AI-tier customers
396
+ - Monitor guardrails
397
+
398
+ **Sprint 7 (Week 13): Full GA**
399
+ - 100% AI-tier
400
+ - Launch marketing
401
+
402
+ ## Capacity Summary
403
+
404
+ - **Team:** 8 engineers (AI team 2, Platform 2, FE 2, plus Design 1, Data 1) + 3 PM + Security
405
+ - **Total person-weeks:** ~14 people × 13 weeks = 182 weeks
406
+ - **Epic 3 allocation:** ~70 person-weeks (AI team fully, others partially) = 38% of team capacity
407
+ - **Other Q2 epics in parallel:** Epic 1 (SSO), Epic 4 (Dashboard), T7 (SOC 2) — share remaining 60%
408
+ - **Buffer:** ~20% of each engineer's time for incidents, oncall, emergent
409
+
410
+ ## Validation Checkpoint (Week 6Pre-beta)
411
+
412
+ **Before beta launch, team review:**
413
+ - [ ] S2 quality threshold met (≥70% summary acceptance via internal dogfood)
414
+ - [ ] P95 latency <60s for test meetings
415
+ - [ ] Privacy audit passed (internal counsel review)
416
+ - [ ] T2 failover tested (forced OpenAI outage Anthropic switches in <10s)
417
+ - [ ] 5 dogfood cases include edge scenarios (short meeting, long meeting, sensitive content)
418
+
419
+ If any item fails → extend Sprint 3-4 before beta (do not launch broken).
420
+
421
+ ## Open Questions
422
+
423
+ 1. SP1 benchmark — which LLM primary? (Owner: AI Lead, by Week 2)
424
+ 2. SP2 audio pipeline — browser-native sufficient or need Recall.ai? (Owner: Platform Lead, by Week 2)
425
+ 3. BYOK encryption for Enterprise — design? (Owner: Security Lead, by Week 4)
426
+ 4. Beta customer selection finalized? (Owner: CS Lead, by Week 6)
427
+ 5. Pricing for AI Tier confirmed +$8/seat? (Owner: VP Sales, by Week 3 — blocks tier launch)
428
+ ```
429
+
430
+ > **Epic-breakdown lesson:** Original Epic 3 was **WSJF 1.77 (near-reject)** because job size was 13. After decomposition:
431
+ > - S2 (generate summary) alone = WSJF 4+ (high UBV, medium size)
432
+ > - S5 reminders = WSJF 5+ (quick-win quality)
433
+ > - T7 SOC 2 = WSJF 3+ (blocking compliance)
434
+ >
435
+ > Decomposed epic **fits budget** (70 pm in 182-pm quarter) with parallel workstreams. Without breakdown, monolithic 13-point WSJF would have suggested defer — missed opportunity. **Breakdown is a prioritization tool, not just a planning tool.**