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
|
@@ -24,6 +24,7 @@ Entries use `category` attribute to declare which category they belong to.
|
|
|
24
24
|
$ARGUMENTS -- expects `[--scope <scope>] [--uid <uid>] <category> <content>`
|
|
25
25
|
|
|
26
26
|
**Options:**
|
|
27
|
+
- `--description <desc>` — One-line description for search results (falls back to content[:240])
|
|
27
28
|
- `--ref <path>` — Create as index entry referencing a knowhow document. If the path exists, only creates the spec index entry. If path doesn't exist, also creates the knowhow file.
|
|
28
29
|
- `--knowhow-type <type>` — Knowhow document type when creating with --ref (asset, blueprint, document, template, recipe, reference, decision)
|
|
29
30
|
|
|
@@ -34,12 +35,13 @@ Scope-to-directory mapping, category-to-file mapping, and entry format defined i
|
|
|
34
35
|
# English content → English keywords
|
|
35
36
|
/spec-add coding "Named exports" "Always use named exports" --keywords "exports,naming"
|
|
36
37
|
|
|
37
|
-
#
|
|
38
|
-
/spec-add coding "
|
|
38
|
+
# With description for search results
|
|
39
|
+
/spec-add coding "OAuth PKCE Flow" "完整 PKCE 集成流程" --keywords "oauth,pkce" --description "OAuth 2.0 PKCE 认证流程规范"
|
|
39
40
|
|
|
40
|
-
#
|
|
41
|
-
/spec-add coding "
|
|
41
|
+
# Chinese content → Chinese keywords
|
|
42
|
+
/spec-add coding "命名导出规范" "始终使用命名导出" --keywords "导出,命名,模块"
|
|
42
43
|
|
|
44
|
+
# Ref mode
|
|
43
45
|
/spec-add arch "OAuth PKCE 集成" "完整流程设计" --ref knowhow/AST-oauth-flow.md
|
|
44
46
|
```
|
|
45
47
|
</context>
|
|
@@ -12,7 +12,7 @@ allowed-tools:
|
|
|
12
12
|
<purpose>
|
|
13
13
|
Initialize the project-level specs directory by scanning the codebase for conventions, patterns, and tech stack.
|
|
14
14
|
Core files (coding, arch, learnings) are always created. Optional spec files (quality, test, ui) are created only when relevant signals are detected.
|
|
15
|
-
Additionally, generates recipe-type knowhow docs in `.workflow/knowhow/` for detected operational workflows (test / debug / build / dev / lint) — capturing "how to do X in this project" so future agents can find them via `maestro
|
|
15
|
+
Additionally, generates recipe-type knowhow docs in `.workflow/knowhow/` for detected operational workflows (test / debug / build / dev / lint) — capturing "how to do X in this project" so future agents can find them via `maestro search`.
|
|
16
16
|
Spec output lands in `.workflow/specs/`; recipe output lands in `.workflow/knowhow/`.
|
|
17
17
|
</purpose>
|
|
18
18
|
|
|
@@ -195,7 +195,6 @@ $ARGUMENTS → Parse:
|
|
|
195
195
|
| `/maestro-analyze` | 双层分析 — 宏观(文本参数)探索影响面 / 微观(数字参数)Phase 级深入 |
|
|
196
196
|
| `/maestro-plan` | 任务规划 — 支持 `--from analyze:ANL-xxx` 直达 |
|
|
197
197
|
| `/maestro-execute` | 任务执行 |
|
|
198
|
-
| `/maestro-verify` | 验证确认 |
|
|
199
198
|
|
|
200
199
|
### 质量管线 (quality)
|
|
201
200
|
|
|
@@ -245,17 +244,17 @@ Roadmap > Milestone > Phase > Task
|
|
|
245
244
|
roadmap — 消费上游 context,纯 Milestone > Phase 分解
|
|
246
245
|
|
|
247
246
|
执行层
|
|
248
|
-
plan → execute
|
|
247
|
+
plan → execute
|
|
249
248
|
```
|
|
250
249
|
|
|
251
250
|
### 合法路径
|
|
252
251
|
|
|
253
252
|
| 路径 | 场景 | 命令序列 |
|
|
254
253
|
|------|------|---------|
|
|
255
|
-
| Path A | 完整新项目 | `brainstorm` → `blueprint`(可选) → `analyze "topic"` → `roadmap` → `analyze 1` → `plan 1` → `execute`
|
|
256
|
-
| Path B | 旧项目大功能 | `analyze "feature X"` → `roadmap` → `analyze 1` → `plan 1` → `execute`
|
|
257
|
-
| Path C | 中等功能 | `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute`
|
|
258
|
-
| Path D | 小改动 | `plan "fix auth bug"` → `execute`
|
|
254
|
+
| Path A | 完整新项目 | `brainstorm` → `blueprint`(可选) → `analyze "topic"` → `roadmap` → `analyze 1` → `plan 1` → `execute` |
|
|
255
|
+
| Path B | 旧项目大功能 | `analyze "feature X"` → `roadmap` → `analyze 1` → `plan 1` → `execute` |
|
|
256
|
+
| Path C | 中等功能 | `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute` |
|
|
257
|
+
| Path D | 小改动 | `plan "fix auth bug"` → `execute` |
|
|
259
258
|
| Path E | 纯规格文档 | `blueprint "project idea"` → (供人阅读) |
|
|
260
259
|
| Path F | 纯探索 | `brainstorm "idea"` → (供人决策) |
|
|
261
260
|
| 快速修复 | 已知简单问题 | `/maestro-quick "修复描述"` |
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "双层分析 — 宏观(文本参数)探索影响面+scope_verdict / 微观(数字参数)Phase 级深入", "source": "../../commands/maestro-analyze.md"},
|
|
14
14
|
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 支持 --from analyze:ANL-xxx 直达、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
15
15
|
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
16
|
-
{"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
|
|
17
16
|
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
18
17
|
{"name": "maestro-overlay", "command": "/maestro-overlay", "category": "core", "description": "Overlay 管理 — 创建、查看、删除命令补丁", "source": "../../commands/maestro-overlay.md"},
|
|
19
18
|
{"name": "maestro-amend", "command": "/maestro-amend", "category": "core", "description": "修正补丁 — 从工作流信号自动生成 overlay", "source": "../../commands/maestro-amend.md"},
|
|
@@ -156,7 +155,6 @@
|
|
|
156
155
|
"/maestro-roadmap",
|
|
157
156
|
"/maestro-plan",
|
|
158
157
|
"/maestro-execute",
|
|
159
|
-
"/maestro-verify",
|
|
160
158
|
"/maestro-quick"
|
|
161
159
|
],
|
|
162
160
|
"workflows": {
|
|
@@ -166,27 +164,27 @@
|
|
|
166
164
|
"upstream_origin": ["brainstorm (发散/轻量)", "blueprint (收敛/重型)"],
|
|
167
165
|
"understanding": "analyze 双层: 宏观(文本参数) + 微观(数字参数)",
|
|
168
166
|
"orchestration": "roadmap (可选,消费上游 context)",
|
|
169
|
-
"execution": ["plan", "execute"
|
|
167
|
+
"execution": ["plan", "execute"]
|
|
170
168
|
}
|
|
171
169
|
},
|
|
172
170
|
"paths": {
|
|
173
|
-
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute
|
|
174
|
-
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute
|
|
175
|
-
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute
|
|
176
|
-
"D_small_fix": "plan → execute
|
|
171
|
+
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute",
|
|
172
|
+
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute",
|
|
173
|
+
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute",
|
|
174
|
+
"D_small_fix": "plan → execute",
|
|
177
175
|
"E_spec_only": "blueprint → (供人阅读)",
|
|
178
176
|
"F_explore_only": "brainstorm → (供人决策)"
|
|
179
177
|
},
|
|
180
178
|
"main_pipeline": {
|
|
181
179
|
"name": "主干管线",
|
|
182
|
-
"phases": ["analyze", "plan", "execute"
|
|
180
|
+
"phases": ["analyze", "plan", "execute"],
|
|
183
181
|
"quality": ["quality-auto-test", "quality-review", "quality-test"],
|
|
184
182
|
"close": ["maestro-milestone-audit", "maestro-milestone-complete"]
|
|
185
183
|
},
|
|
186
184
|
"quick": {
|
|
187
185
|
"name": "快速渠道",
|
|
188
186
|
"entry": "/maestro-quick",
|
|
189
|
-
"modes": ["default (analyze+execute)", "--full (analyze+plan+execute
|
|
187
|
+
"modes": ["default (analyze+execute)", "--full (analyze+plan+execute)", "--discuss (multi-cli讨论)"]
|
|
190
188
|
},
|
|
191
189
|
"issue_loop": {
|
|
192
190
|
"name": "Issue 闭环",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
| 命令 | Guide 文档 |
|
|
71
71
|
|------|-----------|
|
|
72
|
-
| maestro-analyze/plan/execute
|
|
72
|
+
| maestro-analyze/plan/execute | `guide/command-usage-guide.md` (主干管线) |
|
|
73
73
|
| maestro-init/roadmap/blueprint | `guide/quick-start-guide.md` |
|
|
74
74
|
| maestro-ralph | `guide/maestro-ralph-guide.md` |
|
|
75
75
|
| maestro (协调器) | `guide/maestro-coordinator-guide.md` |
|
|
@@ -97,9 +97,7 @@
|
|
|
97
97
|
| roadmap 完成,phase=pending | `/maestro-analyze 1` | 微观分析:Phase 级深入探索 |
|
|
98
98
|
| analyze (微观) 完成 | `/maestro-plan 1` | Phase 级规划 |
|
|
99
99
|
| plan 完成 | `/maestro-execute` | 规划完成,开始执行 |
|
|
100
|
-
| execute 完成 | `/
|
|
101
|
-
| verify 有 gaps | `/maestro-analyze --gaps` | 发现差距,重新分析 |
|
|
102
|
-
| verify 通过 | `/quality-review` | 进入质量管线 |
|
|
100
|
+
| execute 完成 | `/quality-review` | 执行完成,进入质量管线 |
|
|
103
101
|
| quality 全通过 | `/maestro-milestone-audit` | 准备里程碑审计 |
|
|
104
102
|
| 所有 Phase 完成 | `/maestro-milestone-complete` | 里程碑可以关闭 |
|
|
105
103
|
|
|
@@ -45,7 +45,7 @@ const taskPatterns = [
|
|
|
45
45
|
4. `/maestro-analyze "topic"` — 宏观分析,探索影响面 → scope_verdict
|
|
46
46
|
5. `/maestro-roadmap --from analyze:ANL-xxx` — 纯编排,Milestone > Phase 分解
|
|
47
47
|
6. `/maestro-analyze 1` — 微观分析,Phase 级深入
|
|
48
|
-
7. `/maestro-plan 1` → `/maestro-execute`
|
|
48
|
+
7. `/maestro-plan 1` → `/maestro-execute`
|
|
49
49
|
|
|
50
50
|
### 路径 E: 纯规格文档(不进执行链)
|
|
51
51
|
1. `/maestro-blueprint "project idea"` — 供人阅读和决策
|
|
@@ -62,7 +62,7 @@ const taskPatterns = [
|
|
|
62
62
|
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=large
|
|
63
63
|
2. `/maestro-roadmap --from analyze:ANL-xxx` — Milestone > Phase 分解
|
|
64
64
|
3. `/maestro-analyze 1` — 微观分析
|
|
65
|
-
4. `/maestro-plan 1` → `/maestro-execute`
|
|
65
|
+
4. `/maestro-plan 1` → `/maestro-execute`
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
**中等功能 — Path C** (复杂度: 中,跳过 roadmap):
|
|
@@ -72,7 +72,7 @@ const taskPatterns = [
|
|
|
72
72
|
|
|
73
73
|
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=medium
|
|
74
74
|
2. `/maestro-plan --from analyze:ANL-xxx` — 直达规划,跳过 roadmap
|
|
75
|
-
3. `/maestro-execute`
|
|
75
|
+
3. `/maestro-execute`
|
|
76
76
|
|
|
77
77
|
### 快速渠道(简单功能)
|
|
78
78
|
1. `/maestro-quick "功能描述"` — 一键完成
|
|
@@ -87,7 +87,7 @@ const taskPatterns = [
|
|
|
87
87
|
## 小改动工作流
|
|
88
88
|
|
|
89
89
|
1. `/maestro-plan "fix auth bug"` — 直接规划
|
|
90
|
-
2. `/maestro-execute`
|
|
90
|
+
2. `/maestro-execute`
|
|
91
91
|
|
|
92
92
|
### 快速修复(已知问题)
|
|
93
93
|
1. `/maestro-quick "修复 Bug 描述"`
|
|
@@ -131,7 +131,7 @@ const taskPatterns = [
|
|
|
131
131
|
上游起源: brainstorm(发散) | blueprint(收敛) → 可选
|
|
132
132
|
理解层: analyze "topic"(宏观) → scope_verdict 路由
|
|
133
133
|
编排层: roadmap(可选,仅 scope_verdict=large 时建议)
|
|
134
|
-
执行层: plan → execute →
|
|
134
|
+
执行层: plan → execute → quality → milestone-audit → milestone-complete
|
|
135
135
|
快速渠道: maestro-quick → (直接完成)
|
|
136
136
|
Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute → close
|
|
137
137
|
全自动: /maestro -y → (自动路由)
|
|
@@ -146,7 +146,7 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
146
146
|
|
|
147
147
|
- **Roadmap**: 项目级常驻规划文档,包含多个 Milestone
|
|
148
148
|
- **Milestone**: 可独立交付的版本节点(v0.1.0-rc1),包含多个 Phase
|
|
149
|
-
- **Phase**: Milestone 内的同步屏障执行阶段,走 analyze → plan → execute
|
|
149
|
+
- **Phase**: Milestone 内的同步屏障执行阶段,走 analyze → plan → execute 生命周期
|
|
150
150
|
- **Task**: Phase 内的具体代码修改单元(wave DAG 管理并行)
|
|
151
151
|
- **Blueprint**: 正式规格文档化命令(7-phase 收敛),与 brainstorm 并列作为上游起源
|
|
152
152
|
- **Analyze 双层**: 宏观(文本参数)探索影响面产出 scope_verdict;微观(数字参数)Phase 级深入分析
|
|
@@ -179,8 +179,7 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
179
179
|
| 6 | `/maestro-roadmap` | 路线图编排 | scope_verdict=large 时,Milestone > Phase 分解 |
|
|
180
180
|
| 7 | `/maestro-plan` | 规划 | 分析完成后生成执行计划,支持 `--from analyze:ANL-xxx` 直达 |
|
|
181
181
|
| 8 | `/maestro-execute` | 执行 | 计划完成后,执行实现 |
|
|
182
|
-
| 9 | `/maestro-
|
|
183
|
-
| 10 | `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
182
|
+
| 9 | `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
184
183
|
```
|
|
185
184
|
|
|
186
185
|
#### Step 5.2: 快速入门路径
|
|
@@ -56,7 +56,7 @@ $codify-to-knowhow ".workflow/reference_style/my-style-v1"
|
|
|
56
56
|
- `<package-path>` (positional, required): Directory containing `knowhow-manifest.json`
|
|
57
57
|
|
|
58
58
|
**Upstream**: `maestro-ui-codify`, `learn-decompose`, or any skill that generates a manifest
|
|
59
|
-
**Downstream**: `maestro
|
|
59
|
+
**Downstream**: `maestro search --category coding`, `maestro spec load --keyword <slug>`
|
|
60
60
|
</context>
|
|
61
61
|
|
|
62
62
|
<manifest_schema>
|
|
@@ -303,7 +303,7 @@ for (const spec of manifest.specs) {
|
|
|
303
303
|
|
|
304
304
|
const entryBlock = `
|
|
305
305
|
|
|
306
|
-
<spec-entry roles="${manifest.roles.join(',')}" keywords="${spec.keywords}" date="${today}"${refAttr}>
|
|
306
|
+
<spec-entry roles="${manifest.roles.join(',')}" keywords="${spec.keywords}" date="${today}" title="${spec.title}" description="${spec.description || ''}"${refAttr}>
|
|
307
307
|
|
|
308
308
|
### ${spec.title}
|
|
309
309
|
|
|
@@ -312,7 +312,8 @@ ${spec.body}
|
|
|
312
312
|
</spec-entry>`;
|
|
313
313
|
|
|
314
314
|
// Prefer CLI, fallback to direct append
|
|
315
|
-
const
|
|
315
|
+
const descFlag = spec.description ? ` --description "${spec.description}"` : '';
|
|
316
|
+
const cliResult = Bash(`maestro spec add ${spec.category} "${spec.title}" "${spec.body}" --keywords "${spec.keywords}"${descFlag} 2>/dev/null`);
|
|
316
317
|
|
|
317
318
|
if (cliResult.exitCode !== 0) {
|
|
318
319
|
// Fallback: direct file append
|
|
@@ -396,7 +397,7 @@ Ref Links: spec -> knowhow bridge established
|
|
|
396
397
|
Wiki Index: refreshed
|
|
397
398
|
|
|
398
399
|
Next steps:
|
|
399
|
-
maestro
|
|
400
|
+
maestro search --category coding # Browse by role
|
|
400
401
|
maestro spec load --keyword {slug} # Load related specs
|
|
401
402
|
maestro wiki load <id> # Load full entry
|
|
402
403
|
```
|
|
@@ -50,7 +50,7 @@ $ARGUMENTS — target path/module and optional flags.
|
|
|
50
50
|
Parse flags from `$ARGUMENTS`: `-y`/`--yes`, `--patterns <list>`, `--save-spec`, `--save-wiki`, `--continue`, `-c N`.
|
|
51
51
|
Extract remaining text as target path/module.
|
|
52
52
|
|
|
53
|
-
Resolve target to file list. Load coding specs: `maestro spec load --category coding` for documented patterns and conventions. Load existing patterns from `coding-conventions.md` + `.workflow/specs/learnings.md` for dedup set. Browse wiki: `maestro
|
|
53
|
+
Resolve target to file list. Load coding specs: `maestro spec load --category coding` for documented patterns and conventions. Load existing patterns from `coding-conventions.md` + `.workflow/specs/learnings.md` for dedup set. Browse wiki: `maestro search --category coding`, load relevant entries.
|
|
54
54
|
|
|
55
55
|
### Phase 2: Wave 1 — Parallel Dimension Scans
|
|
56
56
|
|
|
@@ -20,7 +20,7 @@ $ARGUMENTS — target and optional flags.
|
|
|
20
20
|
**Target resolution (auto-detected):**
|
|
21
21
|
- File path → Read source file
|
|
22
22
|
- Wiki ID (`type-slug`) → Fetch via `maestro wiki get`
|
|
23
|
-
- Topic string → Search via `maestro
|
|
23
|
+
- Topic string → Search via `maestro search`, use top result
|
|
24
24
|
|
|
25
25
|
**Flags:**
|
|
26
26
|
- `--depth shallow` — Key patterns and structure only (default)
|
|
@@ -29,7 +29,7 @@ $ARGUMENTS — question text and optional flags.
|
|
|
29
29
|
### Stage 1: Frame the Question
|
|
30
30
|
- Parse question, generate slug, create investigation directory
|
|
31
31
|
- Load debug specs: `maestro spec load --category debug` for known issues and patterns
|
|
32
|
-
- Search prior knowledge: `maestro
|
|
32
|
+
- Search prior knowledge: `maestro search --category debug`, wiki search, grep .workflow/specs/learnings.md
|
|
33
33
|
- Write initial `understanding.md`
|
|
34
34
|
|
|
35
35
|
### Stage 2: Evidence Collection
|
|
@@ -34,7 +34,7 @@ $ARGUMENTS — target and optional flags.
|
|
|
34
34
|
<execution>
|
|
35
35
|
|
|
36
36
|
### Phase 1: Resolve Target + Load Context
|
|
37
|
-
Resolve target to content. Load specs,
|
|
37
|
+
Resolve target to content. Load specs, `maestro search`, prior lessons for context brief.
|
|
38
38
|
|
|
39
39
|
### Phase 2: Execute Mode
|
|
40
40
|
|
|
@@ -64,7 +64,7 @@ Wave 1: 3 persona agents in parallel (filter `wave==1 AND status=="pending"`). W
|
|
|
64
64
|
"summary": { "type": "string", "maxLength": 500 },
|
|
65
65
|
"error": { "type": "string" }
|
|
66
66
|
},
|
|
67
|
-
"required": ["id", "result_status", "summary"]
|
|
67
|
+
"required": ["id", "result_status", "findings", "summary"]
|
|
68
68
|
}
|
|
69
69
|
```
|
|
70
70
|
|
|
@@ -43,7 +43,7 @@ $ARGUMENTS — user intent text, or special flags.
|
|
|
43
43
|
3. **Decomposition contract shared with maestro-ralph** — broad/lifecycle intents run S_DECOMPOSE producing the SAME additive block (`boundary_contract`, `execution_criteria`, `task_decomposition`). Reference maestro-ralph `A_DECOMPOSE_TASKS`
|
|
44
44
|
4. **Goal is tool-created** — `A_DECOMPOSE_TASKS` calls `create_goal` with sub-goal success criteria. `update_goal` on convergence; held while aborted/paused
|
|
45
45
|
5. **status.json 唯一真源** — 不生成 `goal-checklist.md`;step 含 `command_scope` + `command_path` + `completion_confirmed`
|
|
46
|
-
6. **Topology awareness** — chain catalog 含 grill / brainstorm / blueprint / analyze-macro(text) / analyze(numeric) / roadmap / plan(三路径) / execute /
|
|
46
|
+
6. **Topology awareness** — chain catalog 含 grill / brainstorm / blueprint / analyze-macro(text) / analyze(numeric) / roadmap / plan(三路径) / execute / ...
|
|
47
47
|
6.5. **Grill is interactive-only** — auto_mode MUST skip grill stage and route directly to brainstorm; grill requires Socratic Q&A with the user
|
|
48
48
|
7. **D-007 milestone 反查** — 数字 phase 步骤的 `milestone_id` 由 `state.json.milestones[].phase_slugs` 反查
|
|
49
49
|
8. **schema 向后兼容** — decomposition 字段可选;`steps[]` 由 post-goal-audit 动态生长(goal_ref tagged);既有字段不删不改;`waves` 保留空数组
|
|
@@ -164,7 +164,7 @@ Extract:
|
|
|
164
164
|
| `plan` | Plan, design, architect a phase |
|
|
165
165
|
| `execute` | Implement, develop, code a phase |
|
|
166
166
|
| `analyze` | Understand, investigate, evaluate code (numeric phase) |
|
|
167
|
-
| `verify` | Check goals met, validate results |
|
|
167
|
+
| `verify` | Check goals met, validate results (routes to quality-review) |
|
|
168
168
|
| `review` | Code quality review |
|
|
169
169
|
| `test` | Run or create tests, UAT |
|
|
170
170
|
| `test_gen` | Generate tests for coverage gaps |
|
|
@@ -188,17 +188,17 @@ Extract:
|
|
|
188
188
|
| `issue_analyze` | Analyze a specific issue |
|
|
189
189
|
| `issue_plan` | Plan fix for an issue |
|
|
190
190
|
| `issue_execute` | Fix issue end-to-end (auto-upgrades to issue-full) |
|
|
191
|
-
| `feature` | Standard feature: plan→execute→
|
|
192
|
-
| `full-lifecycle` | Complete phase: plan→execute→
|
|
191
|
+
| `feature` | Standard feature: plan→execute→review |
|
|
192
|
+
| `full-lifecycle` | Complete phase: plan→execute→review→test→audit→complete |
|
|
193
193
|
| `brainstorm-driven` | Start from exploration/brainstorm |
|
|
194
194
|
| `spec-driven` | From spec/requirements (heavy, with init) |
|
|
195
195
|
| `roadmap-driven` | From requirements (light, with init) |
|
|
196
196
|
| `analyze-plan-execute` | Fast track: analyze→plan→execute |
|
|
197
|
-
| `execute-
|
|
197
|
+
| `execute-review` | Resume after planning |
|
|
198
198
|
| `review-fix` | Fix review-blocked issues |
|
|
199
199
|
| `quality-loop` | Full quality improvement cycle |
|
|
200
200
|
| `quality-loop-partial` | Partial quality fix |
|
|
201
|
-
| `quality-fix` | Analyze gaps→plan→execute→
|
|
201
|
+
| `quality-fix` | Analyze gaps→plan→execute→review |
|
|
202
202
|
| `deploy` | Verify then release |
|
|
203
203
|
| `milestone-close` | Close/transition milestone |
|
|
204
204
|
| `milestone-release` | Release milestone with version tag |
|
|
@@ -235,16 +235,14 @@ Read `.workflow/state.json` and route by condition:
|
|
|
235
235
|
| No phases | `brainstorm-driven` |
|
|
236
236
|
| pending + has context | `plan` |
|
|
237
237
|
| pending, no context | `analyze` |
|
|
238
|
-
| exploring/planning + has plan | `execute-
|
|
238
|
+
| exploring/planning + has plan | `execute-review` |
|
|
239
239
|
| exploring/planning, no plan | `plan` |
|
|
240
|
-
| executing, all tasks done | `
|
|
240
|
+
| executing, all tasks done | `review` |
|
|
241
241
|
| executing, tasks remain | `execute` |
|
|
242
|
-
|
|
|
243
|
-
|
|
|
244
|
-
|
|
|
245
|
-
|
|
|
246
|
-
| verifying, passed + UAT failed | `debug` |
|
|
247
|
-
| verifying, not passed | `quality-loop-partial` |
|
|
242
|
+
| reviewing, verdict == BLOCK | `review-fix` |
|
|
243
|
+
| reviewing, verdict != BLOCK + UAT pending | `test` |
|
|
244
|
+
| reviewing, verdict != BLOCK + UAT passed | `milestone-close` |
|
|
245
|
+
| reviewing, verdict != BLOCK + UAT failed | `debug` |
|
|
248
246
|
| testing, UAT passed | `milestone-close` |
|
|
249
247
|
| testing, UAT not passed | `debug` |
|
|
250
248
|
| completed | `milestone-close` |
|
|
@@ -353,7 +351,7 @@ S_DECISION_EVAL 入口;镜像 maestro-ralph `A_GOAL_AUDIT_EVALUATE`。Condense
|
|
|
353
351
|
|
|
354
352
|
### A_APPLY_GOAL_FIX
|
|
355
353
|
|
|
356
|
-
**Dynamic step-growth core** (mirrors maestro-ralph). For each unmet sub-goal (grouped by target_phase), insert before the post-goal-audit node a scoped mini-loop `$maestro-plan --gaps {phase} "G{n}: {gap}" → $maestro-execute {phase}
|
|
354
|
+
**Dynamic step-growth core** (mirrors maestro-ralph). For each unmet sub-goal (grouped by target_phase), insert before the post-goal-audit node a scoped mini-loop `$maestro-plan --gaps {phase} "G{n}: {gap}" → $maestro-execute {phase}`, each tagged `goal_ref: "G{n}"`, type `"skill"`. Re-append `decision:post-goal-audit {retry+1}`. Reindex, increment retry, persist + `update_plan`. `steps[]` grew.
|
|
357
355
|
|
|
358
356
|
### A_APPLY_GOAL_DONE
|
|
359
357
|
|
|
@@ -398,7 +396,7 @@ S_DECISION_EVAL 入口;镜像 maestro-ralph `A_GOAL_AUDIT_EVALUATE`。Condense
|
|
|
398
396
|
| `plan_from_analyze` | `maestro-plan --from analyze:{analyze_macro_id}` |
|
|
399
397
|
| `plan_from_blueprint` | `maestro-plan --from blueprint:{blueprint_id}` |
|
|
400
398
|
| `execute` | `maestro-execute {phase}` |
|
|
401
|
-
| `verify` | `
|
|
399
|
+
| `verify` | `quality-review {phase}` |
|
|
402
400
|
| `test_gen` | `quality-auto-test {phase}` |
|
|
403
401
|
| `auto_test` | `quality-auto-test {phase}` |
|
|
404
402
|
| `test` | `quality-test {phase}` |
|
|
@@ -443,27 +441,27 @@ S_DECISION_EVAL 入口;镜像 maestro-ralph `A_GOAL_AUDIT_EVALUATE`。Condense
|
|
|
443
441
|
|
|
444
442
|
| Chain | Steps (→ = sequential, [B] = context-producing barrier) |
|
|
445
443
|
|-------|---------------------------------------|
|
|
446
|
-
| `feature` | [B] maestro-plan → [B] maestro-execute →
|
|
447
|
-
| `quality-fix` | [B] maestro-analyze --gaps → [B] maestro-plan --gaps → [B] maestro-execute →
|
|
448
|
-
| `deploy` |
|
|
449
|
-
| `blueprint-driven` | maestro-init → [B] maestro-blueprint → [B] maestro-plan --from blueprint:{BLP} → [B] maestro-execute →
|
|
450
|
-
| `analyze-macro-driven` | [B] maestro-analyze "{intent}" → ◆ post-analyze-scope → (large: [B] maestro-roadmap --from analyze:{ANL} → [B] maestro-analyze {phase} → [B] maestro-plan {phase}) / (medium\|small: [B] maestro-plan --from analyze:{ANL}) → [B] maestro-execute →
|
|
451
|
-
| `grill-brainstorm` | [B] maestro-grill → [B] maestro-brainstorm --from grill:{GRL} → [B] maestro-plan → [B] maestro-execute →
|
|
452
|
-
| `brainstorm-driven` | [B] maestro-brainstorm → [B] maestro-plan → [B] maestro-execute →
|
|
453
|
-
| `ui-craft-build` | maestro-impeccable build → [B] maestro-plan → [B] maestro-execute →
|
|
454
|
-
| `roadmap-driven` | maestro-init → [B] maestro-roadmap → [B] maestro-plan → [B] maestro-execute →
|
|
455
|
-
| `next-milestone` | [B] maestro-roadmap → [B] maestro-plan → [B] maestro-execute →
|
|
456
|
-
| `full-lifecycle` | [B] maestro-plan → [B] maestro-execute →
|
|
457
|
-
| `execute-
|
|
444
|
+
| `feature` | [B] maestro-plan → [B] maestro-execute → quality-review |
|
|
445
|
+
| `quality-fix` | [B] maestro-analyze --gaps → [B] maestro-plan --gaps → [B] maestro-execute → quality-review |
|
|
446
|
+
| `deploy` | quality-review → maestro-milestone-release |
|
|
447
|
+
| `blueprint-driven` | maestro-init → [B] maestro-blueprint → [B] maestro-plan --from blueprint:{BLP} → [B] maestro-execute → quality-review |
|
|
448
|
+
| `analyze-macro-driven` | [B] maestro-analyze "{intent}" → ◆ post-analyze-scope → (large: [B] maestro-roadmap --from analyze:{ANL} → [B] maestro-analyze {phase} → [B] maestro-plan {phase}) / (medium\|small: [B] maestro-plan --from analyze:{ANL}) → [B] maestro-execute → quality-review |
|
|
449
|
+
| `grill-brainstorm` | [B] maestro-grill → [B] maestro-brainstorm --from grill:{GRL} → [B] maestro-plan → [B] maestro-execute → quality-review (**auto_mode: skip grill step, fall back to brainstorm-driven**) |
|
|
450
|
+
| `brainstorm-driven` | [B] maestro-brainstorm → [B] maestro-plan → [B] maestro-execute → quality-review |
|
|
451
|
+
| `ui-craft-build` | maestro-impeccable build → [B] maestro-plan → [B] maestro-execute → quality-review |
|
|
452
|
+
| `roadmap-driven` | maestro-init → [B] maestro-roadmap → [B] maestro-plan → [B] maestro-execute → quality-review |
|
|
453
|
+
| `next-milestone` | [B] maestro-roadmap → [B] maestro-plan → [B] maestro-execute → quality-review |
|
|
454
|
+
| `full-lifecycle` | [B] maestro-plan → [B] maestro-execute → quality-review → quality-test → maestro-milestone-audit → maestro-milestone-complete |
|
|
455
|
+
| `execute-review` | [B] maestro-execute → quality-review |
|
|
458
456
|
| `analyze-plan-execute` | [B] maestro-analyze -q → [B] maestro-plan --dir {scratch_dir} → [B] maestro-execute --dir {scratch_dir} |
|
|
459
|
-
| `quality-loop` |
|
|
460
|
-
| `quality-loop-partial` | [B] maestro-plan --gaps → [B] maestro-execute →
|
|
457
|
+
| `quality-loop` | quality-review → quality-test → quality-debug --from-uat → [B] maestro-plan --gaps → [B] maestro-execute |
|
|
458
|
+
| `quality-loop-partial` | [B] maestro-plan --gaps → [B] maestro-execute → quality-review |
|
|
461
459
|
| `review-fix` | [B] maestro-plan --gaps → [B] maestro-execute → quality-review |
|
|
462
460
|
| `milestone-close` | maestro-milestone-audit → maestro-milestone-complete |
|
|
463
461
|
| `milestone-release` | maestro-milestone-audit → maestro-milestone-release |
|
|
464
462
|
| `phase_transition` | maestro-milestone-audit → maestro-milestone-complete |
|
|
465
463
|
| `issue-full` | [B] maestro-analyze --gaps → [B] maestro-plan --gaps → [B] maestro-execute → quality-review → manage-issue close |
|
|
466
|
-
| `issue-quick` | [B] maestro-plan --gaps → [B] maestro-execute → manage-issue close |
|
|
464
|
+
| `issue-quick` | [B] maestro-plan --gaps → [B] maestro-execute → quality-review → manage-issue close |
|
|
467
465
|
|
|
468
466
|
> When S_DECOMPOSE ran, a `decision:post-goal-audit` node is appended as the final node (after the last evidence-producing step; before milestone-complete/close-out if the chain ends with one). `[B]` now denotes a context-producing skill (artifacts read into `session.context`) — execution is still sequential (no parallelism; spawning removed).
|
|
469
467
|
|
|
@@ -37,7 +37,7 @@ $ARGUMENTS -- phase number, topic text, and optional flags.
|
|
|
37
37
|
Interview the user relentlessly until shared understanding is reached. Active only in interactive mode; skip when `-y/--yes`, `--continue`, or input is already specific (explicit phase number or unambiguous topic).
|
|
38
38
|
|
|
39
39
|
- One decision per turn via AskUserQuestion with 2–4 options + a (Recommended) default. The user controls termination — keep interviewing until convergence; they can interrupt naturally at any time.
|
|
40
|
-
- Search-first when uncertain: before asking, resolve via `state.json`, `roadmap.md`, `issues.jsonl`, `maestro spec load`, `maestro
|
|
40
|
+
- Search-first when uncertain: before asking, resolve via `state.json`, `roadmap.md`, `issues.jsonl`, `maestro spec load`, `maestro search`, Grep, Read, or — for open-ended multi-file scans — `maestro delegate ... --role explore`. Never ask what code or memory can verify; never bounce your own ambiguity back to the user — search first, then ask only what truly needs human judgment.
|
|
41
41
|
- Writeback cadence: each settled decision is immediately appended/updated in `context.md` "Interview Decisions" (and mirrored into `analysis.md` in full mode). Do NOT batch writeback to the end — partial decisions must already be on disk before the next question.
|
|
42
42
|
- Walk the decision dependency tree strictly: scope → depth → dimensions → Go/No-Go threshold. Do not open the next branch until the current one is settled.
|
|
43
43
|
- Scope guard: only ask about decisions owned by `analyze`. Do not prejudge plan/execute concerns.
|
|
@@ -87,6 +87,9 @@ Available exploration dimensions: architecture, implementation, performance, sec
|
|
|
87
87
|
8. **Tri-output**: context.md + context-package.json always. analysis.md (full only) + conclusions.json (full + quick — quick writes minimal with `scope_verdict` + `implementation_scope[]`). Gaps mode writes to issues.jsonl + context.md + context-package.json
|
|
88
88
|
9. **D-007 milestone resolution**: numeric scope MUST reverse-lookup `state.json.milestones[].phase_slugs`. NEVER read `current_milestone` directly for phase-scoped artifact registration.
|
|
89
89
|
10. **scope_verdict mandatory** (D-003): macro/adhoc/standalone scopes MUST produce `scope_verdict ∈ {small, medium, large}` in conclusions.json. Drives downstream chain (roadmap vs plan).
|
|
90
|
+
11. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation. Do NOT bypass for "efficiency" or "clear intent" reasons.
|
|
91
|
+
12. **Evidence required on decisions** — every decision in context.md MUST cite evidence from Wave 1 exploration findings or Wave 2 scores. Decisions citing only orchestrator's manual file reading are flagged LOW CONFIDENCE.
|
|
92
|
+
13. **Degradation must be marked** — when graceful degradation (invariant 7) activates, ALL downstream outputs inherit a LOW CONFIDENCE flag. Record in discoveries.ndjson: `{ type: "degradation_event", data: { wave, failed_tasks, impact } }`.
|
|
90
93
|
</invariants>
|
|
91
94
|
|
|
92
95
|
<state_machine>
|
|
@@ -250,6 +253,16 @@ Gray area detection: domain-aware (things users SEE/CALL/RUN/READ), phase-specif
|
|
|
250
253
|
|
|
251
254
|
</actions>
|
|
252
255
|
|
|
256
|
+
### Artifact Verification (before S_AGGREGATE)
|
|
257
|
+
|
|
258
|
+
Before transitioning to S_AGGREGATE, verify ALL expected outputs exist:
|
|
259
|
+
```
|
|
260
|
+
FULL_MODE_REQUIRED = ["tasks.csv", "context.md", "context-package.json", "analysis.md", "conclusions.json"]
|
|
261
|
+
QUICK_MODE_REQUIRED = ["tasks.csv", "context.md", "context-package.json", "conclusions.json"]
|
|
262
|
+
GAPS_MODE_REQUIRED = ["tasks.csv", "context.md", "context-package.json"]
|
|
263
|
+
```
|
|
264
|
+
If any artifact is missing for the active mode: DO NOT proceed to S_AGGREGATE. Go back and produce the missing artifact.
|
|
265
|
+
|
|
253
266
|
</state_machine>
|
|
254
267
|
|
|
255
268
|
<discovery_board>
|
|
@@ -272,8 +285,8 @@ Protocol: read before analysis, append-only, dedup by type+key.
|
|
|
272
285
|
| --gaps but no issues found | Abort: "No open/registered issues" |
|
|
273
286
|
| --gaps ISS-ID not found | Abort: "Issue not found" |
|
|
274
287
|
| Phase directory not found | List available phases, abort |
|
|
275
|
-
| All exploration agents failed |
|
|
276
|
-
| All scoring agents failed |
|
|
288
|
+
| All exploration agents failed | Retry once. If still fails: proceed to scoring but flag ALL downstream decisions as LOW CONFIDENCE in discoveries.ndjson |
|
|
289
|
+
| All scoring agents failed | Retry once. If still fails: produce decision-only context.md but flag ALL decisions as LOW CONFIDENCE |
|
|
277
290
|
| Synthesis agent failed | Minimal context.md from raw scores/exploration |
|
|
278
291
|
| Continue mode: no session found | List available sessions |
|
|
279
292
|
</error_codes>
|
|
@@ -88,6 +88,13 @@ P6 gate: Pass (>=80%) → Handoff | Review (60-79%) → Handoff w/caveats | Fail
|
|
|
88
88
|
| Need project setup | /maestro-init |
|
|
89
89
|
</execution>
|
|
90
90
|
|
|
91
|
+
<invariants>
|
|
92
|
+
1. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation.
|
|
93
|
+
2. **Phase gate enforcement** — each phase produces artifacts that are prerequisites for the next. Do NOT advance to phase N+1 without verifying phase N's output exists: P2→product-brief.md, P3→requirements/_index.md, P4→architecture/_index.md, P5→epics/_index.md, P6→readiness-report.md.
|
|
94
|
+
3. **Evidence required on ADRs** — Architecture Decision Records (ADR-*.md) MUST cite evidence (code analysis, requirement traceability REQ-xxx, upstream context). Generic rationale without project-specific references is INVALID.
|
|
95
|
+
4. **Artifact verification before completion** — verify blueprint-config.json, product-brief.md, glossary.json (≥5 terms), requirements/_index.md, architecture/_index.md, epics/_index.md, readiness-report.md, blueprint-summary.md, context-package.json all exist. If any missing: DO NOT report completion.
|
|
96
|
+
</invariants>
|
|
97
|
+
|
|
91
98
|
<error_codes>
|
|
92
99
|
| Code | Severity | Condition | Recovery |
|
|
93
100
|
|------|----------|-----------|----------|
|
|
@@ -95,7 +102,7 @@ P6 gate: Pass (>=80%) → Handoff | Review (60-79%) → Handoff w/caveats | Fail
|
|
|
95
102
|
| E002 | error | Context source not found (--from) | Show available sessions/sources |
|
|
96
103
|
| E006 | error | `.workflow/` not initialized | Run maestro-init first |
|
|
97
104
|
| E007 | error | Phase 6 readiness Fail after 2 auto-fix iterations | Present manual fix options |
|
|
98
|
-
| W001 | warning | CLI analysis failed
|
|
105
|
+
| W001 | warning | CLI analysis failed | Retry once. If still fails: continue but flag affected phase outputs as LOW CONFIDENCE |
|
|
99
106
|
| W002 | warning | Codebase exploration failed | Continue without codebase context |
|
|
100
107
|
| W003 | warning | Glossary has < 5 terms | Note in readiness check |
|
|
101
108
|
| W004 | warning | Review-level readiness score (60-79%) | Proceed with caveats |
|
|
@@ -21,7 +21,7 @@ $ARGUMENTS — topic text and optional flags.
|
|
|
21
21
|
|
|
22
22
|
### Pre-load specs
|
|
23
23
|
1. **Architecture specs**: `maestro spec load --category arch` — load architecture constraints as context for multi-role design (roles respect documented decisions).
|
|
24
|
-
2. **Role Knowledge**: `maestro
|
|
24
|
+
2. **Role Knowledge**: `maestro search --category arch` → identify relevant entries → `maestro wiki load <id1> [id2...]`
|
|
25
25
|
3. Both optional — proceed without if unavailable.
|
|
26
26
|
|
|
27
27
|
**Session**: `.workflow/.csv-wave/{YYYYMMDD}-brainstorm-{slug}/`
|
|
@@ -40,7 +40,7 @@ $ARGUMENTS — topic text and optional flags.
|
|
|
40
40
|
Interview the user relentlessly until shared understanding is reached. Active only in interactive mode; skip when `-y/--yes`, `--skip-questions`, `--continue` (existing session), or input is already specific.
|
|
41
41
|
|
|
42
42
|
- One decision per turn via request_user_input with 2–4 options + a (Recommended) default. The user controls termination — keep interviewing until convergence; they can interrupt naturally at any time.
|
|
43
|
-
- Search-first when uncertain: before asking, resolve via `state.json`, the session directory, `maestro spec load`, `maestro
|
|
43
|
+
- Search-first when uncertain: before asking, resolve via `state.json`, the session directory, `maestro spec load`, `maestro search`, Glob/Grep/Read, or — for open-ended multi-file scans — `maestro delegate ... --role explore`. Never ask what code or memory can verify; never bounce your own ambiguity back to the user — search first, then ask only what truly needs human judgment.
|
|
44
44
|
- Writeback cadence: each time a decision settles, immediately append/update its row in `guidance-specification.md` §11 (create the section if absent). Do NOT batch writeback to the end — partial decisions must already be on disk before the next question.
|
|
45
45
|
- Branch jumps allowed: the user may switch freely between mode / role / upstream / sub-pipeline branches; sequence is not enforced, but every decision point must end with a definite answer.
|
|
46
46
|
- Scope guard: only ask about decisions owned by `brainstorm`. Do not pre-resolve roadmap/plan choices.
|
|
@@ -210,6 +210,9 @@ CONSTRAINTS:
|
|
|
210
210
|
5. **9 valid roles only**: data-architect, product-manager, product-owner, scrum-master, subject-matter-expert, system-architect, test-strategist, ui-designer, ux-expert
|
|
211
211
|
6. **Wave 3 is read-only at the agent boundary**: the reviewer emits structured findings (conflicts / gaps / synergies with `patch_targets[]`). The orchestrator (not the agent) applies the patches via Edit.
|
|
212
212
|
7. **DO NOT STOP**: Continuous until all waves complete; only pause at [CHECKPOINT] (skipped with -y).
|
|
213
|
+
8. **Invariant violation = BLOCK** — violating any invariant above blocks the current operation. Do NOT bypass for "efficiency" or "clear intent" reasons.
|
|
214
|
+
9. **Evidence required** — role analysis findings in {role}/analysis.md §2 Decision Digest MUST cite concrete evidence: code references (file:line), API endpoints, data models from codebase exploration. Decisions without evidence are flagged LOW CONFIDENCE.
|
|
215
|
+
10. **Artifact verification before completion** — before reporting completion, verify ALL expected artifacts exist: guidance-specification.md, {role}/analysis.md (per selected role), {role}/analysis-F-*.md (per feature). If any missing: DO NOT report completion.
|
|
213
216
|
</invariants>
|
|
214
217
|
|
|
215
218
|
<spawn_contract>
|
|
@@ -288,7 +291,7 @@ S_CHECK_1 → END WHEN: user "Abort"
|
|
|
288
291
|
|
|
289
292
|
S_DESIGN → S_WAVE_2 WHEN: DESIGN.md exists OR explore completed DO: A_DESIGN_EXPLORE
|
|
290
293
|
S_DESIGN → S_WAVE_2 WHEN: DESIGN.md already exists (skip explore)
|
|
291
|
-
S_DESIGN → S_WAVE_2 WHEN: explore failed → W004 → continue without
|
|
294
|
+
S_DESIGN → S_WAVE_2 WHEN: explore failed → W004 → retry once. If still fails: flag downstream outputs as LOW CONFIDENCE, continue without
|
|
292
295
|
|
|
293
296
|
S_WAVE_2 → S_CHECK_2 DO: spawn wave-2 (parallel), merge results — each agent writes {role}/analysis.md + sub-files
|
|
294
297
|
S_WAVE_2 → S_AGGREGATE WHEN: all failed DO: skip review
|
|
@@ -405,8 +408,8 @@ Protocol: read before analysis, append-only, dedup by type+key.
|
|
|
405
408
|
| Condition | Recovery |
|
|
406
409
|
|-----------|----------|
|
|
407
410
|
| Guidance agent failed | Abort pipeline (W2 depends on guidance) |
|
|
408
|
-
| All role agents failed | Skip review, report partial |
|
|
409
|
-
| Review agent failed | Use analysis files directly, no resolution writeback |
|
|
411
|
+
| All role agents failed | Skip review, report partial. Retry once. If still fails: flag downstream outputs as LOW CONFIDENCE |
|
|
412
|
+
| Review agent failed | Use analysis files directly, no resolution writeback. Retry once. If still fails: flag downstream outputs as LOW CONFIDENCE |
|
|
410
413
|
| Role count > 9 | Cap at 9 with warning |
|
|
411
414
|
| E006 --review-only but no */analysis.md | Run auto mode or single roles first |
|
|
412
415
|
| E007 --review-only but missing guidance-specification.md | Run auto mode first |
|
|
@@ -81,7 +81,7 @@ Display loaded rules summary (entry count + key rule names).
|
|
|
81
81
|
|
|
82
82
|
### Step 2: Browse Knowhow Index
|
|
83
83
|
|
|
84
|
-
Run `maestro knowhow list --store workflow`. With `--task`, also run `maestro
|
|
84
|
+
Run `maestro knowhow list --store workflow`. With `--task`, also run `maestro search "<task_keyword>" --type knowhow`. Display available entries (ID + title). Hint: `maestro wiki load <id>` for details.
|
|
85
85
|
|
|
86
86
|
### Step 3: Check Codebase Index
|
|
87
87
|
|
|
@@ -427,7 +427,7 @@ Clear `.workflow/.scratchpad/.companion-active`.
|
|
|
427
427
|
|
|
428
428
|
```
|
|
429
429
|
Knowledge accumulation reminders:
|
|
430
|
-
Reusable pattern found? $spec-add "<category> 'title' 'content'"
|
|
430
|
+
Reusable pattern found? $spec-add "<category> 'title' 'content' --description 'summary'"
|
|
431
431
|
Solved a complex problem? $manage-knowhow-capture "recipe 'description'"
|
|
432
432
|
Made an architecture decision? $manage-knowhow-capture "decision 'description'"
|
|
433
433
|
Discovered a useful trick? $manage-knowhow-capture "tip 'content'"
|
|
@@ -122,7 +122,6 @@ If spec not found, use built-in fallback:
|
|
|
122
122
|
| `review` | skill | `quality-review` |
|
|
123
123
|
| `brainstorm` | skill | `maestro-brainstorm` |
|
|
124
124
|
| `analysis` | cli | `maestro delegate --role analyze --mode analysis` |
|
|
125
|
-
| `verify` | skill | `maestro-verify` |
|
|
126
125
|
| `refactor` | skill | `quality-refactor` |
|
|
127
126
|
| `debug` | skill | `quality-debug` |
|
|
128
127
|
| `spec` | skill | `maestro-blueprint` |
|