maestro-flow 0.4.26 → 0.5.1
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/skills/codify-to-knowhow/phases/03-generate-specs.md +2 -1
- package/.agents/skills/learn-follow/SKILL.md +1 -1
- package/.agents/skills/learn-investigate/SKILL.md +2 -2
- package/.agents/skills/learn-second-opinion/SKILL.md +1 -1
- package/.agents/skills/maestro/SKILL.md +6 -3
- package/.agents/skills/maestro-analyze/SKILL.md +53 -2
- package/.agents/skills/maestro-blueprint/SKILL.md +36 -1
- package/.agents/skills/maestro-brainstorm/SKILL.md +40 -1
- package/.agents/skills/maestro-collab/SKILL.md +1 -1
- package/.agents/skills/maestro-companion/SKILL.md +4 -4
- package/.agents/skills/maestro-composer/SKILL.md +1 -1
- package/.agents/skills/maestro-execute/SKILL.md +29 -6
- package/.agents/skills/maestro-fork/SKILL.md +24 -0
- package/.agents/skills/maestro-grill/SKILL.md +38 -1
- package/.agents/skills/maestro-help/SKILL.md +5 -6
- package/.agents/skills/maestro-help/index/catalog.json +7 -9
- package/.agents/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.agents/skills/maestro-impeccable/SKILL.md +13 -0
- package/.agents/skills/maestro-init/SKILL.md +11 -0
- package/.agents/skills/maestro-merge/SKILL.md +17 -1
- package/.agents/skills/maestro-milestone-audit/SKILL.md +34 -2
- package/.agents/skills/maestro-milestone-complete/SKILL.md +19 -1
- package/.agents/skills/maestro-milestone-release/SKILL.md +18 -0
- package/.agents/skills/maestro-next/SKILL.md +8 -9
- package/.agents/skills/maestro-overlay/SKILL.md +3 -3
- package/.agents/skills/maestro-plan/SKILL.md +21 -3
- package/.agents/skills/maestro-quick/SKILL.md +13 -1
- package/.agents/skills/maestro-ralph/SKILL.md +18 -20
- package/.agents/skills/maestro-ralph-beta/SKILL.md +10 -16
- package/.agents/skills/maestro-ralph-execute/SKILL.md +1 -2
- package/.agents/skills/maestro-roadmap/SKILL.md +28 -2
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +2 -2
- package/.agents/skills/maestro-tools-register/SKILL.md +2 -2
- package/.agents/skills/maestro-ui-codify/SKILL.md +20 -0
- package/.agents/skills/maestro-update/SKILL.md +59 -116
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +3 -3
- package/.agents/skills/manage-harvest/SKILL.md +1 -1
- package/.agents/skills/manage-knowhow/SKILL.md +3 -1
- package/.agents/skills/manage-knowhow-capture/SKILL.md +7 -4
- package/.agents/skills/manage-wiki/SKILL.md +17 -8
- package/.agents/skills/quality-auto-test/SKILL.md +3 -3
- package/.agents/skills/quality-debug/SKILL.md +4 -4
- package/.agents/skills/quality-refactor/SKILL.md +2 -2
- package/.agents/skills/quality-retrospective/SKILL.md +5 -5
- package/.agents/skills/quality-review/SKILL.md +4 -4
- package/.agents/skills/quality-sync/SKILL.md +1 -0
- package/.agents/skills/quality-test/SKILL.md +4 -4
- package/.agents/skills/spec-add/SKILL.md +6 -4
- package/.agents/skills/spec-setup/SKILL.md +1 -1
- package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +2 -1
- package/.agy/skills/learn-follow/SKILL.md +1 -1
- package/.agy/skills/learn-investigate/SKILL.md +2 -2
- package/.agy/skills/learn-second-opinion/SKILL.md +1 -1
- package/.agy/skills/maestro/SKILL.md +6 -3
- package/.agy/skills/maestro-analyze/SKILL.md +53 -2
- package/.agy/skills/maestro-blueprint/SKILL.md +36 -1
- package/.agy/skills/maestro-brainstorm/SKILL.md +40 -1
- package/.agy/skills/maestro-collab/SKILL.md +1 -1
- package/.agy/skills/maestro-companion/SKILL.md +4 -4
- package/.agy/skills/maestro-composer/SKILL.md +1 -1
- package/.agy/skills/maestro-execute/SKILL.md +29 -6
- package/.agy/skills/maestro-fork/SKILL.md +24 -0
- package/.agy/skills/maestro-grill/SKILL.md +38 -1
- package/.agy/skills/maestro-help/SKILL.md +5 -6
- package/.agy/skills/maestro-help/index/catalog.json +7 -9
- package/.agy/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.agy/skills/maestro-impeccable/SKILL.md +13 -0
- package/.agy/skills/maestro-init/SKILL.md +11 -0
- package/.agy/skills/maestro-merge/SKILL.md +17 -1
- package/.agy/skills/maestro-milestone-audit/SKILL.md +34 -2
- package/.agy/skills/maestro-milestone-complete/SKILL.md +19 -1
- package/.agy/skills/maestro-milestone-release/SKILL.md +18 -0
- package/.agy/skills/maestro-next/SKILL.md +8 -9
- package/.agy/skills/maestro-overlay/SKILL.md +3 -3
- package/.agy/skills/maestro-plan/SKILL.md +21 -3
- package/.agy/skills/maestro-quick/SKILL.md +13 -1
- package/.agy/skills/maestro-ralph/SKILL.md +18 -20
- package/.agy/skills/maestro-ralph-beta/SKILL.md +10 -16
- package/.agy/skills/maestro-ralph-execute/SKILL.md +1 -2
- package/.agy/skills/maestro-roadmap/SKILL.md +28 -2
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +2 -2
- package/.agy/skills/maestro-tools-register/SKILL.md +2 -2
- package/.agy/skills/maestro-ui-codify/SKILL.md +20 -0
- package/.agy/skills/maestro-update/SKILL.md +59 -116
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +3 -3
- package/.agy/skills/manage-harvest/SKILL.md +1 -1
- package/.agy/skills/manage-knowhow/SKILL.md +3 -1
- package/.agy/skills/manage-knowhow-capture/SKILL.md +7 -4
- package/.agy/skills/manage-wiki/SKILL.md +17 -8
- package/.agy/skills/quality-auto-test/SKILL.md +3 -3
- package/.agy/skills/quality-debug/SKILL.md +4 -4
- package/.agy/skills/quality-refactor/SKILL.md +2 -2
- package/.agy/skills/quality-retrospective/SKILL.md +5 -5
- package/.agy/skills/quality-review/SKILL.md +4 -4
- package/.agy/skills/quality-sync/SKILL.md +1 -0
- package/.agy/skills/quality-test/SKILL.md +4 -4
- package/.agy/skills/spec-add/SKILL.md +6 -4
- package/.agy/skills/spec-setup/SKILL.md +1 -1
- package/.claude/commands/learn-follow.md +1 -1
- package/.claude/commands/learn-investigate.md +2 -2
- package/.claude/commands/learn-second-opinion.md +1 -1
- package/.claude/commands/maestro-analyze.md +53 -2
- package/.claude/commands/maestro-blueprint.md +36 -1
- package/.claude/commands/maestro-brainstorm.md +40 -1
- package/.claude/commands/maestro-collab.md +1 -1
- package/.claude/commands/maestro-companion.md +4 -4
- package/.claude/commands/maestro-composer.md +1 -1
- package/.claude/commands/maestro-execute.md +29 -6
- package/.claude/commands/maestro-fork.md +24 -0
- package/.claude/commands/maestro-grill.md +38 -1
- package/.claude/commands/maestro-impeccable.md +13 -0
- package/.claude/commands/maestro-init.md +11 -0
- package/.claude/commands/maestro-merge.md +17 -1
- package/.claude/commands/maestro-milestone-audit.md +34 -2
- package/.claude/commands/maestro-milestone-complete.md +19 -1
- package/.claude/commands/maestro-milestone-release.md +18 -0
- package/.claude/commands/maestro-next.md +8 -9
- package/.claude/commands/maestro-overlay.md +3 -3
- package/.claude/commands/maestro-plan.md +21 -3
- package/.claude/commands/maestro-quick.md +13 -1
- package/.claude/commands/maestro-ralph-beta.md +8 -14
- package/.claude/commands/maestro-ralph-execute.md +1 -2
- package/.claude/commands/maestro-ralph.md +18 -20
- package/.claude/commands/maestro-roadmap.md +28 -2
- package/.claude/commands/maestro-swarm-workflow.md +2 -2
- package/.claude/commands/maestro-tools-register.md +2 -2
- package/.claude/commands/maestro-ui-codify.md +20 -0
- package/.claude/commands/maestro-update.md +59 -116
- package/.claude/commands/maestro.md +6 -3
- package/.claude/commands/manage-codebase-rebuild.md +3 -3
- package/.claude/commands/manage-harvest.md +1 -1
- package/.claude/commands/manage-knowhow-capture.md +7 -4
- package/.claude/commands/manage-knowhow.md +3 -1
- package/.claude/commands/manage-wiki.md +17 -8
- package/.claude/commands/quality-auto-test.md +3 -3
- package/.claude/commands/quality-debug.md +4 -4
- package/.claude/commands/quality-refactor.md +2 -2
- package/.claude/commands/quality-retrospective.md +5 -5
- package/.claude/commands/quality-review.md +4 -4
- package/.claude/commands/quality-sync.md +1 -0
- package/.claude/commands/quality-test.md +4 -4
- package/.claude/commands/spec-add.md +6 -4
- package/.claude/commands/spec-setup.md +1 -1
- package/.claude/skills/codify-to-knowhow/phases/03-generate-specs.md +2 -1
- package/.claude/skills/maestro-help/SKILL.md +5 -6
- package/.claude/skills/maestro-help/index/catalog.json +7 -9
- package/.claude/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.codex/skills/codify-to-knowhow/SKILL.md +6 -5
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-follow/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +1 -1
- package/.codex/skills/learn-second-opinion/SKILL.md +1 -1
- package/.codex/skills/maestro/SKILL.md +29 -31
- package/.codex/skills/maestro-analyze/SKILL.md +17 -4
- package/.codex/skills/maestro-blueprint/SKILL.md +8 -1
- package/.codex/skills/maestro-brainstorm/SKILL.md +8 -5
- package/.codex/skills/maestro-collab/SKILL.md +1 -1
- package/.codex/skills/maestro-companion/SKILL.md +2 -2
- package/.codex/skills/maestro-composer/SKILL.md +0 -1
- package/.codex/skills/maestro-execute/SKILL.md +11 -8
- package/.codex/skills/maestro-fork/SKILL.md +4 -0
- package/.codex/skills/maestro-grill/SKILL.md +8 -2
- package/.codex/skills/maestro-help/SKILL.md +6 -9
- package/.codex/skills/maestro-help/catalog.json +6 -8
- package/.codex/skills/maestro-impeccable/SKILL.md +2 -0
- package/.codex/skills/maestro-init/SKILL.md +3 -0
- package/.codex/skills/maestro-merge/SKILL.md +5 -1
- package/.codex/skills/maestro-milestone-audit/SKILL.md +3 -0
- package/.codex/skills/maestro-milestone-complete/SKILL.md +6 -1
- package/.codex/skills/maestro-milestone-release/SKILL.md +4 -0
- package/.codex/skills/maestro-next/SKILL.md +3 -4
- package/.codex/skills/maestro-plan/SKILL.md +5 -2
- package/.codex/skills/maestro-quick/SKILL.md +4 -1
- package/.codex/skills/maestro-ralph/SKILL.md +14 -20
- package/.codex/skills/maestro-ralph-beta/SKILL.md +13 -21
- package/.codex/skills/maestro-ralph-execute/SKILL.md +2 -2
- package/.codex/skills/maestro-roadmap/SKILL.md +5 -2
- package/.codex/skills/maestro-tools-register/SKILL.md +1 -1
- package/.codex/skills/maestro-ui-codify/SKILL.md +4 -1
- package/.codex/skills/maestro-update/SKILL.md +35 -130
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
- package/.codex/skills/manage-harvest/SKILL.md +2 -2
- package/.codex/skills/manage-knowhow/SKILL.md +1 -1
- package/.codex/skills/manage-knowhow-capture/SKILL.md +32 -20
- package/.codex/skills/manage-status/SKILL.md +1 -2
- package/.codex/skills/quality-auto-test/SKILL.md +2 -2
- package/.codex/skills/quality-debug/SKILL.md +2 -2
- package/.codex/skills/quality-refactor/SKILL.md +1 -1
- package/.codex/skills/quality-retrospective/SKILL.md +1 -1
- package/.codex/skills/quality-test/SKILL.md +3 -4
- package/.codex/skills/spec-add/SKILL.md +5 -3
- package/.codex/skills/spec-remove/SKILL.md +2 -2
- package/.codex/skills/team-coordinate/SKILL.md +1 -1
- package/.codex/skills/wiki-digest/SKILL.md +2 -2
- package/chains/brainstorm-driven.json +2 -34
- package/chains/full-lifecycle.json +2 -34
- package/chains/next-milestone.json +0 -7
- package/chains/quality-loop.json +3 -19
- package/chains/roadmap-driven.json +2 -34
- package/chains/spec-driven.json +2 -34
- package/chains/ui-craft-build.json +2 -23
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +8 -11
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js +3 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +9 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +9 -4
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-types.d.ts +3 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.d.ts +4 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js +5 -3
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js.map +1 -1
- package/dashboard/dist-server/src/types/index.d.ts +2 -0
- package/dist/src/cli.js +1 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +55 -5
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +2 -1
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +48 -3
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/kg.d.ts +1 -1
- package/dist/src/commands/kg.d.ts.map +1 -1
- package/dist/src/commands/kg.js +285 -112
- package/dist/src/commands/kg.js.map +1 -1
- package/dist/src/commands/knowhow.d.ts.map +1 -1
- package/dist/src/commands/knowhow.js +28 -37
- package/dist/src/commands/knowhow.js.map +1 -1
- package/dist/src/commands/ralph.js +1 -1
- package/dist/src/commands/ralph.js.map +1 -1
- package/dist/src/commands/search.d.ts +36 -0
- package/dist/src/commands/search.d.ts.map +1 -0
- package/dist/src/commands/search.js +120 -0
- package/dist/src/commands/search.js.map +1 -0
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +15 -59
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +7 -0
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +6 -21
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +13 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +37 -85
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/core/skill-converter.d.ts +25 -0
- package/dist/src/core/skill-converter.d.ts.map +1 -0
- package/dist/src/core/skill-converter.js +605 -0
- package/dist/src/core/skill-converter.js.map +1 -0
- package/dist/src/graph/codegraph-adapter.d.ts +147 -0
- package/dist/src/graph/codegraph-adapter.d.ts.map +1 -0
- package/dist/src/graph/codegraph-adapter.js +266 -0
- package/dist/src/graph/codegraph-adapter.js.map +1 -0
- package/dist/src/hooks/constants.d.ts +4 -0
- package/dist/src/hooks/constants.d.ts.map +1 -1
- package/dist/src/hooks/constants.js +14 -1
- package/dist/src/hooks/constants.js.map +1 -1
- package/dist/src/hooks/context-format.d.ts +46 -0
- package/dist/src/hooks/context-format.d.ts.map +1 -0
- package/dist/src/hooks/context-format.js +58 -0
- package/dist/src/hooks/context-format.js.map +1 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/dist/src/hooks/index.d.ts.map +1 -1
- package/dist/src/hooks/index.js +2 -0
- package/dist/src/hooks/index.js.map +1 -1
- package/dist/src/hooks/keyword-spec-injector.d.ts +1 -1
- package/dist/src/hooks/keyword-spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/keyword-spec-injector.js +92 -7
- package/dist/src/hooks/keyword-spec-injector.js.map +1 -1
- package/dist/src/hooks/kg-context-injector.d.ts +19 -0
- package/dist/src/hooks/kg-context-injector.d.ts.map +1 -0
- package/dist/src/hooks/kg-context-injector.js +139 -0
- package/dist/src/hooks/kg-context-injector.js.map +1 -0
- package/dist/src/hooks/kg-sync-hook.d.ts +22 -0
- package/dist/src/hooks/kg-sync-hook.d.ts.map +1 -0
- package/dist/src/hooks/kg-sync-hook.js +139 -0
- package/dist/src/hooks/kg-sync-hook.js.map +1 -0
- package/dist/src/hooks/plugins/spec-injection-plugin.js +2 -2
- package/dist/src/hooks/plugins/spec-injection-plugin.js.map +1 -1
- package/dist/src/hooks/skill-context.d.ts.map +1 -1
- package/dist/src/hooks/skill-context.js +0 -1
- package/dist/src/hooks/skill-context.js.map +1 -1
- package/dist/src/hooks/spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/spec-injector.js +66 -13
- package/dist/src/hooks/spec-injector.js.map +1 -1
- package/dist/src/hooks/statusline.d.ts +8 -1
- package/dist/src/hooks/statusline.d.ts.map +1 -1
- package/dist/src/hooks/statusline.js +45 -29
- package/dist/src/hooks/statusline.js.map +1 -1
- package/dist/src/hooks/wiki-role-loader.js +1 -1
- package/dist/src/hooks/wiki-role-loader.js.map +1 -1
- package/dist/src/i18n/locales/en.d.ts.map +1 -1
- package/dist/src/i18n/locales/en.js +4 -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 +4 -0
- package/dist/src/i18n/locales/zh.js.map +1 -1
- package/dist/src/i18n/types.d.ts +4 -0
- package/dist/src/i18n/types.d.ts.map +1 -1
- package/dist/src/ralph/cmd-skills.d.ts.map +1 -1
- package/dist/src/ralph/cmd-skills.js +9 -2
- package/dist/src/ralph/cmd-skills.js.map +1 -1
- package/dist/src/ralph/skill-scanner.d.ts +1 -1
- package/dist/src/ralph/skill-scanner.d.ts.map +1 -1
- package/dist/src/ralph/skill-scanner.js +14 -0
- package/dist/src/ralph/skill-scanner.js.map +1 -1
- package/dist/src/ralph/status-schema.d.ts +1 -1
- package/dist/src/ralph/status-schema.d.ts.map +1 -1
- package/dist/src/tools/spec-entry-parser.d.ts +2 -1
- package/dist/src/tools/spec-entry-parser.d.ts.map +1 -1
- package/dist/src/tools/spec-entry-parser.js +7 -4
- package/dist/src/tools/spec-entry-parser.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +27 -3
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-writer.d.ts +10 -1
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +86 -7
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/tools/store-knowhow.d.ts.map +1 -1
- package/dist/src/tools/store-knowhow.js +27 -7
- package/dist/src/tools/store-knowhow.js.map +1 -1
- package/dist/src/tui/install-ui/ExecutionView.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ExecutionView.js +7 -1
- package/dist/src/tui/install-ui/ExecutionView.js.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.d.ts +1 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +3 -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 +25 -1
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +13 -5
- 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 +10 -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 +5 -1
- package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/cli-format.d.ts +6 -0
- package/dist/src/utils/cli-format.d.ts.map +1 -1
- package/dist/src/utils/cli-format.js +25 -0
- package/dist/src/utils/cli-format.js.map +1 -1
- package/dist/src/utils/update-notices.js +25 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +5 -2
- package/templates/workflows/specs/node-catalog.md +0 -2
- package/workflows/agy-instructions.md +1 -1
- package/workflows/analyze.md +9 -4
- package/workflows/auto-test.md +2 -2
- package/workflows/business-test.md +1 -1
- package/workflows/claude-instructions.md +23 -11
- package/workflows/codex-instructions.md +2 -3
- package/workflows/execute.md +153 -7
- package/workflows/finish-work.md +1 -1
- package/workflows/fork.md +1 -1
- package/workflows/impeccable/design.md +1 -0
- package/workflows/impeccable.md +1 -0
- package/workflows/integration-test.md +1 -1
- package/workflows/knowhow.md +14 -8
- package/workflows/maestro-super.md +1 -1
- package/workflows/maestro.codex.md +18 -34
- package/workflows/maestro.md +34 -42
- package/workflows/review.md +1 -1
- package/workflows/specs-add.md +1 -1
- package/workflows/specs-setup.md +2 -2
- package/workflows/status.md +2 -2
- package/workflows/swarm/wf-verify.js +1 -1
- package/workflows/test-gen.md +2 -2
- package/workflows/test.md +1 -1
- package/workflows/updates/README.md +41 -0
- package/workflows/updates/update-v3-setup.md +79 -0
- package/workflows/verify.md +7 -1
- package/.agents/skills/learn-retro/SKILL.md +0 -159
- package/.agents/skills/maestro-learn/SKILL.md +0 -142
- package/.agents/skills/maestro-verify/SKILL.md +0 -146
- package/.agents/skills/manage-codebase-refresh/SKILL.md +0 -62
- package/.agents/skills/manage-learn/SKILL.md +0 -67
- package/.agents/skills/wiki-connect/SKILL.md +0 -64
- package/.agents/skills/wiki-digest/SKILL.md +0 -70
- package/.agy/skills/learn-retro/SKILL.md +0 -159
- package/.agy/skills/maestro-learn/SKILL.md +0 -142
- package/.agy/skills/maestro-verify/SKILL.md +0 -146
- package/.agy/skills/manage-codebase-refresh/SKILL.md +0 -62
- package/.agy/skills/manage-learn/SKILL.md +0 -64
- package/.agy/skills/wiki-connect/SKILL.md +0 -64
- package/.agy/skills/wiki-digest/SKILL.md +0 -70
- package/.claude/commands/learn-retro.md +0 -157
- package/.claude/commands/maestro-learn.md +0 -140
- package/.claude/commands/maestro-verify.md +0 -144
- package/.claude/commands/manage-codebase-refresh.md +0 -60
- package/.claude/commands/manage-learn.md +0 -65
- package/.claude/commands/wiki-connect.md +0 -62
- package/.claude/commands/wiki-digest.md +0 -68
- package/.codex/skills/maestro-verify/SKILL.md +0 -254
- package/chains/execute-verify.json +0 -59
- package/chains/singles/verify.json +0 -26
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "双层分析 — 宏观(文本参数)探索影响面+scope_verdict / 微观(数字参数)Phase 级深入", "source": "../../commands/maestro-analyze.md"},
|
|
14
14
|
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 支持 --from analyze:ANL-xxx 直达、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
15
15
|
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
16
|
-
{"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
|
|
17
16
|
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
18
17
|
{"name": "maestro-overlay", "command": "/maestro-overlay", "category": "core", "description": "Overlay 管理 — 创建、查看、删除命令补丁", "source": "../../commands/maestro-overlay.md"},
|
|
19
18
|
{"name": "maestro-amend", "command": "/maestro-amend", "category": "core", "description": "修正补丁 — 从工作流信号自动生成 overlay", "source": "../../commands/maestro-amend.md"},
|
|
@@ -156,7 +155,6 @@
|
|
|
156
155
|
"/maestro-roadmap",
|
|
157
156
|
"/maestro-plan",
|
|
158
157
|
"/maestro-execute",
|
|
159
|
-
"/maestro-verify",
|
|
160
158
|
"/maestro-quick"
|
|
161
159
|
],
|
|
162
160
|
"workflows": {
|
|
@@ -166,27 +164,27 @@
|
|
|
166
164
|
"upstream_origin": ["brainstorm (发散/轻量)", "blueprint (收敛/重型)"],
|
|
167
165
|
"understanding": "analyze 双层: 宏观(文本参数) + 微观(数字参数)",
|
|
168
166
|
"orchestration": "roadmap (可选,消费上游 context)",
|
|
169
|
-
"execution": ["plan", "execute"
|
|
167
|
+
"execution": ["plan", "execute"]
|
|
170
168
|
}
|
|
171
169
|
},
|
|
172
170
|
"paths": {
|
|
173
|
-
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute
|
|
174
|
-
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute
|
|
175
|
-
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute
|
|
176
|
-
"D_small_fix": "plan → execute
|
|
171
|
+
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute",
|
|
172
|
+
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute",
|
|
173
|
+
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute",
|
|
174
|
+
"D_small_fix": "plan → execute",
|
|
177
175
|
"E_spec_only": "blueprint → (供人阅读)",
|
|
178
176
|
"F_explore_only": "brainstorm → (供人决策)"
|
|
179
177
|
},
|
|
180
178
|
"main_pipeline": {
|
|
181
179
|
"name": "主干管线",
|
|
182
|
-
"phases": ["analyze", "plan", "execute"
|
|
180
|
+
"phases": ["analyze", "plan", "execute"],
|
|
183
181
|
"quality": ["quality-auto-test", "quality-review", "quality-test"],
|
|
184
182
|
"close": ["maestro-milestone-audit", "maestro-milestone-complete"]
|
|
185
183
|
},
|
|
186
184
|
"quick": {
|
|
187
185
|
"name": "快速渠道",
|
|
188
186
|
"entry": "/maestro-quick",
|
|
189
|
-
"modes": ["default (analyze+execute)", "--full (analyze+plan+execute
|
|
187
|
+
"modes": ["default (analyze+execute)", "--full (analyze+plan+execute)", "--discuss (multi-cli讨论)"]
|
|
190
188
|
},
|
|
191
189
|
"issue_loop": {
|
|
192
190
|
"name": "Issue 闭环",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
| 命令 | Guide 文档 |
|
|
71
71
|
|------|-----------|
|
|
72
|
-
| maestro-analyze/plan/execute
|
|
72
|
+
| maestro-analyze/plan/execute | `guide/command-usage-guide.md` (主干管线) |
|
|
73
73
|
| maestro-init/roadmap/blueprint | `guide/quick-start-guide.md` |
|
|
74
74
|
| maestro-ralph | `guide/maestro-ralph-guide.md` |
|
|
75
75
|
| maestro (协调器) | `guide/maestro-coordinator-guide.md` |
|
|
@@ -97,9 +97,7 @@
|
|
|
97
97
|
| roadmap 完成,phase=pending | `/maestro-analyze 1` | 微观分析:Phase 级深入探索 |
|
|
98
98
|
| analyze (微观) 完成 | `/maestro-plan 1` | Phase 级规划 |
|
|
99
99
|
| plan 完成 | `/maestro-execute` | 规划完成,开始执行 |
|
|
100
|
-
| execute 完成 | `/
|
|
101
|
-
| verify 有 gaps | `/maestro-analyze --gaps` | 发现差距,重新分析 |
|
|
102
|
-
| verify 通过 | `/quality-review` | 进入质量管线 |
|
|
100
|
+
| execute 完成 | `/quality-review` | 执行完成,进入质量管线 |
|
|
103
101
|
| quality 全通过 | `/maestro-milestone-audit` | 准备里程碑审计 |
|
|
104
102
|
| 所有 Phase 完成 | `/maestro-milestone-complete` | 里程碑可以关闭 |
|
|
105
103
|
|
|
@@ -45,7 +45,7 @@ const taskPatterns = [
|
|
|
45
45
|
4. `/maestro-analyze "topic"` — 宏观分析,探索影响面 → scope_verdict
|
|
46
46
|
5. `/maestro-roadmap --from analyze:ANL-xxx` — 纯编排,Milestone > Phase 分解
|
|
47
47
|
6. `/maestro-analyze 1` — 微观分析,Phase 级深入
|
|
48
|
-
7. `/maestro-plan 1` → `/maestro-execute`
|
|
48
|
+
7. `/maestro-plan 1` → `/maestro-execute`
|
|
49
49
|
|
|
50
50
|
### 路径 E: 纯规格文档(不进执行链)
|
|
51
51
|
1. `/maestro-blueprint "project idea"` — 供人阅读和决策
|
|
@@ -62,7 +62,7 @@ const taskPatterns = [
|
|
|
62
62
|
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=large
|
|
63
63
|
2. `/maestro-roadmap --from analyze:ANL-xxx` — Milestone > Phase 分解
|
|
64
64
|
3. `/maestro-analyze 1` — 微观分析
|
|
65
|
-
4. `/maestro-plan 1` → `/maestro-execute`
|
|
65
|
+
4. `/maestro-plan 1` → `/maestro-execute`
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
**中等功能 — Path C** (复杂度: 中,跳过 roadmap):
|
|
@@ -72,7 +72,7 @@ const taskPatterns = [
|
|
|
72
72
|
|
|
73
73
|
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=medium
|
|
74
74
|
2. `/maestro-plan --from analyze:ANL-xxx` — 直达规划,跳过 roadmap
|
|
75
|
-
3. `/maestro-execute`
|
|
75
|
+
3. `/maestro-execute`
|
|
76
76
|
|
|
77
77
|
### 快速渠道(简单功能)
|
|
78
78
|
1. `/maestro-quick "功能描述"` — 一键完成
|
|
@@ -87,7 +87,7 @@ const taskPatterns = [
|
|
|
87
87
|
## 小改动工作流
|
|
88
88
|
|
|
89
89
|
1. `/maestro-plan "fix auth bug"` — 直接规划
|
|
90
|
-
2. `/maestro-execute`
|
|
90
|
+
2. `/maestro-execute`
|
|
91
91
|
|
|
92
92
|
### 快速修复(已知问题)
|
|
93
93
|
1. `/maestro-quick "修复 Bug 描述"`
|
|
@@ -131,7 +131,7 @@ const taskPatterns = [
|
|
|
131
131
|
上游起源: brainstorm(发散) | blueprint(收敛) → 可选
|
|
132
132
|
理解层: analyze "topic"(宏观) → scope_verdict 路由
|
|
133
133
|
编排层: roadmap(可选,仅 scope_verdict=large 时建议)
|
|
134
|
-
执行层: plan → execute →
|
|
134
|
+
执行层: plan → execute → quality → milestone-audit → milestone-complete
|
|
135
135
|
快速渠道: maestro-quick → (直接完成)
|
|
136
136
|
Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute → close
|
|
137
137
|
全自动: /maestro -y → (自动路由)
|
|
@@ -146,7 +146,7 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
146
146
|
|
|
147
147
|
- **Roadmap**: 项目级常驻规划文档,包含多个 Milestone
|
|
148
148
|
- **Milestone**: 可独立交付的版本节点(v0.1.0-rc1),包含多个 Phase
|
|
149
|
-
- **Phase**: Milestone 内的同步屏障执行阶段,走 analyze → plan → execute
|
|
149
|
+
- **Phase**: Milestone 内的同步屏障执行阶段,走 analyze → plan → execute 生命周期
|
|
150
150
|
- **Task**: Phase 内的具体代码修改单元(wave DAG 管理并行)
|
|
151
151
|
- **Blueprint**: 正式规格文档化命令(7-phase 收敛),与 brainstorm 并列作为上游起源
|
|
152
152
|
- **Analyze 双层**: 宏观(文本参数)探索影响面产出 scope_verdict;微观(数字参数)Phase 级深入分析
|
|
@@ -179,8 +179,7 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
179
179
|
| 6 | `/maestro-roadmap` | 路线图编排 | scope_verdict=large 时,Milestone > Phase 分解 |
|
|
180
180
|
| 7 | `/maestro-plan` | 规划 | 分析完成后生成执行计划,支持 `--from analyze:ANL-xxx` 直达 |
|
|
181
181
|
| 8 | `/maestro-execute` | 执行 | 计划完成后,执行实现 |
|
|
182
|
-
| 9 | `/maestro-
|
|
183
|
-
| 10 | `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
182
|
+
| 9 | `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
184
183
|
```
|
|
185
184
|
|
|
186
185
|
#### Step 5.2: 快速入门路径
|
|
@@ -254,3 +254,16 @@ When findings lack explicit suggested command:
|
|
|
254
254
|
| Personality, memorability | delight |
|
|
255
255
|
|
|
256
256
|
Never auto-select: teach, shape, craft, live, document, extract, overdrive, critique, audit.
|
|
257
|
+
|
|
258
|
+
## Chain Phase Gates (MANDATORY for chain mode)
|
|
259
|
+
|
|
260
|
+
**GATE: Quality Gate Step → Next Step**
|
|
261
|
+
- REQUIRED: Score parsed from critique/audit output (not assumed or estimated).
|
|
262
|
+
- REQUIRED: P0 count extracted from findings — P0 == 0 required for pass.
|
|
263
|
+
- REQUIRED: If gate fails, refine commands executed and re-gate attempted.
|
|
264
|
+
- Do NOT skip quality gate steps or mark as "passed" without parsing actual score.
|
|
265
|
+
|
|
266
|
+
**GATE: Chain → Completion**
|
|
267
|
+
- REQUIRED: All non-skipped steps executed (TodoWrite all completed).
|
|
268
|
+
- REQUIRED: status.json updated with `status: "completed"` and final scores.
|
|
269
|
+
- REQUIRED: If any step failed: documented in status.json with reason.
|
|
@@ -61,6 +61,17 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
61
61
|
2. Validate `--from` source is accessible if provided
|
|
62
62
|
|
|
63
63
|
Follow '~/.maestro/workflows/init.md' completely.
|
|
64
|
+
|
|
65
|
+
### Artifact Verification (before completion)
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
REQUIRED_ARTIFACTS = [
|
|
69
|
+
".workflow/project.md", // Core Value, Requirements, Key Decisions
|
|
70
|
+
".workflow/state.json", // artifacts[], initialized to idle state
|
|
71
|
+
".workflow/config.json" // Workflow configuration
|
|
72
|
+
]
|
|
73
|
+
```
|
|
74
|
+
If any artifact is missing: DO NOT report completion. Write the missing file first.
|
|
64
75
|
</execution>
|
|
65
76
|
|
|
66
77
|
<completion>
|
|
@@ -33,8 +33,24 @@ Flags (`-m`, `--force`, `--dry-run`, `--no-cleanup`, `--continue`), merge sequen
|
|
|
33
33
|
<execution>
|
|
34
34
|
Follow '~/.maestro/workflows/merge.md' completely.
|
|
35
35
|
|
|
36
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
37
|
+
|
|
38
|
+
**GATE 1: Pre-merge → Git Merge**
|
|
39
|
+
- REQUIRED: Registry health check completed (stale entries cleaned or flagged).
|
|
40
|
+
- REQUIRED: Pre-merge rebase successful (worktree has latest main).
|
|
41
|
+
- BLOCKED if rebase has conflicts: resolve in worktree first (W003).
|
|
42
|
+
|
|
43
|
+
**GATE 2: Git Merge → Artifact Sync**
|
|
44
|
+
- REQUIRED: Git merge completed without conflicts (or conflicts resolved via --continue).
|
|
45
|
+
- Do NOT sync artifacts until git merge succeeds — prevents partial state corruption.
|
|
46
|
+
|
|
47
|
+
**GATE 3: Artifact Sync → Completion**
|
|
48
|
+
- REQUIRED: All scratch artifacts synced to main `.workflow/scratch/`.
|
|
49
|
+
- REQUIRED: `state.json.artifacts[]` reconciled (worktree entries merged into main).
|
|
50
|
+
- REQUIRED: Worktree cleaned up (unless --no-cleanup).
|
|
51
|
+
|
|
36
52
|
**Knowledge inquiry on completion:**
|
|
37
|
-
After successful merge, ask user once: "Record milestone learnings?" If yes, persist via `Skill("spec-add", "learning \"<title>\" \"<insight>\" --keywords <kw1>,<kw2>")`.
|
|
53
|
+
After successful merge, ask user once: "Record milestone learnings?" If yes, persist via `Skill("spec-add", "learning \"<title>\" \"<insight>\" --keywords <kw1>,<kw2> --description \"<summary>\"")`.
|
|
38
54
|
|
|
39
55
|
**Next-step routing on completion:**
|
|
40
56
|
- View dashboard → view_file(AbsolutePath="<agy-skills-dir>/manage-status/SKILL.md") + execute inline
|
|
@@ -24,7 +24,7 @@ Audit milestone completion using the artifact registry. Checks:
|
|
|
24
24
|
Data source: `state.json.artifacts[]` filtered by current milestone.
|
|
25
25
|
Produces audit report at `.workflow/milestones/{milestone}/audit-report.md`.
|
|
26
26
|
|
|
27
|
-
Pipeline position: downstream of maestro-
|
|
27
|
+
Pipeline position: downstream of maestro-execute (which includes verification), upstream of maestro-milestone-complete.
|
|
28
28
|
</purpose>
|
|
29
29
|
|
|
30
30
|
<required_reading>
|
|
@@ -51,7 +51,7 @@ Milestone: $ARGUMENTS (optional -- defaults to current_milestone from state.json
|
|
|
51
51
|
|
|
52
52
|
### Role Knowledge
|
|
53
53
|
|
|
54
|
-
1. Browse: `maestro
|
|
54
|
+
1. Browse: `maestro search --category review`
|
|
55
55
|
2. Select entries relevant to milestone integration audit
|
|
56
56
|
3. Load: `maestro wiki load <id1> [id2...]`
|
|
57
57
|
</context>
|
|
@@ -60,6 +60,38 @@ Milestone: $ARGUMENTS (optional -- defaults to current_milestone from state.json
|
|
|
60
60
|
Follow '~/.maestro/workflows/milestone-audit.md' completely.
|
|
61
61
|
|
|
62
62
|
Audit checklist steps (phase coverage, ad-hoc completeness, execution completeness, cross-artifact integration) are defined in workflow `milestone-audit.md`.
|
|
63
|
+
|
|
64
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
65
|
+
|
|
66
|
+
**GATE 1: Load → Phase Coverage Check**
|
|
67
|
+
- REQUIRED: state.json loaded with artifacts[] filtered by target milestone.
|
|
68
|
+
- REQUIRED: Milestone phases identified from roadmap (standard) or milestone_obj.phases (adhoc).
|
|
69
|
+
- BLOCKED if no execute artifacts found: error E003.
|
|
70
|
+
|
|
71
|
+
**GATE 2: Phase Coverage → Integration Check**
|
|
72
|
+
- REQUIRED: Every phase checked for artifact chain completeness (ANL→PLN→EXC for standard, PLN→EXC for adhoc).
|
|
73
|
+
- REQUIRED: Execution completeness verified — all tasks in executed plans checked for status.
|
|
74
|
+
- Do NOT skip incomplete chains — each gap MUST be logged in audit report.
|
|
75
|
+
|
|
76
|
+
**GATE 3: Integration Check → Report**
|
|
77
|
+
- REQUIRED: Cross-artifact integration check completed (shared interfaces, data contracts, configuration consistency).
|
|
78
|
+
- REQUIRED: Clear PASS/FAIL verdict determined with evidence for each check.
|
|
79
|
+
|
|
80
|
+
### Artifact Verification (before completion)
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
REQUIRED_ARTIFACTS = [
|
|
84
|
+
".workflow/milestones/{milestone}/audit-report.md" // Clear PASS/FAIL verdict
|
|
85
|
+
]
|
|
86
|
+
```
|
|
87
|
+
If missing: DO NOT report completion. Write the audit report first.
|
|
88
|
+
|
|
89
|
+
### Evidence Requirement
|
|
90
|
+
|
|
91
|
+
Every audit check result MUST cite what was examined and what was found:
|
|
92
|
+
- PASS: "Phase 1 chain complete: ANL-001 → PLN-001 → EXC-001, all tasks completed"
|
|
93
|
+
- FAIL: "Phase 2 missing EXC artifact — PLN-002 exists but no execution found"
|
|
94
|
+
- Do NOT mark checks as PASS without verifying the actual artifact exists and contains expected content.
|
|
63
95
|
</execution>
|
|
64
96
|
|
|
65
97
|
<completion>
|
|
@@ -48,6 +48,24 @@ Follow '~/.maestro/workflows/milestone-complete.md' completely.
|
|
|
48
48
|
|
|
49
49
|
Archive flow steps (validation, directory archival, artifact history, knowhow extraction, state advancement, cleanup) are defined in workflow `milestone-complete.md`.
|
|
50
50
|
|
|
51
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
52
|
+
|
|
53
|
+
**GATE 1: Validation → Archival**
|
|
54
|
+
- REQUIRED: Audit report verified as PASS (E002 if not).
|
|
55
|
+
- REQUIRED: No incomplete artifacts remain (E003 if any).
|
|
56
|
+
|
|
57
|
+
**GATE 2: Archival → Knowhow Extraction**
|
|
58
|
+
- REQUIRED: Scratch artifacts moved to `milestones/{M}/artifacts/`.
|
|
59
|
+
- REQUIRED: Artifact entries archived to milestone_history in state.json.
|
|
60
|
+
|
|
61
|
+
**GATE 3: Knowhow Extraction → State Advancement**
|
|
62
|
+
- REQUIRED: Knowhow extraction attempted (may produce 0 entries — W001).
|
|
63
|
+
- REQUIRED: `project.md` Context updated with milestone summary.
|
|
64
|
+
|
|
65
|
+
**GATE 4: State Advancement → Completion**
|
|
66
|
+
- REQUIRED: state.json updated — next milestone as current (standard) or current_milestone=null (adhoc).
|
|
67
|
+
- REQUIRED: Roadmap snapshot saved (standard only).
|
|
68
|
+
|
|
51
69
|
### Knowledge Promotion Inquiry
|
|
52
70
|
|
|
53
71
|
After knowhow extraction (step 4), scan `learnings.md` for promotion candidates:
|
|
@@ -58,7 +76,7 @@ After knowhow extraction (step 4), scan `learnings.md` for promotion candidates:
|
|
|
58
76
|
2. **Convention drift detection**: Compare executed task summaries against `coding-conventions.md` and `architecture-constraints.md`:
|
|
59
77
|
→ Ask: "Were any established conventions bypassed during this milestone? Should conventions be updated?"
|
|
60
78
|
|
|
61
|
-
3. **Wiki island check**: Auto-trigger `wiki
|
|
79
|
+
3. **Wiki island check**: Auto-trigger `manage-wiki connect --fix` to link newly extracted knowledge.
|
|
62
80
|
|
|
63
81
|
If user confirms promotion, invoke `view_file(AbsolutePath="<agy-skills-dir>/spec-add/SKILL.md") + execute inline (args: "<category> <content>")` with promoted content, preserving original date and source traceability.
|
|
64
82
|
|
|
@@ -60,6 +60,24 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
60
60
|
<execution>
|
|
61
61
|
Follow '~/.maestro/workflows/milestone-release.md' completely.
|
|
62
62
|
|
|
63
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
64
|
+
|
|
65
|
+
**GATE 1: Validation → Version Bump**
|
|
66
|
+
- REQUIRED: Current milestone completed (audit PASS + milestone-complete run). E001 if not.
|
|
67
|
+
- REQUIRED: Working tree clean (no uncommitted changes). E003 if dirty.
|
|
68
|
+
|
|
69
|
+
**GATE 2: Version Bump → Changelog**
|
|
70
|
+
- REQUIRED: Target version computed and greater than previous (E005 if not).
|
|
71
|
+
- REQUIRED: Version manifest file(s) identified and accessible.
|
|
72
|
+
|
|
73
|
+
**GATE 3: Changelog → Tag/Push**
|
|
74
|
+
- REQUIRED: CHANGELOG.md entry written with milestone summary + grouped changes.
|
|
75
|
+
- REQUIRED: Release commit created with conventional message.
|
|
76
|
+
|
|
77
|
+
**GATE 4: Tag → Completion**
|
|
78
|
+
- REQUIRED: Annotated git tag created (unless --no-tag).
|
|
79
|
+
- REQUIRED: state.json updated with last_release_version + last_release_at.
|
|
80
|
+
|
|
63
81
|
**High-level flow:**
|
|
64
82
|
1. Validate preconditions (milestone completed, clean tree, audit PASS)
|
|
65
83
|
2. Resolve target version from `<version>` or `--bump` against current manifest
|
|
@@ -110,8 +110,7 @@ ls -la .workflow/.maestro/ 2>$null | head -5 # 进行中的 session
|
|
|
110
110
|
| 有 roadmap,未启动 phase | analyze | `maestro-analyze {phase}` |
|
|
111
111
|
| 最新 artifact = analyze | plan | `maestro-plan {phase}` |
|
|
112
112
|
| 最新 artifact = plan | execute | `maestro-execute {phase}` |
|
|
113
|
-
| 最新 artifact = execute |
|
|
114
|
-
| verify passed | review | `quality-review {phase}` |
|
|
113
|
+
| 最新 artifact = execute | review | `quality-review {phase}` |
|
|
115
114
|
| review verdict=PASS | test-gen | `quality-auto-test {phase}` |
|
|
116
115
|
| 测试全绿 | milestone-audit | `maestro-milestone-audit` |
|
|
117
116
|
| 当前 milestone 全 phase 完成 | milestone-complete | `maestro-milestone-complete` |
|
|
@@ -120,7 +119,7 @@ ls -la .workflow/.maestro/ 2>$null | head -5 # 进行中的 session
|
|
|
120
119
|
**Maestro Lifecycle 主线:**
|
|
121
120
|
```
|
|
122
121
|
brainstorm → blueprint → init → analyze-macro → roadmap
|
|
123
|
-
→ [per phase] analyze → plan → execute
|
|
122
|
+
→ [per phase] analyze → plan → execute (includes verification)
|
|
124
123
|
→ [quality gate] review → auto-test → test
|
|
125
124
|
→ milestone-audit → milestone-complete → milestone-release
|
|
126
125
|
```
|
|
@@ -155,19 +154,19 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
155
154
|
| 分析 / analyze / 多维度调研 | `maestro-analyze` |
|
|
156
155
|
| 规划 / plan / 任务分解 | `maestro-plan` |
|
|
157
156
|
| 实现 / 执行 / execute | `maestro-execute` |
|
|
158
|
-
| 验证 / verify / 验收 | `maestro-
|
|
157
|
+
| 验证 / verify / 验收 | `maestro-execute` |
|
|
159
158
|
| 调试 / debug / 排查 / bug | `quality-debug` |
|
|
160
159
|
| 审查 / review / 代码审查 | `quality-review` |
|
|
161
160
|
| 测试 / test / UAT | `quality-test` / `quality-auto-test` |
|
|
162
161
|
| 重构 / refactor / 技术债 | `quality-refactor` |
|
|
163
162
|
| 同步文档 / sync docs | `quality-sync` |
|
|
164
|
-
| 回顾 / retro | `quality-retrospective`
|
|
163
|
+
| 回顾 / retro | `quality-retrospective` |
|
|
165
164
|
| issue / 缺陷管理 | `manage-issue` / `manage-issue-discover` |
|
|
166
|
-
| wiki / 知识图谱 | `manage-wiki`
|
|
165
|
+
| wiki / 知识图谱 | `manage-wiki` (含 connect/digest 子命令) |
|
|
167
166
|
| spec / 规则 / 约束 | `spec-load` / `spec-add` / `spec-setup` |
|
|
168
167
|
| 项目初始化 / init | `maestro-init` |
|
|
169
168
|
| 状态 / status / 仪表盘 | `manage-status` |
|
|
170
|
-
| 文档重建 / codebase 文档 | `manage-codebase-rebuild` / `
|
|
169
|
+
| 文档重建 / codebase 文档 | `manage-codebase-rebuild` / `quality-sync` |
|
|
171
170
|
| 安全 / security / OWASP | `security-audit` |
|
|
172
171
|
| 跟读 / 学习 / 阅读源码 | `learn-follow` / `learn-investigate` |
|
|
173
172
|
| 第二意见 / challenge / consult | `learn-second-opinion` |
|
|
@@ -183,9 +182,9 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
183
182
|
|----|------|---------|
|
|
184
183
|
| Learning | 接触新代码/未知模块 | `learn-follow` → `learn-decompose` → `learn-second-opinion` |
|
|
185
184
|
| Knowledge | 提炼经验 / 沉淀知识 | `manage-harvest` → `manage-knowhow-capture` → `spec-add` |
|
|
186
|
-
| Wiki | 知识图谱整理 | `manage-wiki` → `wiki
|
|
185
|
+
| Wiki | 知识图谱整理 | `manage-wiki health` → `manage-wiki connect` → `manage-wiki digest` |
|
|
187
186
|
| Issue | 缺陷管理 | `manage-issue-discover` → `manage-issue` |
|
|
188
|
-
| 文档同步 | 代码大改后 | `quality-sync` → `manage-codebase-
|
|
187
|
+
| 文档同步 | 代码大改后 | `quality-sync` → `manage-codebase-rebuild` (if major) |
|
|
189
188
|
| 重构 | 技术债积累 | `quality-refactor` → `quality-review` |
|
|
190
189
|
| 发布 | 里程碑结束 | `maestro-milestone-audit` → `maestro-milestone-release` |
|
|
191
190
|
| 并行开发 | 多 milestone 并行 | `maestro-fork` → ... → `maestro-merge` |
|
|
@@ -72,7 +72,7 @@ After confirming the injection point, ask whether this overlay should chain to a
|
|
|
72
72
|
|
|
73
73
|
Use ask_question:
|
|
74
74
|
- **"No chain"** — standard overlay, no skill handoff
|
|
75
|
-
- **"Chain to skill"** → ask for the target skill name (e.g., `quality-review`, `maestro-
|
|
75
|
+
- **"Chain to skill"** → ask for the target skill name (e.g., `quality-review`, `maestro-execute`, `quality-test`)
|
|
76
76
|
- **"Chain with alternatives"** → ask for primary skill + 1-2 alternative skills
|
|
77
77
|
|
|
78
78
|
If chain is selected, record the skill name(s) for use in Step 3.
|
|
@@ -114,11 +114,11 @@ Build a slug from the user's intent (kebab-case, lowercase). Write to `~/.maestr
|
|
|
114
114
|
After the above step completes, use ask_question:
|
|
115
115
|
- "Proceed to /quality-review" — Hand off to quality review
|
|
116
116
|
- "Skip" — Continue with current command flow
|
|
117
|
-
- "Alternative: /maestro-
|
|
117
|
+
- "Alternative: /maestro-execute" — Run execution with built-in verification instead
|
|
118
118
|
|
|
119
119
|
On user selection:
|
|
120
120
|
- Proceed → view_file(AbsolutePath="<agy-skills-dir>/quality-review/SKILL.md") + execute inline (args: "{phase}")
|
|
121
|
-
- Alternative → view_file(AbsolutePath="<agy-skills-dir>/maestro-
|
|
121
|
+
- Alternative → view_file(AbsolutePath="<agy-skills-dir>/maestro-execute/SKILL.md") + execute inline (args: "{phase}")
|
|
122
122
|
- Skip → continue normally
|
|
123
123
|
```
|
|
124
124
|
|
|
@@ -61,7 +61,7 @@ Scope routing, base flags (`--collab`, `--spec`, `-y`, `--gaps`, `--dir`), outpu
|
|
|
61
61
|
**Exception (`--from analyze:ANL-xxx` / `blueprint:BLP-xxx`):** When scope is set to "standalone" by `--from`, skip adhoc milestone auto-creation — the upstream analyze/blueprint artifact already provides the milestone context (or is intentionally milestone-free). Adhoc creation in this path would conflict with the `--from` semantic of "this is a one-shot plan rooted in an existing artifact".
|
|
62
62
|
|
|
63
63
|
### Role Knowledge
|
|
64
|
-
`maestro
|
|
64
|
+
`maestro search --category arch` → select relevant → `maestro wiki load`
|
|
65
65
|
</context>
|
|
66
66
|
|
|
67
67
|
<execution>
|
|
@@ -75,6 +75,24 @@ If exit code is 1, present warnings and ask whether to proceed.
|
|
|
75
75
|
|
|
76
76
|
Follow '~/.maestro/workflows/plan.md' completely.
|
|
77
77
|
|
|
78
|
+
### Phase Gates (MANDATORY, BLOCKING — Create mode only)
|
|
79
|
+
|
|
80
|
+
**GATE P1 → P2**: Context collection completed — context files loaded, codebase docs read (if available), wiki searched.
|
|
81
|
+
**GATE P2 → P3**: Clarification completed — ambiguous requirements resolved via ask_question (≤3 rounds).
|
|
82
|
+
**GATE P3 → P4**: Plan generated by planner agent — `plan.json` + `.task/TASK-*.json` files written. Main flow inline planning is FORBIDDEN (see P3 Agent Constraint below).
|
|
83
|
+
**GATE P4 → P5**: Plan-checker passed (or minor issues acknowledged). Confidence scored. Pressure pass completed on highest-complexity task.
|
|
84
|
+
**GATE P5 → Completion**: User confirmation captured (execute/modify/cancel). PLN artifact registered in state.json.
|
|
85
|
+
|
|
86
|
+
### Artifact Verification (before completion)
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
REQUIRED_ARTIFACTS = [
|
|
90
|
+
"plan.json", // Task definitions, waves, summary
|
|
91
|
+
".task/TASK-*.json" (per task) // Individual task files with convergence criteria
|
|
92
|
+
]
|
|
93
|
+
```
|
|
94
|
+
Every task MUST have `convergence.criteria[]` with grep-verifiable conditions. If any task lacks verifiable criteria: DO NOT report completion — fix the criteria first.
|
|
95
|
+
|
|
78
96
|
### P3 Agent Constraint (MANDATORY)
|
|
79
97
|
|
|
80
98
|
Main flow **MUST** spawn a planner agent (Agent tool) for P3 planning — inline planning by main flow is FORBIDDEN. The agent produces both `plan.json` and `.task/TASK-*.json` files. Main flow only passes context and validates output.
|
|
@@ -97,7 +115,7 @@ During P1 Context Collection, after loading context files and before parallel ex
|
|
|
97
115
|
|
|
98
116
|
```
|
|
99
117
|
phase_keywords = extract key terms from goal/title (2-5 terms)
|
|
100
|
-
wiki_result = run_command("maestro
|
|
118
|
+
wiki_result = run_command("maestro search ${phase_keywords} --json 2>/dev/null")
|
|
101
119
|
|
|
102
120
|
IF wiki_result exit code != 0 OR empty:
|
|
103
121
|
display "W003: Wiki search unavailable, continuing without prior knowledge"
|
|
@@ -169,7 +187,7 @@ Status verdicts:
|
|
|
169
187
|
| Code | Severity | Condition | Recovery |
|
|
170
188
|
|------|----------|-----------|----------|
|
|
171
189
|
| E001 | error | No args and no roadmap (cannot determine scope) | Provide phase number or topic, or create roadmap |
|
|
172
|
-
| E003 | error | --gaps requires prior verification/issues to exist | Run maestro-
|
|
190
|
+
| E003 | error | --gaps requires prior verification/issues to exist | Run maestro-execute first (verification is built-in) |
|
|
173
191
|
| E004 | error | No plan found to revise (--revise without target) | Use --dir to specify plan, or create plan first |
|
|
174
192
|
| E005 | error | Plan directory not found (--check) | Check path, use --dir |
|
|
175
193
|
| W001 | warning | Exploration agent returned incomplete results | Retry exploration or proceed with available context |
|
|
@@ -35,7 +35,7 @@ Parse for:
|
|
|
35
35
|
1. **Coding specs + tools**: Run `maestro spec load --category coding` to load coding conventions and discoverable tools. Apply to implementation.
|
|
36
36
|
2. **UI specs (conditional)**: If the task involves frontend/UI work (description contains component, page, style, layout, CSS, HTML, frontend), also run `maestro spec load --category ui`.
|
|
37
37
|
3. **Role Knowledge**:
|
|
38
|
-
- Browse: `maestro
|
|
38
|
+
- Browse: `maestro search --category coding`
|
|
39
39
|
- Load task-relevant entries: `maestro wiki load <id1> [id2...]`
|
|
40
40
|
3. All are optional — proceed without if unavailable.
|
|
41
41
|
</context>
|
|
@@ -43,6 +43,18 @@ Parse for:
|
|
|
43
43
|
<execution>
|
|
44
44
|
Follow '~/.maestro/workflows/quick.md' completely.
|
|
45
45
|
|
|
46
|
+
### Artifact Verification (before completion)
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
REQUIRED_ARTIFACTS = [
|
|
50
|
+
"plan.json", // Task definitions
|
|
51
|
+
".summaries/TASK-*-summary.md" (per task) // Execution results
|
|
52
|
+
]
|
|
53
|
+
```
|
|
54
|
+
If any artifact is missing: DO NOT report completion. Complete the missing step first.
|
|
55
|
+
|
|
56
|
+
Task summaries MUST include concrete evidence of completion (files changed, tests run, commands executed) — not just "task completed successfully."
|
|
57
|
+
|
|
46
58
|
**Next-step routing on completion:**
|
|
47
59
|
- Task done, --full verification passed → /manage-status
|
|
48
60
|
- Task done, verification found gaps → /quality-debug {issue}
|
|
@@ -72,11 +72,13 @@ Remaining → intent
|
|
|
72
72
|
4. **执行 step 通过 `maestro ralph next` CLI 加载并内联执行**(详见 invariant 8)
|
|
73
73
|
5. **status.json 是唯一真源** — 不生成 markdown 清单或侧文件
|
|
74
74
|
6. **每个 step 必须 `completion_confirmed: true`** — 由 `maestro ralph complete N --status DONE`(或 DONE_WITH_CONCERNS)写入;CLI 是唯一合法写入路径
|
|
75
|
-
7. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --json --quiet` 预校验(project 覆盖 global
|
|
76
|
-
8. **执行 step 加载契约** — 由 `maestro ralph next` CLI 在执行期完成:解析 frontmatter + `<required_reading>` + `<deferred_reading>`,自动读取 required 文件全文并拼入 prompt;缺失 required → 退出码 1(E007),pause session。ralph build 阶段只通过 `maestro ralph skills` 校验路径存在性,不读 .md 内容
|
|
75
|
+
7. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --platform agy --json --quiet` 预校验(project 覆盖 global,限定 `.claude/commands/` + `.claude/skills/`),命中即写绝对路径到 status.json;未命中标 `command_scope = "missing"`
|
|
76
|
+
8. **执行 step 加载契约** — 由 `maestro ralph next` CLI 在执行期完成:解析 frontmatter + `<required_reading>` + `<deferred_reading>`,自动读取 required 文件全文并拼入 prompt;缺失 required → 退出码 1(E007),pause session。ralph build 阶段只通过 `maestro ralph skills --platform agy` 校验路径存在性,不读 .md 内容
|
|
77
77
|
9. **Decomposition is outcome-oriented** — sub-goals 为可观测交付,禁止 lifecycle 复刻;`/goal` 用户绑定,ralph 输出提示词后继续 handoff,用户可在执行过程中随时输入 `/goal`
|
|
78
78
|
10. **planning_mode governs arg granularity** — `unified` → skill args 无 `{phase}`;`independent` → 含 `{phase}`
|
|
79
79
|
11. **task_decomposition 驱动 steps[] 动态生长** — `post-goal-audit` 按 unmet 子目标插入 scoped mini-loop;字段可选/累加,既有字段不删不改
|
|
80
|
+
12. **Invariant violation = BLOCK** — 违反上述任一 invariant 即阻断当前操作。不得以 "效率" 或 "意图明确" 为由绕过。特别是 invariant 1(ralph 不执行 step)和 invariant 6(completion_confirmed 由 CLI 写入)不可隐性违反。
|
|
81
|
+
13. **Delegate fallback 必须标记** — A_DELEGATE_EVALUATE 解析 verdict 失败时 fallback 为 "fix",但 MUST 在 decisions.ndjson 记录 `"parse_failed": true, "confidence_score": 0`,后续 step 继承 LOW CONFIDENCE 标记。
|
|
80
82
|
</invariants>
|
|
81
83
|
|
|
82
84
|
<state_machine>
|
|
@@ -158,7 +160,7 @@ S_DISPATCH:
|
|
|
158
160
|
→ END DO: view_file(AbsolutePath="<agy-skills-dir>/maestro-ralph-execute/SKILL.md") + execute inline
|
|
159
161
|
|
|
160
162
|
S_DECISION_EVAL: (decision 节点 == `step.decision` 非空,下述 gate 名取自该字段)
|
|
161
|
-
→ S_APPLY_VERDICT WHEN: quality-gate (post-
|
|
163
|
+
→ S_APPLY_VERDICT WHEN: quality-gate (post-execute, post-business-test, post-review, post-test)
|
|
162
164
|
DO: A_DELEGATE_EVALUATE
|
|
163
165
|
→ S_APPLY_VERDICT WHEN: goal-gate (post-goal-audit)
|
|
164
166
|
DO: A_GOAL_AUDIT_EVALUATE
|
|
@@ -387,8 +389,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
387
389
|
| roadmap | `maestro-roadmap --from analyze:{analyze_macro_id}` | *(same)* | — | all |
|
|
388
390
|
| analyze | `maestro-analyze {phase}` | `maestro-analyze` | — | all |
|
|
389
391
|
| plan | `maestro-plan {phase}` *(scope=phase)* / `maestro-plan --from analyze:{analyze_macro_id}` *(scope=standalone)* / `maestro-plan --from blueprint:{blueprint_id}` *(scope=standalone)* | `maestro-plan` | — | all |
|
|
390
|
-
| execute | `maestro-execute {phase}` | `maestro-execute` |
|
|
391
|
-
| verify | `maestro-verify {phase}` | `maestro-verify` | `post-verify` | all |
|
|
392
|
+
| execute | `maestro-execute {phase}` | `maestro-execute` | `post-execute` | all |
|
|
392
393
|
| business-test | `quality-auto-test {phase}` | `quality-auto-test` | `post-business-test` | full only |
|
|
393
394
|
| review | `quality-review {phase}` | `quality-review` | `post-review` | all (quick: append `--tier quick`) |
|
|
394
395
|
| test-gen | `quality-auto-test {phase}` | `quality-auto-test` | — | full / standard if coverage<80% |
|
|
@@ -413,7 +414,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
413
414
|
8. **占位符**:independent 保留 `{phase}` `{intent}`;unified 不带 `{phase}`
|
|
414
415
|
9. **command_path 解析**(每个执行 step,decision 节点跳过):
|
|
415
416
|
- 取 skill 名(args 前的第一个 token)
|
|
416
|
-
- **预校验通过 `run_command("maestro ralph skills --json --quiet")`**
|
|
417
|
+
- **预校验通过 `run_command("maestro ralph skills --platform agy --json --quiet")`** 一次性拉取 claude 平台可用 commands + skills(global + project,project 覆盖 global),匹配 skill 名得到:
|
|
417
418
|
- 命中 commands → `command_scope = "global" | "project"`,`command_path = <绝对路径>`
|
|
418
419
|
- 命中 skills → 同上(type=skill)
|
|
419
420
|
- 未命中 → `command_scope = "missing"`, `command_path = null`,A_CREATE_SESSION 报错 E006
|
|
@@ -445,7 +446,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
445
446
|
3. Map result files:
|
|
446
447
|
| Decision | Files |
|
|
447
448
|
|----------|-------|
|
|
448
|
-
| post-
|
|
449
|
+
| post-execute | verification.json |
|
|
449
450
|
| post-business-test | .tests/auto-test/report.json |
|
|
450
451
|
| post-review | review.json |
|
|
451
452
|
| post-test | uat.md, .tests/test-results.json |
|
|
@@ -458,13 +459,14 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
458
459
|
CONSTRAINTS: 只评估 | 置信度<60% 倾向 fix | retry {n}/{max} 达上限必须 escalate"
|
|
459
460
|
--role analyze --mode analysis
|
|
460
461
|
```
|
|
461
|
-
6. On callback: parse verdict; if parse fails → fallback STATUS="fix"
|
|
462
|
+
6. On callback: parse verdict; if parse fails → fallback STATUS="fix", BUT MUST set `parse_failed: true` and `confidence_score: 0` in decision log (invariant 13). Subsequent steps inherit LOW CONFIDENCE flag.
|
|
462
463
|
7. Confidence adjustment: <60 + proceed → fix; >95 + fix + retry>0 → suggest proceed
|
|
463
464
|
8. **Decision log**: Append to `{session_dir}/decisions.ndjson`:
|
|
464
465
|
```json
|
|
465
466
|
{ "id": "DEC-{timestamp}", "timestamp": "{ISO}", "source": "ralph",
|
|
466
467
|
"node_id": "{step.decision}", "type": "quality-gate",
|
|
467
468
|
"verdict": "{adjusted_verdict}", "confidence_score": {N},
|
|
469
|
+
"parse_failed": false,
|
|
468
470
|
"close_call": {N>=50 && N<=70}, "summary": "{REASON}" }
|
|
469
471
|
```
|
|
470
472
|
|
|
@@ -617,11 +619,11 @@ Runs only when `task_decomposition` present.
|
|
|
617
619
|
"args": "",
|
|
618
620
|
"stage": "", // brainstorm|blueprint|init|analyze-macro|roadmap|analyze|plan|execute|verify|...
|
|
619
621
|
"scope": null, // "phase"|"standalone"|"milestone"|null(plan 等需要)
|
|
620
|
-
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-
|
|
622
|
+
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-execute");null → 执行 step
|
|
621
623
|
"retry_count": 0, // decision 节点专用
|
|
622
624
|
"max_retries": 2, // decision 节点专用
|
|
623
625
|
"command_scope": "global|project|missing|null", // 执行 step;decision 节点固定 null
|
|
624
|
-
"command_path": "<absolute path resolved by `maestro ralph skills --json --quiet`> | null",
|
|
626
|
+
"command_path": "<absolute path resolved by `maestro ralph skills --platform agy --json --quiet`> | null",
|
|
625
627
|
"milestone_id": null, // D-007 反查注入;仅含 {phase} 占位符的 step 有
|
|
626
628
|
"source_artifact_ref": null, // "analyze:ANL-xxx" | "blueprint:BLP-xxx" | null
|
|
627
629
|
"status": "pending|running|completed|skipped|failed",
|
|
@@ -655,13 +657,12 @@ Runs only when `task_decomposition` present.
|
|
|
655
657
|
|
|
656
658
|
所有插入的执行 step 按 A_BUILD_STEPS 规则 9 解析 `command_path` + `command_scope`;`decision:*` 条目为 decision 节点(`step.decision` 字段)。
|
|
657
659
|
|
|
658
|
-
**post-
|
|
660
|
+
**post-execute:**
|
|
659
661
|
```
|
|
660
662
|
quality-debug "{gap_summary}"
|
|
661
663
|
maestro-plan --gaps {phase}
|
|
662
664
|
maestro-execute {phase}
|
|
663
|
-
|
|
664
|
-
decision:post-verify {retry+1}
|
|
665
|
+
decision:post-execute {retry+1}
|
|
665
666
|
```
|
|
666
667
|
|
|
667
668
|
**post-business-test:**
|
|
@@ -669,8 +670,7 @@ decision:post-verify {retry+1}
|
|
|
669
670
|
quality-debug --from-business-test "{gap_summary}"
|
|
670
671
|
maestro-plan --gaps {phase}
|
|
671
672
|
maestro-execute {phase}
|
|
672
|
-
|
|
673
|
-
decision:post-verify {retry: 0}
|
|
673
|
+
decision:post-execute {retry: 0}
|
|
674
674
|
quality-auto-test {phase}
|
|
675
675
|
decision:post-business-test {retry+1}
|
|
676
676
|
```
|
|
@@ -689,8 +689,7 @@ decision:post-review {retry+1}
|
|
|
689
689
|
quality-debug --from-uat "{gap_summary}"
|
|
690
690
|
maestro-plan --gaps {phase}
|
|
691
691
|
maestro-execute {phase}
|
|
692
|
-
|
|
693
|
-
decision:post-verify {retry: 0}
|
|
692
|
+
decision:post-execute {retry: 0}
|
|
694
693
|
quality-auto-test {phase}
|
|
695
694
|
decision:post-business-test {retry: 0}
|
|
696
695
|
quality-review {phase}
|
|
@@ -705,7 +704,6 @@ decision:post-test {retry+1}
|
|
|
705
704
|
# for each unmet sub-goal G{n}, scoped to target_phase:
|
|
706
705
|
maestro-plan --gaps {target_phase} "G{n}: {gap}" [goal_ref: G{n}]
|
|
707
706
|
maestro-execute {target_phase} [goal_ref: G{n}]
|
|
708
|
-
maestro-verify {target_phase} [goal_ref: G{n}]
|
|
709
707
|
# after all unmet groups inserted:
|
|
710
708
|
decision:post-goal-audit {retry+1}
|
|
711
709
|
```
|
|
@@ -753,8 +751,8 @@ decision:post-goal-audit {retry+1}
|
|
|
753
751
|
- [ ] quality_mode 由 A_DETERMINE_QUALITY_MODE 决定,过滤 build steps
|
|
754
752
|
- [ ] Decomposition: broad intent ≤3 question clarify;narrow auto-derive
|
|
755
753
|
- [ ] status.json 唯一真源:boundary_contract + execution_criteria + task_decomposition;无外部清单
|
|
756
|
-
- [ ] 执行 step 含 `command_scope` + `command_path`(通过 `maestro ralph skills --json --quiet` 预校验,project 覆盖 global);decision step 通过 `step.decision` 字段标识
|
|
757
|
-
- [ ] Ralph build 阶段只通过 `ralph skills` 校验路径存在性,不读 .md 内容;`<required_reading>` 加载由 `maestro ralph next` CLI 完成
|
|
754
|
+
- [ ] 执行 step 含 `command_scope` + `command_path`(通过 `maestro ralph skills --platform agy --json --quiet` 预校验,project 覆盖 global);decision step 通过 `step.decision` 字段标识
|
|
755
|
+
- [ ] Ralph build 阶段只通过 `ralph skills --platform agy` 校验路径存在性,不读 .md 内容;`<required_reading>` 加载由 `maestro ralph next` CLI 完成
|
|
758
756
|
- [ ] 每个 step 含 `completion_confirmed` + `completion_status` + `completion_evidence` + `deferred_reads`(初始 false/null/[])
|
|
759
757
|
- [ ] 每个 sub-goal 含 `completion_confirmed`(初始 false)
|
|
760
758
|
- [ ] post-goal-audit decision 仅在 decomposed 时插入,位于 milestone-complete 之前
|