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.
- package/.agents/agents/cli-explore-agent.md +187 -0
- package/.agents/agents/cross-role-reviewer.md +173 -0
- package/.agents/agents/impeccable-agent.md +101 -0
- package/.agents/agents/role-design-author.md +218 -0
- package/.agents/agents/team-supervisor.md +145 -0
- package/.agents/agents/team-worker.md +239 -0
- package/.agents/agents/ui-design-agent.md +272 -0
- package/.agents/agents/workflow-analyzer.md +117 -0
- package/.agents/agents/workflow-codebase-mapper.md +79 -0
- package/.agents/agents/workflow-collab-planner.md +145 -0
- package/.agents/agents/workflow-debugger.md +105 -0
- package/.agents/agents/workflow-executor.md +134 -0
- package/.agents/agents/workflow-external-researcher.md +88 -0
- package/.agents/agents/workflow-integration-checker.md +85 -0
- package/.agents/agents/workflow-nyquist-auditor.md +87 -0
- package/.agents/agents/workflow-phase-researcher.md +87 -0
- package/.agents/agents/workflow-plan-checker.md +92 -0
- package/.agents/agents/workflow-planner.md +197 -0
- package/.agents/agents/workflow-project-researcher.md +76 -0
- package/.agents/agents/workflow-research-synthesizer.md +72 -0
- package/.agents/agents/workflow-reviewer.md +84 -0
- package/.agents/agents/workflow-roadmapper.md +83 -0
- package/.agents/agents/workflow-verifier.md +122 -0
- package/.agents/skills/codify-to-knowhow/SKILL.md +169 -0
- package/.agents/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
- package/.agents/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
- package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
- package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
- package/.agents/skills/learn-decompose/SKILL.md +118 -0
- package/.agents/skills/learn-follow/SKILL.md +129 -0
- package/.agents/skills/learn-investigate/SKILL.md +154 -0
- package/.agents/skills/learn-retro/SKILL.md +159 -0
- package/.agents/skills/learn-second-opinion/SKILL.md +124 -0
- package/.agents/skills/maestro/SKILL.md +258 -0
- package/.agents/skills/maestro-amend/SKILL.md +165 -0
- package/.agents/skills/maestro-analyze/SKILL.md +161 -0
- package/.agents/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agents/skills/maestro-brainstorm/SKILL.md +134 -0
- package/.agents/skills/maestro-collab/SKILL.md +174 -0
- package/.agents/skills/maestro-composer/SKILL.md +181 -0
- package/.agents/skills/maestro-execute/SKILL.md +133 -0
- package/.agents/skills/maestro-fork/SKILL.md +88 -0
- package/.agents/skills/maestro-guard/SKILL.md +103 -0
- package/.agents/skills/maestro-help/SKILL.md +300 -0
- package/.agents/skills/maestro-help/index/catalog.json +202 -0
- package/.agents/skills/maestro-help/phases/01-parse-intent.md +122 -0
- package/.agents/skills/maestro-help/phases/02-search-present.md +183 -0
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +213 -0
- package/.agents/skills/maestro-impeccable/SKILL.md +251 -0
- package/.agents/skills/maestro-init/SKILL.md +80 -0
- package/.agents/skills/maestro-learn/SKILL.md +142 -0
- package/.agents/skills/maestro-merge/SKILL.md +66 -0
- package/.agents/skills/maestro-milestone-audit/SKILL.md +72 -0
- package/.agents/skills/maestro-milestone-complete/SKILL.md +79 -0
- package/.agents/skills/maestro-milestone-release/SKILL.md +98 -0
- package/.agents/skills/maestro-overlay/SKILL.md +180 -0
- package/.agents/skills/maestro-plan/SKILL.md +182 -0
- package/.agents/skills/maestro-player/SKILL.md +177 -0
- package/.agents/skills/maestro-quick/SKILL.md +67 -0
- package/.agents/skills/maestro-ralph/SKILL.md +756 -0
- package/.agents/skills/maestro-ralph-execute/SKILL.md +273 -0
- package/.agents/skills/maestro-roadmap/SKILL.md +131 -0
- package/.agents/skills/maestro-tools-execute/SKILL.md +119 -0
- package/.agents/skills/maestro-tools-register/SKILL.md +159 -0
- package/.agents/skills/maestro-ui-codify/SKILL.md +82 -0
- package/.agents/skills/maestro-update/SKILL.md +178 -0
- package/.agents/skills/maestro-verify/SKILL.md +111 -0
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +77 -0
- package/.agents/skills/manage-codebase-refresh/SKILL.md +59 -0
- package/.agents/skills/manage-harvest/SKILL.md +96 -0
- package/.agents/skills/manage-issue/SKILL.md +75 -0
- package/.agents/skills/manage-issue-discover/SKILL.md +83 -0
- package/.agents/skills/manage-knowhow/SKILL.md +79 -0
- package/.agents/skills/manage-knowhow-capture/SKILL.md +81 -0
- package/.agents/skills/manage-learn/SKILL.md +67 -0
- package/.agents/skills/manage-status/SKILL.md +54 -0
- package/.agents/skills/manage-wiki/SKILL.md +64 -0
- package/.agents/skills/quality-auto-test/SKILL.md +138 -0
- package/.agents/skills/quality-debug/SKILL.md +122 -0
- package/.agents/skills/quality-refactor/SKILL.md +69 -0
- package/.agents/skills/quality-retrospective/SKILL.md +79 -0
- package/.agents/skills/quality-review/SKILL.md +130 -0
- package/.agents/skills/quality-sync/SKILL.md +53 -0
- package/.agents/skills/quality-test/SKILL.md +119 -0
- package/.agents/skills/security-audit/SKILL.md +157 -0
- package/.agents/skills/skill-iter-tune/SKILL.md +384 -0
- package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -0
- package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -0
- package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
- package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -0
- package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -0
- package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
- package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
- package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
- package/.agents/skills/spec-add/SKILL.md +70 -0
- package/.agents/skills/spec-load/SKILL.md +73 -0
- package/.agents/skills/spec-remove/SKILL.md +53 -0
- package/.agents/skills/spec-setup/SKILL.md +50 -0
- package/.agents/skills/team-coordinate/SKILL.md +268 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -0
- package/.agents/skills/team-coordinate/roles/coordinator/role.md +365 -0
- package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
- package/.agents/skills/team-coordinate/specs/pipelines.md +97 -0
- package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -0
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -0
- package/.agents/skills/team-executor/SKILL.md +191 -0
- package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -0
- package/.agents/skills/team-executor/roles/executor/role.md +171 -0
- package/.agents/skills/team-executor/specs/session-schema.md +264 -0
- package/.agents/skills/team-lifecycle-v4/SKILL.md +211 -0
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +96 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +69 -0
- package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +87 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +71 -0
- package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +194 -0
- package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +89 -0
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +97 -0
- package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
- package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
- package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -0
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -0
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -0
- package/.agents/skills/team-quality-assurance/SKILL.md +149 -0
- package/.agents/skills/team-quality-assurance/roles/analyst/role.md +90 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
- package/.agents/skills/team-quality-assurance/roles/executor/role.md +68 -0
- package/.agents/skills/team-quality-assurance/roles/generator/role.md +70 -0
- package/.agents/skills/team-quality-assurance/roles/scout/role.md +77 -0
- package/.agents/skills/team-quality-assurance/roles/strategist/role.md +73 -0
- package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -0
- package/.agents/skills/team-quality-assurance/specs/team-config.json +131 -0
- package/.agents/skills/team-review/SKILL.md +149 -0
- package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
- package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
- package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -0
- package/.agents/skills/team-review/roles/coordinator/role.md +132 -0
- package/.agents/skills/team-review/roles/fixer/role.md +78 -0
- package/.agents/skills/team-review/roles/reviewer/role.md +70 -0
- package/.agents/skills/team-review/roles/scanner/role.md +81 -0
- package/.agents/skills/team-review/specs/dimensions.md +82 -0
- package/.agents/skills/team-review/specs/finding-schema.json +82 -0
- package/.agents/skills/team-review/specs/pipelines.md +102 -0
- package/.agents/skills/team-review/specs/team-config.json +27 -0
- package/.agents/skills/team-tech-debt/SKILL.md +130 -0
- package/.agents/skills/team-tech-debt/roles/assessor/role.md +79 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -0
- package/.agents/skills/team-tech-debt/roles/executor/role.md +78 -0
- package/.agents/skills/team-tech-debt/roles/planner/role.md +71 -0
- package/.agents/skills/team-tech-debt/roles/scanner/role.md +92 -0
- package/.agents/skills/team-tech-debt/roles/validator/role.md +80 -0
- package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -0
- package/.agents/skills/team-tech-debt/specs/team-config.json +129 -0
- package/.agents/skills/team-testing/SKILL.md +145 -0
- package/.agents/skills/team-testing/roles/analyst/role.md +105 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -0
- package/.agents/skills/team-testing/roles/coordinator/role.md +134 -0
- package/.agents/skills/team-testing/roles/executor/role.md +101 -0
- package/.agents/skills/team-testing/roles/generator/role.md +100 -0
- package/.agents/skills/team-testing/roles/strategist/role.md +85 -0
- package/.agents/skills/team-testing/specs/pipelines.md +101 -0
- package/.agents/skills/team-testing/specs/team-config.json +93 -0
- package/.agents/skills/wiki-connect/SKILL.md +64 -0
- package/.agents/skills/wiki-digest/SKILL.md +70 -0
- package/.agents/skills/workflow-skill-designer/SKILL.md +498 -0
- package/.agents/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
- package/.agents/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
- package/.agents/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
- package/.agents/skills/workflow-skill-designer/phases/04-validation.md +471 -0
- package/.agy/agents/cli-explore-agent.md +1 -3
- package/.agy/agents/cross-role-reviewer.md +170 -0
- package/.agy/agents/role-design-author.md +215 -0
- package/.agy/agents/ui-design-agent.md +1 -18
- package/.agy/agents/workflow-analyzer.md +1 -1
- package/.agy/agents/workflow-external-researcher.md +1 -1
- package/.agy/skills/maestro/SKILL.md +63 -27
- package/.agy/skills/maestro-analyze/SKILL.md +30 -4
- package/.agy/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +119 -103
- package/.agy/skills/maestro-help/SKILL.md +48 -14
- package/.agy/skills/maestro-help/index/catalog.json +29 -11
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agy/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agy/skills/maestro-init/SKILL.md +3 -3
- package/.agy/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agy/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agy/skills/maestro-plan/SKILL.md +14 -4
- package/.agy/skills/maestro-ralph/SKILL.md +368 -162
- package/.agy/skills/maestro-ralph-execute/SKILL.md +81 -67
- package/.agy/skills/maestro-roadmap/SKILL.md +42 -81
- package/.agy/skills/quality-auto-test/SKILL.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.claude/agents/cli-explore-agent.md +1 -3
- package/.claude/agents/cross-role-reviewer.md +171 -0
- package/.claude/agents/role-design-author.md +216 -0
- package/.claude/agents/ui-design-agent.md +1 -18
- package/.claude/agents/workflow-analyzer.md +1 -1
- package/.claude/agents/workflow-external-researcher.md +1 -1
- package/.claude/commands/maestro-analyze.md +30 -4
- package/.claude/commands/maestro-blueprint.md +130 -0
- package/.claude/commands/maestro-brainstorm.md +132 -116
- package/.claude/commands/maestro-init.md +3 -3
- package/.claude/commands/maestro-milestone-audit.md +5 -3
- package/.claude/commands/maestro-milestone-complete.md +7 -5
- package/.claude/commands/maestro-plan.md +14 -4
- package/.claude/commands/maestro-ralph-execute.md +81 -67
- package/.claude/commands/maestro-ralph.md +368 -162
- package/.claude/commands/maestro-roadmap.md +42 -81
- package/.claude/commands/maestro.md +63 -27
- package/.claude/commands/quality-auto-test.md +1 -1
- package/.claude/skills/maestro-help/SKILL.md +48 -14
- package/.claude/skills/maestro-help/index/catalog.json +29 -11
- package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.claude/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.codex/skills/maestro/SKILL.md +84 -41
- package/.codex/skills/maestro-amend/SKILL.md +157 -0
- package/.codex/skills/maestro-analyze/SKILL.md +71 -23
- package/.codex/skills/maestro-blueprint/SKILL.md +122 -0
- package/.codex/skills/maestro-brainstorm/SKILL.md +135 -45
- package/.codex/skills/maestro-composer/SKILL.md +1 -1
- package/.codex/skills/maestro-execute/SKILL.md +13 -4
- package/.codex/skills/maestro-help/SKILL.md +28 -18
- package/.codex/skills/maestro-help/catalog.json +29 -11
- package/.codex/skills/maestro-init/SKILL.md +7 -7
- package/.codex/skills/maestro-plan/SKILL.md +27 -9
- package/.codex/skills/maestro-ralph/SKILL.md +740 -491
- package/.codex/skills/maestro-roadmap/SKILL.md +55 -72
- package/.codex/skills/maestro-update/SKILL.md +169 -0
- package/.codex/skills/maestro-verify/SKILL.md +11 -2
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
- package/.codex/skills/manage-harvest/SKILL.md +10 -2
- package/.codex/skills/quality-retrospective/SKILL.md +9 -2
- package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +13 -7
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +12 -0
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +144 -0
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +8 -1
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +6 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +97 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/tools/spec-init.d.ts +16 -2
- package/dist/src/tools/spec-init.d.ts.map +1 -1
- package/dist/src/tools/spec-init.js +58 -187
- package/dist/src/tools/spec-init.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +16 -16
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-seeds.d.ts +33 -0
- package/dist/src/tools/spec-seeds.d.ts.map +1 -0
- package/dist/src/tools/spec-seeds.js +200 -0
- package/dist/src/tools/spec-seeds.js.map +1 -0
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +7 -9
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts +11 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.js +61 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts +3 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts +2 -0
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +14 -2
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +16 -3
- package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/tui/install-ui/InstallHub.d.ts +2 -0
- package/dist/src/tui/install-ui/InstallHub.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallHub.js +8 -0
- package/dist/src/tui/install-ui/InstallHub.js.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.js +3 -1
- package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
- package/dist/src/utils/update-notices.js +31 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +5 -2
- package/templates/business-test-report.json +1 -1
- package/templates/index.json +1 -1
- package/templates/roadmap.md +15 -9
- package/templates/state.json +18 -17
- package/workflows/analyze.md +79 -11
- package/workflows/auto-test.md +6 -6
- package/workflows/blueprint.md +431 -0
- package/workflows/brainstorm.md +603 -496
- package/workflows/business-test.md +7 -7
- package/workflows/codebase-rebuild.md +4 -4
- package/workflows/harvest.md +184 -10
- package/workflows/init.md +9 -8
- package/workflows/maestro.md +1 -1
- package/workflows/milestone-audit.md +12 -4
- package/workflows/milestone-complete.md +11 -6
- package/workflows/plan.md +88 -22
- package/workflows/roadmap-common.md +1 -1
- package/workflows/roadmap.md +13 -3
- package/workflows/spec-generate.md +24 -13
- package/workflows/ui-design.md +2 -2
- package/workflows/ui-style.md +1 -1
- package/.agy/agents/conceptual-planning-agent.md +0 -244
- package/.claude/agents/conceptual-planning-agent.md +0 -245
|
@@ -33,36 +33,46 @@ const taskPatterns = [
|
|
|
33
33
|
|
|
34
34
|
#### Step 4.2: 推荐工作流
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
**新项目 — Path A** (复杂度: 高):
|
|
37
37
|
|
|
38
38
|
```markdown
|
|
39
39
|
## 新项目工作流
|
|
40
40
|
|
|
41
|
-
### 路径
|
|
42
|
-
1. `/maestro-
|
|
43
|
-
2. `/maestro-
|
|
44
|
-
3.
|
|
41
|
+
### 路径 A: 完整新项目
|
|
42
|
+
1. `/maestro-brainstorm "项目描述"` — 发散探索,多角色创意
|
|
43
|
+
2. `/maestro-blueprint` — (可选) 7-phase 正式规格文档化
|
|
44
|
+
3. `/maestro-init --from brainstorm:ID`
|
|
45
|
+
4. `/maestro-analyze "topic"` — 宏观分析,探索影响面 → scope_verdict
|
|
46
|
+
5. `/maestro-roadmap --from analyze:ANL-xxx` — 纯编排,Milestone > Phase 分解
|
|
47
|
+
6. `/maestro-analyze 1` — 微观分析,Phase 级深入
|
|
48
|
+
7. `/maestro-plan 1` → `/maestro-execute` → `/maestro-verify`
|
|
45
49
|
|
|
46
|
-
### 路径
|
|
47
|
-
1. `/maestro-
|
|
48
|
-
2. `/maestro-init --from-brainstorm ANL-xxx` — 基于分析初始化
|
|
49
|
-
3. `/maestro-roadmap "创建路线图" -y`
|
|
50
|
+
### 路径 E: 纯规格文档(不进执行链)
|
|
51
|
+
1. `/maestro-blueprint "project idea"` — 供人阅读和决策
|
|
50
52
|
|
|
51
|
-
### 路径
|
|
52
|
-
1. `/maestro-
|
|
53
|
-
2. `/maestro-spec-generate` — 7 阶段规范生成
|
|
53
|
+
### 路径 F: 纯探索(不进执行链)
|
|
54
|
+
1. `/maestro-brainstorm "idea"` — 供人决策
|
|
54
55
|
```
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
**旧项目大功能 — Path B** (复杂度: 高):
|
|
57
58
|
|
|
58
59
|
```markdown
|
|
59
|
-
##
|
|
60
|
+
## 旧项目大功能工作流
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=large
|
|
63
|
+
2. `/maestro-roadmap --from analyze:ANL-xxx` — Milestone > Phase 分解
|
|
64
|
+
3. `/maestro-analyze 1` — 微观分析
|
|
65
|
+
4. `/maestro-plan 1` → `/maestro-execute` → `/maestro-verify`
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**中等功能 — Path C** (复杂度: 中,跳过 roadmap):
|
|
69
|
+
|
|
70
|
+
```markdown
|
|
71
|
+
## 中等功能工作流
|
|
72
|
+
|
|
73
|
+
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=medium
|
|
74
|
+
2. `/maestro-plan --from analyze:ANL-xxx` — 直达规划,跳过 roadmap
|
|
75
|
+
3. `/maestro-execute` → `/maestro-verify`
|
|
66
76
|
|
|
67
77
|
### 快速渠道(简单功能)
|
|
68
78
|
1. `/maestro-quick "功能描述"` — 一键完成
|
|
@@ -71,13 +81,22 @@ const taskPatterns = [
|
|
|
71
81
|
1. `/maestro -y "功能描述"` — 自动选择并执行完整流程
|
|
72
82
|
```
|
|
73
83
|
|
|
74
|
-
**
|
|
84
|
+
**小改动 — Path D** (复杂度: 低):
|
|
75
85
|
|
|
76
86
|
```markdown
|
|
77
|
-
##
|
|
87
|
+
## 小改动工作流
|
|
88
|
+
|
|
89
|
+
1. `/maestro-plan "fix auth bug"` — 直接规划
|
|
90
|
+
2. `/maestro-execute` → `/maestro-verify`
|
|
78
91
|
|
|
79
92
|
### 快速修复(已知问题)
|
|
80
93
|
1. `/maestro-quick "修复 Bug 描述"`
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Bug 追踪** (Issue 闭环):
|
|
97
|
+
|
|
98
|
+
```markdown
|
|
99
|
+
## Bug 追踪工作流
|
|
81
100
|
|
|
82
101
|
### Issue 闭环(需要追踪)
|
|
83
102
|
1. `/manage-issue-discover by-prompt "问题描述"` — 发现 Issue
|
|
@@ -109,7 +128,10 @@ const taskPatterns = [
|
|
|
109
128
|
对需要全景视角的用户,展示 Mermaid 图:
|
|
110
129
|
|
|
111
130
|
```
|
|
112
|
-
|
|
131
|
+
上游起源: brainstorm(发散) | blueprint(收敛) → 可选
|
|
132
|
+
理解层: analyze "topic"(宏观) → scope_verdict 路由
|
|
133
|
+
编排层: roadmap(可选,仅 scope_verdict=large 时建议)
|
|
134
|
+
执行层: plan → execute → verify → quality → milestone-audit → milestone-complete
|
|
113
135
|
快速渠道: maestro-quick → (直接完成)
|
|
114
136
|
Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute → close
|
|
115
137
|
全自动: /maestro -y → (自动路由)
|
|
@@ -122,11 +144,16 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
122
144
|
```markdown
|
|
123
145
|
## 核心概念
|
|
124
146
|
|
|
125
|
-
- **
|
|
126
|
-
- **
|
|
147
|
+
- **Roadmap**: 项目级常驻规划文档,包含多个 Milestone
|
|
148
|
+
- **Milestone**: 可独立交付的版本节点(v0.1.0-rc1),包含多个 Phase
|
|
149
|
+
- **Phase**: Milestone 内的同步屏障执行阶段,走 analyze → plan → execute → verify 生命周期
|
|
150
|
+
- **Task**: Phase 内的具体代码修改单元(wave DAG 管理并行)
|
|
151
|
+
- **Blueprint**: 正式规格文档化命令(7-phase 收敛),与 brainstorm 并列作为上游起源
|
|
152
|
+
- **Analyze 双层**: 宏观(文本参数)探索影响面产出 scope_verdict;微观(数字参数)Phase 级深入分析
|
|
153
|
+
- **scope_verdict**: analyze 宏观完成后的路由建议 — large→roadmap, medium/small→直达 plan
|
|
127
154
|
- **Overlay**: 非侵入式命令补丁,扩展命令行为而不修改源文件
|
|
128
155
|
- **Delegate**: 将子任务委派给外部 AI 工具(Gemini/Claude/Codex)
|
|
129
|
-
- **Spec**:
|
|
156
|
+
- **Spec**: 项目约束规则(coding/arch/debug/test),自动注入到工作流
|
|
130
157
|
- **Wiki**: 知识图谱,存储详细技术文档
|
|
131
158
|
- **Ralph**: 自适应决策引擎,动态调整执行链
|
|
132
159
|
```
|
|
@@ -146,14 +173,14 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
146
173
|
|---|------|------|---------|
|
|
147
174
|
| 1 | `/maestro` | 智能协调器 | 不确定用哪个命令时,告诉它你的目标 |
|
|
148
175
|
| 2 | `/maestro-init` | 初始化项目 | 首次使用,创建 .workflow/ 结构 |
|
|
149
|
-
| 3 | `/maestro-
|
|
150
|
-
| 4 | `/maestro-
|
|
151
|
-
| 5 | `/maestro-
|
|
152
|
-
| 6 | `/maestro-
|
|
153
|
-
| 7 | `/maestro-
|
|
154
|
-
| 8 | `/maestro-
|
|
155
|
-
| 9 | `/
|
|
156
|
-
| 10 | `/
|
|
176
|
+
| 3 | `/maestro-brainstorm` | 头脑风暴 | 新项目发散探索、多角色创意 |
|
|
177
|
+
| 4 | `/maestro-blueprint` | 规格文档化 | 正式 7-phase 收敛规格链 |
|
|
178
|
+
| 5 | `/maestro-analyze` | 双层分析 | 宏观: `"topic"` 探索影响面;微观: `1` Phase 级深入 |
|
|
179
|
+
| 6 | `/maestro-roadmap` | 路线图编排 | scope_verdict=large 时,Milestone > Phase 分解 |
|
|
180
|
+
| 7 | `/maestro-plan` | 规划 | 分析完成后生成执行计划,支持 `--from analyze:ANL-xxx` 直达 |
|
|
181
|
+
| 8 | `/maestro-execute` | 执行 | 计划完成后,执行实现 |
|
|
182
|
+
| 9 | `/maestro-verify` | 验证 | 执行完成后,检查成果 |
|
|
183
|
+
| 10 | `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
157
184
|
```
|
|
158
185
|
|
|
159
186
|
#### Step 5.2: 快速入门路径
|
|
@@ -77,7 +77,7 @@ After codebase exploration, scan results for context-aware trigger signals (base
|
|
|
77
77
|
|
|
78
78
|
## Phase 4: Context Packaging
|
|
79
79
|
|
|
80
|
-
1. Write
|
|
80
|
+
1. Write blueprint-config.json → <session>/spec/
|
|
81
81
|
2. Write discovery-context.json → <session>/spec/
|
|
82
82
|
3. Inline Discuss (DISCUSS-001):
|
|
83
83
|
- Artifact: <session>/spec/discovery-context.json
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
2. Load quality gate thresholds from specs/quality-gates.md
|
|
23
23
|
3. Score each dimension
|
|
24
24
|
4. Run cross-document validation
|
|
25
|
-
5. Generate readiness-report.md +
|
|
25
|
+
5. Generate readiness-report.md + blueprint-summary.md
|
|
26
26
|
6. Run DISCUSS-003:
|
|
27
27
|
- Artifact: <session>/spec/readiness-report.md
|
|
28
28
|
- Perspectives: product, technical, quality, risk, coverage
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
|
|
42
42
|
Write to <session>/artifacts/:
|
|
43
43
|
- readiness-report.md: Dimension scores, issue list, traceability matrix
|
|
44
|
-
-
|
|
44
|
+
- blueprint-summary.md: Executive summary of all spec docs
|
|
@@ -50,7 +50,7 @@ Template-driven document generation with progressive dependency loading.
|
|
|
50
50
|
|
|
51
51
|
### Inputs
|
|
52
52
|
- Template from routing table
|
|
53
|
-
-
|
|
53
|
+
- blueprint-config.json from <session>/spec/
|
|
54
54
|
- discovery-context.json from <session>/spec/
|
|
55
55
|
- Prior decisions from context_accumulator (inner loop)
|
|
56
56
|
- Discussion feedback from <session>/discussions/ (if exists)
|
|
@@ -32,7 +32,7 @@ status: draft
|
|
|
32
32
|
generated_at: {timestamp}
|
|
33
33
|
version: 1
|
|
34
34
|
dependencies:
|
|
35
|
-
- ../
|
|
35
|
+
- ../blueprint-config.json
|
|
36
36
|
- ../product-brief.md
|
|
37
37
|
- ../requirements/_index.md
|
|
38
38
|
---
|
|
@@ -246,9 +246,9 @@ date: {timestamp}
|
|
|
246
246
|
|
|
247
247
|
| Variable | Source | Description |
|
|
248
248
|
|----------|--------|-------------|
|
|
249
|
-
| `{session_id}` |
|
|
249
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
250
250
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
251
251
|
| `{product_name}` | product-brief.md | Product/feature name |
|
|
252
252
|
| `{NNN}` | Auto-increment | ADR/requirement number |
|
|
253
253
|
| `{slug}` | Auto-generated | Kebab-case from decision title |
|
|
254
|
-
| `{has_codebase}` |
|
|
254
|
+
| `{has_codebase}` | blueprint-config.json | Whether existing codebase exists |
|
|
@@ -32,7 +32,7 @@ status: draft
|
|
|
32
32
|
generated_at: {timestamp}
|
|
33
33
|
version: 1
|
|
34
34
|
dependencies:
|
|
35
|
-
- ../
|
|
35
|
+
- ../blueprint-config.json
|
|
36
36
|
- ../product-brief.md
|
|
37
37
|
- ../requirements/_index.md
|
|
38
38
|
- ../architecture/_index.md
|
|
@@ -187,7 +187,7 @@ status: draft
|
|
|
187
187
|
|
|
188
188
|
| Variable | Source | Description |
|
|
189
189
|
|----------|--------|-------------|
|
|
190
|
-
| `{session_id}` |
|
|
190
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
191
191
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
192
192
|
| `{product_name}` | product-brief.md | Product/feature name |
|
|
193
193
|
| `{EPIC}` | Auto-increment | Epic number (3 digits) |
|
|
@@ -23,7 +23,7 @@ generated_at: {timestamp}
|
|
|
23
23
|
stepsCompleted: []
|
|
24
24
|
version: 1
|
|
25
25
|
dependencies:
|
|
26
|
-
-
|
|
26
|
+
- blueprint-config.json
|
|
27
27
|
---
|
|
28
28
|
|
|
29
29
|
# Product Brief: {product_name}
|
|
@@ -117,7 +117,7 @@ dependencies:
|
|
|
117
117
|
|
|
118
118
|
## References
|
|
119
119
|
|
|
120
|
-
- Derived from: [
|
|
120
|
+
- Derived from: [blueprint-config.json](blueprint-config.json)
|
|
121
121
|
- Next: [Requirements PRD](requirements.md)
|
|
122
122
|
```
|
|
123
123
|
|
|
@@ -125,7 +125,7 @@ dependencies:
|
|
|
125
125
|
|
|
126
126
|
| Variable | Source | Description |
|
|
127
127
|
|----------|--------|-------------|
|
|
128
|
-
| `{session_id}` |
|
|
128
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
129
129
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
130
130
|
| `{product_name}` | Seed analysis | Product/feature name |
|
|
131
131
|
| `{executive_summary}` | CLI synthesis | 2-3 sentence summary |
|
|
@@ -36,7 +36,7 @@ status: draft
|
|
|
36
36
|
generated_at: {timestamp}
|
|
37
37
|
version: 1
|
|
38
38
|
dependencies:
|
|
39
|
-
- ../
|
|
39
|
+
- ../blueprint-config.json
|
|
40
40
|
- ../product-brief.md
|
|
41
41
|
---
|
|
42
42
|
|
|
@@ -215,7 +215,7 @@ status: draft
|
|
|
215
215
|
|
|
216
216
|
| Variable | Source | Description |
|
|
217
217
|
|----------|--------|-------------|
|
|
218
|
-
| `{session_id}` |
|
|
218
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
219
219
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
220
220
|
| `{product_name}` | product-brief.md | Product/feature name |
|
|
221
221
|
| `{NNN}` | Auto-increment | Requirement number (zero-padded 3 digits) |
|
|
@@ -40,11 +40,14 @@ $ARGUMENTS — user intent text, or special flags.
|
|
|
40
40
|
<invariants>
|
|
41
41
|
1. **Skills invoked DIRECTLY in-context** — coordinator runs `$skill {resolved_args}` itself, sequentially. NO spawn_agents_on_csv, NO wave/CSV/worker.
|
|
42
42
|
2. **Coordinator owns the loop** — classify → decompose → resolve chain → for each step: resolve args → invoke skill → read result → persist → next.
|
|
43
|
-
3. **Decomposition contract shared with maestro-ralph** — broad/lifecycle intents run S_DECOMPOSE producing the SAME additive block (`boundary_contract`, `execution_criteria`, `task_decomposition
|
|
44
|
-
4. **Goal is tool-created** — `A_DECOMPOSE_TASKS` calls `create_goal` with sub-goal success criteria. `update_goal` on convergence; held while aborted/paused
|
|
45
|
-
5. **
|
|
46
|
-
6. **
|
|
47
|
-
7. **
|
|
43
|
+
3. **Decomposition contract shared with maestro-ralph** — broad/lifecycle intents run S_DECOMPOSE producing the SAME additive block (`boundary_contract`, `execution_criteria`, `task_decomposition`). Reference maestro-ralph `A_DECOMPOSE_TASKS`
|
|
44
|
+
4. **Goal is tool-created** — `A_DECOMPOSE_TASKS` calls `create_goal` with sub-goal success criteria. `update_goal` on convergence; held while aborted/paused
|
|
45
|
+
5. **status.json 唯一真源** — 不生成 `goal-checklist.md`;step 含 `command_scope` + `command_path` + `completion_confirmed`
|
|
46
|
+
6. **Topology awareness** — chain catalog 含 brainstorm / blueprint / analyze-macro(text) / analyze(numeric) / roadmap / plan(三路径) / execute / verify / ...
|
|
47
|
+
7. **D-007 milestone 反查** — 数字 phase 步骤的 `milestone_id` 由 `state.json.milestones[].phase_slugs` 反查
|
|
48
|
+
8. **schema 向后兼容** — decomposition 字段可选;`steps[]` 由 post-goal-audit 动态生长(goal_ref tagged);既有字段不删不改;`waves` 保留空数组
|
|
49
|
+
9. **Sequential execution** — one step at a time in index order; each step's result read before the next starts
|
|
50
|
+
10. **Abort on failure** — failed step → mark remaining skipped → report (goal stays bound for `--continue`)
|
|
48
51
|
</invariants>
|
|
49
52
|
|
|
50
53
|
<state_machine>
|
|
@@ -152,9 +155,13 @@ Extract:
|
|
|
152
155
|
| task_type | When user intent is about... |
|
|
153
156
|
|-----------|---------------------------|
|
|
154
157
|
| `quick` | Simple/small task, add a feature, quick change |
|
|
158
|
+
| `blueprint` | Formal spec generation (Product Brief / PRD / Architecture / Epics) |
|
|
159
|
+
| `analyze_macro` | Broad/medium intent w/o numeric phase — explore impact, produce scope_verdict |
|
|
160
|
+
| `plan_from_analyze` | Plan directly from analyze artifact (no roadmap, scope=standalone) |
|
|
161
|
+
| `plan_from_blueprint` | Plan directly from blueprint artifact (scope=standalone) |
|
|
155
162
|
| `plan` | Plan, design, architect a phase |
|
|
156
163
|
| `execute` | Implement, develop, code a phase |
|
|
157
|
-
| `analyze` | Understand, investigate, evaluate code |
|
|
164
|
+
| `analyze` | Understand, investigate, evaluate code (numeric phase) |
|
|
158
165
|
| `verify` | Check goals met, validate results |
|
|
159
166
|
| `review` | Code quality review |
|
|
160
167
|
| `test` | Run or create tests, UAT |
|
|
@@ -200,11 +207,16 @@ Extract:
|
|
|
200
207
|
**Selection priorities:**
|
|
201
208
|
1. `issue_id` present → prefer issue chains
|
|
202
209
|
2. UI/design/界面/页面/原型 → prefer `ui_design`
|
|
203
|
-
3.
|
|
204
|
-
4.
|
|
205
|
-
5.
|
|
206
|
-
6.
|
|
207
|
-
7.
|
|
210
|
+
3. 正式规格/spec-generate/7-phase → `blueprint` (single-step) 或 `blueprint-driven`
|
|
211
|
+
4. 头脑风暴/探索 → `brainstorm-driven`
|
|
212
|
+
5. Broad/medium intent + 无数字 phase → `analyze_macro`(产 scope_verdict);后续 large→roadmap链;medium/small→`plan_from_analyze`
|
|
213
|
+
6. 已有 analyze artifact 直达 plan → `plan_from_analyze`
|
|
214
|
+
7. 已有 blueprint artifact 直达 plan → `plan_from_blueprint`
|
|
215
|
+
8. Multiple lifecycle steps implied → prefer multi-step chains
|
|
216
|
+
9. Single specific action → prefer single-step chains
|
|
217
|
+
10. "问题" describing broken behavior → `debug`; tracked item with ISS-ID → `issue`
|
|
218
|
+
11. Simple task, no lifecycle context → `quick`
|
|
219
|
+
12. Global fallback → `quick`
|
|
208
220
|
|
|
209
221
|
**Clarity scoring**: 3=task_type+scope+phase, 2=task_type+scope, 1=task_type only, 0=empty.
|
|
210
222
|
If `clarity < 2` and not `auto_mode` → transition to A_CLARIFY_INTENT.
|
|
@@ -251,36 +263,54 @@ Read `.workflow/state.json` and route by condition:
|
|
|
251
263
|
|
|
252
264
|
### A_DECOMPOSE_TASKS
|
|
253
265
|
|
|
254
|
-
|
|
266
|
+
与 maestro-ralph `A_DECOMPOSE_TASKS` 共享分解契约。Condensed:
|
|
255
267
|
|
|
256
|
-
1.
|
|
257
|
-
2.
|
|
258
|
-
3.
|
|
259
|
-
4.
|
|
260
|
-
5.
|
|
268
|
+
1. 分类意图广度。narrow / 单步 / `{status,init,quick}` 链跳过
|
|
269
|
+
2. broad/medium → `AskUserQuestion` ≤3 轮:Scope / Constraints / Definition of Done
|
|
270
|
+
3. 派生 `execution_criteria` + `task_decomposition`(每个 sub-goal 含 `done_when` + `evidence` + `lifecycle` + `completion_confirmed: false`)
|
|
271
|
+
4. **status.json 唯一真源**:写入 `boundary_contract` / `execution_criteria` / `task_decomposition`;不生成 markdown 清单
|
|
272
|
+
5. 链路末尾(evidence 产出步骤后、milestone-complete/close-out 前)追加 `decision:post-goal-audit`。S_DECISION_EVAL 据此动态生长 `steps[]`
|
|
261
273
|
6. **Register goal via `create_goal`:**
|
|
262
274
|
```
|
|
263
275
|
create_goal({ objective: "Maestro {chain}: {intent} — converge {N} sub-goals within boundary",
|
|
264
276
|
success_criteria: task_decomposition.map(g => `${g.id}: ${g.done_when}`),
|
|
265
|
-
constraints: [...execution_criteria, "stay within boundary_contract"] })
|
|
277
|
+
constraints: [...execution_criteria, "stay within boundary_contract; resume via $maestro --continue"] })
|
|
266
278
|
```
|
|
267
279
|
|
|
268
280
|
### A_CREATE_SESSION
|
|
269
281
|
|
|
270
|
-
1. Read `.workflow/state.json`
|
|
282
|
+
1. Read `.workflow/state.json` 获取 phase / milestone(D-007 反查 `phase_slugs`);读最新 macro analyze artifact 注入 `scope_verdict` + `analyze_macro_id`;读最新 blueprint artifact 注入 `blueprint_id`
|
|
271
283
|
2. Resolve chain's skill list from Chain Map (see appendix)
|
|
272
|
-
3. Create `.workflow/.maestro/maestro-{YYYYMMDD-HHMMSS}/status.json
|
|
284
|
+
3. Create `.workflow/.maestro/maestro-{YYYYMMDD-HHMMSS}/status.json`(与 ralph 共用 schema):
|
|
273
285
|
```json
|
|
274
|
-
{
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"
|
|
286
|
+
{
|
|
287
|
+
"session_id", "source": "maestro", "intent", "task_type", "chain_name",
|
|
288
|
+
"phase", "phase_is_new": false, "milestone": "",
|
|
289
|
+
"scope_verdict": null, "analyze_macro_id": null, "blueprint_id": null,
|
|
290
|
+
"auto_mode": false,
|
|
291
|
+
"context": { "issue_id": null, "scratch_dir": null, "plan_dir": null,
|
|
292
|
+
"analysis_dir": null, "brainstorm_dir": null, "blueprint_dir": null },
|
|
293
|
+
"steps": [{
|
|
294
|
+
"index": 0, "type": "skill|decision",
|
|
295
|
+
"skill": "", "args": "",
|
|
296
|
+
"stage": "", "scope": null,
|
|
297
|
+
"command_scope": "global|project|missing|null",
|
|
298
|
+
"command_path": "~/.claude/commands/{name}.md | .claude/commands/{name}.md | null",
|
|
299
|
+
"milestone_id": null, "source_artifact_ref": null,
|
|
300
|
+
"status": "pending", "goal_ref": null,
|
|
301
|
+
"completion_confirmed": false, "completion_status": null,
|
|
302
|
+
"completion_evidence": null, "completed_at": null
|
|
303
|
+
}],
|
|
278
304
|
"waves": [], "current_step": 0, "status": "running",
|
|
279
|
-
"
|
|
280
|
-
"
|
|
305
|
+
"boundary_contract": {}, "execution_criteria": [],
|
|
306
|
+
"task_decomposition": [{ "id": "G1", "goal": "", "done_when": "", "evidence": "",
|
|
307
|
+
"status": "pending|done", "completion_confirmed": false, "completed_at": null }],
|
|
308
|
+
"task_decomposition_all_done": false
|
|
309
|
+
}
|
|
281
310
|
```
|
|
282
311
|
Decomposition fields written ONLY if A_DECOMPOSE_TASKS produced them (additive)
|
|
283
|
-
4.
|
|
312
|
+
4. Validate: 所有 step 的 `command_scope != "missing"`;否则 raise E006 列出缺失 skill
|
|
313
|
+
5. Initialize tracking:
|
|
284
314
|
- If decomposed: goal already registered by A_DECOMPOSE_TASKS. Else: `create_goal({ objective: "Maestro {chain}: {N} steps [{skill list}]" })`
|
|
285
315
|
- `update_plan({ plan: steps.map(step => ({ step, status: "pending" })) })`
|
|
286
316
|
|
|
@@ -310,13 +340,13 @@ Direct in-context skill invocation — **replaces the old spawn/wave/CSV mechani
|
|
|
310
340
|
|
|
311
341
|
### A_GOAL_AUDIT_EVALUATE
|
|
312
342
|
|
|
313
|
-
|
|
343
|
+
S_DECISION_EVAL 入口;镜像 maestro-ralph `A_GOAL_AUDIT_EVALUATE`。Condensed:
|
|
314
344
|
|
|
315
|
-
1.
|
|
316
|
-
2.
|
|
317
|
-
3.
|
|
318
|
-
4.
|
|
319
|
-
5.
|
|
345
|
+
1. 读 `session.task_decomposition`(status.json,真源)
|
|
346
|
+
2. 对每个 `status != "done"` 的子目标:解析 `evidence` 产物
|
|
347
|
+
3. `maestro delegate --role analyze --mode analysis` 读取 evidence、对照 done_when 判定,返回 `STATUS=all_met|has_unmet / UNMET=[{id,gap,target_phase}] / CONFIDENCE_SCORE`
|
|
348
|
+
4. status.json 为写入目标:每个达成子目标 `status="done"` + `completed_at=now`;然后从 status.json 重渲染 checklist(Sync Rule)
|
|
349
|
+
5. Verdict(`all_met` / `has_unmet`)由 S_DECISION_EVAL 消费。GUARD: retry >= max_retries AND still unmet → escalate
|
|
320
350
|
|
|
321
351
|
### A_APPLY_GOAL_FIX
|
|
322
352
|
|
|
@@ -324,9 +354,9 @@ Entry action of S_DECISION_EVAL — mirrors maestro-ralph `A_GOAL_AUDIT_EVALUATE
|
|
|
324
354
|
|
|
325
355
|
### A_APPLY_GOAL_DONE
|
|
326
356
|
|
|
327
|
-
1.
|
|
328
|
-
2. `update_goal({ status: "complete" })`
|
|
329
|
-
3.
|
|
357
|
+
1. status.json:全部 `task_decomposition[*].status="done"` + `completion_confirmed=true` + `completed_at=now` + `task_decomposition_all_done=true`
|
|
358
|
+
2. `update_goal({ status: "complete" })`
|
|
359
|
+
3. 继续到 chain 的终结步骤
|
|
330
360
|
|
|
331
361
|
### A_FINALIZE
|
|
332
362
|
|
|
@@ -356,9 +386,13 @@ Entry action of S_DECISION_EVAL — mirrors maestro-ralph `A_GOAL_AUDIT_EVALUATE
|
|
|
356
386
|
|-------|---------------|
|
|
357
387
|
| `status` | `manage-status` |
|
|
358
388
|
| `init` | `maestro-init` |
|
|
389
|
+
| `blueprint` | `maestro-blueprint "{intent}"` |
|
|
390
|
+
| `analyze_macro` | `maestro-analyze "{intent}"` |
|
|
359
391
|
| `analyze` | `maestro-analyze {phase}` |
|
|
360
392
|
| `ui_design` | `maestro-impeccable build "{phase}"` |
|
|
361
393
|
| `plan` | `maestro-plan {phase}` |
|
|
394
|
+
| `plan_from_analyze` | `maestro-plan --from analyze:{analyze_macro_id}` |
|
|
395
|
+
| `plan_from_blueprint` | `maestro-plan --from blueprint:{blueprint_id}` |
|
|
362
396
|
| `execute` | `maestro-execute {phase}` |
|
|
363
397
|
| `verify` | `maestro-verify {phase}` |
|
|
364
398
|
| `test_gen` | `quality-auto-test {phase}` |
|
|
@@ -408,7 +442,8 @@ Entry action of S_DECISION_EVAL — mirrors maestro-ralph `A_GOAL_AUDIT_EVALUATE
|
|
|
408
442
|
| `feature` | [B] maestro-plan → [B] maestro-execute → maestro-verify |
|
|
409
443
|
| `quality-fix` | [B] maestro-analyze --gaps → [B] maestro-plan --gaps → [B] maestro-execute → maestro-verify |
|
|
410
444
|
| `deploy` | maestro-verify → maestro-milestone-release |
|
|
411
|
-
| `
|
|
445
|
+
| `blueprint-driven` | maestro-init → [B] maestro-blueprint → [B] maestro-plan --from blueprint:{BLP} → [B] maestro-execute → maestro-verify |
|
|
446
|
+
| `analyze-macro-driven` | [B] maestro-analyze "{intent}" → ◆ post-analyze-scope → (large: [B] maestro-roadmap --from analyze:{ANL} → [B] maestro-analyze {phase} → [B] maestro-plan {phase}) / (medium\|small: [B] maestro-plan --from analyze:{ANL}) → [B] maestro-execute → maestro-verify |
|
|
412
447
|
| `brainstorm-driven` | [B] maestro-brainstorm → [B] maestro-plan → [B] maestro-execute → maestro-verify |
|
|
413
448
|
| `ui-craft-build` | maestro-impeccable build → [B] maestro-plan → [B] maestro-execute → maestro-verify |
|
|
414
449
|
| `roadmap-driven` | maestro-init → [B] maestro-roadmap → [B] maestro-plan → [B] maestro-execute → maestro-verify |
|
|
@@ -431,15 +466,17 @@ Entry action of S_DECISION_EVAL — mirrors maestro-ralph `A_GOAL_AUDIT_EVALUATE
|
|
|
431
466
|
|
|
432
467
|
| taskType | Chain |
|
|
433
468
|
|----------|-------|
|
|
434
|
-
| `spec_generate` | `
|
|
469
|
+
| `spec_generate` | `blueprint-driven` |
|
|
470
|
+
| `spec-driven` | `blueprint-driven` |
|
|
435
471
|
| `brainstorm` | `brainstorm-driven` |
|
|
436
472
|
| `issue_execute` | `issue-full` |
|
|
473
|
+
| `analyze_macro` | `analyze-macro-driven` |
|
|
437
474
|
|
|
438
475
|
### Auto-Yes Flag Map
|
|
439
476
|
|
|
440
477
|
| Skill | Flag |
|
|
441
478
|
|-------|------|
|
|
442
|
-
| maestro-init, maestro-analyze, maestro-brainstorm, maestro-impeccable, maestro-roadmap | `-y` |
|
|
479
|
+
| maestro-init, maestro-analyze, maestro-brainstorm, maestro-blueprint, maestro-impeccable, maestro-roadmap | `-y` |
|
|
443
480
|
| maestro-plan, maestro-execute, maestro-milestone-complete | `-y` |
|
|
444
481
|
| quality-auto-test, quality-retrospective | `-y` |
|
|
445
482
|
| quality-test | `-y --auto-fix` |
|
|
@@ -457,14 +494,20 @@ Entry action of S_DECISION_EVAL — mirrors maestro-ralph `A_GOAL_AUDIT_EVALUATE
|
|
|
457
494
|
| E003 | error | Step skill invocation failed | auto_mode retry once, then abort chain |
|
|
458
495
|
| E004 | error | Context artifact not found | Retry step once, then abort |
|
|
459
496
|
| E005 | error | --continue: no session found | List sessions, prompt |
|
|
497
|
+
| E006 | error | command_scope == "missing" for one or more steps | List missing skills, abort build |
|
|
460
498
|
| W001 | warning | Context artifact partial | Continue with available context |
|
|
461
499
|
|
|
462
500
|
### Success Criteria
|
|
463
501
|
|
|
464
502
|
- [ ] Intent classified and chain resolved
|
|
465
|
-
- [ ]
|
|
503
|
+
- [ ] Chain catalog 覆盖 blueprint / analyze_macro / plan_from_analyze / plan_from_blueprint / blueprint-driven / analyze-macro-driven 等新拓扑路径
|
|
504
|
+
- [ ] D-007: 数字 phase 步骤的 `milestone_id` 通过 `state.json.milestones[].phase_slugs` 反查;写入 step
|
|
505
|
+
- [ ] plan step args 支持 `{phase}` / `--from analyze:{ANL_ID}` / `--from blueprint:{BLP_ID}` 三路径,`source_artifact_ref` 写入
|
|
506
|
+
- [ ] Broad lifecycle intents decomposed (≤3 boundary questions); narrow/single-step skip
|
|
466
507
|
- [ ] Goal registered via built-in `create_goal`; status.json decomposition fields additive-only
|
|
467
|
-
- [ ]
|
|
508
|
+
- [ ] status.json 唯一真源;无 markdown 清单
|
|
509
|
+
- [ ] 每个 step 含 `command_scope` + `command_path` + `completion_confirmed` 字段
|
|
510
|
+
- [ ] post-goal-audit node appended as final node; unmet sub-goals dynamically grow steps[] (goal_ref tagged)
|
|
468
511
|
- [ ] Session dir initialized with status.json before first step
|
|
469
512
|
- [ ] Every skill invoked DIRECTLY in-context — NO spawn_agents_on_csv, NO wave/CSV/worker
|
|
470
513
|
- [ ] Sequential execution; status.json + update_plan persisted after every step
|