maestro-flow 0.4.10 → 0.4.12

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 (354) hide show
  1. package/.agents/agents/cli-explore-agent.md +187 -0
  2. package/.agents/agents/cross-role-reviewer.md +173 -0
  3. package/.agents/agents/impeccable-agent.md +101 -0
  4. package/.agents/agents/role-design-author.md +218 -0
  5. package/.agents/agents/team-supervisor.md +145 -0
  6. package/.agents/agents/team-worker.md +239 -0
  7. package/.agents/agents/ui-design-agent.md +272 -0
  8. package/.agents/agents/workflow-analyzer.md +117 -0
  9. package/.agents/agents/workflow-codebase-mapper.md +79 -0
  10. package/.agents/agents/workflow-collab-planner.md +145 -0
  11. package/.agents/agents/workflow-debugger.md +105 -0
  12. package/.agents/agents/workflow-executor.md +134 -0
  13. package/.agents/agents/workflow-external-researcher.md +88 -0
  14. package/.agents/agents/workflow-integration-checker.md +85 -0
  15. package/.agents/agents/workflow-nyquist-auditor.md +87 -0
  16. package/.agents/agents/workflow-phase-researcher.md +87 -0
  17. package/.agents/agents/workflow-plan-checker.md +92 -0
  18. package/.agents/agents/workflow-planner.md +197 -0
  19. package/.agents/agents/workflow-project-researcher.md +76 -0
  20. package/.agents/agents/workflow-research-synthesizer.md +72 -0
  21. package/.agents/agents/workflow-reviewer.md +84 -0
  22. package/.agents/agents/workflow-roadmapper.md +83 -0
  23. package/.agents/agents/workflow-verifier.md +122 -0
  24. package/.agents/skills/codify-to-knowhow/SKILL.md +169 -0
  25. package/.agents/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
  26. package/.agents/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
  27. package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
  28. package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
  29. package/.agents/skills/learn-decompose/SKILL.md +118 -0
  30. package/.agents/skills/learn-follow/SKILL.md +129 -0
  31. package/.agents/skills/learn-investigate/SKILL.md +154 -0
  32. package/.agents/skills/learn-retro/SKILL.md +159 -0
  33. package/.agents/skills/learn-second-opinion/SKILL.md +124 -0
  34. package/.agents/skills/maestro/SKILL.md +258 -0
  35. package/.agents/skills/maestro-amend/SKILL.md +165 -0
  36. package/.agents/skills/maestro-analyze/SKILL.md +161 -0
  37. package/.agents/skills/maestro-blueprint/SKILL.md +132 -0
  38. package/.agents/skills/maestro-brainstorm/SKILL.md +134 -0
  39. package/.agents/skills/maestro-collab/SKILL.md +174 -0
  40. package/.agents/skills/maestro-composer/SKILL.md +181 -0
  41. package/.agents/skills/maestro-execute/SKILL.md +133 -0
  42. package/.agents/skills/maestro-fork/SKILL.md +88 -0
  43. package/.agents/skills/maestro-guard/SKILL.md +103 -0
  44. package/.agents/skills/maestro-help/SKILL.md +300 -0
  45. package/.agents/skills/maestro-help/index/catalog.json +202 -0
  46. package/.agents/skills/maestro-help/phases/01-parse-intent.md +122 -0
  47. package/.agents/skills/maestro-help/phases/02-search-present.md +183 -0
  48. package/.agents/skills/maestro-help/phases/03-workflow-guide.md +213 -0
  49. package/.agents/skills/maestro-impeccable/SKILL.md +251 -0
  50. package/.agents/skills/maestro-init/SKILL.md +80 -0
  51. package/.agents/skills/maestro-learn/SKILL.md +142 -0
  52. package/.agents/skills/maestro-merge/SKILL.md +66 -0
  53. package/.agents/skills/maestro-milestone-audit/SKILL.md +72 -0
  54. package/.agents/skills/maestro-milestone-complete/SKILL.md +79 -0
  55. package/.agents/skills/maestro-milestone-release/SKILL.md +98 -0
  56. package/.agents/skills/maestro-overlay/SKILL.md +180 -0
  57. package/.agents/skills/maestro-plan/SKILL.md +182 -0
  58. package/.agents/skills/maestro-player/SKILL.md +177 -0
  59. package/.agents/skills/maestro-quick/SKILL.md +67 -0
  60. package/.agents/skills/maestro-ralph/SKILL.md +756 -0
  61. package/.agents/skills/maestro-ralph-execute/SKILL.md +273 -0
  62. package/.agents/skills/maestro-roadmap/SKILL.md +131 -0
  63. package/.agents/skills/maestro-tools-execute/SKILL.md +119 -0
  64. package/.agents/skills/maestro-tools-register/SKILL.md +159 -0
  65. package/.agents/skills/maestro-ui-codify/SKILL.md +82 -0
  66. package/.agents/skills/maestro-update/SKILL.md +178 -0
  67. package/.agents/skills/maestro-verify/SKILL.md +111 -0
  68. package/.agents/skills/manage-codebase-rebuild/SKILL.md +77 -0
  69. package/.agents/skills/manage-codebase-refresh/SKILL.md +59 -0
  70. package/.agents/skills/manage-harvest/SKILL.md +96 -0
  71. package/.agents/skills/manage-issue/SKILL.md +75 -0
  72. package/.agents/skills/manage-issue-discover/SKILL.md +83 -0
  73. package/.agents/skills/manage-knowhow/SKILL.md +79 -0
  74. package/.agents/skills/manage-knowhow-capture/SKILL.md +81 -0
  75. package/.agents/skills/manage-learn/SKILL.md +67 -0
  76. package/.agents/skills/manage-status/SKILL.md +54 -0
  77. package/.agents/skills/manage-wiki/SKILL.md +64 -0
  78. package/.agents/skills/quality-auto-test/SKILL.md +138 -0
  79. package/.agents/skills/quality-debug/SKILL.md +122 -0
  80. package/.agents/skills/quality-refactor/SKILL.md +69 -0
  81. package/.agents/skills/quality-retrospective/SKILL.md +79 -0
  82. package/.agents/skills/quality-review/SKILL.md +130 -0
  83. package/.agents/skills/quality-sync/SKILL.md +53 -0
  84. package/.agents/skills/quality-test/SKILL.md +119 -0
  85. package/.agents/skills/security-audit/SKILL.md +157 -0
  86. package/.agents/skills/skill-iter-tune/SKILL.md +384 -0
  87. package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -0
  88. package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -0
  89. package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
  90. package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -0
  91. package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -0
  92. package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
  93. package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
  94. package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
  95. package/.agents/skills/spec-add/SKILL.md +70 -0
  96. package/.agents/skills/spec-load/SKILL.md +73 -0
  97. package/.agents/skills/spec-remove/SKILL.md +53 -0
  98. package/.agents/skills/spec-setup/SKILL.md +50 -0
  99. package/.agents/skills/team-coordinate/SKILL.md +268 -0
  100. package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
  101. package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
  102. package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -0
  103. package/.agents/skills/team-coordinate/roles/coordinator/role.md +365 -0
  104. package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
  105. package/.agents/skills/team-coordinate/specs/pipelines.md +97 -0
  106. package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -0
  107. package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -0
  108. package/.agents/skills/team-executor/SKILL.md +191 -0
  109. package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -0
  110. package/.agents/skills/team-executor/roles/executor/role.md +171 -0
  111. package/.agents/skills/team-executor/specs/session-schema.md +264 -0
  112. package/.agents/skills/team-lifecycle-v4/SKILL.md +211 -0
  113. package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +96 -0
  114. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
  115. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
  116. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
  117. package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
  118. package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
  119. package/.agents/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
  120. package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +69 -0
  121. package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +87 -0
  122. package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
  123. package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
  124. package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +71 -0
  125. package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +194 -0
  126. package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +89 -0
  127. package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +97 -0
  128. package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
  129. package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
  130. package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
  131. package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -0
  132. package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -0
  133. package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
  134. package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -0
  135. package/.agents/skills/team-quality-assurance/SKILL.md +149 -0
  136. package/.agents/skills/team-quality-assurance/roles/analyst/role.md +90 -0
  137. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
  138. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
  139. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -0
  140. package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
  141. package/.agents/skills/team-quality-assurance/roles/executor/role.md +68 -0
  142. package/.agents/skills/team-quality-assurance/roles/generator/role.md +70 -0
  143. package/.agents/skills/team-quality-assurance/roles/scout/role.md +77 -0
  144. package/.agents/skills/team-quality-assurance/roles/strategist/role.md +73 -0
  145. package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -0
  146. package/.agents/skills/team-quality-assurance/specs/team-config.json +131 -0
  147. package/.agents/skills/team-review/SKILL.md +149 -0
  148. package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
  149. package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
  150. package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -0
  151. package/.agents/skills/team-review/roles/coordinator/role.md +132 -0
  152. package/.agents/skills/team-review/roles/fixer/role.md +78 -0
  153. package/.agents/skills/team-review/roles/reviewer/role.md +70 -0
  154. package/.agents/skills/team-review/roles/scanner/role.md +81 -0
  155. package/.agents/skills/team-review/specs/dimensions.md +82 -0
  156. package/.agents/skills/team-review/specs/finding-schema.json +82 -0
  157. package/.agents/skills/team-review/specs/pipelines.md +102 -0
  158. package/.agents/skills/team-review/specs/team-config.json +27 -0
  159. package/.agents/skills/team-tech-debt/SKILL.md +130 -0
  160. package/.agents/skills/team-tech-debt/roles/assessor/role.md +79 -0
  161. package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
  162. package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
  163. package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -0
  164. package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -0
  165. package/.agents/skills/team-tech-debt/roles/executor/role.md +78 -0
  166. package/.agents/skills/team-tech-debt/roles/planner/role.md +71 -0
  167. package/.agents/skills/team-tech-debt/roles/scanner/role.md +92 -0
  168. package/.agents/skills/team-tech-debt/roles/validator/role.md +80 -0
  169. package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -0
  170. package/.agents/skills/team-tech-debt/specs/team-config.json +129 -0
  171. package/.agents/skills/team-testing/SKILL.md +145 -0
  172. package/.agents/skills/team-testing/roles/analyst/role.md +105 -0
  173. package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
  174. package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
  175. package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -0
  176. package/.agents/skills/team-testing/roles/coordinator/role.md +134 -0
  177. package/.agents/skills/team-testing/roles/executor/role.md +101 -0
  178. package/.agents/skills/team-testing/roles/generator/role.md +100 -0
  179. package/.agents/skills/team-testing/roles/strategist/role.md +85 -0
  180. package/.agents/skills/team-testing/specs/pipelines.md +101 -0
  181. package/.agents/skills/team-testing/specs/team-config.json +93 -0
  182. package/.agents/skills/wiki-connect/SKILL.md +64 -0
  183. package/.agents/skills/wiki-digest/SKILL.md +70 -0
  184. package/.agents/skills/workflow-skill-designer/SKILL.md +498 -0
  185. package/.agents/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
  186. package/.agents/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
  187. package/.agents/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
  188. package/.agents/skills/workflow-skill-designer/phases/04-validation.md +471 -0
  189. package/.agy/agents/cli-explore-agent.md +1 -3
  190. package/.agy/agents/cross-role-reviewer.md +170 -0
  191. package/.agy/agents/role-design-author.md +215 -0
  192. package/.agy/agents/ui-design-agent.md +1 -18
  193. package/.agy/agents/workflow-analyzer.md +1 -1
  194. package/.agy/agents/workflow-external-researcher.md +1 -1
  195. package/.agy/skills/maestro/SKILL.md +63 -27
  196. package/.agy/skills/maestro-analyze/SKILL.md +30 -4
  197. package/.agy/skills/maestro-blueprint/SKILL.md +132 -0
  198. package/.agy/skills/maestro-brainstorm/SKILL.md +119 -103
  199. package/.agy/skills/maestro-help/SKILL.md +48 -14
  200. package/.agy/skills/maestro-help/index/catalog.json +29 -11
  201. package/.agy/skills/maestro-help/phases/01-parse-intent.md +1 -1
  202. package/.agy/skills/maestro-help/phases/02-search-present.md +6 -4
  203. package/.agy/skills/maestro-help/phases/03-workflow-guide.md +60 -33
  204. package/.agy/skills/maestro-init/SKILL.md +3 -3
  205. package/.agy/skills/maestro-milestone-audit/SKILL.md +5 -3
  206. package/.agy/skills/maestro-milestone-complete/SKILL.md +7 -5
  207. package/.agy/skills/maestro-plan/SKILL.md +14 -4
  208. package/.agy/skills/maestro-ralph/SKILL.md +368 -162
  209. package/.agy/skills/maestro-ralph-execute/SKILL.md +81 -67
  210. package/.agy/skills/maestro-roadmap/SKILL.md +42 -81
  211. package/.agy/skills/quality-auto-test/SKILL.md +1 -1
  212. package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
  213. package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
  214. package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
  215. package/.agy/skills/team-lifecycle-v4/templates/architecture.md +3 -3
  216. package/.agy/skills/team-lifecycle-v4/templates/epics.md +2 -2
  217. package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
  218. package/.agy/skills/team-lifecycle-v4/templates/requirements.md +2 -2
  219. package/.claude/agents/cli-explore-agent.md +1 -3
  220. package/.claude/agents/cross-role-reviewer.md +171 -0
  221. package/.claude/agents/role-design-author.md +216 -0
  222. package/.claude/agents/ui-design-agent.md +1 -18
  223. package/.claude/agents/workflow-analyzer.md +1 -1
  224. package/.claude/agents/workflow-external-researcher.md +1 -1
  225. package/.claude/commands/maestro-analyze.md +30 -4
  226. package/.claude/commands/maestro-blueprint.md +130 -0
  227. package/.claude/commands/maestro-brainstorm.md +132 -116
  228. package/.claude/commands/maestro-init.md +3 -3
  229. package/.claude/commands/maestro-milestone-audit.md +5 -3
  230. package/.claude/commands/maestro-milestone-complete.md +7 -5
  231. package/.claude/commands/maestro-plan.md +14 -4
  232. package/.claude/commands/maestro-ralph-execute.md +81 -67
  233. package/.claude/commands/maestro-ralph.md +368 -162
  234. package/.claude/commands/maestro-roadmap.md +42 -81
  235. package/.claude/commands/maestro.md +63 -27
  236. package/.claude/commands/quality-auto-test.md +1 -1
  237. package/.claude/skills/maestro-help/SKILL.md +48 -14
  238. package/.claude/skills/maestro-help/index/catalog.json +29 -11
  239. package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
  240. package/.claude/skills/maestro-help/phases/02-search-present.md +6 -4
  241. package/.claude/skills/maestro-help/phases/03-workflow-guide.md +60 -33
  242. package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
  243. package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
  244. package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
  245. package/.claude/skills/team-lifecycle-v4/templates/architecture.md +3 -3
  246. package/.claude/skills/team-lifecycle-v4/templates/epics.md +2 -2
  247. package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
  248. package/.claude/skills/team-lifecycle-v4/templates/requirements.md +2 -2
  249. package/.codex/skills/maestro/SKILL.md +84 -41
  250. package/.codex/skills/maestro-amend/SKILL.md +157 -0
  251. package/.codex/skills/maestro-analyze/SKILL.md +71 -23
  252. package/.codex/skills/maestro-blueprint/SKILL.md +122 -0
  253. package/.codex/skills/maestro-brainstorm/SKILL.md +135 -45
  254. package/.codex/skills/maestro-composer/SKILL.md +1 -1
  255. package/.codex/skills/maestro-execute/SKILL.md +13 -4
  256. package/.codex/skills/maestro-help/SKILL.md +28 -18
  257. package/.codex/skills/maestro-help/catalog.json +29 -11
  258. package/.codex/skills/maestro-init/SKILL.md +7 -7
  259. package/.codex/skills/maestro-plan/SKILL.md +27 -9
  260. package/.codex/skills/maestro-ralph/SKILL.md +740 -491
  261. package/.codex/skills/maestro-roadmap/SKILL.md +55 -72
  262. package/.codex/skills/maestro-update/SKILL.md +169 -0
  263. package/.codex/skills/maestro-verify/SKILL.md +11 -2
  264. package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
  265. package/.codex/skills/manage-harvest/SKILL.md +10 -2
  266. package/.codex/skills/quality-retrospective/SKILL.md +9 -2
  267. package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
  268. package/.codex/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
  269. package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
  270. package/.codex/skills/team-lifecycle-v4/templates/architecture.md +3 -3
  271. package/.codex/skills/team-lifecycle-v4/templates/epics.md +2 -2
  272. package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
  273. package/.codex/skills/team-lifecycle-v4/templates/requirements.md +2 -2
  274. package/README.md +8 -8
  275. package/README.zh-CN.md +8 -8
  276. package/dashboard/dist-server/dashboard/src/server/routes/settings.js +3 -3
  277. package/dashboard/dist-server/dashboard/src/server/routes/settings.js.map +1 -1
  278. package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
  279. package/dist/src/agents/cli-agent-runner.js +13 -7
  280. package/dist/src/agents/cli-agent-runner.js.map +1 -1
  281. package/dist/src/commands/install-backend.d.ts +12 -0
  282. package/dist/src/commands/install-backend.d.ts.map +1 -1
  283. package/dist/src/commands/install-backend.js +144 -0
  284. package/dist/src/commands/install-backend.js.map +1 -1
  285. package/dist/src/commands/spec.d.ts.map +1 -1
  286. package/dist/src/commands/spec.js +8 -1
  287. package/dist/src/commands/spec.js.map +1 -1
  288. package/dist/src/core/component-defs.d.ts +6 -0
  289. package/dist/src/core/component-defs.d.ts.map +1 -1
  290. package/dist/src/core/component-defs.js +97 -0
  291. package/dist/src/core/component-defs.js.map +1 -1
  292. package/dist/src/tools/spec-init.d.ts +16 -2
  293. package/dist/src/tools/spec-init.d.ts.map +1 -1
  294. package/dist/src/tools/spec-init.js +58 -187
  295. package/dist/src/tools/spec-init.js.map +1 -1
  296. package/dist/src/tools/spec-loader.d.ts.map +1 -1
  297. package/dist/src/tools/spec-loader.js +16 -16
  298. package/dist/src/tools/spec-loader.js.map +1 -1
  299. package/dist/src/tools/spec-seeds.d.ts +33 -0
  300. package/dist/src/tools/spec-seeds.d.ts.map +1 -0
  301. package/dist/src/tools/spec-seeds.js +200 -0
  302. package/dist/src/tools/spec-seeds.js.map +1 -0
  303. package/dist/src/tools/spec-writer.d.ts.map +1 -1
  304. package/dist/src/tools/spec-writer.js +7 -9
  305. package/dist/src/tools/spec-writer.js.map +1 -1
  306. package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts +11 -0
  307. package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -0
  308. package/dist/src/tui/install-ui/ExtraMcpConfig.js +61 -0
  309. package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -0
  310. package/dist/src/tui/install-ui/InstallConfirm.d.ts +3 -0
  311. package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
  312. package/dist/src/tui/install-ui/InstallConfirm.js +1 -1
  313. package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
  314. package/dist/src/tui/install-ui/InstallExecution.d.ts +2 -0
  315. package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
  316. package/dist/src/tui/install-ui/InstallExecution.js +14 -2
  317. package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
  318. package/dist/src/tui/install-ui/InstallFlow.d.ts +1 -1
  319. package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
  320. package/dist/src/tui/install-ui/InstallFlow.js +16 -3
  321. package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
  322. package/dist/src/tui/install-ui/InstallHub.d.ts +2 -0
  323. package/dist/src/tui/install-ui/InstallHub.d.ts.map +1 -1
  324. package/dist/src/tui/install-ui/InstallHub.js +8 -0
  325. package/dist/src/tui/install-ui/InstallHub.js.map +1 -1
  326. package/dist/src/tui/install-ui/InstallResult.d.ts.map +1 -1
  327. package/dist/src/tui/install-ui/InstallResult.js +3 -1
  328. package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
  329. package/dist/src/utils/update-notices.js +31 -0
  330. package/dist/src/utils/update-notices.js.map +1 -1
  331. package/package.json +5 -2
  332. package/templates/business-test-report.json +1 -1
  333. package/templates/index.json +1 -1
  334. package/templates/roadmap.md +15 -9
  335. package/templates/state.json +18 -17
  336. package/workflows/analyze.md +79 -11
  337. package/workflows/auto-test.md +6 -6
  338. package/workflows/blueprint.md +431 -0
  339. package/workflows/brainstorm.md +603 -496
  340. package/workflows/business-test.md +7 -7
  341. package/workflows/codebase-rebuild.md +4 -4
  342. package/workflows/harvest.md +184 -10
  343. package/workflows/init.md +9 -8
  344. package/workflows/maestro.md +1 -1
  345. package/workflows/milestone-audit.md +12 -4
  346. package/workflows/milestone-complete.md +11 -6
  347. package/workflows/plan.md +88 -22
  348. package/workflows/roadmap-common.md +1 -1
  349. package/workflows/roadmap.md +13 -3
  350. package/workflows/spec-generate.md +24 -13
  351. package/workflows/ui-design.md +2 -2
  352. package/workflows/ui-style.md +1 -1
  353. package/.agy/agents/conceptual-planning-agent.md +0 -244
  354. package/.claude/agents/conceptual-planning-agent.md +0 -245
@@ -0,0 +1,196 @@
1
+ # Epics & Stories Template (Directory Structure)
2
+
3
+ Template for generating epic/story breakdown as a directory of individual Epic files in Phase 5.
4
+
5
+ ## Usage Context
6
+
7
+ | Phase | Usage |
8
+ |-------|-------|
9
+ | Phase 5 (Epics & Stories) | Generate `epics/` directory from requirements decomposition |
10
+ | Output Location | `{workDir}/epics/` |
11
+
12
+ ## Output Structure
13
+
14
+ ```
15
+ {workDir}/epics/
16
+ ├── _index.md # Overview table + dependency map + MVP scope + execution order
17
+ ├── EPIC-001-{slug}.md # Individual Epic with its Stories
18
+ ├── EPIC-002-{slug}.md
19
+ └── ...
20
+ ```
21
+
22
+ ---
23
+
24
+ ## Template: _index.md
25
+
26
+ ```markdown
27
+ ---
28
+ session_id: {session_id}
29
+ phase: 5
30
+ document_type: epics-index
31
+ status: draft
32
+ generated_at: {timestamp}
33
+ version: 1
34
+ dependencies:
35
+ - ../blueprint-config.json
36
+ - ../product-brief.md
37
+ - ../requirements/_index.md
38
+ - ../architecture/_index.md
39
+ ---
40
+
41
+ # Epics & Stories: {product_name}
42
+
43
+ {executive_summary - overview of epic structure and MVP scope}
44
+
45
+ ## Epic Overview
46
+
47
+ | Epic ID | Title | Priority | MVP | Stories | Est. Size |
48
+ |---------|-------|----------|-----|---------|-----------|
49
+ | [EPIC-001](EPIC-001-{slug}.md) | {title} | Must | Yes | {n} | {S/M/L/XL} |
50
+ | [EPIC-002](EPIC-002-{slug}.md) | {title} | Must | Yes | {n} | {S/M/L/XL} |
51
+ | [EPIC-003](EPIC-003-{slug}.md) | {title} | Should | No | {n} | {S/M/L/XL} |
52
+
53
+ ## Dependency Map
54
+
55
+ ```mermaid
56
+ graph LR
57
+ EPIC-001 --> EPIC-002
58
+ EPIC-001 --> EPIC-003
59
+ EPIC-002 --> EPIC-004
60
+ EPIC-003 --> EPIC-005
61
+ ```
62
+
63
+ ### Dependency Notes
64
+ {explanation of why these dependencies exist and suggested execution order}
65
+
66
+ ### Recommended Execution Order
67
+ 1. [EPIC-{NNN}](EPIC-{NNN}-{slug}.md): {reason - foundational}
68
+ 2. [EPIC-{NNN}](EPIC-{NNN}-{slug}.md): {reason - depends on #1}
69
+ 3. ...
70
+
71
+ ## MVP Scope
72
+
73
+ ### MVP Epics
74
+ {list of epics included in MVP with justification, linking to each}
75
+
76
+ ### MVP Definition of Done
77
+ - [ ] {MVP completion criterion 1}
78
+ - [ ] {MVP completion criterion 2}
79
+ - [ ] {MVP completion criterion 3}
80
+
81
+ ## Traceability Matrix
82
+
83
+ | Requirement | Epic | Stories | Architecture |
84
+ |-------------|------|---------|--------------|
85
+ | [REQ-001](../requirements/REQ-001-{slug}.md) | [EPIC-001](EPIC-001-{slug}.md) | STORY-001-001, STORY-001-002 | [ADR-001](../architecture/ADR-001-{slug}.md) |
86
+ | [REQ-002](../requirements/REQ-002-{slug}.md) | [EPIC-001](EPIC-001-{slug}.md) | STORY-001-003 | Component B |
87
+ | [REQ-003](../requirements/REQ-003-{slug}.md) | [EPIC-002](EPIC-002-{slug}.md) | STORY-002-001 | [ADR-002](../architecture/ADR-002-{slug}.md) |
88
+
89
+ ## Estimation Summary
90
+
91
+ | Size | Meaning | Count |
92
+ |------|---------|-------|
93
+ | S | Small - well-understood, minimal risk | {n} |
94
+ | M | Medium - some complexity, moderate risk | {n} |
95
+ | L | Large - significant complexity, should consider splitting | {n} |
96
+ | XL | Extra Large - high complexity, must split before implementation | {n} |
97
+
98
+ ## Risks & Considerations
99
+
100
+ | Risk | Affected Epics | Mitigation |
101
+ |------|---------------|------------|
102
+ | {risk description} | [EPIC-{NNN}](EPIC-{NNN}-{slug}.md) | {mitigation} |
103
+
104
+ ## Open Questions
105
+
106
+ - [ ] {question about scope or implementation 1}
107
+ - [ ] {question about scope or implementation 2}
108
+
109
+ ## References
110
+
111
+ - Derived from: [Requirements](../requirements/_index.md), [Architecture](../architecture/_index.md)
112
+ - Handoff to: execution workflows (lite-plan, plan, req-plan)
113
+ ```
114
+
115
+ ---
116
+
117
+ ## Template: EPIC-NNN-{slug}.md (Individual Epic)
118
+
119
+ ```markdown
120
+ ---
121
+ id: EPIC-{NNN}
122
+ priority: {Must|Should|Could}
123
+ mvp: {true|false}
124
+ size: {S|M|L|XL}
125
+ requirements: [REQ-{NNN}]
126
+ architecture: [ADR-{NNN}]
127
+ dependencies: [EPIC-{NNN}]
128
+ status: draft
129
+ ---
130
+
131
+ # EPIC-{NNN}: {epic_title}
132
+
133
+ **Priority**: {Must|Should|Could}
134
+ **MVP**: {Yes|No}
135
+ **Estimated Size**: {S|M|L|XL}
136
+
137
+ ## Description
138
+
139
+ {detailed epic description}
140
+
141
+ ## Requirements
142
+
143
+ - [REQ-{NNN}](../requirements/REQ-{NNN}-{slug}.md): {title}
144
+ - [REQ-{NNN}](../requirements/REQ-{NNN}-{slug}.md): {title}
145
+
146
+ ## Architecture
147
+
148
+ - [ADR-{NNN}](../architecture/ADR-{NNN}-{slug}.md): {title}
149
+ - Component: {component_name}
150
+
151
+ ## Dependencies
152
+
153
+ - [EPIC-{NNN}](EPIC-{NNN}-{slug}.md) (blocking): {reason}
154
+ - [EPIC-{NNN}](EPIC-{NNN}-{slug}.md) (soft): {reason}
155
+
156
+ ## Stories
157
+
158
+ ### STORY-{EPIC}-001: {story_title}
159
+
160
+ **User Story**: As a {persona}, I want to {action} so that {benefit}.
161
+
162
+ **Acceptance Criteria**:
163
+ - [ ] {criterion 1}
164
+ - [ ] {criterion 2}
165
+ - [ ] {criterion 3}
166
+
167
+ **Size**: {S|M|L|XL}
168
+ **Traces to**: [REQ-{NNN}](../requirements/REQ-{NNN}-{slug}.md)
169
+
170
+ ---
171
+
172
+ ### STORY-{EPIC}-002: {story_title}
173
+
174
+ **User Story**: As a {persona}, I want to {action} so that {benefit}.
175
+
176
+ **Acceptance Criteria**:
177
+ - [ ] {criterion 1}
178
+ - [ ] {criterion 2}
179
+
180
+ **Size**: {S|M|L|XL}
181
+ **Traces to**: [REQ-{NNN}](../requirements/REQ-{NNN}-{slug}.md)
182
+ ```
183
+
184
+ ---
185
+
186
+ ## Variable Descriptions
187
+
188
+ | Variable | Source | Description |
189
+ |----------|--------|-------------|
190
+ | `{session_id}` | blueprint-config.json | Session identifier |
191
+ | `{timestamp}` | Runtime | ISO8601 generation timestamp |
192
+ | `{product_name}` | product-brief.md | Product/feature name |
193
+ | `{EPIC}` | Auto-increment | Epic number (3 digits) |
194
+ | `{NNN}` | Auto-increment | Story/requirement number |
195
+ | `{slug}` | Auto-generated | Kebab-case from epic/story title |
196
+ | `{S\|M\|L\|XL}` | CLI analysis | Relative size estimate |
@@ -0,0 +1,133 @@
1
+ # Product Brief Template
2
+
3
+ Template for generating product brief documents in Phase 2.
4
+
5
+ ## Usage Context
6
+
7
+ | Phase | Usage |
8
+ |-------|-------|
9
+ | Phase 2 (Product Brief) | Generate product-brief.md from multi-CLI analysis |
10
+ | Output Location | `{workDir}/product-brief.md` |
11
+
12
+ ---
13
+
14
+ ## Template
15
+
16
+ ```markdown
17
+ ---
18
+ session_id: {session_id}
19
+ phase: 2
20
+ document_type: product-brief
21
+ status: draft
22
+ generated_at: {timestamp}
23
+ stepsCompleted: []
24
+ version: 1
25
+ dependencies:
26
+ - blueprint-config.json
27
+ ---
28
+
29
+ # Product Brief: {product_name}
30
+
31
+ {executive_summary - 2-3 sentences capturing the essence of the product/feature}
32
+
33
+ ## Vision
34
+
35
+ {vision_statement - clear, aspirational 1-3 sentence statement of what success looks like}
36
+
37
+ ## Problem Statement
38
+
39
+ ### Current Situation
40
+ {description of the current state and pain points}
41
+
42
+ ### Impact
43
+ {quantified impact of the problem - who is affected, how much, how often}
44
+
45
+ ## Target Users
46
+
47
+ {for each user persona:}
48
+
49
+ ### {Persona Name}
50
+ - **Role**: {user's role/context}
51
+ - **Needs**: {primary needs related to this product}
52
+ - **Pain Points**: {current frustrations}
53
+ - **Success Criteria**: {what success looks like for this user}
54
+
55
+ ## Goals & Success Metrics
56
+
57
+ | Goal ID | Goal | Success Metric | Target |
58
+ |---------|------|----------------|--------|
59
+ | G-001 | {goal description} | {measurable metric} | {specific target} |
60
+ | G-002 | {goal description} | {measurable metric} | {specific target} |
61
+
62
+ ## Scope
63
+
64
+ ### In Scope
65
+ - {feature/capability 1}
66
+ - {feature/capability 2}
67
+ - {feature/capability 3}
68
+
69
+ ### Out of Scope
70
+ - {explicitly excluded item 1}
71
+ - {explicitly excluded item 2}
72
+
73
+ ### Assumptions
74
+ - {key assumption 1}
75
+ - {key assumption 2}
76
+
77
+ ## Competitive Landscape
78
+
79
+ | Aspect | Current State | Proposed Solution | Advantage |
80
+ |--------|--------------|-------------------|-----------|
81
+ | {aspect} | {how it's done now} | {our approach} | {differentiator} |
82
+
83
+ ## Constraints & Dependencies
84
+
85
+ ### Technical Constraints
86
+ - {constraint 1}
87
+ - {constraint 2}
88
+
89
+ ### Business Constraints
90
+ - {constraint 1}
91
+
92
+ ### Dependencies
93
+ - {external dependency 1}
94
+ - {external dependency 2}
95
+
96
+ ## Multi-Perspective Synthesis
97
+
98
+ ### Product Perspective
99
+ {summary of product/market analysis findings}
100
+
101
+ ### Technical Perspective
102
+ {summary of technical feasibility and constraints}
103
+
104
+ ### User Perspective
105
+ {summary of user journey and UX considerations}
106
+
107
+ ### Convergent Themes
108
+ {themes where all perspectives agree}
109
+
110
+ ### Conflicting Views
111
+ {areas where perspectives differ, with notes on resolution approach}
112
+
113
+ ## Open Questions
114
+
115
+ - [ ] {unresolved question 1}
116
+ - [ ] {unresolved question 2}
117
+
118
+ ## References
119
+
120
+ - Derived from: [blueprint-config.json](blueprint-config.json)
121
+ - Next: [Requirements PRD](requirements.md)
122
+ ```
123
+
124
+ ## Variable Descriptions
125
+
126
+ | Variable | Source | Description |
127
+ |----------|--------|-------------|
128
+ | `{session_id}` | blueprint-config.json | Session identifier |
129
+ | `{timestamp}` | Runtime | ISO8601 generation timestamp |
130
+ | `{product_name}` | Seed analysis | Product/feature name |
131
+ | `{executive_summary}` | CLI synthesis | 2-3 sentence summary |
132
+ | `{vision_statement}` | CLI product perspective | Aspirational vision |
133
+ | All `{...}` fields | CLI analysis outputs | Filled from multi-perspective analysis |
@@ -0,0 +1,224 @@
1
+ # Requirements PRD Template (Directory Structure)
2
+
3
+ Template for generating Product Requirements Document as a directory of individual requirement files in Phase 3.
4
+
5
+ ## Usage Context
6
+
7
+ | Phase | Usage |
8
+ |-------|-------|
9
+ | Phase 3 (Requirements) | Generate `requirements/` directory from product brief expansion |
10
+ | Output Location | `{workDir}/requirements/` |
11
+
12
+ ## Output Structure
13
+
14
+ ```
15
+ {workDir}/requirements/
16
+ ├── _index.md # Summary + MoSCoW table + traceability matrix + links
17
+ ├── REQ-001-{slug}.md # Individual functional requirement
18
+ ├── REQ-002-{slug}.md
19
+ ├── NFR-P-001-{slug}.md # Non-functional: Performance
20
+ ├── NFR-S-001-{slug}.md # Non-functional: Security
21
+ ├── NFR-SC-001-{slug}.md # Non-functional: Scalability
22
+ ├── NFR-U-001-{slug}.md # Non-functional: Usability
23
+ └── ...
24
+ ```
25
+
26
+ ---
27
+
28
+ ## Template: _index.md
29
+
30
+ ```markdown
31
+ ---
32
+ session_id: {session_id}
33
+ phase: 3
34
+ document_type: requirements-index
35
+ status: draft
36
+ generated_at: {timestamp}
37
+ version: 1
38
+ dependencies:
39
+ - ../blueprint-config.json
40
+ - ../product-brief.md
41
+ ---
42
+
43
+ # Requirements: {product_name}
44
+
45
+ {executive_summary - brief overview of what this PRD covers and key decisions}
46
+
47
+ ## Requirement Summary
48
+
49
+ | Priority | Count | Coverage |
50
+ |----------|-------|----------|
51
+ | Must Have | {n} | {description of must-have scope} |
52
+ | Should Have | {n} | {description of should-have scope} |
53
+ | Could Have | {n} | {description of could-have scope} |
54
+ | Won't Have | {n} | {description of explicitly excluded} |
55
+
56
+ ## Functional Requirements
57
+
58
+ | ID | Title | Priority | Traces To |
59
+ |----|-------|----------|-----------|
60
+ | [REQ-001](REQ-001-{slug}.md) | {title} | Must | [G-001](../product-brief.md#goals--success-metrics) |
61
+ | [REQ-002](REQ-002-{slug}.md) | {title} | Must | [G-001](../product-brief.md#goals--success-metrics) |
62
+ | [REQ-003](REQ-003-{slug}.md) | {title} | Should | [G-002](../product-brief.md#goals--success-metrics) |
63
+
64
+ ## Non-Functional Requirements
65
+
66
+ ### Performance
67
+
68
+ | ID | Title | Target |
69
+ |----|-------|--------|
70
+ | [NFR-P-001](NFR-P-001-{slug}.md) | {title} | {target value} |
71
+
72
+ ### Security
73
+
74
+ | ID | Title | Standard |
75
+ |----|-------|----------|
76
+ | [NFR-S-001](NFR-S-001-{slug}.md) | {title} | {standard/framework} |
77
+
78
+ ### Scalability
79
+
80
+ | ID | Title | Target |
81
+ |----|-------|--------|
82
+ | [NFR-SC-001](NFR-SC-001-{slug}.md) | {title} | {target value} |
83
+
84
+ ### Usability
85
+
86
+ | ID | Title | Target |
87
+ |----|-------|--------|
88
+ | [NFR-U-001](NFR-U-001-{slug}.md) | {title} | {target value} |
89
+
90
+ ## Data Requirements
91
+
92
+ ### Data Entities
93
+
94
+ | Entity | Description | Key Attributes |
95
+ |--------|-------------|----------------|
96
+ | {entity_name} | {description} | {attr1, attr2, attr3} |
97
+
98
+ ### Data Flows
99
+
100
+ {description of key data flows, optionally with Mermaid diagram}
101
+
102
+ ## Integration Requirements
103
+
104
+ | System | Direction | Protocol | Data Format | Notes |
105
+ |--------|-----------|----------|-------------|-------|
106
+ | {system_name} | Inbound/Outbound/Both | {REST/gRPC/etc} | {JSON/XML/etc} | {notes} |
107
+
108
+ ## Constraints & Assumptions
109
+
110
+ ### Constraints
111
+ - {technical or business constraint 1}
112
+ - {technical or business constraint 2}
113
+
114
+ ### Assumptions
115
+ - {assumption 1 - must be validated}
116
+ - {assumption 2 - must be validated}
117
+
118
+ ## Priority Rationale
119
+
120
+ {explanation of MoSCoW prioritization decisions, especially for Should/Could boundaries}
121
+
122
+ ## Traceability Matrix
123
+
124
+ | Goal | Requirements |
125
+ |------|-------------|
126
+ | G-001 | [REQ-001](REQ-001-{slug}.md), [REQ-002](REQ-002-{slug}.md), [NFR-P-001](NFR-P-001-{slug}.md) |
127
+ | G-002 | [REQ-003](REQ-003-{slug}.md), [NFR-S-001](NFR-S-001-{slug}.md) |
128
+
129
+ ## Open Questions
130
+
131
+ - [ ] {unresolved question 1}
132
+ - [ ] {unresolved question 2}
133
+
134
+ ## References
135
+
136
+ - Derived from: [Product Brief](../product-brief.md)
137
+ - Next: [Architecture](../architecture/_index.md)
138
+ ```
139
+
140
+ ---
141
+
142
+ ## Template: REQ-NNN-{slug}.md (Individual Functional Requirement)
143
+
144
+ ```markdown
145
+ ---
146
+ id: REQ-{NNN}
147
+ type: functional
148
+ priority: {Must|Should|Could|Won't}
149
+ traces_to: [G-{NNN}]
150
+ status: draft
151
+ ---
152
+
153
+ # REQ-{NNN}: {requirement_title}
154
+
155
+ **Priority**: {Must|Should|Could|Won't}
156
+
157
+ ## Description
158
+
159
+ {detailed requirement description}
160
+
161
+ ## User Story
162
+
163
+ As a {persona}, I want to {action} so that {benefit}.
164
+
165
+ ## Acceptance Criteria
166
+
167
+ - [ ] {specific, testable criterion 1}
168
+ - [ ] {specific, testable criterion 2}
169
+ - [ ] {specific, testable criterion 3}
170
+
171
+ ## Traces
172
+
173
+ - **Goal**: [G-{NNN}](../product-brief.md#goals--success-metrics)
174
+ - **Architecture**: [ADR-{NNN}](../architecture/ADR-{NNN}-{slug}.md) (if applicable)
175
+ - **Implemented by**: [EPIC-{NNN}](../epics/EPIC-{NNN}-{slug}.md) (added in Phase 5)
176
+ ```
177
+
178
+ ---
179
+
180
+ ## Template: NFR-{type}-NNN-{slug}.md (Individual Non-Functional Requirement)
181
+
182
+ ```markdown
183
+ ---
184
+ id: NFR-{type}-{NNN}
185
+ type: non-functional
186
+ category: {Performance|Security|Scalability|Usability}
187
+ priority: {Must|Should|Could}
188
+ status: draft
189
+ ---
190
+
191
+ # NFR-{type}-{NNN}: {requirement_title}
192
+
193
+ **Category**: {Performance|Security|Scalability|Usability}
194
+ **Priority**: {Must|Should|Could}
195
+
196
+ ## Requirement
197
+
198
+ {detailed requirement description}
199
+
200
+ ## Metric & Target
201
+
202
+ | Metric | Target | Measurement Method |
203
+ |--------|--------|--------------------|
204
+ | {metric} | {target value} | {how measured} |
205
+
206
+ ## Traces
207
+
208
+ - **Goal**: [G-{NNN}](../product-brief.md#goals--success-metrics)
209
+ - **Architecture**: [ADR-{NNN}](../architecture/ADR-{NNN}-{slug}.md) (if applicable)
210
+ ```
211
+
212
+ ---
213
+
214
+ ## Variable Descriptions
215
+
216
+ | Variable | Source | Description |
217
+ |----------|--------|-------------|
218
+ | `{session_id}` | blueprint-config.json | Session identifier |
219
+ | `{timestamp}` | Runtime | ISO8601 generation timestamp |
220
+ | `{product_name}` | product-brief.md | Product/feature name |
221
+ | `{NNN}` | Auto-increment | Requirement number (zero-padded 3 digits) |
222
+ | `{slug}` | Auto-generated | Kebab-case from requirement title |
223
+ | `{type}` | Category | P (Performance), S (Security), SC (Scalability), U (Usability) |
224
+ | `{Must\|Should\|Could\|Won't}` | User input / auto | MoSCoW priority tag |
@@ -0,0 +1,149 @@
1
+ ---
2
+ name: team-quality-assurance
3
+ description: Unified team skill for quality assurance. Full closed-loop QA combining issue discovery and software testing. Triggers on "team quality-assurance", "team qa".
4
+ allowed-tools: team_create(*), team_delete(*), send_message(*), task_create(*), task_update(*), task_list(*), task_get(*), agent(*), ask_user_question(*), read(*), write(*), edit(*), bash(*), glob(*), grep(*), mcp__ccw-tools__team_msg(*)
5
+ ---
6
+ <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
7
+
8
+
9
+ # Team Quality Assurance
10
+
11
+ Orchestrate multi-agent QA: scout -> strategist -> generator -> executor -> analyst. Supports discovery, testing, and full closed-loop modes with parallel generation and GC loops.
12
+
13
+ ## Architecture
14
+
15
+ ```
16
+ invoke_skill(skill="team-quality-assurance", args="task description")
17
+ |
18
+ SKILL.md (this file) = Router
19
+ |
20
+ +--------------+--------------+
21
+ | |
22
+ no --role flag --role <name>
23
+ | |
24
+ Coordinator Worker
25
+ roles/coordinator/role.md roles/<name>/role.md
26
+ |
27
+ +-- analyze -> dispatch -> spawn workers -> STOP
28
+ |
29
+ +-------+-------+-------+-------+-------+
30
+ v v v v v
31
+ [scout] [strat] [gen] [exec] [analyst]
32
+ team-worker agents, each loads roles/<role>/role.md
33
+ ```
34
+
35
+ ## Role Registry
36
+
37
+ | Role | Path | Prefix | Inner Loop |
38
+ |------|------|--------|------------|
39
+ | coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | — | — |
40
+ | scout | [roles/scout/role.md](roles/scout/role.md) | SCOUT-* | false |
41
+ | strategist | [roles/strategist/role.md](roles/strategist/role.md) | QASTRAT-* | false |
42
+ | generator | [roles/generator/role.md](roles/generator/role.md) | QAGEN-* | false |
43
+ | executor | [roles/executor/role.md](roles/executor/role.md) | QARUN-* | true |
44
+ | analyst | [roles/analyst/role.md](roles/analyst/role.md) | QAANA-* | false |
45
+
46
+ ## Role Router
47
+
48
+ Parse `$ARGUMENTS`:
49
+ - Has `--role <name>` -> Read `roles/<name>/role.md`, execute Phase 2-4
50
+ - No `--role` -> `@roles/coordinator/role.md`, execute entry router
51
+
52
+ ## Shared Constants
53
+
54
+ - **Session prefix**: `QA`
55
+ - **Session path**: `.workflow/.team/QA-<slug>-<date>/`
56
+ - **Team name**: `quality-assurance`
57
+ - **CLI tools**: `maestro delegate --mode analysis` (read-only), `maestro delegate --mode write` (modifications)
58
+ - **Message bus**: `mcp__ccw-tools__team_msg(session_id=<session-id>, ...)`
59
+
60
+ ## Worker Spawn Template
61
+
62
+ Coordinator spawns workers using this template:
63
+
64
+ ```
65
+ delegate_subagent({
66
+ subagent_type: "team-worker",
67
+ description: "Spawn <role> worker",
68
+ team_name: "quality-assurance",
69
+ name: "<role>",
70
+ run_in_background: true,
71
+ prompt: `## Role Assignment
72
+ role: <role>
73
+ role_spec: <skill_root>/roles/<role>/role.md
74
+ session: <session-folder>
75
+ session_id: <session-id>
76
+ team_name: quality-assurance
77
+ requirement: <task-description>
78
+ inner_loop: <true|false>
79
+
80
+ ## Progress Milestones
81
+ session_id: <session-id>
82
+ Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
83
+ Report blockers immediately via team_msg type="blocker".
84
+ Report completion via team_msg type="task_complete" after final send_message.
85
+
86
+ Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
87
+ Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).`
88
+ })
89
+ ```
90
+
91
+ ## User Commands
92
+
93
+ | Command | Action |
94
+ |---------|--------|
95
+ | `check` / `status` | View pipeline status graph |
96
+ | `resume` / `continue` | Advance to next step |
97
+ | `--mode=discovery` | Force discovery mode |
98
+ | `--mode=testing` | Force testing mode |
99
+ | `--mode=full` | Force full QA mode |
100
+
101
+ ## Completion Action
102
+
103
+ When pipeline completes, coordinator presents:
104
+
105
+ ```
106
+ ask_user({
107
+ questions: [{
108
+ question: "Quality Assurance pipeline complete. What would you like to do?",
109
+ header: "Completion",
110
+ multiSelect: false,
111
+ options: [
112
+ { label: "Archive & Clean (Recommended)", description: "Archive session, clean up team" },
113
+ { label: "Keep Active", description: "Keep session for follow-up work" },
114
+ { label: "Export Results", description: "Export deliverables to target directory" }
115
+ ]
116
+ }]
117
+ })
118
+ ```
119
+
120
+ ## Session Directory
121
+
122
+ ```
123
+ .workflow/.team/QA-<slug>-<date>/
124
+ ├── .msg/messages.jsonl # Team message bus
125
+ ├── .msg/meta.json # Session state + shared memory
126
+ ├── wisdom/ # Cross-task knowledge
127
+ ├── scan/ # Scout output
128
+ ├── strategy/ # Strategist output
129
+ ├── tests/ # Generator output (L1/, L2/, L3/)
130
+ ├── results/ # Executor output
131
+ └── analysis/ # Analyst output
132
+ ```
133
+
134
+ ## Specs Reference
135
+
136
+ - [specs/pipelines.md](specs/pipelines.md) — Pipeline definitions and task registry
137
+ - [specs/team-config.json](specs/team-config.json) — Team configuration and shared memory schema
138
+
139
+ ## Error Handling
140
+
141
+ | Scenario | Resolution |
142
+ |----------|------------|
143
+ | Unknown --role value | Error with available role list |
144
+ | Role not found | Error with expected path (roles/<name>/role.md) |
145
+ | CLI tool fails | Worker fallback to direct implementation |
146
+ | Scout finds no issues | Report clean scan, skip to testing mode |
147
+ | GC loop exceeded | Accept current coverage with warning |
148
+ | Fast-advance conflict | Coordinator reconciles on next callback |
149
+ | Completion action fails | Default to Keep Active |