maestro-flow 0.3.8 → 0.3.10
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.
- package/.claude/commands/learn-decompose.md +3 -3
- package/.claude/commands/learn-follow.md +5 -5
- package/.claude/commands/learn-investigate.md +3 -3
- package/.claude/commands/learn-retro.md +6 -6
- package/.claude/commands/learn-second-opinion.md +3 -3
- package/.claude/commands/maestro-analyze.md +166 -99
- package/.claude/commands/maestro-brainstorm.md +2 -2
- package/.claude/commands/maestro-execute.md +151 -97
- package/.claude/commands/maestro-fork.md +111 -0
- package/.claude/commands/maestro-init.md +6 -6
- package/.claude/commands/maestro-merge.md +77 -0
- package/.claude/commands/maestro-milestone-audit.md +72 -60
- package/.claude/commands/maestro-milestone-complete.md +67 -59
- package/.claude/commands/maestro-milestone-release.md +6 -6
- package/.claude/commands/maestro-plan.md +167 -130
- package/.claude/commands/maestro-quick.md +4 -4
- package/.claude/commands/maestro-roadmap.md +5 -5
- package/.claude/commands/maestro-spec-generate.md +5 -5
- package/.claude/commands/maestro-ui-design.md +3 -3
- package/.claude/commands/maestro-verify.md +106 -87
- package/.claude/commands/maestro.md +10 -4
- package/.claude/commands/manage-codebase-rebuild.md +4 -4
- package/.claude/commands/manage-codebase-refresh.md +1 -1
- package/.claude/commands/manage-harvest.md +6 -6
- package/.claude/commands/manage-issue-discover.md +2 -2
- package/.claude/commands/manage-issue.md +7 -7
- package/.claude/commands/manage-learn.md +2 -2
- package/.claude/commands/manage-memory-capture.md +4 -4
- package/.claude/commands/manage-memory.md +2 -2
- package/.claude/commands/manage-status.md +24 -24
- package/.claude/commands/quality-business-test.md +5 -5
- package/.claude/commands/quality-debug.md +4 -4
- package/.claude/commands/quality-integration-test.md +4 -4
- package/.claude/commands/quality-refactor.md +3 -3
- package/.claude/commands/quality-retrospective.md +2 -2
- package/.claude/commands/quality-review.md +4 -4
- package/.claude/commands/quality-sync.md +3 -3
- package/.claude/commands/quality-test-gen.md +4 -4
- package/.claude/commands/quality-test.md +9 -9
- package/.claude/commands/spec-add.md +2 -2
- package/.claude/commands/spec-load.md +1 -1
- package/.claude/commands/spec-setup.md +5 -5
- package/.claude/commands/wiki-connect.md +3 -3
- package/.claude/commands/wiki-digest.md +4 -4
- package/.codex/skills/maestro/SKILL.md +463 -0
- package/.codex/skills/maestro-analyze/SKILL.md +79 -20
- package/.codex/skills/maestro-chain/SKILL.md +248 -0
- package/.codex/skills/maestro-coordinate/SKILL.md +279 -224
- package/.codex/skills/maestro-execute/SKILL.md +35 -26
- package/.codex/skills/maestro-milestone-audit/SKILL.md +103 -209
- package/.codex/skills/maestro-milestone-complete/SKILL.md +149 -158
- package/.codex/skills/maestro-plan/SKILL.md +56 -18
- package/.codex/skills/maestro-roadmap/SKILL.md +3 -2
- package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +2 -2
- package/.codex/skills/team-executor/roles/executor/commands/monitor.md +1 -1
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +2 -2
- package/.codex/skills/team-lifecycle-v4/specs/knowledge-transfer.md +2 -2
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +1 -1
- package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +1 -1
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +1 -1
- package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +1 -1
- package/README.md +26 -21
- package/README.zh-CN.md +23 -19
- package/bin/maestro-mcp.js +1 -1
- package/chains/_intent-map.json +21 -9
- package/chains/_router.json +30 -77
- package/chains/brainstorm-driven.json +17 -6
- package/chains/full-lifecycle.json +22 -23
- package/chains/issue-lifecycle.json +13 -13
- package/chains/milestone-close.json +20 -7
- package/chains/milestone-fork-merge.json +50 -0
- package/chains/roadmap-driven.json +17 -6
- package/chains/singles/issue-analyze.json +3 -3
- package/chains/singles/issue-execute.json +3 -3
- package/chains/singles/issue-plan.json +3 -3
- package/chains/spec-driven.json +17 -6
- package/dashboard/dist/assets/{ArtifactsPage-BmPOu8sO.js → ArtifactsPage-DZNCi6tn.js} +12 -7
- package/dashboard/dist/assets/ChatInput-Bvr-FeEq.js +49 -0
- package/dashboard/dist/assets/ChatPage-D9zTkJZo.js +22 -0
- package/dashboard/dist/assets/CollabPage-B4NAHXS2.js +1 -0
- package/dashboard/dist/assets/ExecutionPanel-CFt4LJyq.js +1 -0
- package/dashboard/dist/assets/KanbanPage-C8USth6H.js +21 -0
- package/dashboard/dist/assets/{MarkdownRenderer-BjZ43aSa.js → MarkdownRenderer-X4af_WNb.js} +1 -1
- package/dashboard/dist/assets/McpPage-BKfCVIyU.js +21 -0
- package/dashboard/dist/assets/OutputPanel-BlBQFJSW.js +1 -0
- package/dashboard/dist/assets/ProblemsPanel-De3DLvoI.js +1 -0
- package/dashboard/dist/assets/{RequirementBoardPage-B7yRL0s_.js → RequirementBoardPage-Bf1trzqs.js} +2 -2
- package/dashboard/dist/assets/{RequirementPage-D8J_-b6O.js → RequirementPage-Bllxe2XI.js} +10 -5
- package/dashboard/dist/assets/{SpecsPage-6lO8v8_C.js → SpecsPage-9lwxKT27.js} +2 -2
- package/dashboard/dist/assets/{SupervisorPage-Ds5N378a.js → SupervisorPage-SusdfHFq.js} +1 -1
- package/dashboard/dist/assets/{TeamsPage-DrkKr17T.js → TeamsPage-DsuM6OwC.js} +2 -2
- package/dashboard/dist/assets/TreeBrowser-Q12qobZs.js +6 -0
- package/dashboard/dist/assets/WorkflowPage-D_Fzdy3_.js +6 -0
- package/dashboard/dist/assets/{arrow-left-CadP5YgU.js → arrow-left-Bqtb2hle.js} +1 -1
- package/dashboard/dist/assets/{check-5xufDzS8.js → check-u6fGOwQO.js} +1 -1
- package/dashboard/dist/assets/{chevron-right-CYbpR4ev.js → chevron-right-Csu22t58.js} +1 -1
- package/dashboard/dist/assets/{circle-Bm-5Q-Yh.js → circle-CMrkbRNg.js} +1 -1
- package/dashboard/dist/assets/{circle-alert-BqcYuT7x.js → circle-alert-c3tH1P4z.js} +1 -1
- package/dashboard/dist/assets/{circle-check-big-yyzAFysU.js → circle-check-big-TDSeWstm.js} +1 -1
- package/dashboard/dist/assets/{circle-check-DEVzW_lm.js → circle-check-gYxxSYuH.js} +1 -1
- package/dashboard/dist/assets/{code-BBdC8Wmw.js → code-CFN2uX9V.js} +1 -1
- package/dashboard/dist/assets/{columns-3-CQ9Trztr.js → columns-3-38xIDlzy.js} +1 -1
- package/dashboard/dist/assets/{download-DayuF-sn.js → download-DC7KkKyP.js} +1 -1
- package/dashboard/dist/assets/{folder-CqXeSKeC.js → folder-CWq_lAnf.js} +1 -1
- package/dashboard/dist/assets/index-DWG-WrzT.js +231 -0
- package/dashboard/dist/assets/{index-Dru5HYy0.js → index-Do71weNR.js} +1 -1
- package/dashboard/dist/assets/index-GUNJodSR.css +1 -0
- package/dashboard/dist/assets/{list-DBOD6IUt.js → list-CgIP_2A-.js} +1 -1
- package/dashboard/dist/assets/{minus-fQI1Syn2.js → minus-DYoN5UGk.js} +1 -1
- package/dashboard/dist/assets/{pen-line-Bkbbngl5.js → pen-line-Bh_WKYHm.js} +1 -1
- package/dashboard/dist/assets/{proxy-teW12DdZ.js → proxy-BKxDAKTj.js} +1 -1
- package/dashboard/dist/assets/{search-Bq3ygFUW.js → search-SieXnOgr.js} +1 -1
- package/dashboard/dist/assets/{shallow-22ZN8sFt.js → shallow-Bme1JY57.js} +1 -1
- package/dashboard/dist/assets/{table-BEYtdWc4.js → table-llyEtj-7.js} +1 -1
- package/dashboard/dist/assets/terminal-BB3Xfuv5.js +6 -0
- package/dashboard/dist/assets/{trash-2-DMqGBgcF.js → trash-2-C8f4vFFM.js} +1 -1
- package/dashboard/dist/assets/{zap-9DVkGVtt.js → zap-4uwlzVm0.js} +1 -1
- package/dashboard/dist/index.html +2 -2
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +8 -4
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/entry-normalizer.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/entry-normalizer.js +2 -1
- package/dashboard/dist-server/dashboard/src/server/agents/entry-normalizer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/stream-json-adapter.js +20 -10
- package/dashboard/dist-server/dashboard/src/server/agents/stream-json-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/commander/commander-agent.js +2 -2
- package/dashboard/dist-server/dashboard/src/server/commander/commander-agent.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/git.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/server/routes/git.js +79 -0
- package/dashboard/dist-server/dashboard/src/server/routes/git.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/routes/index.js +3 -0
- package/dashboard/dist-server/dashboard/src/server/routes/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/issues.js +34 -0
- package/dashboard/dist-server/dashboard/src/server/routes/issues.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/workspace.js +43 -0
- package/dashboard/dist-server/dashboard/src/server/routes/workspace.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/state/state-manager.js +43 -3
- package/dashboard/dist-server/dashboard/src/server/state/state-manager.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/execution-handler.js +2 -3
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/execution-handler.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/issue-types.d.ts +5 -0
- package/dashboard/dist-server/dashboard/src/shared/issue-types.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/normalize-task.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/shared/normalize-task.js +75 -0
- package/dashboard/dist-server/dashboard/src/shared/normalize-task.js.map +1 -0
- package/dashboard/dist-server/src/hooks/constants.d.ts +90 -12
- package/dashboard/dist-server/src/hooks/constants.js +149 -16
- package/dashboard/dist-server/src/hooks/constants.js.map +1 -1
- package/dashboard/dist-server/src/types/index.d.ts +5 -0
- package/dashboard/package.json +59 -59
- package/dist/src/cli.js +3 -1
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/collab.d.ts +14 -0
- package/dist/src/commands/collab.d.ts.map +1 -0
- package/dist/src/commands/{team.js → collab.js} +395 -96
- package/dist/src/commands/collab.js.map +1 -0
- package/dist/src/commands/hooks.d.ts +5 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +50 -10
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.d.ts +3 -1
- package/dist/src/commands/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.js +3 -1
- package/dist/src/commands/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.js +5 -1
- package/dist/src/commands/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/commands/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallFlow.js +7 -3
- package/dist/src/commands/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/commands/install-ui/StatuslineConfig.d.ts +6 -1
- package/dist/src/commands/install-ui/StatuslineConfig.d.ts.map +1 -1
- package/dist/src/commands/install-ui/StatuslineConfig.js +27 -5
- package/dist/src/commands/install-ui/StatuslineConfig.js.map +1 -1
- package/dist/src/commands/msg.d.ts.map +1 -1
- package/dist/src/commands/msg.js +4 -3
- package/dist/src/commands/msg.js.map +1 -1
- package/dist/src/hooks/__tests__/statusline-visual-test.d.ts +7 -0
- package/dist/src/hooks/__tests__/statusline-visual-test.d.ts.map +1 -0
- package/dist/src/hooks/__tests__/statusline-visual-test.js +236 -0
- package/dist/src/hooks/__tests__/statusline-visual-test.js.map +1 -0
- package/dist/src/hooks/constants.d.ts +90 -12
- package/dist/src/hooks/constants.d.ts.map +1 -1
- package/dist/src/hooks/constants.js +149 -16
- package/dist/src/hooks/constants.js.map +1 -1
- package/dist/src/hooks/guards/index.d.ts +1 -0
- package/dist/src/hooks/guards/index.d.ts.map +1 -1
- package/dist/src/hooks/guards/index.js +1 -0
- package/dist/src/hooks/guards/index.js.map +1 -1
- package/dist/src/hooks/guards/preflight-guard.d.ts +29 -0
- package/dist/src/hooks/guards/preflight-guard.d.ts.map +1 -0
- package/dist/src/hooks/guards/preflight-guard.js +95 -0
- package/dist/src/hooks/guards/preflight-guard.js.map +1 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/index.d.ts.map +1 -1
- package/dist/src/hooks/index.js +1 -0
- package/dist/src/hooks/index.js.map +1 -1
- package/dist/src/{commands/team.d.ts → hooks/preflight-core.d.ts} +12 -22
- package/dist/src/hooks/preflight-core.d.ts.map +1 -0
- package/dist/src/hooks/preflight-core.js +86 -0
- package/dist/src/hooks/preflight-core.js.map +1 -0
- package/dist/src/hooks/statusline.d.ts +8 -17
- package/dist/src/hooks/statusline.d.ts.map +1 -1
- package/dist/src/hooks/statusline.js +269 -112
- package/dist/src/hooks/statusline.js.map +1 -1
- package/dist/src/hooks/team-monitor.d.ts.map +1 -1
- package/dist/src/hooks/team-monitor.js +16 -0
- package/dist/src/hooks/team-monitor.js.map +1 -1
- package/dist/src/i18n/locales/en.d.ts.map +1 -1
- package/dist/src/i18n/locales/en.js +5 -0
- package/dist/src/i18n/locales/en.js.map +1 -1
- package/dist/src/i18n/locales/zh.d.ts.map +1 -1
- package/dist/src/i18n/locales/zh.js +5 -0
- package/dist/src/i18n/locales/zh.js.map +1 -1
- package/dist/src/i18n/types.d.ts +5 -0
- package/dist/src/i18n/types.d.ts.map +1 -1
- package/dist/src/tools/collab-adapter.d.ts +102 -0
- package/dist/src/tools/collab-adapter.d.ts.map +1 -0
- package/dist/src/tools/collab-adapter.js +458 -0
- package/dist/src/tools/collab-adapter.js.map +1 -0
- package/dist/src/tools/merge-validator.d.ts +24 -0
- package/dist/src/tools/merge-validator.d.ts.map +1 -0
- package/dist/src/tools/merge-validator.js +220 -0
- package/dist/src/tools/merge-validator.js.map +1 -0
- package/dist/src/tools/namespace-guard.d.ts +2 -0
- package/dist/src/tools/namespace-guard.d.ts.map +1 -1
- package/dist/src/tools/namespace-guard.js +12 -0
- package/dist/src/tools/namespace-guard.js.map +1 -1
- package/dist/src/tools/phase-gate-evaluator.d.ts +45 -0
- package/dist/src/tools/phase-gate-evaluator.d.ts.map +1 -0
- package/dist/src/tools/phase-gate-evaluator.js +42 -0
- package/dist/src/tools/phase-gate-evaluator.js.map +1 -0
- package/dist/src/tools/team-members.d.ts +18 -0
- package/dist/src/tools/team-members.d.ts.map +1 -1
- package/dist/src/tools/team-members.js +50 -0
- package/dist/src/tools/team-members.js.map +1 -1
- package/dist/src/tools/team-tasks.d.ts +120 -0
- package/dist/src/tools/team-tasks.d.ts.map +1 -0
- package/dist/src/tools/team-tasks.js +365 -0
- package/dist/src/tools/team-tasks.js.map +1 -0
- package/dist/src/tools/transition-recorder.d.ts +3 -0
- package/dist/src/tools/transition-recorder.d.ts.map +1 -1
- package/dist/src/tools/transition-recorder.js +52 -1
- package/dist/src/tools/transition-recorder.js.map +1 -1
- package/dist/src/types/index.d.ts +5 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/get-version.d.ts.map +1 -1
- package/dist/src/utils/get-version.js +15 -4
- package/dist/src/utils/get-version.js.map +1 -1
- package/package.json +1 -1
- package/templates/cli/prompts/workflow-skill-conflict-patterns.txt +3 -3
- package/templates/cli/prompts/workflow-skill-lessons-learned.txt +3 -3
- package/templates/config.json +7 -0
- package/templates/search-tools.md +1 -1
- package/templates/worktree-scope.json +10 -0
- package/templates/worktrees.json +27 -0
- package/workflows/analyze.md +86 -36
- package/workflows/brainstorm.md +17 -37
- package/workflows/cli-tools-usage.md +44 -27
- package/workflows/delegate-usage.md +3 -3
- package/workflows/execute.md +94 -28
- package/workflows/fork.md +309 -0
- package/workflows/init.md +10 -1
- package/workflows/issue-analyze.md +6 -2
- package/workflows/issue-discover.md +4 -4
- package/workflows/issue-execute.md +6 -3
- package/workflows/issue-plan.md +5 -2
- package/workflows/issue.md +66 -7
- package/workflows/maestro-coordinate.codex.md +281 -470
- package/workflows/maestro-coordinate.md +37 -30
- package/workflows/maestro-link-coordinate.md +2 -2
- package/workflows/maestro.codex.md +710 -0
- package/workflows/maestro.md +62 -46
- package/workflows/merge.md +285 -0
- package/workflows/milestone-audit.md +89 -70
- package/workflows/milestone-complete.md +89 -156
- package/workflows/plan.md +122 -17
- package/workflows/retrospective.md +4 -4
- package/workflows/roadmap.md +11 -3
- package/workflows/spec-generate.md +9 -0
- package/workflows/status.md +76 -27
- package/workflows/ui-design.md +14 -12
- package/workflows/verify.md +44 -8
- package/.claude/commands/maestro-phase-add.md +0 -63
- package/.claude/commands/maestro-phase-transition.md +0 -75
- package/.claude/commands/manage-issue-analyze.md +0 -62
- package/.claude/commands/manage-issue-execute.md +0 -73
- package/.claude/commands/manage-issue-plan.md +0 -62
- package/.codex/skills/maestro-phase-add/SKILL.md +0 -154
- package/.codex/skills/maestro-phase-transition/SKILL.md +0 -173
- package/.codex/skills/manage-issue-analyze/SKILL.md +0 -207
- package/.codex/skills/manage-issue-execute/SKILL.md +0 -200
- package/.codex/skills/manage-issue-plan/SKILL.md +0 -186
- package/chains/singles/phase-add.json +0 -31
- package/chains/singles/phase-transition.json +0 -23
- package/dashboard/dist/assets/ChatInput-CL8YDfOU.js +0 -67
- package/dashboard/dist/assets/ChatPage-CT-ozBK2.js +0 -8
- package/dashboard/dist/assets/CollabPage-C0rWMden.js +0 -1
- package/dashboard/dist/assets/KanbanPage-C6WbAlwI.js +0 -16
- package/dashboard/dist/assets/McpPage-BPIXADQi.js +0 -16
- package/dashboard/dist/assets/TreeBrowser-g_QUKemL.js +0 -11
- package/dashboard/dist/assets/WorkflowPage-X8aNkDEr.js +0 -6
- package/dashboard/dist/assets/git-branch-SqFf4Ru5.js +0 -6
- package/dashboard/dist/assets/index-D2Mtyw7I.css +0 -1
- package/dashboard/dist/assets/index-nufWop4p.js +0 -231
- package/dashboard/dist/assets/wrench-B84-zdLI.js +0 -11
- package/dist/src/commands/team.d.ts.map +0 -1
- package/dist/src/commands/team.js.map +0 -1
- package/workflows/phase-add.md +0 -252
- package/workflows/phase-transition.md +0 -399
|
@@ -1,130 +1,167 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: maestro-plan
|
|
3
|
-
description: Explore, clarify, plan, check, and confirm a phase execution plan
|
|
4
|
-
argument-hint: "
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Write
|
|
8
|
-
- Edit
|
|
9
|
-
- Bash
|
|
10
|
-
- Glob
|
|
11
|
-
- Grep
|
|
12
|
-
- Agent
|
|
13
|
-
- AskUserQuestion
|
|
14
|
-
---
|
|
15
|
-
<purpose>
|
|
16
|
-
Create a verified execution plan (plan.json + .task/TASK-*.json)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- `--
|
|
36
|
-
- `--
|
|
37
|
-
- `--
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
1
|
+
---
|
|
2
|
+
name: maestro-plan
|
|
3
|
+
description: Explore, clarify, plan, check, and confirm a phase execution plan
|
|
4
|
+
argument-hint: "[phase] [--collab] [--spec SPEC-xxx] [--auto] [--gaps] [--dir <path>]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Edit
|
|
9
|
+
- Bash
|
|
10
|
+
- Glob
|
|
11
|
+
- Grep
|
|
12
|
+
- Agent
|
|
13
|
+
- AskUserQuestion
|
|
14
|
+
---
|
|
15
|
+
<purpose>
|
|
16
|
+
Create a verified execution plan (plan.json + .task/TASK-*.json) through a 5-stage pipeline: Exploration, Clarification, Planning, Plan Checking, and Confirmation. Produces plan.json with waves, task definitions, and user-confirmed execution strategy.
|
|
17
|
+
|
|
18
|
+
All plan output goes to `.workflow/scratch/plan-{slug}-{date}/`. Registers PLN artifact in state.json. Performs collision detection against other plans in same milestone.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/plan.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<deferred_reading>
|
|
26
|
+
- [plan.json](~/.maestro/templates/plan.json) — read when generating plan output
|
|
27
|
+
- [task.json](~/.maestro/templates/task.json) — read when generating task files
|
|
28
|
+
- [state.json](~/.maestro/templates/state.json) — read when registering artifact
|
|
29
|
+
</deferred_reading>
|
|
30
|
+
|
|
31
|
+
<context>
|
|
32
|
+
$ARGUMENTS — phase number, or no args for milestone-wide planning, with optional flags.
|
|
33
|
+
|
|
34
|
+
**Flags:**
|
|
35
|
+
- `--collab` -- Multi-planner collaborative mode (spawn N workflow-collab-planner agents with pre-allocated TASK ID ranges)
|
|
36
|
+
- `--spec SPEC-xxx` -- Reference a task-spec for requirements input
|
|
37
|
+
- `--auto` -- Skip interactive clarification (P2), use defaults
|
|
38
|
+
- `--gaps` -- Gap closure mode: load verification/issue gaps, skip exploration, plan only gap fixes
|
|
39
|
+
- `--dir <path>` -- Use arbitrary scratch directory as context source (e.g., from analyze session)
|
|
40
|
+
|
|
41
|
+
**Scope routing:**
|
|
42
|
+
|
|
43
|
+
| Invocation | Precondition | Scope | Behavior |
|
|
44
|
+
|-----------|-------------|-------|----------|
|
|
45
|
+
| `plan` (no args) | init + roadmap | milestone | Plan all phases in current milestone |
|
|
46
|
+
| `plan 1` | init + roadmap | phase | Plan phase 1 only |
|
|
47
|
+
| `plan --dir scratch/analyze-xxx` | none | inherited | Plan against specified analyze session |
|
|
48
|
+
|
|
49
|
+
**Upstream context:**
|
|
50
|
+
- Reads `context.md` from prior analyze artifact (auto-discovered from state.json or via --dir)
|
|
51
|
+
- Reads `conclusions.json` if available (implementation_scope seeds task generation)
|
|
52
|
+
|
|
53
|
+
**Output directory**: `scratch/plan-{slug}-{date}/` (relative to `.workflow/`)
|
|
54
|
+
|
|
55
|
+
**Output structure:**
|
|
56
|
+
```
|
|
57
|
+
scratch/plan-{slug}-{date}/
|
|
58
|
+
├── plan.json # summary, task_ids[], waves[] with phase labels
|
|
59
|
+
└── .task/
|
|
60
|
+
├── TASK-001.json # { phase: 1, phase_slug: "auth", ... }
|
|
61
|
+
├── TASK-002.json
|
|
62
|
+
└── ...
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Collision detection**: After plan generation, before user confirmation, check for file overlaps with existing plans in same milestone. Non-blocking warning only.
|
|
66
|
+
|
|
67
|
+
**Artifact registration**: On completion, register in `state.json.artifacts[]`:
|
|
68
|
+
```jsonc
|
|
69
|
+
{
|
|
70
|
+
"id": "PLN-{NNN}",
|
|
71
|
+
"type": "plan",
|
|
72
|
+
"milestone": "{current_milestone or null}",
|
|
73
|
+
"phase": "{phase_number or null}",
|
|
74
|
+
"scope": "{milestone|phase|adhoc|standalone}",
|
|
75
|
+
"path": "scratch/plan-{slug}-{date}",
|
|
76
|
+
"status": "completed",
|
|
77
|
+
"depends_on": "{ANL-NNN or null}",
|
|
78
|
+
"harvested": false,
|
|
79
|
+
"created_at": "...",
|
|
80
|
+
"completed_at": "..."
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
</context>
|
|
84
|
+
|
|
85
|
+
<execution>
|
|
86
|
+
### Pre-flight: team conflict check
|
|
87
|
+
|
|
88
|
+
Before starting the plan pipeline, run:
|
|
89
|
+
```
|
|
90
|
+
Bash("maestro collab preflight --phase <phase-number>")
|
|
91
|
+
```
|
|
92
|
+
If exit code is 1, present warnings and ask whether to proceed.
|
|
93
|
+
|
|
94
|
+
Follow '~/.maestro/workflows/plan.md' completely.
|
|
95
|
+
|
|
96
|
+
### Wiki Knowledge Search (P1 addition)
|
|
97
|
+
|
|
98
|
+
During P1 Context Collection, after loading context files and before parallel exploration (step 5), search the wiki for prior knowledge related to the phase:
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
phase_keywords = extract key terms from goal/title (2-5 terms)
|
|
102
|
+
wiki_result = Bash("maestro wiki search ${phase_keywords} --json 2>/dev/null")
|
|
103
|
+
|
|
104
|
+
IF wiki_result exit code != 0 OR empty:
|
|
105
|
+
display "W003: Wiki search unavailable, continuing without prior knowledge"
|
|
106
|
+
ELSE:
|
|
107
|
+
entries = JSON.parse(wiki_result).entries (limit to first 10)
|
|
108
|
+
wiki_context = structured block for downstream stages
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Issue Linkback (--gaps mode)
|
|
112
|
+
|
|
113
|
+
After plan generation and checking, if `--gaps` mode was used, link TASK files back to issues bidirectionally:
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
For each created TASK-{NNN}.json that has issue_id:
|
|
117
|
+
Update corresponding issue in .workflow/issues/issues.jsonl:
|
|
118
|
+
task_refs: append TASK-{NNN} to array
|
|
119
|
+
task_plan_dir: relative path to .task/ directory
|
|
120
|
+
status: "planned"
|
|
121
|
+
updated_at: now()
|
|
122
|
+
Append history entry: { action: "planned", at: <ISO>, by: "maestro-plan", summary: "Linked to TASK-{NNN}" }
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
This ensures issue → TASK traceability. The `task_refs[]` and `task_plan_dir` fields on the issue allow the dashboard to resolve and display associated TASK details.
|
|
126
|
+
|
|
127
|
+
**Report format on completion:**
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
=== PLAN READY ===
|
|
131
|
+
Phase: {phase_name}
|
|
132
|
+
Tasks: {task_count} tasks in {wave_count} waves
|
|
133
|
+
Check: {checker_status} (iteration {check_count}/{max_checks})
|
|
134
|
+
Collision: {collision_status}
|
|
135
|
+
|
|
136
|
+
Plan: {scratch_dir}/plan.json
|
|
137
|
+
Tasks: {scratch_dir}/.task/TASK-*.json
|
|
138
|
+
|
|
139
|
+
Next steps:
|
|
140
|
+
/maestro-execute -- Execute the plan
|
|
141
|
+
/maestro-execute --dir {dir} -- Execute specific plan
|
|
142
|
+
/maestro-plan {phase} -- Re-plan with modifications
|
|
143
|
+
```
|
|
144
|
+
</execution>
|
|
145
|
+
|
|
146
|
+
<error_codes>
|
|
147
|
+
| Code | Severity | Condition | Recovery |
|
|
148
|
+
|------|----------|-----------|----------|
|
|
149
|
+
| E001 | error | No args and no roadmap (cannot determine scope) | Provide phase number or topic, or create roadmap |
|
|
150
|
+
| E003 | error | --gaps requires prior verification/issues to exist | Run maestro-verify first |
|
|
151
|
+
| W001 | warning | Exploration agent returned incomplete results | Retry exploration or proceed with available context |
|
|
152
|
+
| W002 | warning | Plan-checker found minor issues, continuing | Review plan-checker feedback, adjust plan if needed |
|
|
153
|
+
| W003 | warning | Wiki search unavailable or returned no results | Continue without prior knowledge context |
|
|
154
|
+
| W004 | warning | Collision detected with existing plan | Review colliding files, confirm or adjust scope |
|
|
155
|
+
</error_codes>
|
|
156
|
+
|
|
157
|
+
<success_criteria>
|
|
158
|
+
- [ ] plan.json written to scratch directory with summary, approach, task_ids, waves (with phase labels)
|
|
159
|
+
- [ ] .task/TASK-*.json files created for each task
|
|
160
|
+
- [ ] Every task has `read_first[]` with at least the file being modified + source of truth files
|
|
161
|
+
- [ ] Every task has `convergence.criteria[]` with grep-verifiable conditions (no subjective language)
|
|
162
|
+
- [ ] Every task `action` and `implementation` contain concrete values (no "align X with Y")
|
|
163
|
+
- [ ] Collision detection executed against same-milestone plans (non-blocking)
|
|
164
|
+
- [ ] Plan-checker passed (or minor issues acknowledged)
|
|
165
|
+
- [ ] User confirmation captured (execute/modify/cancel)
|
|
166
|
+
- [ ] Artifact registered in state.json with correct scope/milestone/phase/depends_on
|
|
167
|
+
</success_criteria>
|
|
@@ -33,10 +33,10 @@ Parse for:
|
|
|
33
33
|
Follow '~/.maestro/workflows/quick.md' completely.
|
|
34
34
|
|
|
35
35
|
**Next-step routing on completion:**
|
|
36
|
-
- Task done, --full verification passed →
|
|
37
|
-
- Task done, verification found gaps →
|
|
38
|
-
- Task done, want to sync docs →
|
|
39
|
-
- Need a full phase workflow instead →
|
|
36
|
+
- Task done, --full verification passed → /manage-status
|
|
37
|
+
- Task done, verification found gaps → /quality-debug {issue}
|
|
38
|
+
- Task done, want to sync docs → /quality-sync
|
|
39
|
+
- Need a full phase workflow instead → /maestro-plan {phase}
|
|
40
40
|
</execution>
|
|
41
41
|
|
|
42
42
|
<error_codes>
|
|
@@ -66,10 +66,10 @@ Auto-selection: ≥3 high uncertainty factors → Progressive, ≥3 low → Dire
|
|
|
66
66
|
Follow '~/.maestro/workflows/roadmap.md' completely.
|
|
67
67
|
|
|
68
68
|
**Next-step routing on completion:**
|
|
69
|
-
- Roadmap approved →
|
|
70
|
-
- Simple project, skip analysis →
|
|
71
|
-
- Need UI design first →
|
|
72
|
-
- View project dashboard →
|
|
69
|
+
- Roadmap approved → /maestro-analyze 1
|
|
70
|
+
- Simple project, skip analysis → /maestro-plan 1
|
|
71
|
+
- Need UI design first → /maestro-ui-design 1
|
|
72
|
+
- View project dashboard → /manage-status
|
|
73
73
|
</execution>
|
|
74
74
|
|
|
75
75
|
<error_codes>
|
|
@@ -91,5 +91,5 @@ Follow '~/.maestro/workflows/roadmap.md' completely.
|
|
|
91
91
|
- [ ] No circular dependencies in phase ordering
|
|
92
92
|
- [ ] User approved roadmap (or auto-approved with -y)
|
|
93
93
|
- [ ] `.workflow/roadmap.md` written with phase details, scope decisions, and progress table
|
|
94
|
-
- [ ]
|
|
94
|
+
- [ ] No phase directories created (phases are labels in roadmap, not directories)
|
|
95
95
|
</success_criteria>
|
|
@@ -38,7 +38,7 @@ $ARGUMENTS -- idea text, @file reference to requirements document, or brainstorm
|
|
|
38
38
|
**Input types:**
|
|
39
39
|
- Direct text: `"Build a real-time collaboration platform"`
|
|
40
40
|
- File reference: `@requirements.md` or `@design-brief.txt`
|
|
41
|
-
- Brainstorm import: `--from-brainstorm WFS-xxx` (reads `.workflow/scratch/brainstorm-*/`
|
|
41
|
+
- Brainstorm import: `--from-brainstorm WFS-xxx` (reads `.workflow/scratch/brainstorm-*/`)
|
|
42
42
|
|
|
43
43
|
**Output location:** `.workflow/.spec/SPEC-{slug}-{YYYY-MM-DD}/`
|
|
44
44
|
|
|
@@ -62,10 +62,10 @@ maestro-init → maestro-roadmap → roadmap.md directly
|
|
|
62
62
|
Follow '~/.maestro/workflows/spec-generate.md' completely.
|
|
63
63
|
|
|
64
64
|
**Next-step routing on completion:**
|
|
65
|
-
- Roadmap generated, ready to plan →
|
|
66
|
-
- Need UI design first →
|
|
67
|
-
- Need analysis before planning →
|
|
68
|
-
- View project dashboard →
|
|
65
|
+
- Roadmap generated, ready to plan → /maestro-plan 1
|
|
66
|
+
- Need UI design first → /maestro-ui-design 1
|
|
67
|
+
- Need analysis before planning → /maestro-analyze 1
|
|
68
|
+
- View project dashboard → /manage-status
|
|
69
69
|
</execution>
|
|
70
70
|
|
|
71
71
|
<error_codes>
|
|
@@ -109,9 +109,9 @@ Design System:
|
|
|
109
109
|
Compare: {phase_dir}/design-ref/prototypes/compare.html
|
|
110
110
|
|
|
111
111
|
Next steps:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
/maestro-plan {phase} -- Plan with design reference
|
|
113
|
+
/maestro-ui-design {phase} --refine -- Refine selected design
|
|
114
|
+
/maestro-analyze {phase} -- Analyze before planning
|
|
115
115
|
```
|
|
116
116
|
</execution>
|
|
117
117
|
|
|
@@ -1,87 +1,106 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: maestro-verify
|
|
3
|
-
description: Goal-Backward verification with 3-layer must-have checks, anti-pattern scan, Nyquist test coverage validation, and gap-fix plan generation
|
|
4
|
-
argument-hint: "
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Write
|
|
8
|
-
- Edit
|
|
9
|
-
- Bash
|
|
10
|
-
- Glob
|
|
11
|
-
- Grep
|
|
12
|
-
- Agent
|
|
13
|
-
- AskUserQuestion
|
|
14
|
-
---
|
|
15
|
-
<purpose>
|
|
16
|
-
Verify
|
|
17
|
-
1. **Goal-Backward verification** — 3-layer check (Truths → Artifacts → Wiring) that validates goals are actually achieved
|
|
18
|
-
2. **Anti-pattern scan** — detect stubs, placeholders, TODO/FIXME, empty returns in modified files
|
|
19
|
-
3. **Nyquist test coverage validation** — requirement-to-test mapping with gap classification
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
- [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- `--skip-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
</
|
|
73
|
-
|
|
74
|
-
<
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
1
|
+
---
|
|
2
|
+
name: maestro-verify
|
|
3
|
+
description: Goal-Backward verification with 3-layer must-have checks, anti-pattern scan, Nyquist test coverage validation, and gap-fix plan generation
|
|
4
|
+
argument-hint: "[phase] [--skip-tests] [--skip-antipattern] [--dir <path>]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Edit
|
|
9
|
+
- Bash
|
|
10
|
+
- Glob
|
|
11
|
+
- Grep
|
|
12
|
+
- Agent
|
|
13
|
+
- AskUserQuestion
|
|
14
|
+
---
|
|
15
|
+
<purpose>
|
|
16
|
+
Verify execution results through three complementary methods:
|
|
17
|
+
1. **Goal-Backward verification** — 3-layer check (Truths → Artifacts → Wiring) that validates goals are actually achieved
|
|
18
|
+
2. **Anti-pattern scan** — detect stubs, placeholders, TODO/FIXME, empty returns in modified files
|
|
19
|
+
3. **Nyquist test coverage validation** — requirement-to-test mapping with gap classification
|
|
20
|
+
|
|
21
|
+
Supports dual-level verification:
|
|
22
|
+
- **Single plan**: `verify --dir scratch/plan-xxx` — verifies one plan, writes `verification.json` into plan dir
|
|
23
|
+
- **Milestone**: `verify` (no args) — aggregates all execute artifacts for current milestone into `scratch/verify-{milestone}-{date}/milestone-verification.json`
|
|
24
|
+
|
|
25
|
+
Registers VRF artifact in state.json on completion.
|
|
26
|
+
</purpose>
|
|
27
|
+
|
|
28
|
+
<required_reading>
|
|
29
|
+
@~/.maestro/workflows/verify.md
|
|
30
|
+
</required_reading>
|
|
31
|
+
|
|
32
|
+
<deferred_reading>
|
|
33
|
+
- [verification.json](~/.maestro/templates/verification.json) — read when generating output
|
|
34
|
+
- [validation.json](~/.maestro/templates/validation.json) — read when generating test output
|
|
35
|
+
</deferred_reading>
|
|
36
|
+
|
|
37
|
+
<context>
|
|
38
|
+
$ARGUMENTS — phase number or no args for milestone-wide, with optional flags.
|
|
39
|
+
|
|
40
|
+
**Flags:**
|
|
41
|
+
- `--skip-tests` -- Skip Nyquist test coverage validation, only run Goal-Backward
|
|
42
|
+
- `--skip-antipattern` -- Skip anti-pattern scan
|
|
43
|
+
- `--dir <path>` -- Verify specific plan directory
|
|
44
|
+
|
|
45
|
+
**Scope routing:**
|
|
46
|
+
|
|
47
|
+
| Invocation | Behavior |
|
|
48
|
+
|-----------|----------|
|
|
49
|
+
| `verify` (no args) | Milestone-level: verify all executed plans, aggregate results |
|
|
50
|
+
| `verify 1` | Phase-level: verify all executed plans for phase 1 |
|
|
51
|
+
| `verify --dir scratch/plan-xxx` | Single plan: verify specific plan directory |
|
|
52
|
+
|
|
53
|
+
**Single plan output**: `verification.json` appended to plan's scratch dir
|
|
54
|
+
**Milestone output**: `scratch/verify-{milestone-slug}-{date}/milestone-verification.json`
|
|
55
|
+
|
|
56
|
+
**Artifact registration**: On completion, register VRF artifact:
|
|
57
|
+
```jsonc
|
|
58
|
+
{
|
|
59
|
+
"id": "VRF-{NNN}",
|
|
60
|
+
"type": "verify",
|
|
61
|
+
"milestone": "{current_milestone or null}",
|
|
62
|
+
"phase": null,
|
|
63
|
+
"scope": "milestone",
|
|
64
|
+
"path": "scratch/verify-{milestone-slug}-{date}",
|
|
65
|
+
"status": "completed",
|
|
66
|
+
"depends_on": ["EXC-001", "EXC-002", ...],
|
|
67
|
+
"harvested": false,
|
|
68
|
+
"created_at": "...",
|
|
69
|
+
"completed_at": "..."
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
</context>
|
|
73
|
+
|
|
74
|
+
<execution>
|
|
75
|
+
Follow '~/.maestro/workflows/verify.md' completely.
|
|
76
|
+
|
|
77
|
+
**Next-step routing on completion:**
|
|
78
|
+
- All checks pass, no gaps → /quality-review
|
|
79
|
+
- Gaps found (must-have failures or anti-pattern blockers) → /maestro-plan --gaps
|
|
80
|
+
- Low test coverage (Nyquist gaps) → /quality-test-gen
|
|
81
|
+
|
|
82
|
+
**Gap-fix closure loop:**
|
|
83
|
+
Gaps found → maestro-plan --gaps → maestro-execute → maestro-verify (re-run)
|
|
84
|
+
</execution>
|
|
85
|
+
|
|
86
|
+
<error_codes>
|
|
87
|
+
| Code | Severity | Condition | Recovery |
|
|
88
|
+
|------|----------|-----------|----------|
|
|
89
|
+
| E001 | error | No executed plans found for verification | Run maestro-execute first |
|
|
90
|
+
| E002 | error | Plan directory not found | Check --dir path |
|
|
91
|
+
| E003 | error | No execution results found (missing summaries) | Run maestro-execute first |
|
|
92
|
+
| W001 | warning | Test coverage below configured threshold | Review coverage gaps |
|
|
93
|
+
| W002 | warning | Anti-pattern blockers found in modified files | Fix blockers before proceeding |
|
|
94
|
+
</error_codes>
|
|
95
|
+
|
|
96
|
+
<success_criteria>
|
|
97
|
+
- [ ] Must-haves established (from convergence.criteria in tasks)
|
|
98
|
+
- [ ] All truths verified with status and evidence (Layer 1)
|
|
99
|
+
- [ ] All artifacts checked at L1 (exists), L2 (substantive), L3 (wired) (Layer 2)
|
|
100
|
+
- [ ] All key links verified with evidence (Layer 3)
|
|
101
|
+
- [ ] Anti-patterns scanned and categorized (unless skipped)
|
|
102
|
+
- [ ] Nyquist test coverage assessed (unless skipped)
|
|
103
|
+
- [ ] Fix plans generated for identified gaps
|
|
104
|
+
- [ ] verification.json written to plan dir (single plan) or milestone verify dir
|
|
105
|
+
- [ ] VRF artifact registered in state.json
|
|
106
|
+
</success_criteria>
|
|
@@ -39,9 +39,9 @@ $ARGUMENTS — user intent text, or special keywords.
|
|
|
39
39
|
- `--chain <name>` — Force a specific chain (bypass intent detection). Valid: full-lifecycle, spec-driven, brainstorm-driven, execute-verify, quality-loop, milestone-close, quick, review
|
|
40
40
|
|
|
41
41
|
**State files read:**
|
|
42
|
-
- `.workflow/state.json` — project state machine
|
|
42
|
+
- `.workflow/state.json` — project state machine + artifact registry
|
|
43
43
|
- `.workflow/roadmap.md` — milestone/phase structure
|
|
44
|
-
- `.workflow/
|
|
44
|
+
- `.workflow/scratch/*/plan.json` — plan metadata (via artifact registry paths)
|
|
45
45
|
</context>
|
|
46
46
|
|
|
47
47
|
<execution>
|
|
@@ -65,7 +65,7 @@ When `-y` is active, maestro propagates auto flags to downstream commands. Only
|
|
|
65
65
|
| quality-test-gen | *(none)* | No auto flag — generates tests normally |
|
|
66
66
|
| quality-debug | *(none)* | No auto flag — runs diagnosis normally |
|
|
67
67
|
| quality-retrospective | `--auto-yes` | Accept all routing recommendations (spec/note/issue) without prompting |
|
|
68
|
-
| maestro-
|
|
68
|
+
| maestro-milestone-audit | *(none)* | No auto flag — validates milestone readiness |
|
|
69
69
|
| manage-learn | *(none)* | No auto flag — pure file operation, no prompts |
|
|
70
70
|
|
|
71
71
|
Commands not listed (manage-*, spec-*, milestone-*) have no auto flags and execute as-is.
|
|
@@ -75,6 +75,12 @@ In auto mode, maestro also:
|
|
|
75
75
|
- Skips chain confirmation (Step 5d)
|
|
76
76
|
- Auto-skips on step errors (retry once, then skip and continue)
|
|
77
77
|
|
|
78
|
+
**Context cleanup hint:**
|
|
79
|
+
|
|
80
|
+
After completing step 3+, proactively suggest `-c` resume:
|
|
81
|
+
- Interactive mode: display `⚡ 已执行 {N} 步,上下文较重。可随时 /maestro -c 在新上下文中恢复。`
|
|
82
|
+
- `-y` mode and step 4+: log one-line warning to status.json, continue.
|
|
83
|
+
|
|
78
84
|
**Context window reminder:**
|
|
79
85
|
|
|
80
86
|
Before each Step 7 Skill() call, if context usage is near the window limit:
|
|
@@ -87,7 +93,7 @@ Before each Step 7 Skill() call, if context usage is near the window limit:
|
|
|
87
93
|
=== MAESTRO SESSION COMPLETE ===
|
|
88
94
|
Session: {session_id}
|
|
89
95
|
Chain: {chain_name} ({steps_completed}/{steps_total} steps)
|
|
90
|
-
|
|
96
|
+
Milestone: {current_milestone} (if applicable)
|
|
91
97
|
Mode: {auto | interactive}
|
|
92
98
|
|
|
93
99
|
Steps:
|