maestro-flow 0.4.25 → 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 +2 -2
- 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 +14 -9
- 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 +7 -4
- 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 +33 -27
- 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/security-audit/SKILL.md +17 -1
- 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/team-review/SKILL.md +2 -2
- 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/agents/codex-cli-adapter.js +9 -1
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.test.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.test.js +346 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.test.js.map +1 -0
- 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/agents/cli-agent-runner.d.ts +2 -0
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +3 -0
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/cli.js +1 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/delegate.d.ts +2 -0
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +3 -1
- package/dist/src/commands/delegate.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 +59 -8
- 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 +36 -9
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/config/cli-tools-config.d.ts +18 -0
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +31 -0
- package/dist/src/config/cli-tools-config.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 +29 -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
|
@@ -164,6 +164,9 @@ Each wave generates `wave-{N}.csv` with extra `prev_context` column populated fr
|
|
|
164
164
|
8. **Max 3 Fix Attempts**: Per task, auto-fix convergence failures up to 3 times, then mark blocked
|
|
165
165
|
9. **Breakpoint Resume**: Always detect completed tasks and skip them on re-run
|
|
166
166
|
10. **DO NOT STOP**: Continuous execution until all waves complete or user explicitly stops
|
|
167
|
+
11. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation.
|
|
168
|
+
12. **Evidence required in task summaries** — task summaries MUST include: files actually modified (not just planned targets), convergence criteria verification results (pass/fail with evidence), any deviations from plan with rationale. "Task completed successfully" without evidence is INVALID.
|
|
169
|
+
13. **Artifact verification before completion** — for each completed task, .summaries/TASK-{NNN}-summary.md MUST exist with concrete evidence. EXC artifact MUST be registered in state.json. If any missing: DO NOT report completion.
|
|
167
170
|
</invariants>
|
|
168
171
|
|
|
169
172
|
<execution>
|
|
@@ -233,7 +236,7 @@ If exit code is 1, present warnings and ask whether to proceed.
|
|
|
233
236
|
|
|
234
237
|
7. **Load codebase + wiki context** (optional, passed to all agents):
|
|
235
238
|
- If `.workflow/codebase/ARCHITECTURE.md` exists: read and include as `codebase_context` in agent instructions
|
|
236
|
-
- Run `maestro
|
|
239
|
+
- Run `maestro search "<phase keywords>" --json 2>/dev/null`; if results: include top 5 entries as `wiki_context`
|
|
237
240
|
- Both are optional — proceed without if unavailable
|
|
238
241
|
|
|
239
242
|
7. **User validation**: Display task/wave breakdown. Skip if AUTO_YES.
|
|
@@ -347,24 +350,24 @@ Blocked/failed tasks cascade: mark all downstream dependents as `skipped` with e
|
|
|
347
350
|
4. **Register EXC artifact in state.json**: Find matching plan artifact, create `{ id: "EXC-{next_id}", type: "execute", milestone, phase, scope, path, status: "completed", depends_on: plan_artifact.id, harvested: false, created_at, completed_at }`. `milestone` MUST come from D-007 `phase_slugs` reverse lookup (numeric phase) — inherit from matching plan artifact if available, otherwise reverse-lookup directly.
|
|
348
351
|
|
|
349
352
|
5. **Extract incremental specs**: Read `.summaries/`, use `maestro spec add` CLI:
|
|
350
|
-
- Learnings/pitfalls → `maestro spec add learning "<title>" "<content>" --keywords ... --source execute:{PLAN_DIR}`
|
|
351
|
-
- Design rationale → `maestro spec add coding "<title>" "<content>" --keywords
|
|
352
|
-
- Root cause/workaround → `maestro spec add debug "<title>" "<content>" --keywords
|
|
353
|
+
- Learnings/pitfalls → `maestro spec add learning "<title>" "<content>" --keywords ... --description "<summary>" --source execute:{PLAN_DIR}`
|
|
354
|
+
- Design rationale → `maestro spec add coding "<title>" "<content>" --keywords ... --description "<summary>"`
|
|
355
|
+
- Root cause/workaround → `maestro spec add debug "<title>" "<content>" --keywords ... --description "<summary>"`
|
|
353
356
|
Mark artifact `harvested: true`
|
|
354
357
|
|
|
355
358
|
6. **Post-task Knowledge Inquiry**: After each task completes, evaluate inquiry triggers:
|
|
356
359
|
|
|
357
360
|
- **Execution deviation**: If task summary mentions approach change, dependency swap, or plan deviation:
|
|
358
361
|
→ Prompt: "TASK-{NNN} deviated from the plan. Record as architecture constraint?"
|
|
359
|
-
→ On confirm: `maestro spec add arch "<decision>" "<rationale>" --keywords ... --source execute:{PLAN_DIR}`
|
|
362
|
+
→ On confirm: `maestro spec add arch "<decision>" "<rationale>" --keywords ... --description "<summary>" --source execute:{PLAN_DIR}`
|
|
360
363
|
|
|
361
364
|
- **Retry success**: If task required >=2 retries before completion:
|
|
362
365
|
→ Prompt: "TASK-{NNN} succeeded after {N} retries. Document this fix pattern?"
|
|
363
|
-
→ On confirm: `maestro spec add debug "<pattern>" "<content>" --keywords ... --source execute:{PLAN_DIR}`
|
|
366
|
+
→ On confirm: `maestro spec add debug "<pattern>" "<content>" --keywords ... --description "<summary>" --source execute:{PLAN_DIR}`
|
|
364
367
|
|
|
365
368
|
- **Implicit knowledge**: If task summary contains design rationale ("chose X because", "rejected Y due to"):
|
|
366
369
|
→ Prompt: "Design decision detected. Record as a learning?"
|
|
367
|
-
→ On confirm: `maestro spec add learning "<decision>" "<rationale>" --keywords ... --source execute:{PLAN_DIR}`
|
|
370
|
+
→ On confirm: `maestro spec add learning "<decision>" "<rationale>" --keywords ... --description "<summary>" --source execute:{PLAN_DIR}`
|
|
368
371
|
|
|
369
372
|
Use `request_user_input` for prompts:
|
|
370
373
|
```json
|
|
@@ -375,7 +378,7 @@ Blocked/failed tasks cascade: mark all downstream dependents as `skipped` with e
|
|
|
375
378
|
|
|
376
379
|
8. **Auto-sync** (if config.json.codebase.auto_sync_after_execute == true): detect changed files, trigger codebase doc update.
|
|
377
380
|
|
|
378
|
-
9. **Display completion report**: Phase, completed/blocked counts, wave progress, paths to `.summaries/` and `.task/`, next step suggestions (`
|
|
381
|
+
9. **Display completion report**: Phase, completed/blocked counts, wave progress, paths to `.summaries/` and `.task/`, next step suggestions (`quality-review`, `manage-status`).
|
|
379
382
|
|
|
380
383
|
### Shared Discovery Board Protocol
|
|
381
384
|
|
|
@@ -125,6 +125,10 @@ Presence of `worktree-scope.json` signals "inside a worktree" — used by E003 v
|
|
|
125
125
|
- Sync → resume work in worktree
|
|
126
126
|
</execution>
|
|
127
127
|
|
|
128
|
+
<invariants>
|
|
129
|
+
**Artifact verification** — worktree-scope.json, scoped state.json, and worktrees.json registry update MUST all complete. If any missing: DO NOT report completion.
|
|
130
|
+
</invariants>
|
|
131
|
+
|
|
128
132
|
<error_codes>
|
|
129
133
|
| Code | Severity | Condition | Recovery |
|
|
130
134
|
|------|----------|-----------|----------|
|
|
@@ -42,7 +42,7 @@ $ARGUMENTS -- topic/plan text for interactive mode, or --from source for upstrea
|
|
|
42
42
|
**Produced files**: `grill-report.md`, `terminology.md`, `context-package.json`
|
|
43
43
|
|
|
44
44
|
### Role Knowledge
|
|
45
|
-
`maestro
|
|
45
|
+
`maestro search "{topic keywords}"` → load relevant entries before grilling.
|
|
46
46
|
`maestro spec load --category arch` → load architecture constraints.
|
|
47
47
|
</context>
|
|
48
48
|
|
|
@@ -83,12 +83,18 @@ Resume routing:
|
|
|
83
83
|
- More branches to walk → `$maestro-grill "{topic}" -c`
|
|
84
84
|
</execution>
|
|
85
85
|
|
|
86
|
+
<invariants>
|
|
87
|
+
1. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation.
|
|
88
|
+
2. **Code-grounded questions required** — grill questions MUST reference specific code (file:line) when challenging the user's proposal. Generic questions without code grounding are INVALID. If codebase scan failed, flag ALL locked decisions as LOW CONFIDENCE.
|
|
89
|
+
3. **Artifact verification before completion** — verify grill-report.md (with Branch Log + Q&A + synthesis), terminology.md (≥5 terms), and context-package.json all exist before reporting completion. If any missing: DO NOT report completion.
|
|
90
|
+
</invariants>
|
|
91
|
+
|
|
86
92
|
<error_codes>
|
|
87
93
|
| Code | Severity | Condition | Recovery |
|
|
88
94
|
|------|----------|-----------|----------|
|
|
89
95
|
| E001 | error | No topic/plan and no --from/--continue flag | Prompt user for topic text |
|
|
90
96
|
| E002 | error | --session ID not found | Show available sessions |
|
|
91
|
-
| W001 | warning | Codebase scan failed or returned empty |
|
|
97
|
+
| W001 | warning | Codebase scan failed or returned empty | Retry once. If still fails: flag ALL subsequent locked decisions as LOW CONFIDENCE |
|
|
92
98
|
| W002 | warning | CLI exploration timeout in auto mode | Skip question, mark as open |
|
|
93
99
|
| W003 | warning | Max branch depth reached without resolution | Force synthesis, offer continuation |
|
|
94
100
|
</error_codes>
|
|
@@ -95,7 +95,7 @@ Mode 3 (Smart Recommendations) 需要检测项目状态:
|
|
|
95
95
|
4. 如有对应 guide 文档,读取相关段落
|
|
96
96
|
|
|
97
97
|
Guide 映射:
|
|
98
|
-
- analyze/plan/execute
|
|
98
|
+
- analyze/plan/execute → `guide/command-usage-guide.md`
|
|
99
99
|
- init/roadmap/blueprint → `guide/quick-start-guide.md`
|
|
100
100
|
- ralph → `guide/maestro-ralph-guide.md`
|
|
101
101
|
- maestro (协调器) → `guide/maestro-coordinator-guide.md`
|
|
@@ -115,9 +115,7 @@ Guide 映射:
|
|
|
115
115
|
| roadmap 完成,phase=pending | `/maestro-analyze 1` | 微观分析:Phase 级深入探索 |
|
|
116
116
|
| analyze (微观) 完成 | `/maestro-plan 1` | Phase 级规划 |
|
|
117
117
|
| plan 完成 | `/maestro-execute` | 开始执行 |
|
|
118
|
-
| execute 完成 | `/
|
|
119
|
-
| verify 有 gaps | `/maestro-analyze --gaps` | 重新分析 |
|
|
120
|
-
| verify 通过 | `/quality-review` | 进入质量管线 |
|
|
118
|
+
| execute 完成 | `/quality-review` | 进入质量管线 |
|
|
121
119
|
| quality 全通过 | `/maestro-milestone-audit` | 里程碑审计 |
|
|
122
120
|
| 所有 Phase 完成 | `/maestro-milestone-complete` | 关闭里程碑 |
|
|
123
121
|
|
|
@@ -126,16 +124,16 @@ Guide 映射:
|
|
|
126
124
|
根据任务类型推荐工作流和命令序列:
|
|
127
125
|
|
|
128
126
|
**Path A — 完整新项目**:
|
|
129
|
-
- `brainstorm` → `blueprint`(可选) → `analyze "topic"`(宏观) → `roadmap` → `analyze 1`(微观) → `plan 1` → `execute` → `
|
|
127
|
+
- `brainstorm` → `blueprint`(可选) → `analyze "topic"`(宏观) → `roadmap` → `analyze 1`(微观) → `plan 1` → `execute` → `quality-review`
|
|
130
128
|
|
|
131
129
|
**Path B — 旧项目大功能**:
|
|
132
|
-
- `analyze "feature X"`(宏观) → `roadmap` → `analyze 1`(微观) → `plan 1` → `execute` → `
|
|
130
|
+
- `analyze "feature X"`(宏观) → `roadmap` → `analyze 1`(微观) → `plan 1` → `execute` → `quality-review`
|
|
133
131
|
|
|
134
132
|
**Path C — 中等功能(跳过 roadmap)**:
|
|
135
|
-
- `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute` → `
|
|
133
|
+
- `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute` → `quality-review`
|
|
136
134
|
|
|
137
135
|
**Path D — 小改动**:
|
|
138
|
-
- `plan "fix auth bug"` → `execute` → `
|
|
136
|
+
- `plan "fix auth bug"` → `execute` → `quality-review`
|
|
139
137
|
- 快速: `/maestro-quick "功能描述"`
|
|
140
138
|
- 全自动: `/maestro -y "功能描述"`
|
|
141
139
|
|
|
@@ -165,7 +163,6 @@ Guide 映射:
|
|
|
165
163
|
| `/maestro-roadmap` | 路线图编排 | scope_verdict=large 时,Milestone > Phase 分解 |
|
|
166
164
|
| `/maestro-plan` | 规划 | 分析完成后,支持 `--from analyze:ANL-xxx` 直达 |
|
|
167
165
|
| `/maestro-execute` | 执行 | 计划完成后 |
|
|
168
|
-
| `/maestro-verify` | 验证 | 执行完成后 |
|
|
169
166
|
| `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
170
167
|
|
|
171
168
|
快速上手路径:
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "双层分析 — 宏观(文本参数)探索影响面+scope_verdict / 微观(数字参数)Phase 级深入", "source": "../../commands/maestro-analyze.md"},
|
|
14
14
|
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 支持 --from analyze:ANL-xxx 直达、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
15
15
|
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
16
|
-
|
|
17
|
-
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
16
|
+
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
18
17
|
{"name": "maestro-overlay", "command": "/maestro-overlay", "category": "core", "description": "Overlay 管理 — 创建、查看、删除命令补丁", "source": "../../commands/maestro-overlay.md"},
|
|
19
18
|
{"name": "maestro-amend", "command": "/maestro-amend", "category": "core", "description": "修正补丁 — 从工作流信号自动生成 overlay", "source": "../../commands/maestro-amend.md"},
|
|
20
19
|
{"name": "maestro-fork", "command": "/maestro-fork", "category": "worktree", "description": "Worktree 分叉 — 基于 milestone 创建隔离开发环境", "source": "../../commands/maestro-fork.md"},
|
|
@@ -154,7 +153,6 @@
|
|
|
154
153
|
"/maestro-roadmap",
|
|
155
154
|
"/maestro-plan",
|
|
156
155
|
"/maestro-execute",
|
|
157
|
-
"/maestro-verify",
|
|
158
156
|
"/maestro-quick"
|
|
159
157
|
],
|
|
160
158
|
"workflows": {
|
|
@@ -168,16 +166,16 @@
|
|
|
168
166
|
}
|
|
169
167
|
},
|
|
170
168
|
"paths": {
|
|
171
|
-
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute →
|
|
172
|
-
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute →
|
|
173
|
-
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute →
|
|
174
|
-
"D_small_fix": "plan → execute →
|
|
169
|
+
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute → quality-review",
|
|
170
|
+
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute → quality-review",
|
|
171
|
+
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute → quality-review",
|
|
172
|
+
"D_small_fix": "plan → execute → quality-review",
|
|
175
173
|
"E_spec_only": "blueprint → (供人阅读)",
|
|
176
174
|
"F_explore_only": "brainstorm → (供人决策)"
|
|
177
175
|
},
|
|
178
176
|
"main_pipeline": {
|
|
179
177
|
"name": "主干管线",
|
|
180
|
-
"phases": ["analyze", "plan", "execute"
|
|
178
|
+
"phases": ["analyze", "plan", "execute"],
|
|
181
179
|
"quality": ["quality-auto-test", "quality-review", "quality-test"],
|
|
182
180
|
"close": ["maestro-milestone-audit", "maestro-milestone-complete"]
|
|
183
181
|
},
|
|
@@ -153,6 +153,8 @@ Layer 1+2 both did not match, but intent is to build/create a specific thing:
|
|
|
153
153
|
2. Read workflow file before execution — never execute a command without loading its .md
|
|
154
154
|
3. Interactive gates respected — teach, shape, craft retain user confirmation gates
|
|
155
155
|
4. status.json before chain steps — session created before any chain step runs
|
|
156
|
+
5. **Quality gate enforcement** — score MUST be parsed from critique/audit output (not assumed). P0 count MUST be extracted. Do NOT skip quality gate steps or mark as "passed" without parsing actual score.
|
|
157
|
+
6. **Chain completion verification** — all non-skipped steps MUST be executed (TodoWrite all completed). status.json MUST be updated with status: "completed" and final scores.
|
|
156
158
|
</invariants>
|
|
157
159
|
|
|
158
160
|
## Prerequisites
|
|
@@ -155,4 +155,7 @@ Display created files and next steps: `$maestro-blueprint` (full spec), `$maestr
|
|
|
155
155
|
- [ ] `config.json` written with configuration
|
|
156
156
|
- [ ] `specs/` initialized with convention files
|
|
157
157
|
- [ ] Completion report displayed with next steps
|
|
158
|
+
|
|
159
|
+
### Artifact Verification
|
|
160
|
+
Before reporting completion, verify: .workflow/project.md, .workflow/state.json, .workflow/config.json all exist. If any missing: DO NOT report completion.
|
|
158
161
|
</success_criteria>
|
|
@@ -41,13 +41,17 @@ $ARGUMENTS — milestone number and optional flags.
|
|
|
41
41
|
Follow '~/.maestro/workflows/merge.md' completely.
|
|
42
42
|
|
|
43
43
|
**Knowledge inquiry on completion:**
|
|
44
|
-
After successful merge, ask user once: "Record milestone learnings?" If yes, persist via `maestro spec add learning "<title>" "<insight>" --keywords <kw1>,<kw2
|
|
44
|
+
After successful merge, ask user once: "Record milestone learnings?" If yes, persist via `maestro spec add learning "<title>" "<insight>" --keywords <kw1>,<kw2> --description "<summary>"`.
|
|
45
45
|
|
|
46
46
|
**Next steps:**
|
|
47
47
|
- View dashboard → `$manage-status`
|
|
48
48
|
- Audit milestone → `$maestro-milestone-audit`
|
|
49
49
|
</execution>
|
|
50
50
|
|
|
51
|
+
<invariants>
|
|
52
|
+
**Phase order enforcement** — git merge MUST complete before artifact sync. Do NOT sync artifacts until git merge succeeds — prevents partial state corruption.
|
|
53
|
+
</invariants>
|
|
54
|
+
|
|
51
55
|
<error_codes>
|
|
52
56
|
| Code | Severity | Condition | Recovery |
|
|
53
57
|
|------|----------|-----------|----------|
|
|
@@ -44,7 +44,7 @@ id,title,description,scope,check_targets,deps,wave,status,findings,gaps_found,se
|
|
|
44
44
|
| `check_targets` | Input | Specific verification commands/grep patterns |
|
|
45
45
|
| `deps` | Input | Dependencies (empty — all wave 1) |
|
|
46
46
|
| `wave` | Computed | Wave number (always 1 — single parallel wave) |
|
|
47
|
-
| `status` | Lifecycle | `pending` (initial) → `
|
|
47
|
+
| `status` | Lifecycle | `pending` (initial) → `completed`/`failed` (set by merge step from worker's `result_status`) |
|
|
48
48
|
| `findings` | Lifecycle | Detailed findings per dimension (max 500 chars; merged) |
|
|
49
49
|
| `gaps_found` | Lifecycle | Semicolon-separated list of integration gaps (merged) |
|
|
50
50
|
| `severity` | Lifecycle | `critical` / `warning` / `info` per gap (merged) |
|
|
@@ -67,6 +67,9 @@ id,title,description,scope,check_targets,deps,wave,status,findings,gaps_found,se
|
|
|
67
67
|
2. **Non-blocking warnings** — missing analyze is warning, missing execute is error
|
|
68
68
|
3. **Integration check is required** — always spawn checker via CSV wave
|
|
69
69
|
4. **Clear verdict** — PASS or FAIL with specific reasons
|
|
70
|
+
5. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation.
|
|
71
|
+
6. **Evidence required on audit checks** — every audit check result MUST cite what was examined and what was found. PASS: "Phase 1 chain complete: ANL-001 → PLN-001 → EXC-001". FAIL: "Phase 2 missing EXC artifact". Do NOT mark checks as PASS without verifying the artifact exists and contains expected content.
|
|
72
|
+
7. **Artifact verification before completion** — audit-report.md with clear PASS/FAIL verdict MUST exist before reporting completion. If missing: DO NOT report completion.
|
|
70
73
|
</invariants>
|
|
71
74
|
|
|
72
75
|
<execution>
|
|
@@ -105,18 +108,19 @@ spawn_agents_on_csv({
|
|
|
105
108
|
type: "object",
|
|
106
109
|
properties: {
|
|
107
110
|
id: { type: "string" },
|
|
108
|
-
result_status: { type: "string", enum: ["
|
|
111
|
+
result_status: { type: "string", enum: ["completed", "failed"] },
|
|
112
|
+
audit_verdict: { type: "string", enum: ["pass", "fail", "warning"], description: "Audit check outcome" },
|
|
109
113
|
findings: { type: "string", maxLength: 500 },
|
|
110
114
|
gaps_found: { type: "string", description: "Semicolon-separated list of gaps" },
|
|
111
115
|
severity: { type: "string", enum: ["critical", "warning", "info", ""] },
|
|
112
116
|
error: { type: "string" }
|
|
113
117
|
},
|
|
114
|
-
required: ["id", "result_status", "findings", "severity"]
|
|
118
|
+
required: ["id", "result_status", "audit_verdict", "findings", "severity"]
|
|
115
119
|
}
|
|
116
120
|
})
|
|
117
121
|
```
|
|
118
122
|
|
|
119
|
-
4. Merge results into master `tasks.csv`: map `result_status` → master `status` column, copy `findings`, `gaps_found`, `severity`, `error`. Delete temporary files (`wave-1.csv`, `wave-1-results.csv`) after merge.
|
|
123
|
+
4. Merge results into master `tasks.csv`: map `result_status` → master `status` column, copy `audit_verdict`, `findings`, `gaps_found`, `severity`, `error`. Delete temporary files (`wave-1.csv`, `wave-1-results.csv`) after merge.
|
|
120
124
|
|
|
121
125
|
#### Integration Checker Worker Contract (AUDIT_INTEGRATION_INSTRUCTION)
|
|
122
126
|
|
|
@@ -134,9 +138,9 @@ REQUIRED STEPS:
|
|
|
134
138
|
5. Call report_agent_job_result EXACTLY ONCE
|
|
135
139
|
|
|
136
140
|
TERMINATION CONTRACT (mandatory — NO worker may end without calling report_agent_job_result):
|
|
137
|
-
- Pass path → no gaps found → result_status=pass, severity="info"
|
|
138
|
-
- Warning path → minor gaps → result_status=warning, severity="warning"
|
|
139
|
-
- Fail path → critical contract drift or broken dependencies → result_status=fail, severity="critical"
|
|
141
|
+
- Pass path → no gaps found → result_status=completed, audit_verdict=pass, severity="info"
|
|
142
|
+
- Warning path → minor gaps → result_status=completed, audit_verdict=warning, severity="warning"
|
|
143
|
+
- Fail path → critical contract drift or broken dependencies → result_status=completed, audit_verdict=fail, severity="critical"
|
|
140
144
|
- Failure path → cannot read scope, tool error → result_status=failed with error message
|
|
141
145
|
- Timeout path → near 600s, finalize current findings → report with what was collected
|
|
142
146
|
- NEVER skip report_agent_job_result.
|
|
@@ -144,7 +148,8 @@ TERMINATION CONTRACT (mandatory — NO worker may end without calling report_age
|
|
|
144
148
|
OUTPUT (must match output_schema):
|
|
145
149
|
{
|
|
146
150
|
"id": "<your row id>",
|
|
147
|
-
"result_status": "
|
|
151
|
+
"result_status": "completed" | "failed",
|
|
152
|
+
"audit_verdict": "pass" | "warning" | "fail",
|
|
148
153
|
"findings": "<one-sentence summary, max 500 chars>",
|
|
149
154
|
"gaps_found": "<semicolon-separated list of gaps, each with file:line; empty if pass>",
|
|
150
155
|
"severity": "critical" | "warning" | "info" | "",
|
|
@@ -157,7 +162,7 @@ CONSTRAINTS:
|
|
|
157
162
|
- Do NOT call spawn_agents_on_csv (no recursion).
|
|
158
163
|
```
|
|
159
164
|
5. Parse `gaps_found` from all workers — aggregate into `.workflow/milestones/{milestone}/audit-report.md`
|
|
160
|
-
6. Any worker with `
|
|
165
|
+
6. Any worker with `audit_verdict == fail` and `severity == critical` → milestone verdict = FAIL
|
|
161
166
|
|
|
162
167
|
### Step 6: Verdict
|
|
163
168
|
|
|
@@ -27,6 +27,7 @@ $maestro-milestone-complete --force "M1" # skip audit check
|
|
|
27
27
|
3. **Learnings are mandatory** — always extract before archiving
|
|
28
28
|
4. **Clean after archive** — remove scratch dirs only after successful copy
|
|
29
29
|
5. **Advance state** — always set next milestone or mark project complete
|
|
30
|
+
6. **Prerequisite enforcement** — audit report MUST be verified as PASS before archival proceeds. Artifact verification: milestones/{M}/artifacts/ directory, milestone_history in state.json, project.md update all MUST exist before reporting completion.
|
|
30
31
|
</invariants>
|
|
31
32
|
|
|
32
33
|
<execution>
|
|
@@ -77,8 +78,12 @@ Snapshot `roadmap.md` as `roadmap-snapshot.md` in the milestone archive.
|
|
|
77
78
|
|
|
78
79
|
**Write**: Append to `.workflow/specs/learnings.md` using `<spec-entry>` closed-tag format:
|
|
79
80
|
```
|
|
80
|
-
<spec-entry category="learning" keywords="kw1, kw2" date="YYYY-MM-DD" source="milestone-complete:{milestone}">
|
|
81
|
+
<spec-entry category="learning" keywords="kw1, kw2" date="YYYY-MM-DD" title="{title}" description="{one-line summary}" source="milestone-complete:{milestone}">
|
|
82
|
+
|
|
83
|
+
### {title}
|
|
84
|
+
|
|
81
85
|
Learning content here.
|
|
86
|
+
|
|
82
87
|
</spec-entry>
|
|
83
88
|
```
|
|
84
89
|
|
|
@@ -46,6 +46,10 @@ Changelog: {N} entries
|
|
|
46
46
|
```
|
|
47
47
|
</execution>
|
|
48
48
|
|
|
49
|
+
<invariants>
|
|
50
|
+
**Prerequisite enforcement** — milestone MUST be completed (audit PASS + milestone-complete run). Working tree MUST be clean. Artifact verification: CHANGELOG.md entry, version manifest update, release commit, git tag (unless --no-tag) all MUST exist before reporting completion.
|
|
51
|
+
</invariants>
|
|
52
|
+
|
|
49
53
|
<error_codes>
|
|
50
54
|
| Code | Severity | Condition | Recovery |
|
|
51
55
|
|------|----------|-----------|----------|
|
|
@@ -130,8 +130,7 @@ ls -la .workflow/.maestro/ 2>/dev/null | head -5 # 进行中的 session
|
|
|
130
130
|
| 有 roadmap,未启动 phase | analyze | `maestro-analyze {phase}` |
|
|
131
131
|
| 最新 artifact = analyze | plan | `maestro-plan {phase}` |
|
|
132
132
|
| 最新 artifact = plan | execute | `maestro-execute {phase}` |
|
|
133
|
-
| 最新 artifact = execute |
|
|
134
|
-
| verify passed | review | `quality-review {phase}` |
|
|
133
|
+
| 最新 artifact = execute | review | `quality-review {phase}` |
|
|
135
134
|
| review verdict=PASS | test-gen | `quality-auto-test {phase}` |
|
|
136
135
|
| 测试全绿 | milestone-audit | `maestro-milestone-audit` |
|
|
137
136
|
| 当前 milestone 全 phase 完成 | milestone-complete | `maestro-milestone-complete` |
|
|
@@ -140,7 +139,7 @@ ls -la .workflow/.maestro/ 2>/dev/null | head -5 # 进行中的 session
|
|
|
140
139
|
**Maestro Lifecycle 主线:**
|
|
141
140
|
```
|
|
142
141
|
brainstorm → blueprint → init → analyze-macro → roadmap
|
|
143
|
-
→ [per phase] analyze → plan → execute
|
|
142
|
+
→ [per phase] analyze → plan → execute
|
|
144
143
|
→ [quality gate] review → auto-test → test
|
|
145
144
|
→ milestone-audit → milestone-complete → milestone-release
|
|
146
145
|
```
|
|
@@ -175,7 +174,7 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
175
174
|
| 分析 / analyze / 多维度调研 | `maestro-analyze` |
|
|
176
175
|
| 规划 / plan / 任务分解 | `maestro-plan` |
|
|
177
176
|
| 实现 / 执行 / execute | `maestro-execute` |
|
|
178
|
-
| 验证 / verify / 验收 | `
|
|
177
|
+
| 验证 / verify / 验收 | `quality-review` |
|
|
179
178
|
| 调试 / debug / 排查 / bug | `quality-debug` |
|
|
180
179
|
| 审查 / review / 代码审查 | `quality-review` |
|
|
181
180
|
| 测试 / test / UAT | `quality-test` / `quality-auto-test` |
|
|
@@ -88,7 +88,7 @@ Write resolved milestone into PLN artifact registration and `plan.json.milestone
|
|
|
88
88
|
**Session**: `.workflow/.csv-wave/{YYYYMMDD}-plan-P{N}-{slug}/`
|
|
89
89
|
**Scratch**: `.workflow/scratch/{YYYYMMDD}-plan-P{N}-{slug}/` (.task/ subdir)
|
|
90
90
|
|
|
91
|
-
**Pre-load** (optional): context-package.json (via `--from`, takes precedence), context.md (prior analyze), conclusions.json, codebase ARCHITECTURE.md, `maestro
|
|
91
|
+
**Pre-load** (optional): context-package.json (via `--from`, takes precedence), context.md (prior analyze), conclusions.json, codebase ARCHITECTURE.md, `maestro search`, `maestro spec load --category arch`, team preflight `maestro collab preflight`.
|
|
92
92
|
</context>
|
|
93
93
|
|
|
94
94
|
<csv_schema>
|
|
@@ -108,6 +108,9 @@ Wave 1: N exploration rows (parallel). Wave 2: 1 planning row (sequential).
|
|
|
108
108
|
3. **Discovery board append-only**: Never modify/delete
|
|
109
109
|
4. **Skip on failure**: If all explorations fail, planner proceeds with available context
|
|
110
110
|
5. **DO NOT STOP**: Continuous until all waves complete
|
|
111
|
+
6. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation.
|
|
112
|
+
7. **Verifiable convergence criteria required** — every task MUST have convergence.criteria[] with grep-verifiable conditions (no subjective language like "well-structured" or "properly implemented"). If any task lacks verifiable criteria: DO NOT report completion — fix the criteria first.
|
|
113
|
+
8. **Artifact verification before completion** — plan.json and .task/TASK-*.json files MUST exist. PLN artifact MUST be registered in state.json. If any missing: DO NOT report completion.
|
|
111
114
|
</invariants>
|
|
112
115
|
|
|
113
116
|
<state_machine>
|
|
@@ -226,7 +229,7 @@ Collision detection against same-milestone plans.
|
|
|
226
229
|
| Condition | Recovery |
|
|
227
230
|
|-----------|----------|
|
|
228
231
|
| No args and no roadmap and no analyze artifact in state.json | Provide phase number, topic, or run analyze first |
|
|
229
|
-
| --gaps but no gap source | Run maestro-
|
|
232
|
+
| --gaps but no gap source | Run maestro-execute first |
|
|
230
233
|
| Planning agent fails | Retry once with simplified context |
|
|
231
234
|
| Plan-checker exceeds 3 rounds | Accept with warnings |
|
|
232
235
|
</error_codes>
|
|
@@ -51,7 +51,7 @@ Extract from arguments:
|
|
|
51
51
|
|
|
52
52
|
Read `.workflow/state.json` and `.workflow/project.md` if they exist. If `.workflow/` does not exist, create minimal scratch structure anyway (quick works without full init).
|
|
53
53
|
|
|
54
|
-
Load coding specs + tools if available: `maestro spec load --category coding`. If the task involves frontend/UI work (description contains component, page, style, layout, CSS, HTML, frontend), also run `maestro spec load --category ui`. Browse wiki: `maestro
|
|
54
|
+
Load coding specs + tools if available: `maestro spec load --category coding`. If the task involves frontend/UI work (description contains component, page, style, layout, CSS, HTML, frontend), also run `maestro spec load --category ui`. Browse wiki: `maestro search --category coding`, load relevant entries via `maestro wiki load <id>`. All optional — proceed without if unavailable.
|
|
55
55
|
|
|
56
56
|
### Step 3: Create Scratch Directory
|
|
57
57
|
|
|
@@ -106,6 +106,9 @@ Display report: task description, scratch path, status (completed/completed-with
|
|
|
106
106
|
|
|
107
107
|
</execution>
|
|
108
108
|
|
|
109
|
+
### Artifact Verification
|
|
110
|
+
Before reporting completion, verify: plan.json exists AND .summaries/TASK-*-summary.md exists for each task. Task summaries MUST include concrete evidence of completion. If missing: DO NOT report completion.
|
|
111
|
+
|
|
109
112
|
<error_codes>
|
|
110
113
|
|
|
111
114
|
| Code | Severity | Description | Recovery |
|
|
@@ -78,6 +78,8 @@ Remaining → intent
|
|
|
78
78
|
10. **planning_mode governs arg granularity** — `unified` → skill args 无 `{phase}`;`independent` → 含 `{phase}`
|
|
79
79
|
11. **task_decomposition 驱动 steps[] 动态生长** — `post-goal-audit` 按 unmet 子目标插入 scoped mini-loop;字段可选/累加,既有字段不删不改
|
|
80
80
|
12. **Platform** — `session.platform = "codex"`;CLI 调用一律带 `--platform codex`
|
|
81
|
+
13. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation. Do NOT bypass for "efficiency" or "clear intent" reasons. Especially invariants about ralph never executing steps and completion_confirmed by CLI.
|
|
82
|
+
14. **Delegate fallback must be marked** — when A_DELEGATE_EVALUATE verdict parse fails and falls back to "fix", MUST record `parse_failed: true, confidence_score: 0` in decisions.ndjson. Subsequent steps inherit LOW CONFIDENCE flag.
|
|
81
83
|
</invariants>
|
|
82
84
|
|
|
83
85
|
<state_machine>
|
|
@@ -160,7 +162,7 @@ S_DISPATCH:
|
|
|
160
162
|
→ END DO: $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
|
|
@@ -267,8 +269,7 @@ resolve_milestone(phase_number):
|
|
|
267
269
|
| phase 已存在 + 无任何 artifact | `analyze` |
|
|
268
270
|
| phase 已存在 + 最新 artifact = analyze | `plan` |
|
|
269
271
|
| phase 已存在 + 最新 artifact = plan | `execute` |
|
|
270
|
-
| phase 已存在 + 最新 artifact = execute | `
|
|
271
|
-
| phase 已存在 + 最新 artifact = verify | → refine from result files |
|
|
272
|
+
| phase 已存在 + 最新 artifact = execute | `review` |
|
|
272
273
|
|
|
273
274
|
**关键不变量**:artifact 过滤按 `session.phase`,不读 `state.json.current_phase`。`phase_is_new` → 直接 `analyze`。
|
|
274
275
|
|
|
@@ -287,12 +288,10 @@ resolve_milestone(phase_number):
|
|
|
287
288
|
| `medium` / `small` | analyze-macro → plan --from analyze:{ANL_ID} → execute → ...(跳过 roadmap + analyze-phase) |
|
|
288
289
|
| `unknown` | 默认走 large 路径,post-analyze-scope 决策节点再纠正 |
|
|
289
290
|
|
|
290
|
-
**Refine from
|
|
291
|
+
**Refine from review results:**
|
|
291
292
|
|
|
292
293
|
| Condition | Position |
|
|
293
294
|
|-----------|----------|
|
|
294
|
-
| verification.json: passed==false or gaps[] | `verify-failed` |
|
|
295
|
-
| passed==true, no review.json | `business-test` |
|
|
296
295
|
| review.json: verdict=="BLOCK" | `review-failed` |
|
|
297
296
|
| review.json: verdict!="BLOCK" | `test` |
|
|
298
297
|
| uat.md: all passed | `milestone-audit` |
|
|
@@ -302,7 +301,7 @@ resolve_milestone(phase_number):
|
|
|
302
301
|
|
|
303
302
|
决定下游质量管线长度。读 `session.quality_mode_override`(CLI 标志 `--quality`),无则按规则推断:
|
|
304
303
|
|
|
305
|
-
| Condition | Mode | Pipeline (
|
|
304
|
+
| Condition | Mode | Pipeline (execute 之后) |
|
|
306
305
|
|-----------|------|-------------------------|
|
|
307
306
|
| Has `specs/REQ-*.md` + 当前 phase 业务范围明确 | `full` | business-test → review → test-gen → test |
|
|
308
307
|
| Default | `standard` | review → test-gen (当 coverage<80%) → test |
|
|
@@ -389,8 +388,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
389
388
|
| roadmap | `maestro-roadmap --from analyze:{analyze_macro_id}` | *(same)* | — | all |
|
|
390
389
|
| analyze | `maestro-analyze {phase}` | `maestro-analyze` | — | all |
|
|
391
390
|
| 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 |
|
|
391
|
+
| execute | `maestro-execute {phase}` | `maestro-execute` | `post-execute` | all |
|
|
394
392
|
| business-test | `quality-auto-test {phase}` | `quality-auto-test` | `post-business-test` | full only |
|
|
395
393
|
| review | `quality-review {phase}` | `quality-review` | `post-review` | all (quick: append `--tier quick`) |
|
|
396
394
|
| test-gen | `quality-auto-test {phase}` | `quality-auto-test` | — | full / standard if coverage<80% |
|
|
@@ -446,7 +444,7 @@ Generate steps from `session.lifecycle_position` to `milestone-complete`.
|
|
|
446
444
|
3. Map result files:
|
|
447
445
|
| Decision | Files |
|
|
448
446
|
|----------|-------|
|
|
449
|
-
| post-
|
|
447
|
+
| post-execute | verification.json |
|
|
450
448
|
| post-business-test | .tests/auto-test/report.json |
|
|
451
449
|
| post-review | review.json |
|
|
452
450
|
| post-test | uat.md, .tests/test-results.json |
|
|
@@ -618,9 +616,9 @@ Runs only when `task_decomposition` present.
|
|
|
618
616
|
"index": 0,
|
|
619
617
|
"skill": "", // 执行 step 有值;decision 节点为空字符串/null
|
|
620
618
|
"args": "",
|
|
621
|
-
"stage": "", // brainstorm|blueprint|init|analyze-macro|roadmap|analyze|plan|execute
|
|
619
|
+
"stage": "", // brainstorm|blueprint|init|analyze-macro|roadmap|analyze|plan|execute|...
|
|
622
620
|
"scope": null, // "phase"|"standalone"|"milestone"|null(plan 等需要)
|
|
623
|
-
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-
|
|
621
|
+
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-execute");null → 执行 step
|
|
624
622
|
"retry_count": 0, // decision 节点专用
|
|
625
623
|
"max_retries": 2, // decision 节点专用
|
|
626
624
|
"command_scope": "global|project|missing|null", // 执行 step;decision 节点固定 null
|
|
@@ -658,13 +656,12 @@ Runs only when `task_decomposition` present.
|
|
|
658
656
|
|
|
659
657
|
所有插入的执行 step 按 A_BUILD_STEPS 规则 9 解析 `command_path` + `command_scope`;`decision:*` 条目为 decision 节点(`step.decision` 字段)。
|
|
660
658
|
|
|
661
|
-
**post-
|
|
659
|
+
**post-execute:**
|
|
662
660
|
```
|
|
663
661
|
quality-debug "{gap_summary}"
|
|
664
662
|
maestro-plan --gaps {phase}
|
|
665
663
|
maestro-execute {phase}
|
|
666
|
-
|
|
667
|
-
decision:post-verify {retry+1}
|
|
664
|
+
decision:post-execute {retry+1}
|
|
668
665
|
```
|
|
669
666
|
|
|
670
667
|
**post-business-test:**
|
|
@@ -672,8 +669,7 @@ decision:post-verify {retry+1}
|
|
|
672
669
|
quality-debug --from-business-test "{gap_summary}"
|
|
673
670
|
maestro-plan --gaps {phase}
|
|
674
671
|
maestro-execute {phase}
|
|
675
|
-
|
|
676
|
-
decision:post-verify {retry: 0}
|
|
672
|
+
decision:post-execute {retry: 0}
|
|
677
673
|
quality-auto-test {phase}
|
|
678
674
|
decision:post-business-test {retry+1}
|
|
679
675
|
```
|
|
@@ -692,8 +688,7 @@ decision:post-review {retry+1}
|
|
|
692
688
|
quality-debug --from-uat "{gap_summary}"
|
|
693
689
|
maestro-plan --gaps {phase}
|
|
694
690
|
maestro-execute {phase}
|
|
695
|
-
|
|
696
|
-
decision:post-verify {retry: 0}
|
|
691
|
+
decision:post-execute {retry: 0}
|
|
697
692
|
quality-auto-test {phase}
|
|
698
693
|
decision:post-business-test {retry: 0}
|
|
699
694
|
quality-review {phase}
|
|
@@ -708,7 +703,6 @@ decision:post-test {retry+1}
|
|
|
708
703
|
# for each unmet sub-goal G{n}, scoped to target_phase:
|
|
709
704
|
maestro-plan --gaps {target_phase} "G{n}: {gap}" [goal_ref: G{n}]
|
|
710
705
|
maestro-execute {target_phase} [goal_ref: G{n}]
|
|
711
|
-
maestro-verify {target_phase} [goal_ref: G{n}]
|
|
712
706
|
# after all unmet groups inserted:
|
|
713
707
|
decision:post-goal-audit {retry+1}
|
|
714
708
|
```
|