maestro-flow 0.4.26 → 0.5.0
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/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 +3 -2
- 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/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 +3 -2
- 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 +3 -2
- 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/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 +5 -4
- 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 +16 -3
- package/.codex/skills/maestro-blueprint/SKILL.md +8 -1
- package/.codex/skills/maestro-brainstorm/SKILL.md +8 -5
- 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-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 +16 -1
- 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/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/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +5 -1
- package/dist/src/tui/install-ui/InstallExecution.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 +19 -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/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/fork.md +1 -1
- package/workflows/integration-test.md +1 -1
- 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/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
|
@@ -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: 快速入门路径
|
|
@@ -255,3 +255,16 @@ When findings lack explicit suggested command:
|
|
|
255
255
|
| Personality, memorability | delight |
|
|
256
256
|
|
|
257
257
|
Never auto-select: teach, shape, craft, live, document, extract, overdrive, critique, audit.
|
|
258
|
+
|
|
259
|
+
## Chain Phase Gates (MANDATORY for chain mode)
|
|
260
|
+
|
|
261
|
+
**GATE: Quality Gate Step → Next Step**
|
|
262
|
+
- REQUIRED: Score parsed from critique/audit output (not assumed or estimated).
|
|
263
|
+
- REQUIRED: P0 count extracted from findings — P0 == 0 required for pass.
|
|
264
|
+
- REQUIRED: If gate fails, refine commands executed and re-gate attempted.
|
|
265
|
+
- Do NOT skip quality gate steps or mark as "passed" without parsing actual score.
|
|
266
|
+
|
|
267
|
+
**GATE: Chain → Completion**
|
|
268
|
+
- REQUIRED: All non-skipped steps executed (track_tasks all completed).
|
|
269
|
+
- REQUIRED: status.json updated with `status: "completed"` and final scores.
|
|
270
|
+
- 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 `invoke_skill("spec-add", "learning \"<title>\" \"<insight>\" --keywords <kw1>,<kw2>")`.
|
|
53
|
+
After successful merge, ask user once: "Record milestone learnings?" If yes, persist via `invoke_skill("spec-add", "learning \"<title>\" \"<insight>\" --keywords <kw1>,<kw2> --description \"<summary>\"")`.
|
|
38
54
|
|
|
39
55
|
**Next-step routing on completion:**
|
|
40
56
|
- View dashboard → invoke_skill({ skill: "manage-status" })
|
|
@@ -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 `invoke_skill({ skill: "spec-add", 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
|
|
@@ -114,8 +114,7 @@ ls -la .workflow/.maestro/ 2>$null | head -5 # 进行中的 session
|
|
|
114
114
|
| 有 roadmap,未启动 phase | analyze | `maestro-analyze {phase}` |
|
|
115
115
|
| 最新 artifact = analyze | plan | `maestro-plan {phase}` |
|
|
116
116
|
| 最新 artifact = plan | execute | `maestro-execute {phase}` |
|
|
117
|
-
| 最新 artifact = execute |
|
|
118
|
-
| verify passed | review | `quality-review {phase}` |
|
|
117
|
+
| 最新 artifact = execute | review | `quality-review {phase}` |
|
|
119
118
|
| review verdict=PASS | test-gen | `quality-auto-test {phase}` |
|
|
120
119
|
| 测试全绿 | milestone-audit | `maestro-milestone-audit` |
|
|
121
120
|
| 当前 milestone 全 phase 完成 | milestone-complete | `maestro-milestone-complete` |
|
|
@@ -124,7 +123,7 @@ ls -la .workflow/.maestro/ 2>$null | head -5 # 进行中的 session
|
|
|
124
123
|
**Maestro Lifecycle 主线:**
|
|
125
124
|
```
|
|
126
125
|
brainstorm → blueprint → init → analyze-macro → roadmap
|
|
127
|
-
→ [per phase] analyze → plan → execute
|
|
126
|
+
→ [per phase] analyze → plan → execute (includes verification)
|
|
128
127
|
→ [quality gate] review → auto-test → test
|
|
129
128
|
→ milestone-audit → milestone-complete → milestone-release
|
|
130
129
|
```
|
|
@@ -159,19 +158,19 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
159
158
|
| 分析 / analyze / 多维度调研 | `maestro-analyze` |
|
|
160
159
|
| 规划 / plan / 任务分解 | `maestro-plan` |
|
|
161
160
|
| 实现 / 执行 / execute | `maestro-execute` |
|
|
162
|
-
| 验证 / verify / 验收 | `maestro-
|
|
161
|
+
| 验证 / verify / 验收 | `maestro-execute` |
|
|
163
162
|
| 调试 / debug / 排查 / bug | `quality-debug` |
|
|
164
163
|
| 审查 / review / 代码审查 | `quality-review` |
|
|
165
164
|
| 测试 / test / UAT | `quality-test` / `quality-auto-test` |
|
|
166
165
|
| 重构 / refactor / 技术债 | `quality-refactor` |
|
|
167
166
|
| 同步文档 / sync docs | `quality-sync` |
|
|
168
|
-
| 回顾 / retro | `quality-retrospective`
|
|
167
|
+
| 回顾 / retro | `quality-retrospective` |
|
|
169
168
|
| issue / 缺陷管理 | `manage-issue` / `manage-issue-discover` |
|
|
170
|
-
| wiki / 知识图谱 | `manage-wiki`
|
|
169
|
+
| wiki / 知识图谱 | `manage-wiki` (含 connect/digest 子命令) |
|
|
171
170
|
| spec / 规则 / 约束 | `spec-load` / `spec-add` / `spec-setup` |
|
|
172
171
|
| 项目初始化 / init | `maestro-init` |
|
|
173
172
|
| 状态 / status / 仪表盘 | `manage-status` |
|
|
174
|
-
| 文档重建 / codebase 文档 | `manage-codebase-rebuild` / `
|
|
173
|
+
| 文档重建 / codebase 文档 | `manage-codebase-rebuild` / `quality-sync` |
|
|
175
174
|
| 安全 / security / OWASP | `security-audit` |
|
|
176
175
|
| 跟读 / 学习 / 阅读源码 | `learn-follow` / `learn-investigate` |
|
|
177
176
|
| 第二意见 / challenge / consult | `learn-second-opinion` |
|
|
@@ -187,9 +186,9 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
187
186
|
|----|------|---------|
|
|
188
187
|
| Learning | 接触新代码/未知模块 | `learn-follow` → `learn-decompose` → `learn-second-opinion` |
|
|
189
188
|
| Knowledge | 提炼经验 / 沉淀知识 | `manage-harvest` → `manage-knowhow-capture` → `spec-add` |
|
|
190
|
-
| Wiki | 知识图谱整理 | `manage-wiki` → `wiki
|
|
189
|
+
| Wiki | 知识图谱整理 | `manage-wiki health` → `manage-wiki connect` → `manage-wiki digest` |
|
|
191
190
|
| Issue | 缺陷管理 | `manage-issue-discover` → `manage-issue` |
|
|
192
|
-
| 文档同步 | 代码大改后 | `quality-sync` → `manage-codebase-
|
|
191
|
+
| 文档同步 | 代码大改后 | `quality-sync` → `manage-codebase-rebuild` (if major) |
|
|
193
192
|
| 重构 | 技术债积累 | `quality-refactor` → `quality-review` |
|
|
194
193
|
| 发布 | 里程碑结束 | `maestro-milestone-audit` → `maestro-milestone-release` |
|
|
195
194
|
| 并行开发 | 多 milestone 并行 | `maestro-fork` → ... → `maestro-merge` |
|
|
@@ -75,7 +75,7 @@ After confirming the injection point, ask whether this overlay should chain to a
|
|
|
75
75
|
|
|
76
76
|
Use ask_user:
|
|
77
77
|
- **"No chain"** — standard overlay, no skill handoff
|
|
78
|
-
- **"Chain to skill"** → ask for the target skill name (e.g., `quality-review`, `maestro-
|
|
78
|
+
- **"Chain to skill"** → ask for the target skill name (e.g., `quality-review`, `maestro-execute`, `quality-test`)
|
|
79
79
|
- **"Chain with alternatives"** → ask for primary skill + 1-2 alternative skills
|
|
80
80
|
|
|
81
81
|
If chain is selected, record the skill name(s) for use in Step 3.
|
|
@@ -117,11 +117,11 @@ Build a slug from the user's intent (kebab-case, lowercase). Write to `~/.maestr
|
|
|
117
117
|
After the above step completes, use ask_user:
|
|
118
118
|
- "Proceed to /quality-review" — Hand off to quality review
|
|
119
119
|
- "Skip" — Continue with current command flow
|
|
120
|
-
- "Alternative: /maestro-
|
|
120
|
+
- "Alternative: /maestro-execute" — Run execution with built-in verification instead
|
|
121
121
|
|
|
122
122
|
On user selection:
|
|
123
123
|
- Proceed → invoke_skill({ skill: "quality-review", args: "{phase}" })
|
|
124
|
-
- Alternative → invoke_skill({ skill: "maestro-
|
|
124
|
+
- Alternative → invoke_skill({ skill: "maestro-execute", args: "{phase}" })
|
|
125
125
|
- Skip → continue normally
|
|
126
126
|
```
|
|
127
127
|
|
|
@@ -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_user (≤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 = shell("maestro
|
|
118
|
+
wiki_result = shell("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}
|
|
@@ -76,11 +76,13 @@ Remaining → intent
|
|
|
76
76
|
4. **执行 step 通过 `maestro ralph next` CLI 加载并内联执行**(详见 invariant 8)
|
|
77
77
|
5. **status.json 是唯一真源** — 不生成 markdown 清单或侧文件
|
|
78
78
|
6. **每个 step 必须 `completion_confirmed: true`** — 由 `maestro ralph complete N --status DONE`(或 DONE_WITH_CONCERNS)写入;CLI 是唯一合法写入路径
|
|
79
|
-
7. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --json --quiet` 预校验(project 覆盖 global
|
|
80
|
-
8. **执行 step 加载契约** — 由 `maestro ralph next` CLI 在执行期完成:解析 frontmatter + `<required_reading>` + `<deferred_reading>`,自动读取 required 文件全文并拼入 prompt;缺失 required → 退出码 1(E007),pause session。ralph build 阶段只通过 `maestro ralph skills` 校验路径存在性,不读 .md 内容
|
|
79
|
+
7. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --platform agent --json --quiet` 预校验(project 覆盖 global,限定 `.claude/commands/` + `.claude/skills/`),命中即写绝对路径到 status.json;未命中标 `command_scope = "missing"`
|
|
80
|
+
8. **执行 step 加载契约** — 由 `maestro ralph next` CLI 在执行期完成:解析 frontmatter + `<required_reading>` + `<deferred_reading>`,自动读取 required 文件全文并拼入 prompt;缺失 required → 退出码 1(E007),pause session。ralph build 阶段只通过 `maestro ralph skills --platform agent` 校验路径存在性,不读 .md 内容
|
|
81
81
|
9. **Decomposition is outcome-oriented** — sub-goals 为可观测交付,禁止 lifecycle 复刻;`/goal` 用户绑定,ralph 输出提示词后继续 handoff,用户可在执行过程中随时输入 `/goal`
|
|
82
82
|
10. **planning_mode governs arg granularity** — `unified` → skill args 无 `{phase}`;`independent` → 含 `{phase}`
|
|
83
83
|
11. **task_decomposition 驱动 steps[] 动态生长** — `post-goal-audit` 按 unmet 子目标插入 scoped mini-loop;字段可选/累加,既有字段不删不改
|
|
84
|
+
12. **Invariant violation = BLOCK** — 违反上述任一 invariant 即阻断当前操作。不得以 "效率" 或 "意图明确" 为由绕过。特别是 invariant 1(ralph 不执行 step)和 invariant 6(completion_confirmed 由 CLI 写入)不可隐性违反。
|
|
85
|
+
13. **Delegate fallback 必须标记** — A_DELEGATE_EVALUATE 解析 verdict 失败时 fallback 为 "fix",但 MUST 在 decisions.ndjson 记录 `"parse_failed": true, "confidence_score": 0`,后续 step 继承 LOW CONFIDENCE 标记。
|
|
84
86
|
</invariants>
|
|
85
87
|
|
|
86
88
|
<state_machine>
|
|
@@ -162,7 +164,7 @@ S_DISPATCH:
|
|
|
162
164
|
→ END DO: invoke_skill({ skill: "maestro-ralph-execute" })
|
|
163
165
|
|
|
164
166
|
S_DECISION_EVAL: (decision 节点 == `step.decision` 非空,下述 gate 名取自该字段)
|
|
165
|
-
→ S_APPLY_VERDICT WHEN: quality-gate (post-
|
|
167
|
+
→ S_APPLY_VERDICT WHEN: quality-gate (post-execute, post-business-test, post-review, post-test)
|
|
166
168
|
DO: A_DELEGATE_EVALUATE
|
|
167
169
|
→ S_APPLY_VERDICT WHEN: goal-gate (post-goal-audit)
|
|
168
170
|
DO: A_GOAL_AUDIT_EVALUATE
|
|
@@ -391,8 +393,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
391
393
|
| roadmap | `maestro-roadmap --from analyze:{analyze_macro_id}` | *(same)* | — | all |
|
|
392
394
|
| analyze | `maestro-analyze {phase}` | `maestro-analyze` | — | all |
|
|
393
395
|
| 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 |
|
|
394
|
-
| execute | `maestro-execute {phase}` | `maestro-execute` |
|
|
395
|
-
| verify | `maestro-verify {phase}` | `maestro-verify` | `post-verify` | all |
|
|
396
|
+
| execute | `maestro-execute {phase}` | `maestro-execute` | `post-execute` | all |
|
|
396
397
|
| business-test | `quality-auto-test {phase}` | `quality-auto-test` | `post-business-test` | full only |
|
|
397
398
|
| review | `quality-review {phase}` | `quality-review` | `post-review` | all (quick: append `--tier quick`) |
|
|
398
399
|
| test-gen | `quality-auto-test {phase}` | `quality-auto-test` | — | full / standard if coverage<80% |
|
|
@@ -417,7 +418,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
417
418
|
8. **占位符**:independent 保留 `{phase}` `{intent}`;unified 不带 `{phase}`
|
|
418
419
|
9. **command_path 解析**(每个执行 step,decision 节点跳过):
|
|
419
420
|
- 取 skill 名(args 前的第一个 token)
|
|
420
|
-
- **预校验通过 `shell("maestro ralph skills --json --quiet")`**
|
|
421
|
+
- **预校验通过 `shell("maestro ralph skills --platform agent --json --quiet")`** 一次性拉取 claude 平台可用 commands + skills(global + project,project 覆盖 global),匹配 skill 名得到:
|
|
421
422
|
- 命中 commands → `command_scope = "global" | "project"`,`command_path = <绝对路径>`
|
|
422
423
|
- 命中 skills → 同上(type=skill)
|
|
423
424
|
- 未命中 → `command_scope = "missing"`, `command_path = null`,A_CREATE_SESSION 报错 E006
|
|
@@ -449,7 +450,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
449
450
|
3. Map result files:
|
|
450
451
|
| Decision | Files |
|
|
451
452
|
|----------|-------|
|
|
452
|
-
| post-
|
|
453
|
+
| post-execute | verification.json |
|
|
453
454
|
| post-business-test | .tests/auto-test/report.json |
|
|
454
455
|
| post-review | review.json |
|
|
455
456
|
| post-test | uat.md, .tests/test-results.json |
|
|
@@ -462,13 +463,14 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
462
463
|
CONSTRAINTS: 只评估 | 置信度<60% 倾向 fix | retry {n}/{max} 达上限必须 escalate"
|
|
463
464
|
--role analyze --mode analysis
|
|
464
465
|
```
|
|
465
|
-
6. On callback: parse verdict; if parse fails → fallback STATUS="fix"
|
|
466
|
+
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.
|
|
466
467
|
7. Confidence adjustment: <60 + proceed → fix; >95 + fix + retry>0 → suggest proceed
|
|
467
468
|
8. **Decision log**: Append to `{session_dir}/decisions.ndjson`:
|
|
468
469
|
```json
|
|
469
470
|
{ "id": "DEC-{timestamp}", "timestamp": "{ISO}", "source": "ralph",
|
|
470
471
|
"node_id": "{step.decision}", "type": "quality-gate",
|
|
471
472
|
"verdict": "{adjusted_verdict}", "confidence_score": {N},
|
|
473
|
+
"parse_failed": false,
|
|
472
474
|
"close_call": {N>=50 && N<=70}, "summary": "{REASON}" }
|
|
473
475
|
```
|
|
474
476
|
|
|
@@ -621,11 +623,11 @@ Runs only when `task_decomposition` present.
|
|
|
621
623
|
"args": "",
|
|
622
624
|
"stage": "", // brainstorm|blueprint|init|analyze-macro|roadmap|analyze|plan|execute|verify|...
|
|
623
625
|
"scope": null, // "phase"|"standalone"|"milestone"|null(plan 等需要)
|
|
624
|
-
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-
|
|
626
|
+
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-execute");null → 执行 step
|
|
625
627
|
"retry_count": 0, // decision 节点专用
|
|
626
628
|
"max_retries": 2, // decision 节点专用
|
|
627
629
|
"command_scope": "global|project|missing|null", // 执行 step;decision 节点固定 null
|
|
628
|
-
"command_path": "<absolute path resolved by `maestro ralph skills --json --quiet`> | null",
|
|
630
|
+
"command_path": "<absolute path resolved by `maestro ralph skills --platform agent --json --quiet`> | null",
|
|
629
631
|
"milestone_id": null, // D-007 反查注入;仅含 {phase} 占位符的 step 有
|
|
630
632
|
"source_artifact_ref": null, // "analyze:ANL-xxx" | "blueprint:BLP-xxx" | null
|
|
631
633
|
"status": "pending|running|completed|skipped|failed",
|
|
@@ -659,13 +661,12 @@ Runs only when `task_decomposition` present.
|
|
|
659
661
|
|
|
660
662
|
所有插入的执行 step 按 A_BUILD_STEPS 规则 9 解析 `command_path` + `command_scope`;`decision:*` 条目为 decision 节点(`step.decision` 字段)。
|
|
661
663
|
|
|
662
|
-
**post-
|
|
664
|
+
**post-execute:**
|
|
663
665
|
```
|
|
664
666
|
quality-debug "{gap_summary}"
|
|
665
667
|
maestro-plan --gaps {phase}
|
|
666
668
|
maestro-execute {phase}
|
|
667
|
-
|
|
668
|
-
decision:post-verify {retry+1}
|
|
669
|
+
decision:post-execute {retry+1}
|
|
669
670
|
```
|
|
670
671
|
|
|
671
672
|
**post-business-test:**
|
|
@@ -673,8 +674,7 @@ decision:post-verify {retry+1}
|
|
|
673
674
|
quality-debug --from-business-test "{gap_summary}"
|
|
674
675
|
maestro-plan --gaps {phase}
|
|
675
676
|
maestro-execute {phase}
|
|
676
|
-
|
|
677
|
-
decision:post-verify {retry: 0}
|
|
677
|
+
decision:post-execute {retry: 0}
|
|
678
678
|
quality-auto-test {phase}
|
|
679
679
|
decision:post-business-test {retry+1}
|
|
680
680
|
```
|
|
@@ -693,8 +693,7 @@ decision:post-review {retry+1}
|
|
|
693
693
|
quality-debug --from-uat "{gap_summary}"
|
|
694
694
|
maestro-plan --gaps {phase}
|
|
695
695
|
maestro-execute {phase}
|
|
696
|
-
|
|
697
|
-
decision:post-verify {retry: 0}
|
|
696
|
+
decision:post-execute {retry: 0}
|
|
698
697
|
quality-auto-test {phase}
|
|
699
698
|
decision:post-business-test {retry: 0}
|
|
700
699
|
quality-review {phase}
|
|
@@ -709,7 +708,6 @@ decision:post-test {retry+1}
|
|
|
709
708
|
# for each unmet sub-goal G{n}, scoped to target_phase:
|
|
710
709
|
maestro-plan --gaps {target_phase} "G{n}: {gap}" [goal_ref: G{n}]
|
|
711
710
|
maestro-execute {target_phase} [goal_ref: G{n}]
|
|
712
|
-
maestro-verify {target_phase} [goal_ref: G{n}]
|
|
713
711
|
# after all unmet groups inserted:
|
|
714
712
|
decision:post-goal-audit {retry+1}
|
|
715
713
|
```
|
|
@@ -757,8 +755,8 @@ decision:post-goal-audit {retry+1}
|
|
|
757
755
|
- [ ] quality_mode 由 A_DETERMINE_QUALITY_MODE 决定,过滤 build steps
|
|
758
756
|
- [ ] Decomposition: broad intent ≤3 question clarify;narrow auto-derive
|
|
759
757
|
- [ ] status.json 唯一真源:boundary_contract + execution_criteria + task_decomposition;无外部清单
|
|
760
|
-
- [ ] 执行 step 含 `command_scope` + `command_path`(通过 `maestro ralph skills --json --quiet` 预校验,project 覆盖 global);decision step 通过 `step.decision` 字段标识
|
|
761
|
-
- [ ] Ralph build 阶段只通过 `ralph skills` 校验路径存在性,不读 .md 内容;`<required_reading>` 加载由 `maestro ralph next` CLI 完成
|
|
758
|
+
- [ ] 执行 step 含 `command_scope` + `command_path`(通过 `maestro ralph skills --platform agent --json --quiet` 预校验,project 覆盖 global);decision step 通过 `step.decision` 字段标识
|
|
759
|
+
- [ ] Ralph build 阶段只通过 `ralph skills --platform agent` 校验路径存在性,不读 .md 内容;`<required_reading>` 加载由 `maestro ralph next` CLI 完成
|
|
762
760
|
- [ ] 每个 step 含 `completion_confirmed` + `completion_status` + `completion_evidence` + `deferred_reads`(初始 false/null/[])
|
|
763
761
|
- [ ] 每个 sub-goal 含 `completion_confirmed`(初始 false)
|
|
764
762
|
- [ ] post-goal-audit decision 仅在 decomposed 时插入,位于 milestone-complete 之前
|
|
@@ -56,7 +56,7 @@ Remaining → intent (new session)
|
|
|
56
56
|
3. **执行 step 通过 `maestro ralph next` 加载** — CLI 解析 frontmatter + `<required_reading>` + `<deferred_reading>`、读 required 全文、拼 prompt、写 `step.load.*` + `active_step_index` + `step.status="running"`
|
|
57
57
|
4. **decision step 内联评估** — 不 handoff、不调 ralph next;按 `step.decision` 分派 A_DECISION_*
|
|
58
58
|
5. **每个 step 必须 `completion_confirmed: true`** — 由 `maestro ralph complete N --status DONE|DONE_WITH_CONCERNS` 写入;STATUS 仅 `DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`
|
|
59
|
-
6. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --platform
|
|
59
|
+
6. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --platform agent --json --quiet` 预校验(project 覆盖 global,只扫描 `.claude/commands/`);未命中标 `command_scope = "missing"`
|
|
60
60
|
7. **required reading 由 CLI 加载** — 缺失 → 退出码 1(E007)→ pause session;ralph build 阶段不读 .md 内容
|
|
61
61
|
8. **active_step_index 一致性由 CLI 维护** — 同一 session 同时最多一个 step 持有;E008/E009 直接退出
|
|
62
62
|
9. **Decomposition is outcome-oriented** — sub-goals 为可观测交付,禁止 lifecycle 复刻;`/goal` 由用户输入
|
|
@@ -179,7 +179,7 @@ S_TICK_EXEC: Entry: A_EXEC_STEP
|
|
|
179
179
|
→ S_HANDLE_FAIL WHEN: ralph complete with NEEDS_RETRY|BLOCKED
|
|
180
180
|
|
|
181
181
|
S_TICK_DECISION: (gate 名取自 `step.decision`)
|
|
182
|
-
→ S_TICK_APPLY WHEN: quality-gate (post-
|
|
182
|
+
→ S_TICK_APPLY WHEN: quality-gate (post-execute, post-business-test, post-review, post-test)
|
|
183
183
|
DO: A_DELEGATE_EVALUATE
|
|
184
184
|
→ S_TICK_APPLY WHEN: goal-gate (post-goal-audit)
|
|
185
185
|
DO: A_GOAL_AUDIT_EVALUATE
|
|
@@ -416,8 +416,7 @@ narrow → derive defaults from intent + codebase, skip questions.
|
|
|
416
416
|
| roadmap | `maestro-roadmap --from analyze:{analyze_macro_id}` | *(same)* | — | all |
|
|
417
417
|
| analyze | `maestro-analyze {phase}` | `maestro-analyze` | — | all |
|
|
418
418
|
| 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 |
|
|
419
|
-
| execute | `maestro-execute {phase}` | `maestro-execute` |
|
|
420
|
-
| verify | `maestro-verify {phase}` | `maestro-verify` | `post-verify` | all |
|
|
419
|
+
| execute | `maestro-execute {phase}` | `maestro-execute` | `post-execute` | all |
|
|
421
420
|
| business-test | `quality-auto-test {phase}` | `quality-auto-test` | `post-business-test` | full only |
|
|
422
421
|
| review | `quality-review {phase}` | `quality-review` | `post-review` | all (quick: append `--tier quick`) |
|
|
423
422
|
| test-gen | `quality-auto-test {phase}` | `quality-auto-test` | — | full / standard if coverage<80% |
|
|
@@ -439,7 +438,7 @@ narrow → derive defaults from intent + codebase, skip questions.
|
|
|
439
438
|
8. **占位符**:independent 保留 `{phase}` `{intent}`;unified 不带 `{phase}`
|
|
440
439
|
9. **command_path 解析**(执行 step):
|
|
441
440
|
- skill 名 = args 前的第一个 token
|
|
442
|
-
- `shell("maestro ralph skills --platform
|
|
441
|
+
- `shell("maestro ralph skills --platform agent --json --quiet")` 拉取 global + project(project 覆盖 global),匹配 skill 名:
|
|
443
442
|
- 命中 → `command_scope = "global" | "project"`,`command_path = <绝对路径>`
|
|
444
443
|
- 未命中 → `command_scope = "missing"`, `command_path = null` → A_CREATE_SESSION raise E006
|
|
445
444
|
10. **每个 step 初始化** `completion_confirmed: false`, `completion_status: null`, `completion_evidence: null`, `deferred_reads: []`, `load: null`
|
|
@@ -546,7 +545,7 @@ Write enriched args back to status.json.
|
|
|
546
545
|
3. Map result files:
|
|
547
546
|
| Decision | Files |
|
|
548
547
|
|----------|-------|
|
|
549
|
-
| post-
|
|
548
|
+
| post-execute | verification.json |
|
|
550
549
|
| post-business-test | .tests/auto-test/report.json |
|
|
551
550
|
| post-review | review.json |
|
|
552
551
|
| post-test | uat.md, .tests/test-results.json |
|
|
@@ -719,8 +718,7 @@ Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro
|
|
|
719
718
|
|
|
720
719
|
[✓] 0. maestro-plan 1 [global]
|
|
721
720
|
[✓] 1. maestro-execute 1 [project]
|
|
722
|
-
[✓] 2.
|
|
723
|
-
[✓] 3. ◆ post-verify [decision]
|
|
721
|
+
[✓] 2. ◆ post-execute [decision]
|
|
724
722
|
...
|
|
725
723
|
============================================================
|
|
726
724
|
```
|
|
@@ -795,13 +793,12 @@ Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro
|
|
|
795
793
|
|
|
796
794
|
插入的执行 step 按 A_BUILD_STEPS 规则 9 解析 `command_path` + `command_scope`;`decision:*` 条目为 decision 节点。
|
|
797
795
|
|
|
798
|
-
**post-
|
|
796
|
+
**post-execute:**
|
|
799
797
|
```
|
|
800
798
|
quality-debug "{gap_summary}"
|
|
801
799
|
maestro-plan --gaps {phase}
|
|
802
800
|
maestro-execute {phase}
|
|
803
|
-
|
|
804
|
-
decision:post-verify {retry+1}
|
|
801
|
+
decision:post-execute {retry+1}
|
|
805
802
|
```
|
|
806
803
|
|
|
807
804
|
**post-business-test:**
|
|
@@ -809,8 +806,7 @@ decision:post-verify {retry+1}
|
|
|
809
806
|
quality-debug --from-business-test "{gap_summary}"
|
|
810
807
|
maestro-plan --gaps {phase}
|
|
811
808
|
maestro-execute {phase}
|
|
812
|
-
|
|
813
|
-
decision:post-verify {retry: 0}
|
|
809
|
+
decision:post-execute {retry: 0}
|
|
814
810
|
quality-auto-test {phase}
|
|
815
811
|
decision:post-business-test {retry+1}
|
|
816
812
|
```
|
|
@@ -829,8 +825,7 @@ decision:post-review {retry+1}
|
|
|
829
825
|
quality-debug --from-uat "{gap_summary}"
|
|
830
826
|
maestro-plan --gaps {phase}
|
|
831
827
|
maestro-execute {phase}
|
|
832
|
-
|
|
833
|
-
decision:post-verify {retry: 0}
|
|
828
|
+
decision:post-execute {retry: 0}
|
|
834
829
|
quality-auto-test {phase}
|
|
835
830
|
decision:post-business-test {retry: 0}
|
|
836
831
|
quality-review {phase}
|
|
@@ -845,7 +840,6 @@ decision:post-test {retry+1}
|
|
|
845
840
|
# for each unmet sub-goal G{n}, scoped to target_phase:
|
|
846
841
|
maestro-plan --gaps {target_phase} "G{n}: {gap}" [goal_ref: G{n}]
|
|
847
842
|
maestro-execute {target_phase} [goal_ref: G{n}]
|
|
848
|
-
maestro-verify {target_phase} [goal_ref: G{n}]
|
|
849
843
|
# after all unmet groups inserted:
|
|
850
844
|
decision:post-goal-audit {retry+1}
|
|
851
845
|
```
|