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,122 @@
1
+ ---
2
+ name: quality-debug
3
+ description: Use when bugs, test failures, or unexpected behavior need systematic root cause investigation
4
+ argument-hint: "[issue description] [--from-uat <phase>] [--parallel]"
5
+ allowed-tools:
6
+ - read_file
7
+ - write_file
8
+ - edit_file
9
+ - shell
10
+ - find_files
11
+ - search
12
+ - delegate_subagent
13
+ - ask_user
14
+ ---
15
+ <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
16
+
17
+ <purpose>
18
+ Debug issues using scientific method with subagent isolation and persistent debug state. Three entry modes (standalone, from-UAT, parallel) and structured root cause collection with UAT feedback loop. Full algorithm defined in workflow debug.md.
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/debug.md
23
+ </required_reading>
24
+
25
+ <context>
26
+ User's issue: $ARGUMENTS
27
+
28
+ **Flags:**
29
+ - `--from-uat <phase>` -- Read gaps from phase's uat.md as pre-filled symptoms
30
+ - `--parallel` -- Spawn parallel debug agents (one per gap cluster)
31
+
32
+ **All context via state.json.artifacts[]:**
33
+
34
+ ```
35
+ related = artifacts.filter(a =>
36
+ a.phase === target_phase && a.milestone === current_milestone
37
+ ).sort_by(completed_at asc)
38
+ ```
39
+
40
+ Each artifact's type determines its outputs at `.workflow/{a.path}/`:
41
+ - **execute** → .summaries/, .task/ (source of code changes)
42
+ - **review** → review.json (findings guide hypothesis formation)
43
+ - **debug** → understanding.md, evidence.ndjson (prior investigations, avoid re-investigation)
44
+ - **test** → uat.md (--from-uat gap source), .tests/
45
+
46
+ Extract conclusions from related artifacts that may affect this debug session — review findings guide investigation direction, prior debug avoids redundant work.
47
+
48
+ ### Pre-load (optional, proceed without)
49
+ - Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → module boundaries
50
+ - Wiki: `maestro wiki search "<symptom keywords>" --json` → prior investigations
51
+ - Specs: `maestro spec load --category debug --keyword "<symptom>"` → known issues/workarounds
52
+ - Role knowledge: `maestro wiki list --category debug` → select relevant → `maestro wiki load`
53
+
54
+ **Output**: `DEBUG_DIR = .workflow/scratch/{YYYYMMDD}-debug-P{N}-{slug}/` (P{N} = phase number when phase-scoped; omit for standalone). Output directory rules defined in workflow debug.md Step 4.
55
+ </context>
56
+
57
+ <execution>
58
+ Follow '~/.maestro/workflows/debug.md' completely.
59
+
60
+ **Register artifact on completion (phase-scoped only):**
61
+ ```
62
+ Append to state.json.artifacts[]:
63
+ {
64
+ id: nextArtifactId(artifacts, "debug"), // DBG-001
65
+ type: "debug",
66
+ milestone: current_milestone,
67
+ phase: target_phase,
68
+ scope: "phase",
69
+ path: "scratch/{YYYYMMDD}-debug-P{N}-{slug}",
70
+ status: all_diagnosed ? "completed" : "failed",
71
+ depends_on: triggering_review_id || exec_art.id,
72
+ harvested: false,
73
+ created_at: start_time,
74
+ completed_at: now()
75
+ }
76
+ ```
77
+
78
+ ### Post-debug Knowledge Inquiry
79
+
80
+ | Condition | Ask | Route |
81
+ |-----------|-----|-------|
82
+ | Recurring root cause pattern (seen in prior debug) | "Document in debug-notes.md?" | spec-add debug |
83
+ | Non-obvious fix / workaround | "Record as learning?" | spec-add learning |
84
+ | Root cause = architectural boundary violation | "Update architecture-constraints.md?" | spec-add arch |
85
+
86
+ On confirm → `invoke_skill("spec-add", "<category> <content>")`.
87
+
88
+ **Next-step routing on completion:**
89
+ - Root cause found, fix needed → `/maestro-plan {phase} --gaps`
90
+ - Root cause found (from UAT), auto-fix → `/quality-test {phase} --auto-fix`
91
+ - Inconclusive, need more info → `/quality-debug {issue} -c` (resume session)
92
+ - Standalone fix already applied → `/maestro-verify {phase}`
93
+ </execution>
94
+
95
+ <error_codes>
96
+ | Code | Severity | Condition | Recovery |
97
+ |------|----------|-----------|----------|
98
+ | E001 | error | Issue description required (no arguments, no active sessions) | Check arguments format, re-run with correct input |
99
+ | E002 | error | UAT file not found for --from-uat phase | Verify UAT file exists for specified phase |
100
+ | W001 | warning | Existing debug session found, offer resume | Review existing sessions, choose resume or new |
101
+ | W002 | warning | Checkpoint reached, user input needed | Provide requested input to continue |
102
+ | W003 | warning | Some gaps inconclusive, partial diagnosis | Review partial results, retry inconclusive gaps |
103
+ </error_codes>
104
+
105
+ <success_criteria>
106
+ - [ ] Input parsed: standalone, --from-uat, or --parallel mode determined
107
+ - [ ] Active sessions checked and resume offered if applicable
108
+ - [ ] Symptoms gathered (interactive) or loaded from UAT (pre-filled)
109
+ - [ ] Debug output directory created (phase .debug/ or scratch/)
110
+ - [ ] Debug agent(s) spawned with full symptom context
111
+ - [ ] If --parallel: one agent per gap cluster, all concurrent
112
+ - [ ] evidence.ndjson written with structured NDJSON entries
113
+ - [ ] understanding.md tracks evolving understanding per cluster
114
+ - [ ] Root causes collected with fix_direction and affected_files
115
+ - [ ] Multi-factor confidence scored per gap (Step 7.0) replacing simple high/medium/low
116
+ - [ ] Readiness gate checked before ROOT CAUSE declaration
117
+ - [ ] Pressure pass completed on confirmed hypothesis
118
+ - [ ] Confidence table appended to understanding.md
119
+ - [ ] If --from-uat: uat.md gaps updated with diagnosis artifacts
120
+ - [ ] Results unified into diagnosis summary with confidence section
121
+ - [ ] Next step routed (plan --gaps + execute if fix needed, verify if fix applied, resume if inconclusive)
122
+ </success_criteria>
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: quality-refactor
3
+ description: Use when accumulated tech debt needs systematic identification and safe reduction
4
+ argument-hint: "[<scope>]"
5
+ allowed-tools:
6
+ - read_file
7
+ - write_file
8
+ - edit_file
9
+ - shell
10
+ - find_files
11
+ - search
12
+ - delegate_subagent
13
+ - ask_user
14
+ ---
15
+ <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
16
+
17
+ <purpose>
18
+ Plan and execute targeted refactoring with safety guarantees through analysis, planning, and reflection-driven iteration. Identifies affected files and dependencies, creates a refactoring plan, confirms with the user before execution, then applies changes with test verification after every modification to ensure zero regressions. Each refactoring round records strategy, outcome, and adjustments in reflection-log.md.
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/refactor.md
23
+ </required_reading>
24
+
25
+ <context>
26
+ Scope: $ARGUMENTS (required)
27
+ - Module path: "src/auth" - specific directory
28
+ - Feature area: "authentication" - conceptual scope
29
+ - "all" - full codebase scan
30
+
31
+ If not provided, prompt user for scope.
32
+
33
+ ### Pre-load context (before refactoring)
34
+
35
+ 1. **Coding specs**: Run `maestro spec load --category coding` to load coding conventions. Apply conventions to all refactored code.
36
+ 2. **Review specs**: Run `maestro spec load --category review` to load review standards. Use as quality gate for refactored code.
37
+ 3. **Role Knowledge**:
38
+ - Browse: `maestro wiki list --category coding`
39
+ - Identify task-relevant entries, then load: `maestro wiki load <id1> [id2...]`
40
+ 4. All are optional — proceed without if unavailable.
41
+ </context>
42
+
43
+ <execution>
44
+ Follow '~/.maestro/workflows/refactor.md' completely.
45
+
46
+ **Knowledge inquiry on completion:**
47
+ After successful refactoring, ask user once: "Record refactoring pattern as coding convention?" If yes, persist via `invoke_skill("spec-add", "coding \"<title>\" \"<pattern>\" --keywords <kw1>,<kw2>")`.
48
+
49
+ **Next-step routing on completion:**
50
+ - All tests pass → `/quality-sync` (update codebase docs)
51
+ - Test failures after refactor → `/quality-debug {scope}`
52
+ - No test suite available → `/quality-auto-test {phase}`
53
+ </execution>
54
+
55
+ <error_codes>
56
+ | Code | Severity | Condition | Recovery |
57
+ |------|----------|-----------|----------|
58
+ | E001 | error | Refactoring scope/description required | Prompt user for module path, feature area, or "all" |
59
+ | E002 | error | Test suite not available for affected area | Suggest creating tests first, or proceed with manual verification |
60
+ | W001 | warning | Partial test coverage for affected area | Note uncovered areas, proceed with extra caution |
61
+ </error_codes>
62
+
63
+ <success_criteria>
64
+ - [ ] Refactoring plan created and confirmed by user
65
+ - [ ] Changes implemented according to plan
66
+ - [ ] All tests pass after refactoring
67
+ - [ ] No regressions introduced
68
+ - [ ] reflection-log.md written with strategy and outcomes
69
+ </success_criteria>
@@ -0,0 +1,79 @@
1
+ ---
2
+ name: quality-retrospective
3
+ description: Use after completing a phase to extract lessons, patterns, and improvement opportunities
4
+ argument-hint: "[phase|N..M] [--lens technical|process|quality|decision] [--all] [--no-route] [--compare N] [-y]"
5
+ allowed-tools:
6
+ - read_file
7
+ - write_file
8
+ - edit_file
9
+ - shell
10
+ - find_files
11
+ - search
12
+ - delegate_subagent
13
+ - ask_user
14
+ ---
15
+ <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
16
+
17
+ <purpose>
18
+ Post-execution multi-perspective retrospective (复盘) for completed phases. Consumes existing execution artifacts (verification.json, review.json, issues.jsonl, plan.json, .summaries/, uat.md, state.json) and runs four parallel lenses — technical, process, quality, decision — to distill reusable insights. Routes each insight into the appropriate store: spec stub for reusable patterns, memory tip for process notes, issue for recurring gaps. Auto-scans for unreviewed completed phases and reports the backlog. Every insight is also persisted to `.workflow/knowhow/specs/learnings.md` as `<spec-entry>` blocks for cross-phase queryability.
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/retrospective.md
23
+ </required_reading>
24
+
25
+ <deferred_reading>
26
+ - @~/.maestro/workflows/issue.md (issues.jsonl schema for auto-creation)
27
+ - @~/.maestro/workflows/learn.md (tip routing via manage-learn tip)
28
+ - @~/.maestro/workflows/verify.md (verification.json schema for quality lens parsing)
29
+ - @~/.maestro/workflows/review.md (review.json schema for quality lens parsing)
30
+ </deferred_reading>
31
+
32
+ <context>
33
+ Arguments: $ARGUMENTS
34
+
35
+ Modes (scan/single/range/all), flags (--lens, --no-route, --compare, -y), and storage paths defined in workflow retrospective.md Argument Shape and Stages 1-7.
36
+ </context>
37
+
38
+ <execution>
39
+ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invariants:
40
+
41
+ 1. **Read-only until Stage 6** — Stages 1–5 must not write anything except the in-memory retrospective record.
42
+ 2. **Parallel lens dispatch** — Stage 4 spawns one Agent per active lens in a single message (multiple Agent tool calls). All agents use `subagent_type: "general-purpose"` and `run_in_background: false`.
43
+ 3. **Match canonical issues schema** — Stage 6 issue routing must produce rows that pass `jq` parsing and match the schema in `workflows/issue.md` Step 4 exactly (status `"open"`, full `issue_history` entry, all required fields).
44
+ 4. **Reuse `manage-learn tip` for note routing** — do not duplicate the learning pipeline; invoke via `invoke_skill({ skill: "manage-learn", args: "tip ..." })`.
45
+ 5. **Backward-compat with phase-transition** — append a one-line summary per insight to `.workflow/specs/learnings.md` if and only if that file already exists. Never create it.
46
+ 6. **Stable insight IDs** — `INS-{8 hex}` from `hash(phase_num + lens + title)` so re-runs do not duplicate.
47
+ 7. **Archive before overwrite** — if existing `retrospective.{md,json}` are being replaced, move them to `{artifact_dir}/.history/` with a timestamp suffix first.
48
+ </execution>
49
+
50
+ <error_codes>
51
+ | Code | Severity | Description | Stage |
52
+ |------|----------|-------------|-------|
53
+ | E001 | error | `.workflow/` not initialized — run `/maestro-init` first | parse_input |
54
+ | E002 | error | Unknown `--lens` name (allowed: technical, process, quality, decision) | parse_input |
55
+ | E003 | error | `--compare` requires a single phase argument | parse_input |
56
+ | E004 | error | Phase has not executed yet — no `.task/` or `.summaries/` artifacts | load_artifacts |
57
+ | E005 | error | Phase argument out of range / phase directory not found | scan_unreviewed |
58
+ | W001 | warning | One or more lens agents failed — proceeding with partial coverage | multi_lens_analysis |
59
+ | W002 | warning | Existing retrospective.json found and not `--all` — prompted user to overwrite | scan_unreviewed |
60
+ | W003 | warning | `manage-learn tip` did not return parseable INS id; fell back to direct write | route_outputs |
61
+ | W004 | warning | `--compare` target phase has no retrospective.json; delta omitted | load_artifacts |
62
+ </error_codes>
63
+
64
+ <success_criteria>
65
+ - [ ] Mode correctly resolved (scan / single / range / all)
66
+ - [ ] At least one phase selected and validated (status == "completed", artifacts exist)
67
+ - [ ] All requested lens agents returned valid JSON, or W001 logged for partial coverage
68
+ - [ ] `retrospective.json` written with metrics, findings_by_lens, distilled_insights, routing_recommendations
69
+ - [ ] `retrospective.md` written and human-readable (tweetable, metrics table, per-lens findings, insights, routing table)
70
+ - [ ] Each insight has a stable `INS-{8hex}` id
71
+ - [ ] If routing enabled (default): every recommendation either created an artifact or was explicitly skipped by user
72
+ - [ ] Spec entries (if any) appended as `<spec-entry>` to matching `.workflow/specs/{category-file}.md`
73
+ - [ ] Issue rows (if any) match canonical issues.jsonl schema (status "open", full issue_history, all required fields)
74
+ - [ ] Note tips (if any) created via `invoke_skill({ skill: "manage-learn", args: "tip ..." })`
75
+ - [ ] `specs/learnings.md` appended with one `<spec-entry>` per insight regardless of routing target
76
+ - [ ] No existing phase artifacts modified (verification.json, review.json, plan.json untouched)
77
+ - [ ] Confirmation banner displays routing counts and next-step suggestions
78
+ - [ ] Next step: `/manage-status` to review state, or `/manage-issue list --source retrospective` to triage created issues, or `/manage-learn list` to browse the knowhow library
79
+ </success_criteria>
@@ -0,0 +1,130 @@
1
+ ---
2
+ name: quality-review
3
+ description: Use after execution to evaluate code quality across correctness, security, performance, and architecture
4
+ argument-hint: "<phase> [--level quick|standard|deep] [--dimensions security,architecture,...] [--skip-specs]"
5
+ allowed-tools:
6
+ - read_file
7
+ - write_file
8
+ - edit_file
9
+ - shell
10
+ - find_files
11
+ - search
12
+ - delegate_subagent
13
+ - ask_user
14
+ ---
15
+ <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
16
+
17
+ <purpose>
18
+ Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?" -- complementing maestro-verify ("is the goal met?") and quality-test ("does it work for users?"). Three review levels (quick/standard/deep) scale with task depth, auto-detected from file count. Level definitions, dimension lists, deep-dive rules, and issue creation thresholds defined in workflow review.md.
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/review.md
23
+ </required_reading>
24
+
25
+ <deferred_reading>
26
+ - [index.json](~/.maestro/templates/index.json) — read when updating phase index after review
27
+ </deferred_reading>
28
+
29
+ <context>
30
+ Phase: $ARGUMENTS (required — phase number or slug)
31
+
32
+ **Flags:**
33
+ - `--level quick|standard|deep` — Explicit review level (default: auto-detect from file count)
34
+ - `--dimensions <list>` — Comma-separated subset of dimensions to review (overrides level defaults)
35
+ - `--skip-specs` — Skip loading project specs as review context
36
+
37
+ **All context via state.json.artifacts[]:**
38
+
39
+ ```
40
+ related = artifacts.filter(a =>
41
+ a.phase === target_phase && a.milestone === current_milestone
42
+ ).sort_by(completed_at asc)
43
+ ```
44
+
45
+ Each artifact's type determines its outputs at `.workflow/{a.path}/`:
46
+ - **execute** → .summaries/, .task/, verification.json, plan.json (source of files to review)
47
+ - **review** → review.json (prior verdict, findings — for delta comparison)
48
+ - **debug** → understanding.md, evidence.ndjson (confirmed root causes)
49
+ - **test** → uat.md, .tests/ (user-observable gaps)
50
+
51
+ Extract conclusions from related artifacts that may affect this review. Pass as prior quality context to reviewer agents — avoid redundant work, focus on gaps and regressions.
52
+
53
+ ### Pre-load (optional, proceed without)
54
+ - Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → component boundaries, layer rules
55
+ - Wiki constraints: `maestro wiki search "architecture constraint" --json` → documented decisions
56
+ - Specs: `maestro spec load --category review` → review standards, checklists, knowhow tools
57
+ - Role knowledge: `maestro wiki list --category review` → select relevant → `maestro wiki load`
58
+
59
+ **Output**: `REVIEW_DIR = .workflow/scratch/{YYYYMMDD}-review-P{N}-{slug}/` (P{N} = phase number, enables directory-level identification as state.json fallback)
60
+ </context>
61
+
62
+ <execution>
63
+ Follow '~/.maestro/workflows/review.md' completely.
64
+
65
+ **Output writes to REVIEW_DIR** (not EXEC_DIR):
66
+ - `REVIEW_DIR/review.json` — findings, severity distribution, verdict
67
+
68
+ **Register artifact on completion:**
69
+ ```
70
+ Append to state.json.artifacts[]:
71
+ {
72
+ id: nextArtifactId(artifacts, "review"), // REV-001
73
+ type: "review",
74
+ milestone: current_milestone,
75
+ phase: target_phase,
76
+ scope: "phase",
77
+ path: "scratch/{YYYYMMDD}-review-P{N}-{slug}", // relative to .workflow/
78
+ status: "completed",
79
+ depends_on: exec_art.id, // or prior debug/review if re-review
80
+ harvested: false,
81
+ created_at: start_time,
82
+ completed_at: now()
83
+ }
84
+ ```
85
+
86
+ Report format and next-step routing by verdict defined in workflow review.md Report Format and Next Step Routing sections.
87
+
88
+ **Next-step routing summary:**
89
+ - PASS → `/quality-test {phase}`
90
+ - WARN → `/quality-test {phase}` (proceed with caveats)
91
+ - BLOCK → `/maestro-plan {phase} --gaps` (fix critical findings first)
92
+
93
+ **Completion status:**
94
+ ```
95
+ --- COMPLETION STATUS ---
96
+ STATUS: DONE|DONE_WITH_CONCERNS|NEEDS_RETRY
97
+ CONCERNS: {description if applicable}
98
+ NEXT: /quality-refactor
99
+ --- END STATUS ---
100
+ ```
101
+
102
+ Status mapping:
103
+ - **DONE** — PASS verdict, no critical findings → NEXT: /quality-refactor
104
+ - **DONE_WITH_CONCERNS** — WARN verdict, issues found but non-blocking → NEXT: /maestro-verify
105
+ - **NEEDS_RETRY** — BLOCK verdict, critical findings require fix first
106
+ </execution>
107
+
108
+ <error_codes>
109
+ | Code | Severity | Condition | Recovery |
110
+ |------|----------|-----------|----------|
111
+ | E001 | error | Phase argument required | Check arguments format, re-run with correct input |
112
+ | E002 | error | Phase directory not found | Check arguments format, re-run with correct input |
113
+ | E003 | error | No execution results found (no task summaries) | Verify execution completed with task summaries |
114
+ | E004 | error | No changed files detected in phase | Verify execution completed with task summaries |
115
+ | W001 | warning | Some dimension agents failed, partial results | Retry failed dimensions or accept partial results |
116
+ | W002 | warning | Deep-dive iteration limit reached with unresolved criticals | Accept current findings or escalate manually |
117
+ </error_codes>
118
+
119
+ <success_criteria>
120
+ - [ ] Phase resolved and changed files collected from task summaries
121
+ - [ ] Review level determined (explicit flag or auto-detected)
122
+ - [ ] Project specs loaded as review context (unless --skip-specs)
123
+ - [ ] Dimension reviews executed (inline for quick, parallel agents for standard/deep)
124
+ - [ ] All dimension results aggregated with severity classification
125
+ - [ ] Deep-dive completed if triggered (standard: auto, deep: forced)
126
+ - [ ] review.json written with complete findings, severity distribution, verdict
127
+ - [ ] Issues auto-created based on level thresholds
128
+ - [ ] index.json updated with review status
129
+ - [ ] Next step routed by verdict (PASS→test, WARN→test with caveats, BLOCK→plan --gaps)
130
+ </success_criteria>
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: quality-sync
3
+ description: Sync codebase docs by tracing git diff impact
4
+ argument-hint: "[--full] [--since <commit|HEAD~N>] [--dry-run]"
5
+ allowed-tools:
6
+ - read_file
7
+ - write_file
8
+ - edit_file
9
+ - shell
10
+ - find_files
11
+ - search
12
+ - delegate_subagent
13
+ - ask_user
14
+ ---
15
+ <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
16
+
17
+ <purpose>
18
+ Synchronize project state after manual code changes or to refresh codebase documentation. Detects changes via git diff, traces impact through doc-index.json (file -> component -> feature -> requirement), updates state.json and index.json, and refreshes affected `.workflow/codebase/` documentation. Use --full flag for a complete resync of all tracked files regardless of git diff.
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/sync.md
23
+ </required_reading>
24
+
25
+ <context>
26
+ $ARGUMENTS -- optional flags:
27
+ - `--full` -- Complete resync of all tracked files (ignores git diff, rebuilds all docs)
28
+ - `--since <commit|HEAD~N>` -- Diff since specific commit (default: last sync timestamp)
29
+ - `--dry-run` -- Show what would be updated without writing changes
30
+ </context>
31
+
32
+ <execution>
33
+ Follow '~/.maestro/workflows/sync.md' completely.
34
+
35
+ **Next-step routing on completion:**
36
+ - Docs refreshed → `/manage-status`
37
+ - Major structural changes detected → `/manage-codebase-rebuild` (full rebuild recommended)
38
+ </execution>
39
+
40
+ <error_codes>
41
+ | Code | Severity | Condition | Recovery |
42
+ |------|----------|-----------|----------|
43
+ | E001 | error | .workflow/ not initialized | Suggest running `/maestro-init` first|
44
+ | W001 | warning | No changes detected since last sync | Report clean state, skip updates |
45
+ </error_codes>
46
+
47
+ <success_criteria>
48
+ - [ ] state.json updated with current sync timestamp
49
+ - [ ] Codebase docs refreshed for all affected components
50
+ - [ ] doc-index.json reflects current file state
51
+ - [ ] Changes tracked and logged
52
+ - [ ] project.md Tech Stack section refreshed if dependency manifests changed
53
+ </success_criteria>
@@ -0,0 +1,119 @@
1
+ ---
2
+ name: quality-test
3
+ description: Use when implementation needs user acceptance testing with interactive verification and gap closure
4
+ argument-hint: "[phase] [--smoke] [--auto-fix]"
5
+ allowed-tools:
6
+ - read_file
7
+ - write_file
8
+ - edit_file
9
+ - shell
10
+ - find_files
11
+ - search
12
+ - delegate_subagent
13
+ - ask_user
14
+ ---
15
+ <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
16
+
17
+ <purpose>
18
+ Run UAT-style conversational testing for a completed phase. Designs test scenarios from verification criteria, walks through each scenario interactively one at a time with plain text responses, and records pass/fail results with severity inference.
19
+
20
+ When issues are found, spawns parallel debug agents (one per gap cluster) to diagnose root causes, then optionally triggers the gap-fix loop (plan --gaps -> execute -> re-verify) to auto-close gaps.
21
+
22
+ Key mechanisms from GSD verify-work:
23
+ - **Session persistence**: uat.md survives context resets, resume from any point
24
+ - **Severity inference**: Natural language -> blocker/major/minor/cosmetic (never ask)
25
+ - **Cold-start smoke tests**: --smoke flag injects basic sanity tests before UAT
26
+ - **Parallel auto-diagnosis**: Spawn debug agents per gap cluster with pre-filled symptoms
27
+ - **Gap-plan closure loop**: --auto-fix triggers verify -> plan --gaps -> execute -> re-verify
28
+ </purpose>
29
+
30
+ <required_reading>
31
+ @~/.maestro/workflows/test.md
32
+ </required_reading>
33
+
34
+ <context>
35
+ Phase or task: $ARGUMENTS (optional)
36
+
37
+ Flags, artifact context resolution, and output directory format defined in workflow test.md.
38
+ </context>
39
+
40
+ <execution>
41
+ Follow '~/.maestro/workflows/test.md' completely.
42
+
43
+ **Command-specific extensions (not in workflow):**
44
+
45
+ **Knowledge context loading** (before test design):
46
+ - Wiki search: `maestro wiki search "<phase/feature keywords>" --json` → prior test strategies, recipes, decisions
47
+ - Role knowledge: `maestro wiki list --category test` → select relevant → `maestro wiki load <id>`
48
+ - Specs + tools: `maestro spec load --category test` → test conventions + discoverable knowhow tools
49
+
50
+ **Test tool discovery** (knowhow tools as scenario source):
51
+ - Load registered test tools: `maestro spec load --category test --keyword <feature>`
52
+ - If tools found, extract their steps as additional test scenarios marked `source: "tool"`
53
+ - Each numbered step in a tool becomes a UAT test with its assertion as `expected` behavior
54
+
55
+ **Review findings integration** (from related review artifacts):
56
+ - Extract critical/high findings as additional test scenarios, marked `source: "review_finding"`
57
+ - When review verdict is "BLOCK" and review-finding tests fail, auto-enter gap-fix loop
58
+
59
+ **Debug root cause integration** (from related debug artifacts):
60
+ - Generate regression test scenarios from confirmed root causes, marked `source: "debug_root_cause"`
61
+
62
+ **Register artifact on completion:**
63
+ ```
64
+ Append to state.json.artifacts[]:
65
+ {
66
+ id: nextArtifactId(artifacts, "test"), // TST-001
67
+ type: "test",
68
+ milestone: current_milestone,
69
+ phase: target_phase,
70
+ scope: "phase",
71
+ path: "scratch/{YYYYMMDD}-test-P{N}-{slug}",
72
+ status: issues == 0 ? "completed" : "failed",
73
+ depends_on: exec_art.id,
74
+ harvested: false,
75
+ created_at: start_time,
76
+ completed_at: now()
77
+ }
78
+ ```
79
+
80
+ **Next-step routing on completion:**
81
+ - All tests pass → `/maestro-milestone-audit`
82
+ - Issues found, --auto-fix ran and succeeded → `/maestro-verify {phase}`
83
+ - Issues found, --auto-fix ran but gaps remain → `/quality-debug --from-uat {phase}`
84
+ - Issues found, manual fix needed → `/quality-debug --from-uat {phase}`
85
+ - Coverage below threshold → `/quality-auto-test {phase}`
86
+ - Need integration tests → `/quality-auto-test {phase}`
87
+ </execution>
88
+
89
+ <error_codes>
90
+ | Code | Severity | Condition | Recovery |
91
+ |------|----------|-----------|----------|
92
+ | E001 | error | Phase or task target required (no active sessions) | Prompt user for phase number |
93
+ | E002 | error | Phase not verified yet (no verification.json) | Suggest `/maestro-verify` first |
94
+ | E003 | error | Smoke test failed (app won't start) | Suggest `/quality-debug` |
95
+ | W001 | warning | One or more test scenarios failed | Auto-diagnose, suggest fix options |
96
+ | W002 | warning | Coverage below threshold | Suggest `/quality-auto-test` |
97
+ </error_codes>
98
+
99
+ <success_criteria>
100
+ - [ ] Target resolved (phase or scratch task)
101
+ - [ ] Active sessions checked, resume offered if applicable
102
+ - [ ] Smoke tests run if --smoke flag set
103
+ - [ ] test-plan.json generated with categorized tests mapped to requirements
104
+ - [ ] uat.md created/resumed with all tests
105
+ - [ ] Tests presented one at a time with expected behavior
106
+ - [ ] User responses processed as pass/issue/skip
107
+ - [ ] Severity inferred from natural language (never asked)
108
+ - [ ] Batched writes: on issue, every 5 passes, or completion
109
+ - [ ] test-results.json and coverage-report.json written
110
+ - [ ] UAT confidence scored with 4-dimension factor model
111
+ - [ ] Readiness gate checked before final report
112
+ - [ ] Pressure pass completed if > 80% pass rate
113
+ - [ ] Confidence summary appended to uat.md
114
+ - [ ] index.json uat fields updated
115
+ - [ ] If issues: parallel debug agents spawned per gap cluster
116
+ - [ ] Gaps updated with root_cause, fix_direction, affected_files
117
+ - [ ] Gap-fix loop triggered if --auto-fix (max 2 iterations)
118
+ - [ ] Next step routed (phase-transition if pass, verify if auto-fix success, debug --from-uat if issues, test-gen if low coverage)
119
+ </success_criteria>