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
|
@@ -253,3 +253,16 @@ When findings lack explicit suggested command:
|
|
|
253
253
|
| Personality, memorability | delight |
|
|
254
254
|
|
|
255
255
|
Never auto-select: teach, shape, craft, live, document, extract, overdrive, critique, audit.
|
|
256
|
+
|
|
257
|
+
## Chain Phase Gates (MANDATORY for chain mode)
|
|
258
|
+
|
|
259
|
+
**GATE: Quality Gate Step → Next Step**
|
|
260
|
+
- REQUIRED: Score parsed from critique/audit output (not assumed or estimated).
|
|
261
|
+
- REQUIRED: P0 count extracted from findings — P0 == 0 required for pass.
|
|
262
|
+
- REQUIRED: If gate fails, refine commands executed and re-gate attempted.
|
|
263
|
+
- Do NOT skip quality gate steps or mark as "passed" without parsing actual score.
|
|
264
|
+
|
|
265
|
+
**GATE: Chain → Completion**
|
|
266
|
+
- REQUIRED: All non-skipped steps executed (TodoWrite all completed).
|
|
267
|
+
- REQUIRED: status.json updated with `status: "completed"` and final scores.
|
|
268
|
+
- REQUIRED: If any step failed: documented in status.json with reason.
|
|
@@ -59,6 +59,17 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
59
59
|
2. Validate `--from` source is accessible if provided
|
|
60
60
|
|
|
61
61
|
Follow '~/.maestro/workflows/init.md' completely.
|
|
62
|
+
|
|
63
|
+
### Artifact Verification (before completion)
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
REQUIRED_ARTIFACTS = [
|
|
67
|
+
".workflow/project.md", // Core Value, Requirements, Key Decisions
|
|
68
|
+
".workflow/state.json", // artifacts[], initialized to idle state
|
|
69
|
+
".workflow/config.json" // Workflow configuration
|
|
70
|
+
]
|
|
71
|
+
```
|
|
72
|
+
If any artifact is missing: DO NOT report completion. Write the missing file first.
|
|
62
73
|
</execution>
|
|
63
74
|
|
|
64
75
|
<completion>
|
|
@@ -31,8 +31,24 @@ Flags (`-m`, `--force`, `--dry-run`, `--no-cleanup`, `--continue`), merge sequen
|
|
|
31
31
|
<execution>
|
|
32
32
|
Follow '~/.maestro/workflows/merge.md' completely.
|
|
33
33
|
|
|
34
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
35
|
+
|
|
36
|
+
**GATE 1: Pre-merge → Git Merge**
|
|
37
|
+
- REQUIRED: Registry health check completed (stale entries cleaned or flagged).
|
|
38
|
+
- REQUIRED: Pre-merge rebase successful (worktree has latest main).
|
|
39
|
+
- BLOCKED if rebase has conflicts: resolve in worktree first (W003).
|
|
40
|
+
|
|
41
|
+
**GATE 2: Git Merge → Artifact Sync**
|
|
42
|
+
- REQUIRED: Git merge completed without conflicts (or conflicts resolved via --continue).
|
|
43
|
+
- Do NOT sync artifacts until git merge succeeds — prevents partial state corruption.
|
|
44
|
+
|
|
45
|
+
**GATE 3: Artifact Sync → Completion**
|
|
46
|
+
- REQUIRED: All scratch artifacts synced to main `.workflow/scratch/`.
|
|
47
|
+
- REQUIRED: `state.json.artifacts[]` reconciled (worktree entries merged into main).
|
|
48
|
+
- REQUIRED: Worktree cleaned up (unless --no-cleanup).
|
|
49
|
+
|
|
34
50
|
**Knowledge inquiry on completion:**
|
|
35
|
-
After successful merge, ask user once: "Record milestone learnings?" If yes, persist via `Skill("spec-add", "learning \"<title>\" \"<insight>\" --keywords <kw1>,<kw2>")`.
|
|
51
|
+
After successful merge, ask user once: "Record milestone learnings?" If yes, persist via `Skill("spec-add", "learning \"<title>\" \"<insight>\" --keywords <kw1>,<kw2> --description \"<summary>\"")`.
|
|
36
52
|
|
|
37
53
|
**Next-step routing on completion:**
|
|
38
54
|
- View dashboard → Skill({ skill: "manage-status" })
|
|
@@ -22,7 +22,7 @@ Audit milestone completion using the artifact registry. Checks:
|
|
|
22
22
|
Data source: `state.json.artifacts[]` filtered by current milestone.
|
|
23
23
|
Produces audit report at `.workflow/milestones/{milestone}/audit-report.md`.
|
|
24
24
|
|
|
25
|
-
Pipeline position: downstream of maestro-
|
|
25
|
+
Pipeline position: downstream of maestro-execute (which includes verification), upstream of maestro-milestone-complete.
|
|
26
26
|
</purpose>
|
|
27
27
|
|
|
28
28
|
<required_reading>
|
|
@@ -49,7 +49,7 @@ Milestone: $ARGUMENTS (optional -- defaults to current_milestone from state.json
|
|
|
49
49
|
|
|
50
50
|
### Role Knowledge
|
|
51
51
|
|
|
52
|
-
1. Browse: `maestro
|
|
52
|
+
1. Browse: `maestro search --category review`
|
|
53
53
|
2. Select entries relevant to milestone integration audit
|
|
54
54
|
3. Load: `maestro wiki load <id1> [id2...]`
|
|
55
55
|
</context>
|
|
@@ -58,6 +58,38 @@ Milestone: $ARGUMENTS (optional -- defaults to current_milestone from state.json
|
|
|
58
58
|
Follow '~/.maestro/workflows/milestone-audit.md' completely.
|
|
59
59
|
|
|
60
60
|
Audit checklist steps (phase coverage, ad-hoc completeness, execution completeness, cross-artifact integration) are defined in workflow `milestone-audit.md`.
|
|
61
|
+
|
|
62
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
63
|
+
|
|
64
|
+
**GATE 1: Load → Phase Coverage Check**
|
|
65
|
+
- REQUIRED: state.json loaded with artifacts[] filtered by target milestone.
|
|
66
|
+
- REQUIRED: Milestone phases identified from roadmap (standard) or milestone_obj.phases (adhoc).
|
|
67
|
+
- BLOCKED if no execute artifacts found: error E003.
|
|
68
|
+
|
|
69
|
+
**GATE 2: Phase Coverage → Integration Check**
|
|
70
|
+
- REQUIRED: Every phase checked for artifact chain completeness (ANL→PLN→EXC for standard, PLN→EXC for adhoc).
|
|
71
|
+
- REQUIRED: Execution completeness verified — all tasks in executed plans checked for status.
|
|
72
|
+
- Do NOT skip incomplete chains — each gap MUST be logged in audit report.
|
|
73
|
+
|
|
74
|
+
**GATE 3: Integration Check → Report**
|
|
75
|
+
- REQUIRED: Cross-artifact integration check completed (shared interfaces, data contracts, configuration consistency).
|
|
76
|
+
- REQUIRED: Clear PASS/FAIL verdict determined with evidence for each check.
|
|
77
|
+
|
|
78
|
+
### Artifact Verification (before completion)
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
REQUIRED_ARTIFACTS = [
|
|
82
|
+
".workflow/milestones/{milestone}/audit-report.md" // Clear PASS/FAIL verdict
|
|
83
|
+
]
|
|
84
|
+
```
|
|
85
|
+
If missing: DO NOT report completion. Write the audit report first.
|
|
86
|
+
|
|
87
|
+
### Evidence Requirement
|
|
88
|
+
|
|
89
|
+
Every audit check result MUST cite what was examined and what was found:
|
|
90
|
+
- PASS: "Phase 1 chain complete: ANL-001 → PLN-001 → EXC-001, all tasks completed"
|
|
91
|
+
- FAIL: "Phase 2 missing EXC artifact — PLN-002 exists but no execution found"
|
|
92
|
+
- Do NOT mark checks as PASS without verifying the actual artifact exists and contains expected content.
|
|
61
93
|
</execution>
|
|
62
94
|
|
|
63
95
|
<completion>
|
|
@@ -46,6 +46,24 @@ Follow '~/.maestro/workflows/milestone-complete.md' completely.
|
|
|
46
46
|
|
|
47
47
|
Archive flow steps (validation, directory archival, artifact history, knowhow extraction, state advancement, cleanup) are defined in workflow `milestone-complete.md`.
|
|
48
48
|
|
|
49
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
50
|
+
|
|
51
|
+
**GATE 1: Validation → Archival**
|
|
52
|
+
- REQUIRED: Audit report verified as PASS (E002 if not).
|
|
53
|
+
- REQUIRED: No incomplete artifacts remain (E003 if any).
|
|
54
|
+
|
|
55
|
+
**GATE 2: Archival → Knowhow Extraction**
|
|
56
|
+
- REQUIRED: Scratch artifacts moved to `milestones/{M}/artifacts/`.
|
|
57
|
+
- REQUIRED: Artifact entries archived to milestone_history in state.json.
|
|
58
|
+
|
|
59
|
+
**GATE 3: Knowhow Extraction → State Advancement**
|
|
60
|
+
- REQUIRED: Knowhow extraction attempted (may produce 0 entries — W001).
|
|
61
|
+
- REQUIRED: `project.md` Context updated with milestone summary.
|
|
62
|
+
|
|
63
|
+
**GATE 4: State Advancement → Completion**
|
|
64
|
+
- REQUIRED: state.json updated — next milestone as current (standard) or current_milestone=null (adhoc).
|
|
65
|
+
- REQUIRED: Roadmap snapshot saved (standard only).
|
|
66
|
+
|
|
49
67
|
### Knowledge Promotion Inquiry
|
|
50
68
|
|
|
51
69
|
After knowhow extraction (step 4), scan `learnings.md` for promotion candidates:
|
|
@@ -56,7 +74,7 @@ After knowhow extraction (step 4), scan `learnings.md` for promotion candidates:
|
|
|
56
74
|
2. **Convention drift detection**: Compare executed task summaries against `coding-conventions.md` and `architecture-constraints.md`:
|
|
57
75
|
→ Ask: "Were any established conventions bypassed during this milestone? Should conventions be updated?"
|
|
58
76
|
|
|
59
|
-
3. **Wiki island check**: Auto-trigger `wiki
|
|
77
|
+
3. **Wiki island check**: Auto-trigger `manage-wiki connect --fix` to link newly extracted knowledge.
|
|
60
78
|
|
|
61
79
|
If user confirms promotion, invoke `Skill({ skill: "spec-add", args: "<category> <content>" })` with promoted content, preserving original date and source traceability.
|
|
62
80
|
|
|
@@ -58,6 +58,24 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
58
58
|
<execution>
|
|
59
59
|
Follow '~/.maestro/workflows/milestone-release.md' completely.
|
|
60
60
|
|
|
61
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
62
|
+
|
|
63
|
+
**GATE 1: Validation → Version Bump**
|
|
64
|
+
- REQUIRED: Current milestone completed (audit PASS + milestone-complete run). E001 if not.
|
|
65
|
+
- REQUIRED: Working tree clean (no uncommitted changes). E003 if dirty.
|
|
66
|
+
|
|
67
|
+
**GATE 2: Version Bump → Changelog**
|
|
68
|
+
- REQUIRED: Target version computed and greater than previous (E005 if not).
|
|
69
|
+
- REQUIRED: Version manifest file(s) identified and accessible.
|
|
70
|
+
|
|
71
|
+
**GATE 3: Changelog → Tag/Push**
|
|
72
|
+
- REQUIRED: CHANGELOG.md entry written with milestone summary + grouped changes.
|
|
73
|
+
- REQUIRED: Release commit created with conventional message.
|
|
74
|
+
|
|
75
|
+
**GATE 4: Tag → Completion**
|
|
76
|
+
- REQUIRED: Annotated git tag created (unless --no-tag).
|
|
77
|
+
- REQUIRED: state.json updated with last_release_version + last_release_at.
|
|
78
|
+
|
|
61
79
|
**High-level flow:**
|
|
62
80
|
1. Validate preconditions (milestone completed, clean tree, audit PASS)
|
|
63
81
|
2. Resolve target version from `<version>` or `--bump` against current manifest
|
|
@@ -112,8 +112,7 @@ ls -la .workflow/.maestro/ 2>$null | head -5 # 进行中的 session
|
|
|
112
112
|
| 有 roadmap,未启动 phase | analyze | `maestro-analyze {phase}` |
|
|
113
113
|
| 最新 artifact = analyze | plan | `maestro-plan {phase}` |
|
|
114
114
|
| 最新 artifact = plan | execute | `maestro-execute {phase}` |
|
|
115
|
-
| 最新 artifact = execute |
|
|
116
|
-
| verify passed | review | `quality-review {phase}` |
|
|
115
|
+
| 最新 artifact = execute | review | `quality-review {phase}` |
|
|
117
116
|
| review verdict=PASS | test-gen | `quality-auto-test {phase}` |
|
|
118
117
|
| 测试全绿 | milestone-audit | `maestro-milestone-audit` |
|
|
119
118
|
| 当前 milestone 全 phase 完成 | milestone-complete | `maestro-milestone-complete` |
|
|
@@ -122,7 +121,7 @@ ls -la .workflow/.maestro/ 2>$null | head -5 # 进行中的 session
|
|
|
122
121
|
**Maestro Lifecycle 主线:**
|
|
123
122
|
```
|
|
124
123
|
brainstorm → blueprint → init → analyze-macro → roadmap
|
|
125
|
-
→ [per phase] analyze → plan → execute
|
|
124
|
+
→ [per phase] analyze → plan → execute (includes verification)
|
|
126
125
|
→ [quality gate] review → auto-test → test
|
|
127
126
|
→ milestone-audit → milestone-complete → milestone-release
|
|
128
127
|
```
|
|
@@ -157,19 +156,19 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
157
156
|
| 分析 / analyze / 多维度调研 | `maestro-analyze` |
|
|
158
157
|
| 规划 / plan / 任务分解 | `maestro-plan` |
|
|
159
158
|
| 实现 / 执行 / execute | `maestro-execute` |
|
|
160
|
-
| 验证 / verify / 验收 | `maestro-
|
|
159
|
+
| 验证 / verify / 验收 | `maestro-execute` |
|
|
161
160
|
| 调试 / debug / 排查 / bug | `quality-debug` |
|
|
162
161
|
| 审查 / review / 代码审查 | `quality-review` |
|
|
163
162
|
| 测试 / test / UAT | `quality-test` / `quality-auto-test` |
|
|
164
163
|
| 重构 / refactor / 技术债 | `quality-refactor` |
|
|
165
164
|
| 同步文档 / sync docs | `quality-sync` |
|
|
166
|
-
| 回顾 / retro | `quality-retrospective`
|
|
165
|
+
| 回顾 / retro | `quality-retrospective` |
|
|
167
166
|
| issue / 缺陷管理 | `manage-issue` / `manage-issue-discover` |
|
|
168
|
-
| wiki / 知识图谱 | `manage-wiki`
|
|
167
|
+
| wiki / 知识图谱 | `manage-wiki` (含 connect/digest 子命令) |
|
|
169
168
|
| spec / 规则 / 约束 | `spec-load` / `spec-add` / `spec-setup` |
|
|
170
169
|
| 项目初始化 / init | `maestro-init` |
|
|
171
170
|
| 状态 / status / 仪表盘 | `manage-status` |
|
|
172
|
-
| 文档重建 / codebase 文档 | `manage-codebase-rebuild` / `
|
|
171
|
+
| 文档重建 / codebase 文档 | `manage-codebase-rebuild` / `quality-sync` |
|
|
173
172
|
| 安全 / security / OWASP | `security-audit` |
|
|
174
173
|
| 跟读 / 学习 / 阅读源码 | `learn-follow` / `learn-investigate` |
|
|
175
174
|
| 第二意见 / challenge / consult | `learn-second-opinion` |
|
|
@@ -185,9 +184,9 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
185
184
|
|----|------|---------|
|
|
186
185
|
| Learning | 接触新代码/未知模块 | `learn-follow` → `learn-decompose` → `learn-second-opinion` |
|
|
187
186
|
| Knowledge | 提炼经验 / 沉淀知识 | `manage-harvest` → `manage-knowhow-capture` → `spec-add` |
|
|
188
|
-
| Wiki | 知识图谱整理 | `manage-wiki` → `wiki
|
|
187
|
+
| Wiki | 知识图谱整理 | `manage-wiki health` → `manage-wiki connect` → `manage-wiki digest` |
|
|
189
188
|
| Issue | 缺陷管理 | `manage-issue-discover` → `manage-issue` |
|
|
190
|
-
| 文档同步 | 代码大改后 | `quality-sync` → `manage-codebase-
|
|
189
|
+
| 文档同步 | 代码大改后 | `quality-sync` → `manage-codebase-rebuild` (if major) |
|
|
191
190
|
| 重构 | 技术债积累 | `quality-refactor` → `quality-review` |
|
|
192
191
|
| 发布 | 里程碑结束 | `maestro-milestone-audit` → `maestro-milestone-release` |
|
|
193
192
|
| 并行开发 | 多 milestone 并行 | `maestro-fork` → ... → `maestro-merge` |
|
|
@@ -73,7 +73,7 @@ After confirming the injection point, ask whether this overlay should chain to a
|
|
|
73
73
|
|
|
74
74
|
Use AskUserQuestion:
|
|
75
75
|
- **"No chain"** — standard overlay, no skill handoff
|
|
76
|
-
- **"Chain to skill"** → ask for the target skill name (e.g., `quality-review`, `maestro-
|
|
76
|
+
- **"Chain to skill"** → ask for the target skill name (e.g., `quality-review`, `maestro-execute`, `quality-test`)
|
|
77
77
|
- **"Chain with alternatives"** → ask for primary skill + 1-2 alternative skills
|
|
78
78
|
|
|
79
79
|
If chain is selected, record the skill name(s) for use in Step 3.
|
|
@@ -115,11 +115,11 @@ Build a slug from the user's intent (kebab-case, lowercase). Write to `~/.maestr
|
|
|
115
115
|
After the above step completes, use AskUserQuestion:
|
|
116
116
|
- "Proceed to /quality-review" — Hand off to quality review
|
|
117
117
|
- "Skip" — Continue with current command flow
|
|
118
|
-
- "Alternative: /maestro-
|
|
118
|
+
- "Alternative: /maestro-execute" — Run execution with built-in verification instead
|
|
119
119
|
|
|
120
120
|
On user selection:
|
|
121
121
|
- Proceed → Skill({ skill: "quality-review", args: "{phase}" })
|
|
122
|
-
- Alternative → Skill({ skill: "maestro-
|
|
122
|
+
- Alternative → Skill({ skill: "maestro-execute", args: "{phase}" })
|
|
123
123
|
- Skip → continue normally
|
|
124
124
|
```
|
|
125
125
|
|
|
@@ -59,7 +59,7 @@ Scope routing, base flags (`--collab`, `--spec`, `-y`, `--gaps`, `--dir`), outpu
|
|
|
59
59
|
**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".
|
|
60
60
|
|
|
61
61
|
### Role Knowledge
|
|
62
|
-
`maestro
|
|
62
|
+
`maestro search --category arch` → select relevant → `maestro wiki load`
|
|
63
63
|
</context>
|
|
64
64
|
|
|
65
65
|
<execution>
|
|
@@ -73,6 +73,24 @@ If exit code is 1, present warnings and ask whether to proceed.
|
|
|
73
73
|
|
|
74
74
|
Follow '~/.maestro/workflows/plan.md' completely.
|
|
75
75
|
|
|
76
|
+
### Phase Gates (MANDATORY, BLOCKING — Create mode only)
|
|
77
|
+
|
|
78
|
+
**GATE P1 → P2**: Context collection completed — context files loaded, codebase docs read (if available), wiki searched.
|
|
79
|
+
**GATE P2 → P3**: Clarification completed — ambiguous requirements resolved via AskUserQuestion (≤3 rounds).
|
|
80
|
+
**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).
|
|
81
|
+
**GATE P4 → P5**: Plan-checker passed (or minor issues acknowledged). Confidence scored. Pressure pass completed on highest-complexity task.
|
|
82
|
+
**GATE P5 → Completion**: User confirmation captured (execute/modify/cancel). PLN artifact registered in state.json.
|
|
83
|
+
|
|
84
|
+
### Artifact Verification (before completion)
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
REQUIRED_ARTIFACTS = [
|
|
88
|
+
"plan.json", // Task definitions, waves, summary
|
|
89
|
+
".task/TASK-*.json" (per task) // Individual task files with convergence criteria
|
|
90
|
+
]
|
|
91
|
+
```
|
|
92
|
+
Every task MUST have `convergence.criteria[]` with grep-verifiable conditions. If any task lacks verifiable criteria: DO NOT report completion — fix the criteria first.
|
|
93
|
+
|
|
76
94
|
### P3 Agent Constraint (MANDATORY)
|
|
77
95
|
|
|
78
96
|
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.
|
|
@@ -95,7 +113,7 @@ During P1 Context Collection, after loading context files and before parallel ex
|
|
|
95
113
|
|
|
96
114
|
```
|
|
97
115
|
phase_keywords = extract key terms from goal/title (2-5 terms)
|
|
98
|
-
wiki_result = Bash("maestro
|
|
116
|
+
wiki_result = Bash("maestro search ${phase_keywords} --json 2>/dev/null")
|
|
99
117
|
|
|
100
118
|
IF wiki_result exit code != 0 OR empty:
|
|
101
119
|
display "W003: Wiki search unavailable, continuing without prior knowledge"
|
|
@@ -167,7 +185,7 @@ Status verdicts:
|
|
|
167
185
|
| Code | Severity | Condition | Recovery |
|
|
168
186
|
|------|----------|-----------|----------|
|
|
169
187
|
| E001 | error | No args and no roadmap (cannot determine scope) | Provide phase number or topic, or create roadmap |
|
|
170
|
-
| E003 | error | --gaps requires prior verification/issues to exist | Run maestro-
|
|
188
|
+
| E003 | error | --gaps requires prior verification/issues to exist | Run maestro-execute first (verification is built-in) |
|
|
171
189
|
| E004 | error | No plan found to revise (--revise without target) | Use --dir to specify plan, or create plan first |
|
|
172
190
|
| E005 | error | Plan directory not found (--check) | Check path, use --dir |
|
|
173
191
|
| W001 | warning | Exploration agent returned incomplete results | Retry exploration or proceed with available context |
|
|
@@ -33,7 +33,7 @@ Parse for:
|
|
|
33
33
|
1. **Coding specs + tools**: Run `maestro spec load --category coding` to load coding conventions and discoverable tools. Apply to implementation.
|
|
34
34
|
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`.
|
|
35
35
|
3. **Role Knowledge**:
|
|
36
|
-
- Browse: `maestro
|
|
36
|
+
- Browse: `maestro search --category coding`
|
|
37
37
|
- Load task-relevant entries: `maestro wiki load <id1> [id2...]`
|
|
38
38
|
3. All are optional — proceed without if unavailable.
|
|
39
39
|
</context>
|
|
@@ -41,6 +41,18 @@ Parse for:
|
|
|
41
41
|
<execution>
|
|
42
42
|
Follow '~/.maestro/workflows/quick.md' completely.
|
|
43
43
|
|
|
44
|
+
### Artifact Verification (before completion)
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
REQUIRED_ARTIFACTS = [
|
|
48
|
+
"plan.json", // Task definitions
|
|
49
|
+
".summaries/TASK-*-summary.md" (per task) // Execution results
|
|
50
|
+
]
|
|
51
|
+
```
|
|
52
|
+
If any artifact is missing: DO NOT report completion. Complete the missing step first.
|
|
53
|
+
|
|
54
|
+
Task summaries MUST include concrete evidence of completion (files changed, tests run, commands executed) — not just "task completed successfully."
|
|
55
|
+
|
|
44
56
|
**Next-step routing on completion:**
|
|
45
57
|
- Task done, --full verification passed → /manage-status
|
|
46
58
|
- Task done, verification found gaps → /quality-debug {issue}
|
|
@@ -177,7 +177,7 @@ S_TICK_EXEC: Entry: A_EXEC_STEP
|
|
|
177
177
|
→ S_HANDLE_FAIL WHEN: ralph complete with NEEDS_RETRY|BLOCKED
|
|
178
178
|
|
|
179
179
|
S_TICK_DECISION: (gate 名取自 `step.decision`)
|
|
180
|
-
→ S_TICK_APPLY WHEN: quality-gate (post-
|
|
180
|
+
→ S_TICK_APPLY WHEN: quality-gate (post-execute, post-business-test, post-review, post-test)
|
|
181
181
|
DO: A_DELEGATE_EVALUATE
|
|
182
182
|
→ S_TICK_APPLY WHEN: goal-gate (post-goal-audit)
|
|
183
183
|
DO: A_GOAL_AUDIT_EVALUATE
|
|
@@ -414,8 +414,7 @@ narrow → derive defaults from intent + codebase, skip questions.
|
|
|
414
414
|
| roadmap | `maestro-roadmap --from analyze:{analyze_macro_id}` | *(same)* | — | all |
|
|
415
415
|
| analyze | `maestro-analyze {phase}` | `maestro-analyze` | — | all |
|
|
416
416
|
| 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 |
|
|
417
|
-
| execute | `maestro-execute {phase}` | `maestro-execute` |
|
|
418
|
-
| verify | `maestro-verify {phase}` | `maestro-verify` | `post-verify` | all |
|
|
417
|
+
| execute | `maestro-execute {phase}` | `maestro-execute` | `post-execute` | all |
|
|
419
418
|
| business-test | `quality-auto-test {phase}` | `quality-auto-test` | `post-business-test` | full only |
|
|
420
419
|
| review | `quality-review {phase}` | `quality-review` | `post-review` | all (quick: append `--tier quick`) |
|
|
421
420
|
| test-gen | `quality-auto-test {phase}` | `quality-auto-test` | — | full / standard if coverage<80% |
|
|
@@ -544,7 +543,7 @@ Write enriched args back to status.json.
|
|
|
544
543
|
3. Map result files:
|
|
545
544
|
| Decision | Files |
|
|
546
545
|
|----------|-------|
|
|
547
|
-
| post-
|
|
546
|
+
| post-execute | verification.json |
|
|
548
547
|
| post-business-test | .tests/auto-test/report.json |
|
|
549
548
|
| post-review | review.json |
|
|
550
549
|
| post-test | uat.md, .tests/test-results.json |
|
|
@@ -717,8 +716,7 @@ Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro
|
|
|
717
716
|
|
|
718
717
|
[✓] 0. maestro-plan 1 [global]
|
|
719
718
|
[✓] 1. maestro-execute 1 [project]
|
|
720
|
-
[✓] 2.
|
|
721
|
-
[✓] 3. ◆ post-verify [decision]
|
|
719
|
+
[✓] 2. ◆ post-execute [decision]
|
|
722
720
|
...
|
|
723
721
|
============================================================
|
|
724
722
|
```
|
|
@@ -793,13 +791,12 @@ Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro
|
|
|
793
791
|
|
|
794
792
|
插入的执行 step 按 A_BUILD_STEPS 规则 9 解析 `command_path` + `command_scope`;`decision:*` 条目为 decision 节点。
|
|
795
793
|
|
|
796
|
-
**post-
|
|
794
|
+
**post-execute:**
|
|
797
795
|
```
|
|
798
796
|
quality-debug "{gap_summary}"
|
|
799
797
|
maestro-plan --gaps {phase}
|
|
800
798
|
maestro-execute {phase}
|
|
801
|
-
|
|
802
|
-
decision:post-verify {retry+1}
|
|
799
|
+
decision:post-execute {retry+1}
|
|
803
800
|
```
|
|
804
801
|
|
|
805
802
|
**post-business-test:**
|
|
@@ -807,8 +804,7 @@ decision:post-verify {retry+1}
|
|
|
807
804
|
quality-debug --from-business-test "{gap_summary}"
|
|
808
805
|
maestro-plan --gaps {phase}
|
|
809
806
|
maestro-execute {phase}
|
|
810
|
-
|
|
811
|
-
decision:post-verify {retry: 0}
|
|
807
|
+
decision:post-execute {retry: 0}
|
|
812
808
|
quality-auto-test {phase}
|
|
813
809
|
decision:post-business-test {retry+1}
|
|
814
810
|
```
|
|
@@ -827,8 +823,7 @@ decision:post-review {retry+1}
|
|
|
827
823
|
quality-debug --from-uat "{gap_summary}"
|
|
828
824
|
maestro-plan --gaps {phase}
|
|
829
825
|
maestro-execute {phase}
|
|
830
|
-
|
|
831
|
-
decision:post-verify {retry: 0}
|
|
826
|
+
decision:post-execute {retry: 0}
|
|
832
827
|
quality-auto-test {phase}
|
|
833
828
|
decision:post-business-test {retry: 0}
|
|
834
829
|
quality-review {phase}
|
|
@@ -843,7 +838,6 @@ decision:post-test {retry+1}
|
|
|
843
838
|
# for each unmet sub-goal G{n}, scoped to target_phase:
|
|
844
839
|
maestro-plan --gaps {target_phase} "G{n}: {gap}" [goal_ref: G{n}]
|
|
845
840
|
maestro-execute {target_phase} [goal_ref: G{n}]
|
|
846
|
-
maestro-verify {target_phase} [goal_ref: G{n}]
|
|
847
841
|
# after all unmet groups inserted:
|
|
848
842
|
decision:post-goal-audit {retry+1}
|
|
849
843
|
```
|
|
@@ -201,8 +201,7 @@ Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro
|
|
|
201
201
|
|
|
202
202
|
[✓] 0. maestro-plan 1 [global]
|
|
203
203
|
[✓] 1. maestro-execute 1 [project]
|
|
204
|
-
[✓] 2.
|
|
205
|
-
[✓] 3. ◆ post-verify [decision]
|
|
204
|
+
[✓] 2. ◆ post-execute [decision]
|
|
206
205
|
...
|
|
207
206
|
============================================================
|
|
208
207
|
```
|
|
@@ -74,11 +74,13 @@ Remaining → intent
|
|
|
74
74
|
4. **执行 step 通过 `maestro ralph next` CLI 加载并内联执行**(详见 invariant 8)
|
|
75
75
|
5. **status.json 是唯一真源** — 不生成 markdown 清单或侧文件
|
|
76
76
|
6. **每个 step 必须 `completion_confirmed: true`** — 由 `maestro ralph complete N --status DONE`(或 DONE_WITH_CONCERNS)写入;CLI 是唯一合法写入路径
|
|
77
|
-
7. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --json --quiet` 预校验(project 覆盖 global
|
|
78
|
-
8. **执行 step 加载契约** — 由 `maestro ralph next` CLI 在执行期完成:解析 frontmatter + `<required_reading>` + `<deferred_reading>`,自动读取 required 文件全文并拼入 prompt;缺失 required → 退出码 1(E007),pause session。ralph build 阶段只通过 `maestro ralph skills` 校验路径存在性,不读 .md 内容
|
|
77
|
+
7. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --platform claude --json --quiet` 预校验(project 覆盖 global,限定 `.claude/commands/` + `.claude/skills/`),命中即写绝对路径到 status.json;未命中标 `command_scope = "missing"`
|
|
78
|
+
8. **执行 step 加载契约** — 由 `maestro ralph next` CLI 在执行期完成:解析 frontmatter + `<required_reading>` + `<deferred_reading>`,自动读取 required 文件全文并拼入 prompt;缺失 required → 退出码 1(E007),pause session。ralph build 阶段只通过 `maestro ralph skills --platform claude` 校验路径存在性,不读 .md 内容
|
|
79
79
|
9. **Decomposition is outcome-oriented** — sub-goals 为可观测交付,禁止 lifecycle 复刻;`/goal` 用户绑定,ralph 输出提示词后继续 handoff,用户可在执行过程中随时输入 `/goal`
|
|
80
80
|
10. **planning_mode governs arg granularity** — `unified` → skill args 无 `{phase}`;`independent` → 含 `{phase}`
|
|
81
81
|
11. **task_decomposition 驱动 steps[] 动态生长** — `post-goal-audit` 按 unmet 子目标插入 scoped mini-loop;字段可选/累加,既有字段不删不改
|
|
82
|
+
12. **Invariant violation = BLOCK** — 违反上述任一 invariant 即阻断当前操作。不得以 "效率" 或 "意图明确" 为由绕过。特别是 invariant 1(ralph 不执行 step)和 invariant 6(completion_confirmed 由 CLI 写入)不可隐性违反。
|
|
83
|
+
13. **Delegate fallback 必须标记** — A_DELEGATE_EVALUATE 解析 verdict 失败时 fallback 为 "fix",但 MUST 在 decisions.ndjson 记录 `"parse_failed": true, "confidence_score": 0`,后续 step 继承 LOW CONFIDENCE 标记。
|
|
82
84
|
</invariants>
|
|
83
85
|
|
|
84
86
|
<state_machine>
|
|
@@ -160,7 +162,7 @@ S_DISPATCH:
|
|
|
160
162
|
→ END DO: Skill({ skill: "maestro-ralph-execute" })
|
|
161
163
|
|
|
162
164
|
S_DECISION_EVAL: (decision 节点 == `step.decision` 非空,下述 gate 名取自该字段)
|
|
163
|
-
→ S_APPLY_VERDICT WHEN: quality-gate (post-
|
|
165
|
+
→ S_APPLY_VERDICT WHEN: quality-gate (post-execute, post-business-test, post-review, post-test)
|
|
164
166
|
DO: A_DELEGATE_EVALUATE
|
|
165
167
|
→ S_APPLY_VERDICT WHEN: goal-gate (post-goal-audit)
|
|
166
168
|
DO: A_GOAL_AUDIT_EVALUATE
|
|
@@ -389,8 +391,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
389
391
|
| roadmap | `maestro-roadmap --from analyze:{analyze_macro_id}` | *(same)* | — | all |
|
|
390
392
|
| analyze | `maestro-analyze {phase}` | `maestro-analyze` | — | all |
|
|
391
393
|
| 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 |
|
|
392
|
-
| execute | `maestro-execute {phase}` | `maestro-execute` |
|
|
393
|
-
| verify | `maestro-verify {phase}` | `maestro-verify` | `post-verify` | all |
|
|
394
|
+
| execute | `maestro-execute {phase}` | `maestro-execute` | `post-execute` | all |
|
|
394
395
|
| business-test | `quality-auto-test {phase}` | `quality-auto-test` | `post-business-test` | full only |
|
|
395
396
|
| review | `quality-review {phase}` | `quality-review` | `post-review` | all (quick: append `--tier quick`) |
|
|
396
397
|
| test-gen | `quality-auto-test {phase}` | `quality-auto-test` | — | full / standard if coverage<80% |
|
|
@@ -415,7 +416,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
415
416
|
8. **占位符**:independent 保留 `{phase}` `{intent}`;unified 不带 `{phase}`
|
|
416
417
|
9. **command_path 解析**(每个执行 step,decision 节点跳过):
|
|
417
418
|
- 取 skill 名(args 前的第一个 token)
|
|
418
|
-
- **预校验通过 `Bash("maestro ralph skills --json --quiet")`**
|
|
419
|
+
- **预校验通过 `Bash("maestro ralph skills --platform claude --json --quiet")`** 一次性拉取 claude 平台可用 commands + skills(global + project,project 覆盖 global),匹配 skill 名得到:
|
|
419
420
|
- 命中 commands → `command_scope = "global" | "project"`,`command_path = <绝对路径>`
|
|
420
421
|
- 命中 skills → 同上(type=skill)
|
|
421
422
|
- 未命中 → `command_scope = "missing"`, `command_path = null`,A_CREATE_SESSION 报错 E006
|
|
@@ -447,7 +448,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
447
448
|
3. Map result files:
|
|
448
449
|
| Decision | Files |
|
|
449
450
|
|----------|-------|
|
|
450
|
-
| post-
|
|
451
|
+
| post-execute | verification.json |
|
|
451
452
|
| post-business-test | .tests/auto-test/report.json |
|
|
452
453
|
| post-review | review.json |
|
|
453
454
|
| post-test | uat.md, .tests/test-results.json |
|
|
@@ -460,13 +461,14 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
460
461
|
CONSTRAINTS: 只评估 | 置信度<60% 倾向 fix | retry {n}/{max} 达上限必须 escalate"
|
|
461
462
|
--role analyze --mode analysis
|
|
462
463
|
```
|
|
463
|
-
6. On callback: parse verdict; if parse fails → fallback STATUS="fix"
|
|
464
|
+
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.
|
|
464
465
|
7. Confidence adjustment: <60 + proceed → fix; >95 + fix + retry>0 → suggest proceed
|
|
465
466
|
8. **Decision log**: Append to `{session_dir}/decisions.ndjson`:
|
|
466
467
|
```json
|
|
467
468
|
{ "id": "DEC-{timestamp}", "timestamp": "{ISO}", "source": "ralph",
|
|
468
469
|
"node_id": "{step.decision}", "type": "quality-gate",
|
|
469
470
|
"verdict": "{adjusted_verdict}", "confidence_score": {N},
|
|
471
|
+
"parse_failed": false,
|
|
470
472
|
"close_call": {N>=50 && N<=70}, "summary": "{REASON}" }
|
|
471
473
|
```
|
|
472
474
|
|
|
@@ -619,11 +621,11 @@ Runs only when `task_decomposition` present.
|
|
|
619
621
|
"args": "",
|
|
620
622
|
"stage": "", // brainstorm|blueprint|init|analyze-macro|roadmap|analyze|plan|execute|verify|...
|
|
621
623
|
"scope": null, // "phase"|"standalone"|"milestone"|null(plan 等需要)
|
|
622
|
-
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-
|
|
624
|
+
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-execute");null → 执行 step
|
|
623
625
|
"retry_count": 0, // decision 节点专用
|
|
624
626
|
"max_retries": 2, // decision 节点专用
|
|
625
627
|
"command_scope": "global|project|missing|null", // 执行 step;decision 节点固定 null
|
|
626
|
-
"command_path": "<absolute path resolved by `maestro ralph skills --json --quiet`> | null",
|
|
628
|
+
"command_path": "<absolute path resolved by `maestro ralph skills --platform claude --json --quiet`> | null",
|
|
627
629
|
"milestone_id": null, // D-007 反查注入;仅含 {phase} 占位符的 step 有
|
|
628
630
|
"source_artifact_ref": null, // "analyze:ANL-xxx" | "blueprint:BLP-xxx" | null
|
|
629
631
|
"status": "pending|running|completed|skipped|failed",
|
|
@@ -657,13 +659,12 @@ Runs only when `task_decomposition` present.
|
|
|
657
659
|
|
|
658
660
|
所有插入的执行 step 按 A_BUILD_STEPS 规则 9 解析 `command_path` + `command_scope`;`decision:*` 条目为 decision 节点(`step.decision` 字段)。
|
|
659
661
|
|
|
660
|
-
**post-
|
|
662
|
+
**post-execute:**
|
|
661
663
|
```
|
|
662
664
|
quality-debug "{gap_summary}"
|
|
663
665
|
maestro-plan --gaps {phase}
|
|
664
666
|
maestro-execute {phase}
|
|
665
|
-
|
|
666
|
-
decision:post-verify {retry+1}
|
|
667
|
+
decision:post-execute {retry+1}
|
|
667
668
|
```
|
|
668
669
|
|
|
669
670
|
**post-business-test:**
|
|
@@ -671,8 +672,7 @@ decision:post-verify {retry+1}
|
|
|
671
672
|
quality-debug --from-business-test "{gap_summary}"
|
|
672
673
|
maestro-plan --gaps {phase}
|
|
673
674
|
maestro-execute {phase}
|
|
674
|
-
|
|
675
|
-
decision:post-verify {retry: 0}
|
|
675
|
+
decision:post-execute {retry: 0}
|
|
676
676
|
quality-auto-test {phase}
|
|
677
677
|
decision:post-business-test {retry+1}
|
|
678
678
|
```
|
|
@@ -691,8 +691,7 @@ decision:post-review {retry+1}
|
|
|
691
691
|
quality-debug --from-uat "{gap_summary}"
|
|
692
692
|
maestro-plan --gaps {phase}
|
|
693
693
|
maestro-execute {phase}
|
|
694
|
-
|
|
695
|
-
decision:post-verify {retry: 0}
|
|
694
|
+
decision:post-execute {retry: 0}
|
|
696
695
|
quality-auto-test {phase}
|
|
697
696
|
decision:post-business-test {retry: 0}
|
|
698
697
|
quality-review {phase}
|
|
@@ -707,7 +706,6 @@ decision:post-test {retry+1}
|
|
|
707
706
|
# for each unmet sub-goal G{n}, scoped to target_phase:
|
|
708
707
|
maestro-plan --gaps {target_phase} "G{n}: {gap}" [goal_ref: G{n}]
|
|
709
708
|
maestro-execute {target_phase} [goal_ref: G{n}]
|
|
710
|
-
maestro-verify {target_phase} [goal_ref: G{n}]
|
|
711
709
|
# after all unmet groups inserted:
|
|
712
710
|
decision:post-goal-audit {retry+1}
|
|
713
711
|
```
|
|
@@ -755,8 +753,8 @@ decision:post-goal-audit {retry+1}
|
|
|
755
753
|
- [ ] quality_mode 由 A_DETERMINE_QUALITY_MODE 决定,过滤 build steps
|
|
756
754
|
- [ ] Decomposition: broad intent ≤3 question clarify;narrow auto-derive
|
|
757
755
|
- [ ] status.json 唯一真源:boundary_contract + execution_criteria + task_decomposition;无外部清单
|
|
758
|
-
- [ ] 执行 step 含 `command_scope` + `command_path`(通过 `maestro ralph skills --json --quiet` 预校验,project 覆盖 global);decision step 通过 `step.decision` 字段标识
|
|
759
|
-
- [ ] Ralph build 阶段只通过 `ralph skills` 校验路径存在性,不读 .md 内容;`<required_reading>` 加载由 `maestro ralph next` CLI 完成
|
|
756
|
+
- [ ] 执行 step 含 `command_scope` + `command_path`(通过 `maestro ralph skills --platform claude --json --quiet` 预校验,project 覆盖 global);decision step 通过 `step.decision` 字段标识
|
|
757
|
+
- [ ] Ralph build 阶段只通过 `ralph skills --platform claude` 校验路径存在性,不读 .md 内容;`<required_reading>` 加载由 `maestro ralph next` CLI 完成
|
|
760
758
|
- [ ] 每个 step 含 `completion_confirmed` + `completion_status` + `completion_evidence` + `deferred_reads`(初始 false/null/[])
|
|
761
759
|
- [ ] 每个 sub-goal 含 `completion_confirmed`(初始 false)
|
|
762
760
|
- [ ] post-goal-audit decision 仅在 decomposed 时插入,位于 milestone-complete 之前
|
|
@@ -61,13 +61,13 @@ maestro-analyze ─┘ context-package.json
|
|
|
61
61
|
↓
|
|
62
62
|
maestro-roadmap → .workflow/roadmap.md (Milestone > Phase hierarchy)
|
|
63
63
|
↓
|
|
64
|
-
maestro-analyze {phase} → maestro-plan → maestro-execute
|
|
64
|
+
maestro-analyze {phase} → maestro-plan → maestro-execute
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
### Pre-load
|
|
68
68
|
|
|
69
69
|
1. **Specs**: `maestro spec load --category arch` — load architecture constraints for phase decomposition
|
|
70
|
-
2. **Wiki search**: `maestro
|
|
70
|
+
2. **Wiki search**: `maestro search "{requirement keywords}" --json` → prior knowledge
|
|
71
71
|
3. All optional — proceed without if unavailable
|
|
72
72
|
</context>
|
|
73
73
|
|
|
@@ -92,6 +92,32 @@ Sub-modes:
|
|
|
92
92
|
- **Revise** (`--revise`): Follow workflow roadmap.md "Mode: Revise" section
|
|
93
93
|
- **Review** (`--review`): Follow workflow roadmap.md "Mode: Review" section
|
|
94
94
|
|
|
95
|
+
### Phase Gates (MANDATORY, BLOCKING — Create mode)
|
|
96
|
+
|
|
97
|
+
**GATE 1: Input → Decomposition**
|
|
98
|
+
- REQUIRED: Requirement parsed with goal, constraints, stakeholders.
|
|
99
|
+
- REQUIRED: Upstream context loaded via --from (if specified).
|
|
100
|
+
|
|
101
|
+
**GATE 2: Decomposition → Refinement**
|
|
102
|
+
- REQUIRED: Milestones defined with deliverable targets.
|
|
103
|
+
- REQUIRED: Phases defined within milestones with dependencies.
|
|
104
|
+
- REQUIRED: Every Active requirement from project.md mapped to exactly one phase.
|
|
105
|
+
- REQUIRED: No circular dependencies in phase ordering.
|
|
106
|
+
|
|
107
|
+
**GATE 3: Refinement → Completion**
|
|
108
|
+
- REQUIRED: User approved roadmap (or auto-approved with -y).
|
|
109
|
+
- REQUIRED: `.workflow/roadmap.md` written with Milestone > Phase hierarchy.
|
|
110
|
+
- REQUIRED: Artifact registered in state.json with milestone entries.
|
|
111
|
+
|
|
112
|
+
### Artifact Verification (before completion)
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
REQUIRED_ARTIFACTS = [
|
|
116
|
+
".workflow/roadmap.md" // Milestone > Phase hierarchy with progress table
|
|
117
|
+
]
|
|
118
|
+
```
|
|
119
|
+
If missing: DO NOT report completion.
|
|
120
|
+
|
|
95
121
|
</execution>
|
|
96
122
|
|
|
97
123
|
<completion>
|
|
@@ -26,7 +26,7 @@ Scripts: `~/.maestro/workflows/swarm/wf-*.js`
|
|
|
26
26
|
| `wf-analyze` | maestro-analyze | explore → 6-dim scoring → **skeptic cross-verify** → **3-way advocacy (go/no-go/conditional) + referee** |
|
|
27
27
|
| `wf-brainstorm` | maestro-brainstorm | multi-role analysis → **3-specialist cross-review** → **3-proposal competition** → **arbitrator** |
|
|
28
28
|
| `wf-review` | quality-review | 6-dim scan → **3-vote adversarial verify (prosecutor/defense/judge)** → **3-perspective report + arbitrated verdict** |
|
|
29
|
-
| `wf-verify` | maestro-
|
|
29
|
+
| `wf-verify` | maestro-execute (verification gate) | 3-layer + antipattern + convergence → **prosecutor vs defender debate** → **judge verdict** |
|
|
30
30
|
| `wf-grill` | maestro-grill | explore → parallel branch stress → **meta-skeptic challenge** → **3-vote verdict (optimist/pessimist/realist)** |
|
|
31
31
|
| `wf-plan` | maestro-plan | parallel context → **3-strategy competing proposals** → **judge panel scoring** → **3-critic adversarial check** |
|
|
32
32
|
| `wf-execute` | maestro-execute | wave-based parallel execution → **adversarial convergence spot-check** → **3-vote status determination** |
|
|
@@ -228,7 +228,7 @@ Ralph 可以在 A_BUILD_STEPS 中将某些 step 的执行方式标记为 `swarm-
|
|
|
228
228
|
"args": "--script wf-analyze {phase}",
|
|
229
229
|
"stage": "analyze",
|
|
230
230
|
"command_scope": "project",
|
|
231
|
-
"command_path": "<resolved by maestro ralph skills>"
|
|
231
|
+
"command_path": "<resolved by maestro ralph skills --platform claude>"
|
|
232
232
|
}
|
|
233
233
|
```
|
|
234
234
|
|