maestro-flow 0.5.41 → 0.5.43
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/domain-add/SKILL.md +3 -0
- package/.agents/skills/learn-decompose/SKILL.md +7 -4
- package/.agents/skills/learn-follow/SKILL.md +4 -2
- package/.agents/skills/learn-investigate/SKILL.md +8 -6
- package/.agents/skills/learn-second-opinion/SKILL.md +6 -3
- package/.agents/skills/maestro/SKILL.md +1 -1
- package/.agents/skills/maestro-amend/SKILL.md +1 -1
- package/.agents/skills/maestro-analyze/SKILL.md +1 -43
- package/.agents/skills/maestro-blueprint/SKILL.md +1 -23
- package/.agents/skills/maestro-brainstorm/SKILL.md +8 -25
- package/.agents/skills/maestro-collab/SKILL.md +6 -2
- package/.agents/skills/maestro-companion/SKILL.md +4 -1
- package/.agents/skills/maestro-composer/SKILL.md +4 -2
- package/.agents/skills/maestro-execute/SKILL.md +27 -9
- package/.agents/skills/maestro-fork/SKILL.md +4 -3
- package/.agents/skills/maestro-grill/SKILL.md +1 -17
- package/.agents/skills/maestro-guard/SKILL.md +2 -2
- package/.agents/skills/maestro-impeccable/SKILL.md +2 -1
- package/.agents/skills/maestro-init/SKILL.md +1 -1
- package/.agents/skills/maestro-merge/SKILL.md +12 -1
- package/.agents/skills/maestro-milestone-audit/SKILL.md +1 -15
- package/.agents/skills/maestro-milestone-complete/SKILL.md +8 -3
- package/.agents/skills/maestro-milestone-release/SKILL.md +8 -4
- package/.agents/skills/maestro-overlay/SKILL.md +9 -0
- package/.agents/skills/maestro-plan/SKILL.md +6 -62
- package/.agents/skills/maestro-player/SKILL.md +2 -2
- package/.agents/skills/maestro-quick/SKILL.md +5 -3
- package/.agents/skills/maestro-ralph/SKILL.md +8 -8
- package/.agents/skills/maestro-ralph-cli/SKILL.md +665 -0
- package/.agents/skills/maestro-ralph-cli-execute/SKILL.md +239 -0
- package/.agents/skills/maestro-ralph-execute/SKILL.md +127 -11
- package/.agents/skills/maestro-roadmap/SKILL.md +1 -9
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +16 -14
- package/.agents/skills/maestro-tools-register/SKILL.md +16 -1
- package/.agents/skills/maestro-ui-codify/SKILL.md +11 -1
- package/.agents/skills/maestro-universal-workflow/SKILL.md +28 -5
- package/.agents/skills/maestro-update/SKILL.md +10 -7
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +5 -1
- package/.agents/skills/manage-drift-realign/SKILL.md +6 -2
- package/.agents/skills/manage-harvest/SKILL.md +4 -1
- package/.agents/skills/manage-issue-discover/SKILL.md +1 -0
- package/.agents/skills/manage-kg-extractors/SKILL.md +5 -1
- package/.agents/skills/manage-knowhow-capture/SKILL.md +1 -0
- package/.agents/skills/manage-knowledge-audit/SKILL.md +3 -0
- package/.agents/skills/manage-wiki/SKILL.md +1 -0
- package/.agents/skills/odyssey-debug/SKILL.md +2 -1
- package/.agents/skills/odyssey-improve/SKILL.md +2 -2
- package/.agents/skills/odyssey-planex/SKILL.md +8 -7
- package/.agents/skills/odyssey-review-test-fix/SKILL.md +4 -1
- package/.agents/skills/odyssey-ui/SKILL.md +4 -4
- package/.agents/skills/quality-auto-test/SKILL.md +11 -1
- package/.agents/skills/quality-debug/SKILL.md +16 -2
- package/.agents/skills/quality-retrospective/SKILL.md +9 -1
- package/.agents/skills/quality-review/SKILL.md +8 -0
- package/.agents/skills/quality-sync/SKILL.md +2 -2
- package/.agents/skills/quality-test/SKILL.md +9 -1
- package/.agents/skills/security-audit/SKILL.md +14 -4
- package/.agents/skills/spec-add/SKILL.md +5 -2
- package/.agents/skills/spec-load/SKILL.md +1 -1
- package/.agents/skills/spec-remove/SKILL.md +1 -1
- package/.agents/skills/spec-setup/SKILL.md +3 -0
- package/.agents/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +197 -198
- package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
- package/.agents/skills/team-roadmap-dev/specs/team-config.json +1 -1
- package/.agents/skills/team-swarm/roles/analyst/role.md +172 -176
- package/.agy/skills/domain-add/SKILL.md +3 -0
- package/.agy/skills/learn-decompose/SKILL.md +7 -4
- package/.agy/skills/learn-follow/SKILL.md +4 -2
- package/.agy/skills/learn-investigate/SKILL.md +8 -6
- package/.agy/skills/learn-second-opinion/SKILL.md +6 -3
- package/.agy/skills/maestro/SKILL.md +1 -1
- package/.agy/skills/maestro-amend/SKILL.md +1 -1
- package/.agy/skills/maestro-analyze/SKILL.md +1 -43
- package/.agy/skills/maestro-blueprint/SKILL.md +1 -23
- package/.agy/skills/maestro-brainstorm/SKILL.md +8 -25
- package/.agy/skills/maestro-collab/SKILL.md +6 -2
- package/.agy/skills/maestro-companion/SKILL.md +4 -1
- package/.agy/skills/maestro-composer/SKILL.md +4 -2
- package/.agy/skills/maestro-execute/SKILL.md +27 -9
- package/.agy/skills/maestro-fork/SKILL.md +4 -3
- package/.agy/skills/maestro-grill/SKILL.md +1 -17
- package/.agy/skills/maestro-guard/SKILL.md +2 -2
- package/.agy/skills/maestro-impeccable/SKILL.md +2 -1
- package/.agy/skills/maestro-init/SKILL.md +1 -1
- package/.agy/skills/maestro-merge/SKILL.md +12 -1
- package/.agy/skills/maestro-milestone-audit/SKILL.md +1 -15
- package/.agy/skills/maestro-milestone-complete/SKILL.md +8 -3
- package/.agy/skills/maestro-milestone-release/SKILL.md +8 -4
- package/.agy/skills/maestro-overlay/SKILL.md +9 -0
- package/.agy/skills/maestro-plan/SKILL.md +6 -62
- package/.agy/skills/maestro-player/SKILL.md +2 -2
- package/.agy/skills/maestro-quick/SKILL.md +5 -3
- package/.agy/skills/maestro-ralph/SKILL.md +8 -8
- package/.agy/skills/maestro-ralph-cli/SKILL.md +661 -0
- package/.agy/skills/maestro-ralph-cli-execute/SKILL.md +235 -0
- package/.agy/skills/maestro-ralph-execute/SKILL.md +127 -11
- package/.agy/skills/maestro-roadmap/SKILL.md +1 -9
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +16 -14
- package/.agy/skills/maestro-tools-register/SKILL.md +16 -1
- package/.agy/skills/maestro-ui-codify/SKILL.md +11 -1
- package/.agy/skills/maestro-universal-workflow/SKILL.md +28 -5
- package/.agy/skills/maestro-update/SKILL.md +10 -7
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +5 -1
- package/.agy/skills/manage-drift-realign/SKILL.md +6 -2
- package/.agy/skills/manage-harvest/SKILL.md +4 -1
- package/.agy/skills/manage-issue-discover/SKILL.md +1 -0
- package/.agy/skills/manage-kg-extractors/SKILL.md +5 -1
- package/.agy/skills/manage-knowhow-capture/SKILL.md +1 -0
- package/.agy/skills/manage-knowledge-audit/SKILL.md +3 -0
- package/.agy/skills/manage-wiki/SKILL.md +1 -0
- package/.agy/skills/odyssey-debug/SKILL.md +2 -1
- package/.agy/skills/odyssey-improve/SKILL.md +2 -2
- package/.agy/skills/odyssey-planex/SKILL.md +8 -7
- package/.agy/skills/odyssey-review-test-fix/SKILL.md +4 -1
- package/.agy/skills/odyssey-ui/SKILL.md +4 -4
- package/.agy/skills/quality-auto-test/SKILL.md +11 -1
- package/.agy/skills/quality-debug/SKILL.md +16 -2
- package/.agy/skills/quality-retrospective/SKILL.md +9 -1
- package/.agy/skills/quality-review/SKILL.md +8 -0
- package/.agy/skills/quality-sync/SKILL.md +2 -2
- package/.agy/skills/quality-test/SKILL.md +9 -1
- package/.agy/skills/security-audit/SKILL.md +14 -4
- package/.agy/skills/spec-add/SKILL.md +5 -2
- package/.agy/skills/spec-load/SKILL.md +1 -1
- package/.agy/skills/spec-remove/SKILL.md +1 -1
- package/.agy/skills/spec-setup/SKILL.md +3 -0
- package/.agy/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +197 -198
- package/.agy/skills/team-roadmap-dev/SKILL.md +141 -153
- package/.agy/skills/team-roadmap-dev/specs/team-config.json +1 -1
- package/.agy/skills/team-swarm/roles/analyst/role.md +172 -176
- package/.claude/commands/domain-add.md +3 -0
- package/.claude/commands/learn-decompose.md +7 -4
- package/.claude/commands/learn-follow.md +4 -2
- package/.claude/commands/learn-investigate.md +8 -6
- package/.claude/commands/learn-second-opinion.md +6 -3
- package/.claude/commands/maestro-amend.md +1 -1
- package/.claude/commands/maestro-analyze.md +1 -43
- package/.claude/commands/maestro-blueprint.md +1 -23
- package/.claude/commands/maestro-brainstorm.md +8 -25
- package/.claude/commands/maestro-collab.md +6 -2
- package/.claude/commands/maestro-companion.md +4 -1
- package/.claude/commands/maestro-composer.md +4 -2
- package/.claude/commands/maestro-execute.md +27 -9
- package/.claude/commands/maestro-fork.md +4 -3
- package/.claude/commands/maestro-grill.md +1 -17
- package/.claude/commands/maestro-guard.md +2 -2
- package/.claude/commands/maestro-impeccable.md +2 -1
- package/.claude/commands/maestro-init.md +1 -1
- package/.claude/commands/maestro-merge.md +12 -1
- package/.claude/commands/maestro-milestone-audit.md +1 -15
- package/.claude/commands/maestro-milestone-complete.md +8 -3
- package/.claude/commands/maestro-milestone-release.md +8 -4
- package/.claude/commands/maestro-overlay.md +9 -0
- package/.claude/commands/maestro-plan.md +6 -62
- package/.claude/commands/maestro-player.md +2 -2
- package/.claude/commands/maestro-quick.md +5 -3
- package/.claude/commands/maestro-ralph-cli-execute.md +237 -0
- package/.claude/commands/maestro-ralph-cli.md +663 -0
- package/.claude/commands/maestro-ralph-execute.md +127 -11
- package/.claude/commands/maestro-ralph.md +8 -8
- package/.claude/commands/maestro-roadmap.md +1 -9
- package/.claude/commands/maestro-swarm-workflow.md +16 -14
- package/.claude/commands/maestro-tools-register.md +16 -1
- package/.claude/commands/maestro-ui-codify.md +11 -1
- package/.claude/commands/maestro-universal-workflow.md +28 -5
- package/.claude/commands/maestro-update.md +10 -7
- package/.claude/commands/maestro.md +1 -1
- package/.claude/commands/manage-codebase-rebuild.md +5 -1
- package/.claude/commands/manage-drift-realign.md +6 -2
- package/.claude/commands/manage-harvest.md +4 -1
- package/.claude/commands/manage-issue-discover.md +1 -0
- package/.claude/commands/manage-kg-extractors.md +5 -1
- package/.claude/commands/manage-knowhow-capture.md +1 -0
- package/.claude/commands/manage-knowledge-audit.md +3 -0
- package/.claude/commands/manage-wiki.md +1 -0
- package/.claude/commands/odyssey-debug.md +2 -1
- package/.claude/commands/odyssey-improve.md +2 -2
- package/.claude/commands/odyssey-planex.md +8 -7
- package/.claude/commands/odyssey-review-test-fix.md +4 -1
- package/.claude/commands/odyssey-ui.md +4 -4
- package/.claude/commands/quality-auto-test.md +11 -1
- package/.claude/commands/quality-debug.md +16 -2
- package/.claude/commands/quality-retrospective.md +9 -1
- package/.claude/commands/quality-review.md +8 -0
- package/.claude/commands/quality-sync.md +2 -2
- package/.claude/commands/quality-test.md +9 -1
- package/.claude/commands/security-audit.md +14 -4
- package/.claude/commands/spec-add.md +5 -2
- package/.claude/commands/spec-load.md +1 -1
- package/.claude/commands/spec-remove.md +1 -1
- package/.claude/commands/spec-setup.md +3 -0
- package/.claude/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
- package/.claude/skills/team-coordinate/specs/role-spec-template.md +197 -198
- package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
- package/.claude/skills/team-roadmap-dev/specs/team-config.json +1 -1
- package/.claude/skills/team-swarm/roles/analyst/role.md +181 -185
- package/.codex/skills/codify-to-knowhow/SKILL.md +27 -15
- package/.codex/skills/domain-add/SKILL.md +5 -3
- package/.codex/skills/learn-decompose/SKILL.md +22 -4
- package/.codex/skills/learn-follow/SKILL.md +12 -6
- package/.codex/skills/learn-investigate/SKILL.md +11 -6
- package/.codex/skills/learn-retro/SKILL.md +12 -6
- package/.codex/skills/learn-second-opinion/SKILL.md +11 -3
- package/.codex/skills/maestro/SKILL.md +19 -13
- package/.codex/skills/maestro-amend/SKILL.md +10 -2
- package/.codex/skills/maestro-analyze/SKILL.md +7 -1
- package/.codex/skills/maestro-blueprint/SKILL.md +1 -1
- package/.codex/skills/maestro-brainstorm/SKILL.md +11 -8
- package/.codex/skills/maestro-collab/SKILL.md +5 -5
- package/.codex/skills/maestro-companion/SKILL.md +4 -1
- package/.codex/skills/maestro-composer/SKILL.md +6 -3
- package/.codex/skills/maestro-execute/SKILL.md +11 -8
- package/.codex/skills/maestro-fork/SKILL.md +4 -3
- package/.codex/skills/maestro-grill/SKILL.md +1 -1
- package/.codex/skills/maestro-guard/SKILL.md +1 -1
- package/.codex/skills/maestro-impeccable/SKILL.md +5 -5
- package/.codex/skills/maestro-init/SKILL.md +3 -2
- package/.codex/skills/maestro-milestone-audit/SKILL.md +21 -9
- package/.codex/skills/maestro-milestone-complete/SKILL.md +3 -3
- package/.codex/skills/maestro-milestone-release/SKILL.md +18 -1
- package/.codex/skills/maestro-next/SKILL.md +11 -10
- package/.codex/skills/maestro-overlay/SKILL.md +16 -6
- package/.codex/skills/maestro-player/SKILL.md +11 -5
- package/.codex/skills/maestro-quick/SKILL.md +2 -2
- package/.codex/skills/maestro-ralph/SKILL.md +44 -31
- package/.codex/skills/maestro-ralph-cli/SKILL.md +394 -0
- package/.codex/skills/maestro-ralph-cli-execute/SKILL.md +146 -0
- package/.codex/skills/maestro-ralph-execute/SKILL.md +105 -24
- package/.codex/skills/maestro-roadmap/SKILL.md +8 -2
- package/.codex/skills/maestro-tools-execute/SKILL.md +8 -4
- package/.codex/skills/maestro-tools-register/SKILL.md +10 -6
- package/.codex/skills/maestro-ui-codify/SKILL.md +14 -9
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +36 -14
- package/.codex/skills/manage-codebase-refresh/SKILL.md +1 -1
- package/.codex/skills/manage-drift-realign/SKILL.md +15 -12
- package/.codex/skills/manage-harvest/SKILL.md +1 -1
- package/.codex/skills/manage-issue/SKILL.md +8 -4
- package/.codex/skills/manage-issue-discover/SKILL.md +15 -14
- package/.codex/skills/manage-knowhow/SKILL.md +3 -2
- package/.codex/skills/manage-knowhow-capture/SKILL.md +4 -3
- package/.codex/skills/manage-learn/SKILL.md +2 -2
- package/.codex/skills/odyssey-debug/SKILL.md +12 -7
- package/.codex/skills/odyssey-improve/SKILL.md +11 -6
- package/.codex/skills/odyssey-planex/SKILL.md +14 -8
- package/.codex/skills/odyssey-review-test-fix/SKILL.md +12 -7
- package/.codex/skills/odyssey-ui/SKILL.md +10 -5
- package/.codex/skills/quality-auto-test/SKILL.md +13 -5
- package/.codex/skills/quality-debug/SKILL.md +18 -11
- package/.codex/skills/quality-refactor/SKILL.md +4 -4
- package/.codex/skills/quality-retrospective/SKILL.md +5 -6
- package/.codex/skills/quality-review/SKILL.md +18 -11
- package/.codex/skills/quality-sync/SKILL.md +2 -2
- package/.codex/skills/quality-test/SKILL.md +7 -5
- package/.codex/skills/security-audit/SKILL.md +7 -5
- package/.codex/skills/spec-add/SKILL.md +9 -7
- package/.codex/skills/spec-load/SKILL.md +3 -2
- package/.codex/skills/spec-map/SKILL.md +10 -1
- package/.codex/skills/spec-remove/SKILL.md +3 -2
- package/.codex/skills/team-coordinate/SKILL.md +10 -4
- package/.codex/skills/team-lifecycle-v4/SKILL.md +33 -26
- package/.codex/skills/team-quality-assurance/SKILL.md +43 -0
- package/.codex/skills/team-review/SKILL.md +50 -6
- package/.codex/skills/team-tech-debt/SKILL.md +53 -7
- package/.codex/skills/team-testing/SKILL.md +50 -2
- package/.codex/skills/wiki-connect/SKILL.md +3 -1
- package/.codex/skills/wiki-digest/SKILL.md +6 -4
- package/dashboard/dist-server/dashboard/src/server/wiki/embedding.d.ts +16 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/embedding.js +419 -44
- package/dashboard/dist-server/dashboard/src/server/wiki/embedding.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +43 -5
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/src/commands/install-backend.js +31 -16
- package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
- package/dashboard/dist-server/src/core/component-defs.js +25 -0
- package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/db/types.d.ts +3 -0
- package/dashboard/dist-server/src/graph/kg/embedding/code-embedding.d.ts +46 -0
- package/dashboard/dist-server/src/graph/kg/embedding/code-embedding.js +329 -0
- package/dashboard/dist-server/src/graph/kg/embedding/code-embedding.js.map +1 -0
- package/dashboard/dist-server/src/graph/kg/embedding/index.d.ts +2 -0
- package/dashboard/dist-server/src/graph/kg/embedding/index.js +3 -0
- package/dashboard/dist-server/src/graph/kg/embedding/index.js.map +1 -0
- package/dashboard/dist-server/src/graph/kg/engine.d.ts +19 -1
- package/dashboard/dist-server/src/graph/kg/engine.js +71 -1
- package/dashboard/dist-server/src/graph/kg/engine.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/query/scoring.d.ts +5 -0
- package/dashboard/dist-server/src/graph/kg/query/scoring.js +85 -1
- package/dashboard/dist-server/src/graph/kg/query/scoring.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/query/search.d.ts +7 -0
- package/dashboard/dist-server/src/graph/kg/query/search.js +117 -1
- package/dashboard/dist-server/src/graph/kg/query/search.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/surface/mcp-tools.js +49 -0
- package/dashboard/dist-server/src/graph/kg/surface/mcp-tools.js.map +1 -1
- package/dashboard/dist-server/src/hooks/kg-sync-hook.js +3 -0
- package/dashboard/dist-server/src/hooks/kg-sync-hook.js.map +1 -1
- package/dashboard/dist-server/src/tools/spec-loader.js +7 -3
- package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +31 -16
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +25 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/core/plugin-bridge.d.ts.map +1 -1
- package/dist/src/core/plugin-bridge.js +17 -0
- package/dist/src/core/plugin-bridge.js.map +1 -1
- package/dist/src/graph/kg/db/types.d.ts +3 -0
- package/dist/src/graph/kg/db/types.d.ts.map +1 -1
- package/dist/src/graph/kg/embedding/code-embedding.d.ts +47 -0
- package/dist/src/graph/kg/embedding/code-embedding.d.ts.map +1 -0
- package/dist/src/graph/kg/embedding/code-embedding.js +329 -0
- package/dist/src/graph/kg/embedding/code-embedding.js.map +1 -0
- package/dist/src/graph/kg/embedding/index.d.ts +3 -0
- package/dist/src/graph/kg/embedding/index.d.ts.map +1 -0
- package/dist/src/graph/kg/embedding/index.js +3 -0
- package/dist/src/graph/kg/embedding/index.js.map +1 -0
- package/dist/src/graph/kg/engine.d.ts +19 -1
- package/dist/src/graph/kg/engine.d.ts.map +1 -1
- package/dist/src/graph/kg/engine.js +71 -1
- package/dist/src/graph/kg/engine.js.map +1 -1
- package/dist/src/graph/kg/query/scoring.d.ts +5 -0
- package/dist/src/graph/kg/query/scoring.d.ts.map +1 -1
- package/dist/src/graph/kg/query/scoring.js +85 -1
- package/dist/src/graph/kg/query/scoring.js.map +1 -1
- package/dist/src/graph/kg/query/search.d.ts +7 -0
- package/dist/src/graph/kg/query/search.d.ts.map +1 -1
- package/dist/src/graph/kg/query/search.js +117 -1
- package/dist/src/graph/kg/query/search.js.map +1 -1
- package/dist/src/graph/kg/surface/mcp-tools.d.ts.map +1 -1
- package/dist/src/graph/kg/surface/mcp-tools.js +49 -0
- package/dist/src/graph/kg/surface/mcp-tools.js.map +1 -1
- package/dist/src/hooks/kg-sync-hook.d.ts.map +1 -1
- package/dist/src/hooks/kg-sync-hook.js +3 -0
- package/dist/src/hooks/kg-sync-hook.js.map +1 -1
- package/dist/src/tools/code-semantic-search.d.ts +10 -0
- package/dist/src/tools/code-semantic-search.d.ts.map +1 -0
- package/dist/src/tools/code-semantic-search.js +81 -0
- package/dist/src/tools/code-semantic-search.js.map +1 -0
- package/dist/src/tools/index.d.ts.map +1 -1
- package/dist/src/tools/index.js +4 -0
- package/dist/src/tools/index.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +7 -3
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/wiki-search.d.ts +13 -0
- package/dist/src/tools/wiki-search.d.ts.map +1 -0
- package/dist/src/tools/wiki-search.js +114 -0
- package/dist/src/tools/wiki-search.js.map +1 -0
- package/dist/src/utils/update-notices.js +23 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +4 -1
- package/workflows/agy-instructions.md +147 -161
- package/workflows/claude-instructions.md +100 -48
- package/workflows/codex-instructions.md +147 -161
- package/workflows/execute.md +4 -3
- package/workflows/explore-usage.md +41 -81
- package/workflows/grill.md +11 -0
- package/workflows/milestone-audit.md +8 -0
- package/workflows/odyssey-base-codex.md +115 -116
- package/workflows/odyssey-base.md +89 -91
- package/workflows/plan.md +6 -0
|
@@ -8,6 +8,7 @@ allowed-tools:
|
|
|
8
8
|
- shell
|
|
9
9
|
- find_files
|
|
10
10
|
- search
|
|
11
|
+
- ask_user
|
|
11
12
|
---
|
|
12
13
|
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
13
14
|
|
|
@@ -40,6 +41,8 @@ Domain term lifecycle: discover/manual → register → active → (optional) de
|
|
|
40
41
|
|
|
41
42
|
<execution>
|
|
42
43
|
Follow '~/.maestro/workflows/domain-add.md' completely.
|
|
44
|
+
|
|
45
|
+
**Confirmation gate**: Before writing to glossary.yaml, ask_user showing the term canonical name, definition, extracted aliases/keywords, tier, and target file path. Proceed only on user confirm.
|
|
43
46
|
</execution>
|
|
44
47
|
|
|
45
48
|
<error_codes>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: learn-decompose
|
|
3
3
|
description: Extract design patterns from code into specs and wiki
|
|
4
|
-
argument-hint: "<path|module> [--patterns <list>] [--save-spec] [--save-wiki]"
|
|
4
|
+
argument-hint: "<path|module> [--patterns <list>] [--save-spec] [--save-wiki] [-y]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -26,6 +26,7 @@ $ARGUMENTS — target path/module and optional flags.
|
|
|
26
26
|
- `--patterns <list>`: Comma-separated pattern names to look for (default: detect all)
|
|
27
27
|
- `--save-spec`: `invoke_skill("spec-add")` for each new pattern
|
|
28
28
|
- `--save-wiki`: create wiki note per dimension group
|
|
29
|
+
- `-y`: Skip confirmation prompts for knowhow/spec writes
|
|
29
30
|
|
|
30
31
|
**Storage read**: target files + `coding-conventions.md` + `.workflow/specs/learnings.md` (dedup)
|
|
31
32
|
**Storage write**: `.workflow/knowhow/KNW-decompose-{slug}-{date}.md` + append `.workflow/specs/learnings.md`
|
|
@@ -61,7 +62,8 @@ S_CATALOG:
|
|
|
61
62
|
→ S_PERSIST DO: write KNW-decompose report (grouped by dimension: pattern table + details)
|
|
62
63
|
|
|
63
64
|
S_PERSIST:
|
|
64
|
-
→ END
|
|
65
|
+
→ END GATE: unless -y, ask_user showing files to write and patterns to persist — proceed only on confirm
|
|
66
|
+
DO: append .workflow/specs/learnings.md [+ spec-add if --save-spec] [+ wiki note if --save-wiki]
|
|
65
67
|
|
|
66
68
|
</transitions>
|
|
67
69
|
|
|
@@ -88,8 +90,8 @@ For each finding, match against known pattern set:
|
|
|
88
90
|
| Status | Condition |
|
|
89
91
|
|--------|-----------|
|
|
90
92
|
| documented | Already in coding-conventions.md |
|
|
91
|
-
| known | In .workflow/specs/learnings.md |
|
|
92
|
-
| new | Not seen before |
|
|
93
|
+
| known | In .workflow/specs/learnings.md (if file exists) |
|
|
94
|
+
| new | Not seen before (or learnings.md absent — treat all as new) |
|
|
93
95
|
|
|
94
96
|
Flag contradictions (finding conflicts with documented convention). Merge duplicates across agents (same pattern found by multiple dimensions).
|
|
95
97
|
|
|
@@ -102,6 +104,7 @@ Flag contradictions (finding conflicts with documented convention). Merge duplic
|
|
|
102
104
|
|------|-----------|----------|
|
|
103
105
|
| E002 | No source files in target | Check target has .ts/.js files |
|
|
104
106
|
| W001 | One+ dimension agent failed | Proceed with available dimensions |
|
|
107
|
+
| W002 | .workflow/specs/learnings.md missing or malformed | Treat all patterns as new; create file on persist |
|
|
105
108
|
| W003 | Large target (>50 files) | Consider --patterns filter |
|
|
106
109
|
</error_codes>
|
|
107
110
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: learn-follow
|
|
3
3
|
description: Guided reading of code or wiki to extract patterns
|
|
4
|
-
argument-hint: "<path|wiki-id|topic> [--depth shallow|deep] [--save-wiki]"
|
|
4
|
+
argument-hint: "<path|wiki-id|topic> [--depth shallow|deep] [--save-wiki] [-y]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -31,6 +31,7 @@ $ARGUMENTS — target and optional flags.
|
|
|
31
31
|
- `--depth shallow` (default): key patterns and structure only
|
|
32
32
|
- `--depth deep`: every function, every branch, every assumption
|
|
33
33
|
- `--save-wiki`: create wiki note entry with reading notes
|
|
34
|
+
- `-y`: Skip confirmation prompts for knowhow/spec writes
|
|
34
35
|
|
|
35
36
|
**Storage read**: target file + wiki forward/backlinks + `coding-conventions.md` + `.workflow/specs/learnings.md` (dedup)
|
|
36
37
|
**Storage write**: `.workflow/knowhow/KNW-follow-{slug}-{date}.md` + append `.workflow/specs/learnings.md`
|
|
@@ -66,7 +67,8 @@ S_EXTRACT:
|
|
|
66
67
|
→ S_PERSIST DO: A_EXTRACT_PATTERNS
|
|
67
68
|
|
|
68
69
|
S_PERSIST:
|
|
69
|
-
→ END
|
|
70
|
+
→ END GATE: unless -y, ask_user showing files to write and spec-entries to append — proceed only on confirm
|
|
71
|
+
DO: write KNW-follow + append .workflow/specs/learnings.md [+ wiki note if --save-wiki]
|
|
70
72
|
|
|
71
73
|
</transitions>
|
|
72
74
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: learn-investigate
|
|
3
3
|
description: Investigate questions with hypothesis testing and evidence logging
|
|
4
|
-
argument-hint: "<question> [--scope <path>] [--max-hypotheses N]"
|
|
4
|
+
argument-hint: "<question> [--scope <path>] [--max-hypotheses N] [-y]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -24,6 +24,7 @@ $ARGUMENTS — question text and optional flags.
|
|
|
24
24
|
**Flags**:
|
|
25
25
|
- `--scope <path>`: Restrict to files under this dir (default: entire project)
|
|
26
26
|
- `--max-hypotheses N`: Max hypotheses before escalation (default: 3)
|
|
27
|
+
- `-y`: Skip confirmation prompts for report/spec writes
|
|
27
28
|
|
|
28
29
|
**Storage write**:
|
|
29
30
|
- `.workflow/knowhow/KNW-investigate-{slug}/evidence.ndjson` — structured evidence (one JSON line per item)
|
|
@@ -59,11 +60,11 @@ S_PATTERN:
|
|
|
59
60
|
→ S_HYPOTHESIZE DO: match evidence against debug-notes.md + .workflow/specs/learnings.md patterns
|
|
60
61
|
|
|
61
62
|
S_HYPOTHESIZE:
|
|
62
|
-
→ S_CLI_EXPLORE WHEN: CLI tools enabled AND hypotheses non-trivial DO: A_FORM_HYPOTHESES
|
|
63
|
-
→ S_TEST WHEN: no CLI tools OR trivial hypotheses
|
|
63
|
+
→ S_CLI_EXPLORE WHEN: CLI tools enabled (at least one tool in cli-tools.json enabled) AND hypotheses non-trivial (require cross-file tracing or data-flow analysis) DO: A_FORM_HYPOTHESES
|
|
64
|
+
→ S_TEST WHEN: no CLI tools OR trivial hypotheses (answerable by local Grep/Read) DO: A_FORM_HYPOTHESES
|
|
64
65
|
|
|
65
66
|
S_CLI_EXPLORE:
|
|
66
|
-
→ S_TEST DO: A_CLI_SUPPLEMENT (maestro delegate --
|
|
67
|
+
→ S_TEST DO: A_CLI_SUPPLEMENT (maestro delegate --to <first-enabled-tool> --mode analysis, run_in_background, STOP)
|
|
67
68
|
|
|
68
69
|
S_TEST:
|
|
69
70
|
→ S_REPORT WHEN: hypothesis confirmed DO: A_TEST_HYPOTHESIS
|
|
@@ -75,7 +76,8 @@ S_ESCALATE:
|
|
|
75
76
|
→ S_REPORT WHEN: user selects "Escalate" or still stuck DO: mark INCONCLUSIVE
|
|
76
77
|
|
|
77
78
|
S_REPORT:
|
|
78
|
-
→ END
|
|
79
|
+
→ END GATE: unless -y, ask_user showing report.md path and spec-entries to append — proceed only on confirm
|
|
80
|
+
DO: A_SYNTHESIZE_REPORT
|
|
79
81
|
|
|
80
82
|
</transitions>
|
|
81
83
|
|
|
@@ -110,7 +112,7 @@ Rank by plausibility (evidence strength). Write to understanding.md:
|
|
|
110
112
|
maestro delegate "PURPOSE: Gather evidence for hypotheses
|
|
111
113
|
TASK: Trace call chains and data flows per hypothesis | Find corroborating/contradicting patterns
|
|
112
114
|
EXPECTED: JSON [{hypothesis_rank, evidence: [{file, line, supports: bool, explanation}]}]
|
|
113
|
-
" --
|
|
115
|
+
" --to <first-enabled-tool> --mode analysis
|
|
114
116
|
```
|
|
115
117
|
Run_in_background, STOP, wait. On callback: append to evidence.ndjson.
|
|
116
118
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: learn-second-opinion
|
|
3
3
|
description: Get alternative perspectives — review, challenge, or consult
|
|
4
|
-
argument-hint: "<target> [--mode review|challenge|consult]"
|
|
4
|
+
argument-hint: "<target> [--mode review|challenge|consult] [-y]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -29,7 +29,9 @@ $ARGUMENTS — target and optional mode flag.
|
|
|
29
29
|
| `HEAD` / `staged` | `git diff HEAD` / `git diff --staged` |
|
|
30
30
|
| Phase number | Resolve via state.json.artifacts[] → plan.json |
|
|
31
31
|
|
|
32
|
-
**Flags**:
|
|
32
|
+
**Flags**:
|
|
33
|
+
- `--mode review|challenge|consult` (default: review)
|
|
34
|
+
- `-y`: Skip confirmation prompts for knowhow/spec writes
|
|
33
35
|
|
|
34
36
|
**Pre-load** (optional): `invoke_skill("spec-load")` for conventions + `maestro search "<target topic>"` for related entries.
|
|
35
37
|
|
|
@@ -64,7 +66,8 @@ S_SYNTHESIZE:
|
|
|
64
66
|
→ S_PERSIST DO: merge perspectives → agreements, disagreements, verdict, top 3 recommendations
|
|
65
67
|
|
|
66
68
|
S_PERSIST:
|
|
67
|
-
→ END
|
|
69
|
+
→ END GATE: unless -y, ask_user showing files to write and spec-entries to append — proceed only on confirm
|
|
70
|
+
DO: write KNW-opinion + append <spec-entry> blocks to .workflow/specs/learnings.md
|
|
68
71
|
|
|
69
72
|
</transitions>
|
|
70
73
|
|
|
@@ -32,7 +32,7 @@ $ARGUMENTS — user intent text, or special keywords.
|
|
|
32
32
|
|
|
33
33
|
**Flags:**
|
|
34
34
|
- `-y` / `--yes` — Auto mode: skip clarification, skip confirmation, auto-skip on errors
|
|
35
|
-
- `-c` / `--continue` — Resume previous session
|
|
35
|
+
- `-c` / `--continue` — Resume previous session. **`-c` is reserved for `--continue` across all maestro commands** — downstream skills MUST NOT redefine `-c` for other purposes to prevent collision via transparent forwarding.
|
|
36
36
|
- `--dry-run` — Show chain without executing
|
|
37
37
|
- `--super` — Read and follow `maestro-super.md`
|
|
38
38
|
</context>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-amend
|
|
3
3
|
description: Generate overlays to fix workflow command deficiencies
|
|
4
|
-
argument-hint: "[description] [--from-verify <dir>] [--from-review <dir>] [--from-session <id>] [--from-issues ISS-xxx,...] [--scan] [--dry-run]"
|
|
4
|
+
argument-hint: "[description] [--from-verify <dir>] [--from-review <dir>] [--from-session <id>] [--from-issues ISS-xxx,...] [--scan] [--dry-run] [-y]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -47,7 +47,7 @@ $ARGUMENTS -- phase number for micro mode, topic text for macro/adhoc mode, no a
|
|
|
47
47
|
|------|--------|---------|
|
|
48
48
|
| `-y` / `--yes` | Auto mode — skip interactive scoping, use recommended defaults, auto-deepen | false |
|
|
49
49
|
| `-c` / `--continue` | Resume from existing session (auto-detect session folder + discussion.md) | false |
|
|
50
|
-
| `-q` / `--quick` | Quick mode — skip exploration + scoring, go straight to decision extraction (context.md only) | false |
|
|
50
|
+
| `-q` / `--quick` | Quick mode — skip exploration + scoring, go straight to decision extraction (context.md only). **Precedence**: when combined with `-c`, the resumed session preserves its original mode (full or quick); `-q` does NOT override a resumed full session to quick mode. | false |
|
|
51
51
|
| `--from <source>` | Load upstream context package (grill:ID, brainstorm:ID, blueprint:BLP-xxx, @file, or path) | — |
|
|
52
52
|
| `--gaps [ISS-ID]` | Issue root cause analysis mode. If ISS-ID provided, analyze single issue. If omitted, analyze all open/registered issues from issues.jsonl | — |
|
|
53
53
|
|
|
@@ -88,51 +88,9 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
88
88
|
<execution>
|
|
89
89
|
Follow '~/.maestro/workflows/analyze.md' completely.
|
|
90
90
|
|
|
91
|
-
### Evidence-Backed Decisions
|
|
92
|
-
|
|
93
|
-
Every decision MUST trace to independently gathered evidence. Manual Read/Grep is preparation — NOT evidence. Valid evidence sources:
|
|
94
|
-
- cli-explore-agent output (code anchors, call chains, data flows)
|
|
95
|
-
- maestro delegate CLI analysis output (multi-perspective findings)
|
|
96
|
-
- User-provided input (domain knowledge, constraints, corrections)
|
|
97
|
-
|
|
98
|
-
Decisions without CLI/agent-sourced evidence MUST be flagged as LOW CONFIDENCE.
|
|
99
|
-
|
|
100
|
-
### Boundary Grill (Step 5 → Step 6)
|
|
101
|
-
|
|
102
|
-
After discussion rounds, BEFORE synthesis: run boundary grill per `~/.maestro/workflows/boundary-grill.md`.
|
|
103
|
-
Input: discussion.md decisions + exploration-codebase.json. Scope guard: "only analyze decisions; do not prejudge plan/execute concerns".
|
|
104
|
-
IF conflicts → results to `analysis.md` § Boundary Grill Results + update `context.md` Locked/Free/Deferred.
|
|
105
|
-
|
|
106
|
-
### Standard Mode Gates
|
|
107
|
-
|
|
108
|
-
Gates 1-4 are defined in `analyze.md`. NEVER skip gates. NEVER substitute manual Read/Grep for agent/CLI exploration.
|
|
109
|
-
|
|
110
|
-
### Artifact Verification
|
|
111
|
-
|
|
112
|
-
Before writing the completion report (Step 9), verify ALL expected artifacts exist in OUTPUT_DIR:
|
|
113
|
-
```
|
|
114
|
-
FULL_MODE_REQUIRED = [
|
|
115
|
-
"discussion.md", // Step 3+5
|
|
116
|
-
"exploration-codebase.json", // Step 4.1
|
|
117
|
-
"explorations.json" OR "perspectives.json", // Step 4.3
|
|
118
|
-
"analysis.md", // Step 6
|
|
119
|
-
"conclusions.json", // Step 7
|
|
120
|
-
"context.md", // Step 8
|
|
121
|
-
"context-package.json" // Step 8.6
|
|
122
|
-
]
|
|
123
|
-
```
|
|
124
|
-
If any artifact is missing: DO NOT report completion. Produce the missing artifact first.
|
|
125
|
-
|
|
126
91
|
### --gaps Mode
|
|
127
92
|
|
|
128
93
|
When `--gaps` is present, follow `~/.maestro/workflows/issue-gaps-analyze.md` instead of the standard pipeline.
|
|
129
|
-
|
|
130
|
-
**Handoff:** context.md is consumed by maestro-plan. In --gaps mode, context.md contains issue root causes for `plan --gaps`.
|
|
131
|
-
|
|
132
|
-
**scope_verdict** (added to context.md in Step 6 Synthesis for macro/adhoc/standalone scopes):
|
|
133
|
-
- `large` (3+ independent subsystems or hard serial dependencies) → suggest `/maestro-roadmap --from analyze:ANL-xxx`
|
|
134
|
-
- `medium` (1-2 subsystems, parallelizable) → suggest `/maestro-plan --from analyze:ANL-xxx`
|
|
135
|
-
- `small` (single-file or few-file change) → suggest `/maestro-plan --from analyze:ANL-xxx`
|
|
136
94
|
</execution>
|
|
137
95
|
|
|
138
96
|
<completion>
|
|
@@ -90,28 +90,6 @@ Each phase produces artifacts that are prerequisites for the next. Do NOT advanc
|
|
|
90
90
|
**GATE P5 → P6**: `epics/` directory with `_index.md` + individual `EPIC-*.md` files. Cross-Epic dependency map present.
|
|
91
91
|
**GATE P6**: Readiness score computed. Pass (≥80%) or Review (≥60%) required for handoff.
|
|
92
92
|
|
|
93
|
-
### Artifact Verification (before completion)
|
|
94
|
-
|
|
95
|
-
```
|
|
96
|
-
REQUIRED_ARTIFACTS = [
|
|
97
|
-
"blueprint-config.json", // P0
|
|
98
|
-
"product-brief.md", // P2
|
|
99
|
-
"glossary.json", // P2 (≥5 terms)
|
|
100
|
-
"requirements/_index.md", // P3
|
|
101
|
-
"architecture/_index.md", // P4
|
|
102
|
-
"epics/_index.md", // P5
|
|
103
|
-
"readiness-report.md", // P6
|
|
104
|
-
"blueprint-summary.md", // P6
|
|
105
|
-
"context-package.json" // P6
|
|
106
|
-
]
|
|
107
|
-
```
|
|
108
|
-
If any artifact is missing: DO NOT report completion. Go back and produce it.
|
|
109
|
-
|
|
110
|
-
### Evidence Requirement
|
|
111
|
-
|
|
112
|
-
Architecture Decision Records (ADR-*.md) MUST cite evidence for each decision:
|
|
113
|
-
- Valid: code analysis, requirement traceability (REQ-xxx), upstream context, CLI analysis output
|
|
114
|
-
- INVALID: generic rationale without reference to project-specific constraints
|
|
115
93
|
</execution>
|
|
116
94
|
|
|
117
95
|
<completion>
|
|
@@ -183,7 +161,7 @@ Status verdicts:
|
|
|
183
161
|
- [ ] Readiness gate: Pass (>=80%) or Review (>=60%) with documented caveats
|
|
184
162
|
- [ ] Artifact registered in state.json (type=blueprint)
|
|
185
163
|
- [ ] context-package.json generated for downstream consumption
|
|
186
|
-
- [ ] On gate Pass/Review: session sealed via finish-work (
|
|
164
|
+
- [ ] On gate Pass/Review: session sealed via finish-work (finish-work.md includes ask_user confirmation before state.json artifact registration and optional spec/knowhow extraction). On Fail: skip — session stays active, excluded from wiki search.
|
|
187
165
|
</success_criteria>
|
|
188
166
|
|
|
189
167
|
<on_complete>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-brainstorm
|
|
3
3
|
description: Use when exploring ideas, evaluating approaches, or needing multi-perspective analysis before implementation
|
|
4
|
-
argument-hint: "[topic|role-name] [--yes] [--count N] [--session ID] [--update] [--skip-questions] [--include-questions] [--style-skill PKG]"
|
|
4
|
+
argument-hint: "[topic|role-name] [--yes] [--count N] [--session ID] [--update] [--skip-questions] [--include-questions] [--style-skill PKG] [--review-only] [--from <source>]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
8
|
+
- edit_file
|
|
8
9
|
- shell
|
|
9
10
|
- find_files
|
|
10
11
|
- search
|
|
@@ -53,6 +54,8 @@ $ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
|
53
54
|
| `--skip-questions` | Skip context gathering questions | false |
|
|
54
55
|
| `--include-questions` | Force context gathering even if analysis exists | false |
|
|
55
56
|
| `--style-skill PKG` | Style package for ui-designer role | — |
|
|
57
|
+
| `--review-only` | Run cross-role review on existing analyses without re-running role analysis | false |
|
|
58
|
+
| `--from <source>` | Load upstream context package (grill:ID, blueprint:ID, @file, or path) | — |
|
|
56
59
|
|
|
57
60
|
### Pre-load specs
|
|
58
61
|
1. **Architecture specs**: Run `maestro load --type spec --category arch` to load architecture constraints. Use as context for multi-role analysis — ensures roles respect documented decisions.
|
|
@@ -92,35 +95,15 @@ These gates apply to Auto mode (full pipeline). Do NOT advance past a gate until
|
|
|
92
95
|
- BLOCKED if missing: complete all role analyses before spawning cross-role-reviewer.
|
|
93
96
|
|
|
94
97
|
**GATE 2.5: Cross-Role Review → Boundary Grill** (Step 4.5 → Step 4.6)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
IF conflicts → results to `guidance-specification.md` §12.5 + feed into GATE 3. NON-BLOCKING.
|
|
98
|
+
- REQUIRED: Boundary grill executed per workflow boundary-grill.md after cross-role review.
|
|
99
|
+
- NON-BLOCKING: conflicts logged as warnings.
|
|
98
100
|
|
|
99
101
|
**GATE 3: Cross-Role Review → Completion** (Step 4.5/4.6 → Report)
|
|
100
102
|
- REQUIRED: Cross-role-reviewer output received with `patch_targets[]`.
|
|
101
|
-
- REQUIRED: Boundary grill completed
|
|
102
|
-
- REQUIRED:
|
|
103
|
-
- REQUIRED: If findings == 0, final report explicitly states "No cross-role issues detected".
|
|
103
|
+
- REQUIRED: Boundary grill completed.
|
|
104
|
+
- REQUIRED: Resolutions applied and logged (details in workflow).
|
|
104
105
|
- BLOCKED if missing: complete review synthesis before reporting.
|
|
105
106
|
|
|
106
|
-
### Artifact Verification (before completion report)
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
AUTO_MODE_REQUIRED = [
|
|
110
|
-
"guidance-specification.md", // Step 1
|
|
111
|
-
"{role}/analysis.md" (per selected role), // Step 3
|
|
112
|
-
"{role}/analysis-F-*.md" (per feature), // Step 3
|
|
113
|
-
]
|
|
114
|
-
```
|
|
115
|
-
If any artifact is missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
116
|
-
|
|
117
|
-
### Evidence Requirement
|
|
118
|
-
|
|
119
|
-
Role analysis findings in `{role}/analysis.md` §2 Decision Digest MUST cite concrete evidence:
|
|
120
|
-
- Code references (file:line), API endpoints, data models from the codebase
|
|
121
|
-
- User-provided constraints from interview
|
|
122
|
-
- Cross-role references to other role analyses
|
|
123
|
-
Decisions without evidence are flagged LOW CONFIDENCE.
|
|
124
107
|
</execution>
|
|
125
108
|
|
|
126
109
|
<completion>
|
|
@@ -45,6 +45,7 @@ S_CONFIRM — 展示计划、用户确认(-y 跳过) PE
|
|
|
45
45
|
S_FANOUT — 构建 prompt、并行启动 delegate、STOP PERSIST: —
|
|
46
46
|
S_COLLECT — 回调到达、收集结果 PERSIST: per-tool outputs
|
|
47
47
|
S_CROSS_VERIFY — 分类发现(共识/冲突/独有) PERSIST: —
|
|
48
|
+
S_BOUNDARY_GRILL — 边界冲突检测与解决 PERSIST: —
|
|
48
49
|
S_SYNTHESIZE — 解决冲突、生成 3 个输出文件 PERSIST: outputs
|
|
49
50
|
S_REGISTER — 注册 CLB artifact PERSIST: state.json
|
|
50
51
|
S_REPORT — 显示摘要 + next-step routing PERSIST: —
|
|
@@ -86,7 +87,9 @@ S_SYNTHESIZE:
|
|
|
86
87
|
→ S_REGISTER DO: A_GENERATE_OUTPUTS
|
|
87
88
|
|
|
88
89
|
S_REGISTER:
|
|
89
|
-
→ S_REPORT DO: append CLB artifact to state.json (type: collab, scope: adhoc)
|
|
90
|
+
→ S_REPORT WHEN: user confirms or -y DO: append CLB artifact to state.json (type: collab, scope: adhoc)
|
|
91
|
+
→ S_REPORT WHEN: user declines DO: skip artifact registration, proceed to report
|
|
92
|
+
GUARD: ask_user "Register collab artifact to state.json?" (skipped if -y)
|
|
90
93
|
|
|
91
94
|
S_REPORT:
|
|
92
95
|
→ END DO: display summary (requirement, tools, consensus_level, per-tool status, artifact id, output dir)
|
|
@@ -98,8 +101,9 @@ S_REPORT:
|
|
|
98
101
|
### A_DISCOVER_TOOLS
|
|
99
102
|
|
|
100
103
|
```
|
|
101
|
-
shell("maestro tools list --json 2
|
|
104
|
+
shell("maestro tools list --json 2>$null || cat ~/.maestro/cli-tools.json")
|
|
102
105
|
```
|
|
106
|
+
**Note:** Shell commands MUST use the Bash tool (not PowerShell). Use POSIX syntax within Bash calls.
|
|
103
107
|
Filter: enabled == true. If --mode write: exclude type == "api-endpoint".
|
|
104
108
|
Auto-select (no --tools): first 3 eligible in config order.
|
|
105
109
|
|
|
@@ -415,7 +415,10 @@ Collect task outcome data:
|
|
|
415
415
|
|
|
416
416
|
```bash
|
|
417
417
|
# Detect files changed since companion doc creation
|
|
418
|
-
git
|
|
418
|
+
# Use git log --since for time-based filtering, then git diff for the range
|
|
419
|
+
git log --since="{companion_created_timestamp}" --format="%H" -1 # get oldest commit in range
|
|
420
|
+
git diff --name-only {oldest_commit}..HEAD # diff from that commit to HEAD
|
|
421
|
+
# Fallback if no commits since timestamp: git diff --name-only HEAD
|
|
419
422
|
```
|
|
420
423
|
|
|
421
424
|
Update frontmatter:
|
|
@@ -126,7 +126,7 @@ Read deferred `node-catalog.md` (fallback to built-in mapping):
|
|
|
126
126
|
| testing | `quality-test` |
|
|
127
127
|
| review | `quality-review` |
|
|
128
128
|
| brainstorm | `maestro-brainstorm` |
|
|
129
|
-
| analysis | `maestro delegate --
|
|
129
|
+
| analysis | `maestro delegate --to <tool> --mode analysis` |
|
|
130
130
|
| verify | `maestro-execute` |
|
|
131
131
|
| refactor | `quality-refactor` |
|
|
132
132
|
| debug | `quality-debug` |
|
|
@@ -156,7 +156,9 @@ Write `nodes.json`. Display resolved node list.
|
|
|
156
156
|
|
|
157
157
|
Read deferred `template-schema.md` (fallback to built-in structure).
|
|
158
158
|
Assemble template JSON: template_id, name, nodes, edges, checkpoints, context_schema, execution_mode.
|
|
159
|
-
|
|
159
|
+
**Confirmation gate**: ask_user showing template summary (ID, node count, variables) before writing.
|
|
160
|
+
- User confirms → write to `~/.maestro/templates/workflows/<slug>.json` and update index.json.
|
|
161
|
+
- User cancels → save draft, do not write template or index.
|
|
160
162
|
Display: path, ID, node count, variables, execute/edit commands. Clean up draft dir.
|
|
161
163
|
|
|
162
164
|
</actions>
|
|
@@ -39,7 +39,7 @@ $ARGUMENTS — phase number, or no args for milestone-wide execution, with optio
|
|
|
39
39
|
| `--method agent\|cli\|auto` | Execution method: Agent tool, CLI delegate, or auto-select | `auto` |
|
|
40
40
|
| `--executor <tool>` | Explicit executor tool for CLI delegate mode | First enabled in config |
|
|
41
41
|
| `--dir <path>` | Execute a specific plan directory instead of auto-discovery | — |
|
|
42
|
-
| `-y` / `--yes` | Auto mode — skip interactive questions | false |
|
|
42
|
+
| `-y` / `--yes` | Auto mode — skip ALL interactive questions (executor selection, wave progression, blocked prompts) | false |
|
|
43
43
|
|
|
44
44
|
### Scope routing
|
|
45
45
|
|
|
@@ -88,8 +88,14 @@ Follow '~/.maestro/workflows/execute.md' completely.
|
|
|
88
88
|
- BLOCKED if missing: summary file absent or task status not updated — halt wave progression until evidence is recorded.
|
|
89
89
|
- Do NOT silently skip failed tasks — mark as blocked with reason.
|
|
90
90
|
|
|
91
|
+
**GATE 2.5: Wave Failure Handling**
|
|
92
|
+
- IF all tasks in a wave failed: halt wave progression, report E005 with per-task failure reasons. Do NOT proceed to next wave — downstream waves depend on current wave outputs.
|
|
93
|
+
- IF cascading failure (wave N fails → wave N+1 has unmet dependencies): mark all dependent tasks in subsequent waves as `blocked` with reason `"upstream_wave_failed"`. Skip blocked waves and proceed to completion with partial results.
|
|
94
|
+
- `-y` mode: auto-skip blocked waves without prompting, log warning W002.
|
|
95
|
+
- Non `-y` mode: `ask_user` with options [retry wave / skip and continue / abort execution].
|
|
96
|
+
|
|
91
97
|
**GATE 3: All Tasks → Completion**
|
|
92
|
-
- REQUIRED: All waves executed in dependency order.
|
|
98
|
+
- REQUIRED: All waves executed in dependency order (or explicitly skipped via Gate 2.5).
|
|
93
99
|
- REQUIRED: EXC artifact registered in state.json.
|
|
94
100
|
- BLOCKED if missing: waves incomplete or EXC artifact not registered — do not report execution complete.
|
|
95
101
|
|
|
@@ -102,27 +108,37 @@ Task summaries MUST include:
|
|
|
102
108
|
|
|
103
109
|
### Post-task Knowledge Inquiry
|
|
104
110
|
|
|
105
|
-
After each task completion, check triggers:
|
|
111
|
+
After each task completion, extract structured fields from the task summary, then check triggers:
|
|
112
|
+
|
|
113
|
+
**Structured extraction** (from `.summaries/TASK-{NNN}-summary.md`):
|
|
114
|
+
- `deviations[]` — explicit plan deviations (look for "deviated", "changed approach", "instead of", "unlike plan")
|
|
115
|
+
- `design_rationale[]` — explicit design decisions (look for "chose X because", "decided to", "trade-off")
|
|
116
|
+
- `retry_count` — from `.task/TASK-{NNN}.json` status history
|
|
106
117
|
|
|
107
118
|
| Condition | Ask | Route |
|
|
108
119
|
|-----------|-----|-------|
|
|
109
|
-
|
|
|
110
|
-
| retry_count >= 2 | "Document fix pattern?" | spec-add debug |
|
|
111
|
-
|
|
|
120
|
+
| `deviations[]` is non-empty | "Record as arch constraint?" | spec-add arch |
|
|
121
|
+
| `retry_count >= 2` | "Document fix pattern?" | spec-add debug |
|
|
122
|
+
| `design_rationale[]` is non-empty | "Record as knowhow?" | spec-add learning |
|
|
112
123
|
|
|
113
124
|
On confirm → `invoke_skill("spec-add", "<category> <content> --description \"<summary>\"")`.
|
|
114
125
|
Include `--description` with a one-line summary for search result display.
|
|
115
126
|
|
|
116
127
|
### Issue Status Sync
|
|
117
128
|
|
|
118
|
-
On each task completion, if `task.issue_id` exists, sync status back to the issue in `.workflow/issues/issues.jsonl
|
|
129
|
+
On each task completion, if `task.issue_id` exists, sync status back to the issue in `.workflow/issues/issues.jsonl`.
|
|
130
|
+
|
|
131
|
+
**Confirmation gate**: Before writing to issues.jsonl, show the proposed status change and ask for confirmation — unless `-y` is active, in which case auto-approve.
|
|
119
132
|
|
|
120
133
|
```
|
|
121
134
|
For each completed/failed TASK with issue_id:
|
|
122
135
|
Read issue from issues.jsonl by issue_id
|
|
123
136
|
Collect all task_refs[] statuses for that issue:
|
|
124
|
-
all task_refs completed → issue.status = "resolved"
|
|
125
|
-
any task_ref failed → issue.status = "in_progress"
|
|
137
|
+
all task_refs completed → proposed issue.status = "resolved"
|
|
138
|
+
any task_ref failed → proposed issue.status = "in_progress"
|
|
139
|
+
IF NOT auto_mode (-y):
|
|
140
|
+
ask_user: "Update issue {issue_id} status to {proposed_status}?" [Yes / Skip]
|
|
141
|
+
IF Skip → continue to next task without writing
|
|
126
142
|
Append history entry: { action: "executed", at: <ISO>, by: "maestro-execute", summary: "TASK-{NNN} {status}" }
|
|
127
143
|
Write updated issue back to issues.jsonl
|
|
128
144
|
```
|
|
@@ -171,7 +187,9 @@ Status verdicts:
|
|
|
171
187
|
| E002 | error | Plan directory not found | Check --dir path |
|
|
172
188
|
| E003 | error | plan.json not found in directory | Verify plan.json exists, run maestro-plan first |
|
|
173
189
|
| E004 | error | No pending tasks, all tasks already completed | Check task statuses, reset if needed |
|
|
190
|
+
| E005 | error | All tasks in wave failed — wave progression halted | Review per-task failure reasons; retry wave or abort |
|
|
174
191
|
| W001 | warning | Executor completed with partial failures | Check task dependencies, retry failed wave |
|
|
192
|
+
| W002 | warning | Cascading wave failure — downstream waves auto-blocked | Review blocked tasks; re-run after fixing upstream failures |
|
|
175
193
|
</error_codes>
|
|
176
194
|
|
|
177
195
|
<success_criteria>
|
|
@@ -55,9 +55,10 @@ Fork and sync algorithm steps are defined in workflow `fork.md`.
|
|
|
55
55
|
- BLOCKED if missing: worktree creation failed or shared files not copied — do not proceed to artifact scoping.
|
|
56
56
|
|
|
57
57
|
**GATE 3: Artifact Copy → Completion**
|
|
58
|
-
- REQUIRED:
|
|
59
|
-
- REQUIRED:
|
|
60
|
-
- REQUIRED: `
|
|
58
|
+
- REQUIRED: ask_user confirmation before registry writes — show milestone scope, worktree path, and state entries to be written. User must confirm or abort.
|
|
59
|
+
- REQUIRED: `worktree-scope.json` written with milestone scope (after confirmation).
|
|
60
|
+
- REQUIRED: Scoped `state.json` written (only this milestone's artifacts) (after confirmation).
|
|
61
|
+
- REQUIRED: `worktrees.json` registry updated in main worktree (after confirmation).
|
|
61
62
|
- BLOCKED if missing: scope marker, scoped state, or registry update absent — worktree is unusable without these.
|
|
62
63
|
|
|
63
64
|
**Sync mode:**
|
|
@@ -93,22 +93,6 @@ Follow '~/.maestro/workflows/grill.md' completely.
|
|
|
93
93
|
- REQUIRED: `context-package.json` generated.
|
|
94
94
|
- BLOCKED if any artifact missing: produce it before reporting completion.
|
|
95
95
|
|
|
96
|
-
### Evidence Requirement
|
|
97
|
-
|
|
98
|
-
Grill questions MUST reference specific code (`file:line`) when challenging the user's proposal. Generic questions without code grounding are INVALID.
|
|
99
|
-
|
|
100
|
-
If codebase scan failed (W001): flag ALL subsequent locked decisions as LOW CONFIDENCE.
|
|
101
|
-
|
|
102
|
-
### Artifact Verification (before completion)
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
REQUIRED_ARTIFACTS = [
|
|
106
|
-
"grill-report.md", // Branch Log + Q&A + synthesis
|
|
107
|
-
"terminology.md", // ≥5 terms with code refs
|
|
108
|
-
"context-package.json" // Schema "context-package/1.0"
|
|
109
|
-
]
|
|
110
|
-
```
|
|
111
|
-
If any missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
112
96
|
</execution>
|
|
113
97
|
|
|
114
98
|
<completion>
|
|
@@ -169,7 +153,7 @@ Status verdicts:
|
|
|
169
153
|
- [ ] Risk register captures all unresolved tensions
|
|
170
154
|
- [ ] `context-package.json` generated with schema "context-package/1.0"
|
|
171
155
|
- [ ] Artifact registered in state.json (type=grill, id=GRL-xxx)
|
|
172
|
-
- [ ] Session sealed via finish-work
|
|
156
|
+
- [ ] Session sealed via finish-work (finish-work.md includes ask_user confirmation before state.json artifact registration and optional spec/knowhow extraction)
|
|
173
157
|
</success_criteria>
|
|
174
158
|
|
|
175
159
|
<on_complete>
|
|
@@ -66,14 +66,14 @@ Read `.workflow/config.json`. If file missing, initialize with empty guard secti
|
|
|
66
66
|
|
|
67
67
|
**`allow <path>`:**
|
|
68
68
|
- Normalize path to forward slashes, ensure trailing slash for directories
|
|
69
|
-
- If `guard.mode` is `deny`,
|
|
69
|
+
- If `guard.mode` is `deny`, ask_user: "Switching from deny to allow mode will clear existing paths ({N} paths). Continue?" — abort if user declines.
|
|
70
70
|
- Add path to `guard.paths` (deduplicate)
|
|
71
71
|
- Set `guard.enabled = true` if not already
|
|
72
72
|
- Write config
|
|
73
73
|
|
|
74
74
|
**`deny <path>`:**
|
|
75
75
|
- Normalize path to forward slashes, ensure trailing slash for directories
|
|
76
|
-
- If `guard.mode` is `allow`,
|
|
76
|
+
- If `guard.mode` is `allow`, ask_user: "Switching from allow to deny mode will clear existing paths ({N} paths). Continue?" — abort if user declines.
|
|
77
77
|
- Set `guard.mode = "deny"`
|
|
78
78
|
- Add path to `guard.paths` (deduplicate)
|
|
79
79
|
- Set `guard.enabled = true` if not already (symmetric with `allow`: adding a deny path auto-enables the guard)
|
|
@@ -204,7 +204,8 @@ Before reading any command workflow:
|
|
|
204
204
|
- `↺` marks refine loop with max iteration count
|
|
205
205
|
- Conditional steps show trigger condition
|
|
206
206
|
- Skipped conditional steps marked `(skipped)`
|
|
207
|
-
3. Create session
|
|
207
|
+
3. **Confirm chain session**: ask_user "Create chain session for '{chain_type}' targeting '{target}'?" — proceed only if user confirms. On decline, abort chain.
|
|
208
|
+
Create session: `.workflow/.maestro/ui-craft-{YYYYMMDD-HHmmss}/status.json`
|
|
208
209
|
```json
|
|
209
210
|
{ "chain_type": "...", "target": "...", "steps": [...], "current_step": 0,
|
|
210
211
|
"gate_history": [], "loop_count": 0, "status": "running" }
|
|
@@ -54,7 +54,18 @@ Follow '~/.maestro/workflows/merge.md' completely.
|
|
|
54
54
|
<completion>
|
|
55
55
|
### Knowledge inquiry
|
|
56
56
|
|
|
57
|
-
After successful merge,
|
|
57
|
+
After successful merge, use `ask_user` to confirm knowledge persistence:
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
question: "Merge 完成。是否记录里程碑经验教训?"
|
|
61
|
+
options:
|
|
62
|
+
- label: "记录经验"
|
|
63
|
+
description: "通过 spec-add 持久化此次里程碑的关键洞察"
|
|
64
|
+
- label: "跳过"
|
|
65
|
+
description: "不记录,直接完成"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
User selects "记录经验" → prompt for title/insight, then persist via `invoke_skill("spec-add", "learning \"<title>\" \"<insight>\" --keywords <kw1>,<kw2> --description \"<summary>\"")`. User selects "跳过" → proceed to next-step routing.
|
|
58
69
|
|
|
59
70
|
### Next-step routing
|
|
60
71
|
|
|
@@ -25,6 +25,7 @@ Produces audit-report.md with PASS/FAIL verdict.
|
|
|
25
25
|
|
|
26
26
|
<context>
|
|
27
27
|
Milestone: $ARGUMENTS (optional -- defaults to current_milestone from state.json).
|
|
28
|
+
If $ARGUMENTS is empty AND current_milestone is null → raise E001 with message "No milestone specified and no current_milestone set in state.json. Provide a milestone identifier as argument."
|
|
28
29
|
|
|
29
30
|
**Requires:** All phases in the milestone should have completed execute artifacts.
|
|
30
31
|
|
|
@@ -71,21 +72,6 @@ Audit checklist steps (phase coverage, ad-hoc completeness, execution completene
|
|
|
71
72
|
- REQUIRED: Clear PASS/FAIL verdict determined with evidence for each check.
|
|
72
73
|
- BLOCKED if missing: integration check not completed — do not write report without cross-artifact verification.
|
|
73
74
|
|
|
74
|
-
### Artifact Verification (before completion)
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
REQUIRED_ARTIFACTS = [
|
|
78
|
-
".workflow/milestones/{milestone}/audit-report.md" // Clear PASS/FAIL verdict
|
|
79
|
-
]
|
|
80
|
-
```
|
|
81
|
-
If missing: DO NOT report completion. Write the audit report first.
|
|
82
|
-
|
|
83
|
-
### Evidence Requirement
|
|
84
|
-
|
|
85
|
-
Every audit check result MUST cite what was examined and what was found:
|
|
86
|
-
- PASS: "Phase 1 chain complete: ANL-001 → PLN-001 → EXC-001, all tasks completed"
|
|
87
|
-
- FAIL: "Phase 2 missing EXC artifact — PLN-002 exists but no execution found"
|
|
88
|
-
- Do NOT mark checks as PASS without verifying the actual artifact exists and contains expected content.
|
|
89
75
|
</execution>
|
|
90
76
|
|
|
91
77
|
<completion>
|