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
|
@@ -31,6 +31,8 @@ $ARGUMENTS -- optional flags.
|
|
|
31
31
|
- `--force` -- Skip confirmation prompt and proceed directly
|
|
32
32
|
- `--skip-commit` -- Do not auto-commit after rebuild
|
|
33
33
|
|
|
34
|
+
**Confirmation gate:** Unless `--force` is set, prompt the user (ask_user) before executing git commit. Show the list of changed files and proposed commit message. If `--skip-commit` is set, skip the commit entirely.
|
|
35
|
+
|
|
34
36
|
**Mapper agent assignments (when `--focus` omitted):**
|
|
35
37
|
| Agent | Focus | Output file |
|
|
36
38
|
|-------|-------|-------------|
|
|
@@ -68,6 +70,7 @@ Follow '~/.maestro/workflows/codebase-rebuild.md' completely.
|
|
|
68
70
|
| Code | Severity | Condition | Recovery |
|
|
69
71
|
|------|----------|-----------|----------|
|
|
70
72
|
| E001 | error | .workflow/ not initialized | Run maestro-init first to create .workflow/ |
|
|
73
|
+
| E002 | error | All 4 mapper agents failed | Abort rebuild; check agent configuration and retry |
|
|
71
74
|
| W001 | warning | A mapper agent failed (partial results) | Retry failed mapper or accept partial results |
|
|
72
75
|
| W002 | warning | `.workflow/codebase/` already exists -- user prompted for rebuild/skip | check_existing |
|
|
73
76
|
| W003 | warning | KG validation failed (graph written with valid=false) | Review .kg-tmp/ artifacts, re-run KG pipeline |
|
|
@@ -77,7 +80,8 @@ Follow '~/.maestro/workflows/codebase-rebuild.md' completely.
|
|
|
77
80
|
<success_criteria>
|
|
78
81
|
- [ ] User confirmed rebuild (or --force used)
|
|
79
82
|
- [ ] .workflow/codebase/ cleared and rebuilt from scratch (or scoped subset when --focus set)
|
|
80
|
-
- [ ] All 4 mapper agents spawned (
|
|
83
|
+
- [ ] All 4 mapper agents spawned (all-fail → E002; partial fail → W001)
|
|
84
|
+
- [ ] If not --skip-commit: user confirmed git commit (or --force used) before committing
|
|
81
85
|
- [ ] doc-index.json generated and valid
|
|
82
86
|
- [ ] All documentation files regenerated
|
|
83
87
|
- [ ] state.json updated with rebuild timestamp
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: manage-drift-realign
|
|
3
3
|
description: Detect and realign .workflow/ artifact drift against code reality after refactoring
|
|
4
|
-
argument-hint: "--scope <roadmap|spec|codebase|state|issue|knowhow|project|all> [--since YYYY-MM-DD|commit|HEAD~N] [--depth shallow|deep] [--dry-run] [--report] [--auto-archive] [--interactive]"
|
|
4
|
+
argument-hint: "[--scope <roadmap|spec|codebase|state|issue|knowhow|project|all>] [--since YYYY-MM-DD|commit|HEAD~N] [--depth shallow|deep] [--dry-run] [--report] [--auto-archive] [--interactive]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -45,7 +45,10 @@ Arguments: $ARGUMENTS
|
|
|
45
45
|
|
|
46
46
|
**`--interactive`:** 逐项交互分诊(默认)。
|
|
47
47
|
|
|
48
|
-
**互斥规则:**
|
|
48
|
+
**互斥规则:**
|
|
49
|
+
- `--report` 覆盖 `--interactive`
|
|
50
|
+
- `--auto-archive` 覆盖 `--interactive`
|
|
51
|
+
- `--report` 与 `--auto-archive` 互斥(同时传入 → E006)
|
|
49
52
|
|
|
50
53
|
**状态文件读取:**
|
|
51
54
|
- `.workflow/state.json`
|
|
@@ -129,6 +132,7 @@ Follow `~/.maestro/workflows/drift-realign.md` Stages 1-9 in order.
|
|
|
129
132
|
| E003 | error | git 不可用(非 git 仓库) | 初始化 git |
|
|
130
133
|
| E004 | error | `--since` 无法解析 | 检查日期格式或 commit ref |
|
|
131
134
|
| E005 | error | 备份失败 | 检查磁盘空间 |
|
|
135
|
+
| E006 | error | `--report` 与 `--auto-archive` 同时传入 | 二选一:`--report` 仅生成报告,`--auto-archive` 执行归档 |
|
|
132
136
|
| W001 | warning | session 历史不可用(wiki 未索引) | 运行 `maestro wiki rebuild` |
|
|
133
137
|
| W002 | warning | `drift_window` > 180 天 | 建议使用 `--depth deep` |
|
|
134
138
|
| W003 | warning | 部分 scanner agent 失败 | 以部分覆盖继续 |
|
|
@@ -35,7 +35,10 @@ Arguments: $ARGUMENTS
|
|
|
35
35
|
- `<session-id>` (e.g., `ANL-auth-20260410`, `WFS-xxx`) → `session` mode: harvest specific session
|
|
36
36
|
- `<path>` (e.g., `.workflow/.analysis/ANL-auth-20260410/`) → `path` mode: harvest from explicit directory
|
|
37
37
|
|
|
38
|
-
Flags
|
|
38
|
+
**Flags:**
|
|
39
|
+
- `-y` / `--yes` — Skip confirmation prompts for all write operations (artifact selection, routing decisions, store writes). Useful for CI or batch harvesting.
|
|
40
|
+
|
|
41
|
+
Additional flags, source registry (scan paths), and storage locations defined in workflow harvest.md.
|
|
39
42
|
</context>
|
|
40
43
|
|
|
41
44
|
<execution>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: manage-kg-extractors
|
|
3
3
|
description: Analyze codebase patterns and generate .workflow/kg/extractors.yaml for custom symbol extraction
|
|
4
|
-
argument-hint: "[--scan-only] [--append] [--language <lang>]"
|
|
4
|
+
argument-hint: "[--scan-only] [--append] [--language <lang>] [--min-count <n>]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -26,6 +26,7 @@ $ARGUMENTS -- optional flags.
|
|
|
26
26
|
- `--scan-only` — Only report detected patterns, don't write extractors.yaml
|
|
27
27
|
- `--append` — Append new rules to existing extractors.yaml (default: overwrite)
|
|
28
28
|
- `--language <lang>` — Limit analysis to specific language (python, typescript, java, etc.)
|
|
29
|
+
- `--min-count <n>` — Minimum occurrences to include a pattern (default: 3). Use `--min-count 1` to include rare patterns.
|
|
29
30
|
|
|
30
31
|
**Analysis targets (per language):**
|
|
31
32
|
|
|
@@ -79,6 +80,8 @@ Spawn **3 parallel agents** to scan the codebase:
|
|
|
79
80
|
|
|
80
81
|
Each agent returns: `[{pattern_type, regex_evidence, file_count, sample_matches: [{file, line, code}]}]`
|
|
81
82
|
|
|
83
|
+
**Gate:** If all 3 agents return empty results → E002 (abort). If at least 1 agent succeeds, proceed with partial results (log W001 for failed agents).
|
|
84
|
+
|
|
82
85
|
### Phase 2: Generate rules
|
|
83
86
|
|
|
84
87
|
For each discovered pattern with ≥3 occurrences:
|
|
@@ -114,6 +117,7 @@ If `--scan-only`: stop after Phase 2 summary.
|
|
|
114
117
|
| Code | Severity | Condition | Recovery |
|
|
115
118
|
|------|----------|-----------|----------|
|
|
116
119
|
| E001 | error | .workflow/ not initialized | Run maestro-init first |
|
|
120
|
+
| E002 | error | All 3 Phase 1 agents failed — zero patterns discovered | Check codebase language detection; retry with `--language` |
|
|
117
121
|
| W001 | warning | No patterns detected for language | Try broader scan or different language |
|
|
118
122
|
| W002 | warning | Pattern has < 3 occurrences | Skipped by default, include with --min-count 1 |
|
|
119
123
|
| W003 | warning | Existing extractors.yaml will be overwritten | Use --append to preserve |
|
|
@@ -34,6 +34,8 @@ Arguments: $ARGUMENTS
|
|
|
34
34
|
|
|
35
35
|
**删除策略**默认 `--interactive`(三态面板逐项决策);非交互模式 `--mark`(仅打标)/ `--delete`(软删到 `.trash/`)/ `--purge`(物理擦除,仅 artifact 且需双重确认)。
|
|
36
36
|
|
|
37
|
+
**互斥规则:** `--interactive`、`--mark`、`--delete`、`--purge` 四选一,同时传入多个 → E006。
|
|
38
|
+
|
|
37
39
|
Flag 全集、scope 对应的扫描路径、Stage 步骤、检测算法定义在 workflow knowledge-audit.md。
|
|
38
40
|
</context>
|
|
39
41
|
|
|
@@ -113,6 +115,7 @@ Follow `~/.maestro/workflows/knowledge-audit.md` Stages 1-8 in order.
|
|
|
113
115
|
| E003 | error | `--purge` 与 `--dry-run` 同用 | 二选一 |
|
|
114
116
|
| E004 | error | `--purge` 作用于非 artifact 范围 | purge 仅支持 artifact scope |
|
|
115
117
|
| E005 | error | 备份失败(`.trash/` 写入异常) | 检查磁盘空间与权限,重试 |
|
|
118
|
+
| E006 | error | `--interactive`/`--mark`/`--delete`/`--purge` 同时传入多个 | 四选一,默认 `--interactive` |
|
|
116
119
|
| W001 | warning | 检出冲突但用户选择 keep | 记入 report,不阻断 |
|
|
117
120
|
| W002 | warning | 待删 artifact 无 harvest-log 记录 | 提示先跑 manage-harvest |
|
|
118
121
|
| W003 | warning | 循环 supersedes 链 | 自动断环或交互选保留节点 |
|
|
@@ -38,6 +38,7 @@ $ARGUMENTS — subcommand and optional flags.
|
|
|
38
38
|
**Flags:**
|
|
39
39
|
- `--type <type>` — Filter by wiki type: spec, knowhow, note, issue
|
|
40
40
|
- `--fix` — Auto-fix issues found during cleanup/connect (remove broken links, apply connections)
|
|
41
|
+
- `--dry-run` — Preview mode, no writes. **Overrides `--fix`**: when both are passed, `--dry-run` takes precedence (preview only, no fixes applied).
|
|
41
42
|
- `--json` — Output in JSON format
|
|
42
43
|
- `--min-similarity N` — (connect) Minimum similarity threshold for link candidates
|
|
43
44
|
- `--max N` — (connect) Maximum number of suggestions
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: odyssey-debug
|
|
3
3
|
description: Long-running debug cycle — archaeology, diagnosis, fix, confirmation, generalization, discovery, and knowledge persistence
|
|
4
|
-
argument-hint: "<issue> [--skip-fix] [--skip-generalize] [--auto] [-y] [-c] [--heartbeat]"
|
|
4
|
+
argument-hint: "<issue> [--template <name>] [--skip-fix] [--skip-generalize] [--auto] [-y] [-c] [--heartbeat]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -239,6 +239,7 @@ All sibling bugs fixed or issued — no leftovers.
|
|
|
239
239
|
| E001 | error | No issue, no session | Provide issue or -c |
|
|
240
240
|
| W001 | warning | No relevant git history | Proceed |
|
|
241
241
|
| W002 | warning | 3 retries exhausted | INCONCLUSIVE |
|
|
242
|
+
| W003 | warning | Partial archaeology agent failure (Timeline or Blame) | Proceed with available results, log failed agent |
|
|
242
243
|
| W005 | warning | Pending decisions | Filter evidence phase=decision |
|
|
243
244
|
| W006 | warning | No CLI tools | Skip explore |
|
|
244
245
|
</error_codes>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: odyssey-improve
|
|
3
3
|
description: Long-running codebase improvement cycle — multi-dimensional audit, deep diagnosis, targeted fix, verify, generalize, and engineering knowledge persistence
|
|
4
|
-
argument-hint: "<target> [--dimensions <list>] [--skip-fix] [--skip-generalize] [--auto] [-y] [-c] [--heartbeat]"
|
|
4
|
+
argument-hint: "<target> [--dimensions <list>] [--fix-threshold <severity>] [--skip-fix] [--skip-generalize] [--auto] [-y] [-c] [--heartbeat]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -191,7 +191,7 @@ Commit: `"odyssey-improve({slug}): DIAGNOSE — root cause analysis"`
|
|
|
191
191
|
`retries++`. < 3: `maestro delegate --role analyze`, new hypotheses, → S_DIAGNOSE. >= 3: Normal → ask_user | `-y` → INCONCLUSIVE → S_RECORD.
|
|
192
192
|
|
|
193
193
|
### A_FIX
|
|
194
|
-
1. Exhaustive fix: ALL diagnosed issues by severity tier (critical → high → medium → low within fix_threshold), one dimension at a time. After each tier, re-verify — new findings append to current tier.
|
|
194
|
+
1. Exhaustive fix: ALL diagnosed issues by severity tier (critical → high → medium → low within fix_threshold), one dimension at a time. After each tier, re-verify **current tier's dimension only** (not all dimensions) — new findings at same or higher severity append to current tier. Cross-dimension regression checks run once at S_VERIFY after all tiers complete.
|
|
195
195
|
2. For each fix: implement → evidence phase=fix
|
|
196
196
|
3. Normal: ask_user per-fix confirmation | `-y`: auto-proceed, record `deferred`
|
|
197
197
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: odyssey-planex
|
|
3
3
|
description: Requirement-driven iterative cycle — plan, execute, strict verify, fix loop until acceptance criteria met
|
|
4
|
-
argument-hint: "<requirement> [--max-iterations N] [--skip-generalize] [--auto] [--method agent|cli|auto] [--executor <tool>] [--skip-verify] [--heartbeat] [-y] [-c]"
|
|
4
|
+
argument-hint: "<requirement> [--template <name>] [--max-iterations N] [--skip-generalize] [--auto] [--method agent|cli|auto] [--executor <tool>] [--skip-verify] [--heartbeat] [-y] [-c]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -110,7 +110,7 @@ Applies to: **S_PLAN, S_VERIFY, S_GENERALIZE**. Logic in base.
|
|
|
110
110
|
<state_machine>
|
|
111
111
|
|
|
112
112
|
<states>
|
|
113
|
-
S_INTAKE → S_PLAN → S_EXECUTE → S_VERIFY → S_GENERALIZE → S_DISCOVER → S_RECORD → END
|
|
113
|
+
S_INTAKE → S_PLAN → S_EXECUTE → S_VERIFY → S_FIX → S_GENERALIZE → S_DISCOVER → S_RECORD → END
|
|
114
114
|
</states>
|
|
115
115
|
|
|
116
116
|
<transitions>
|
|
@@ -124,7 +124,7 @@ S_EXECUTE → S_VERIFY
|
|
|
124
124
|
S_VERIFY → S_GENERALIZE : all passed AND NOT skip_generalize
|
|
125
125
|
S_VERIFY → S_RECORD : all passed AND skip_generalize
|
|
126
126
|
S_VERIFY → S_FIX : some failed AND iteration < max
|
|
127
|
-
S_VERIFY → S_PLAN : fundamental plan flaw → cross_phase_loops++ (replan)
|
|
127
|
+
S_VERIFY → S_PLAN : fundamental plan flaw → cross_phase_loops++ (replan). **Criteria preservation:** acceptance_criteria[] statuses are preserved; only plan.tasks[] are regenerated. Previously passed criteria retain `passed` status; failed criteria reset to `pending` for re-verification after new plan execution.
|
|
128
128
|
S_VERIFY → S_RECORD : some failed AND iteration >= max (escalate)
|
|
129
129
|
|
|
130
130
|
S_FIX → S_VERIFY (loop)
|
|
@@ -297,7 +297,7 @@ Iron gate — every acceptance criterion checked objectively.
|
|
|
297
297
|
|--------|--------|
|
|
298
298
|
| `test` | Run relevant tests, check pass/fail |
|
|
299
299
|
| `grep` | Grep for expected pattern |
|
|
300
|
-
| `cli-review` | `maestro delegate --role review --mode analysis`
|
|
300
|
+
| `cli-review` | `maestro delegate "PURPOSE: Verify criterion {criterion_id}: {criterion}\nTASK: Read implementation code \| Check behavior matches criterion \| Report pass/fail with file:line evidence\nMODE: analysis\nCONTEXT: @{relevant_files}\nEXPECTED: JSON {criterion_id, status: passed\|failed, evidence: [{file, line, detail}]}" --role review --mode analysis` |
|
|
301
301
|
| `manual` | Normal: ask_user / `-y`: record `deferred` |
|
|
302
302
|
|
|
303
303
|
Record per criterion: `{"phase":"verification","type":"criterion-check","criterion_id":"AC1","method":"","result":"passed|failed","evidence":"","iteration":N}`. Update acceptance_criteria[].status. Append to iterations[].
|
|
@@ -314,11 +314,12 @@ Commit: `"odyssey-planex({slug}): VERIFY — acceptance check"`
|
|
|
314
314
|
2. For each failed criterion: diagnose gap → targeted code fix
|
|
315
315
|
3. CLI fix review (optional):
|
|
316
316
|
```bash
|
|
317
|
-
maestro delegate "PURPOSE: Review fixes for failing criteria
|
|
318
|
-
TASK: Check fix correctness | Verify no regressions on passing criteria
|
|
317
|
+
maestro delegate "PURPOSE: Review fixes for failing criteria; success = no regressions and fixes correct
|
|
318
|
+
TASK: Check fix correctness | Verify no regressions on passing criteria | Report verdict with file:line evidence
|
|
319
319
|
MODE: analysis
|
|
320
320
|
CONTEXT: @{modified_files} | Passing: {passing} | Fixed: {fixed}
|
|
321
|
-
EXPECTED: JSON {verdict, regression_risk, concerns}
|
|
321
|
+
EXPECTED: JSON {verdict: passed|concerns_found, regression_risk: low|medium|high, concerns: [{criterion_id, file, line, description}]}
|
|
322
|
+
CONSTRAINTS: Read-only | Check ALL passing criteria for regressions
|
|
322
323
|
" --role review --mode analysis
|
|
323
324
|
```
|
|
324
325
|
4. Append evidence (fix), update understanding.md section 5 → S_VERIFY
|
|
@@ -135,6 +135,8 @@ Glob latest session → read `session.json` → jump to `current_state`.
|
|
|
135
135
|
### A_ARCHAEOLOGY
|
|
136
136
|
2 parallel Agents: Timeline (`git log --oneline -20 -- {files}`) + Blame (top 3 files `git blame -L {region}`). Evidence phase=archaeology.
|
|
137
137
|
|
|
138
|
+
**Error handling:** If any archaeology agent fails (Timeline or Blame), log W003 and proceed with available results. If delegate fails, log W003 and proceed with local agent results only.
|
|
139
|
+
|
|
138
140
|
`maestro delegate --role analyze --mode analysis` (`run_in_background: true`):
|
|
139
141
|
- PURPOSE: Review recent modifications related to {target}
|
|
140
142
|
- EXPECTED: JSON [{commit_sha, risk_level, analysis, could_cause_issue, explanation}]
|
|
@@ -172,7 +174,7 @@ for tier in [critical, high, medium, low].filter(>= threshold):
|
|
|
172
174
|
```
|
|
173
175
|
|
|
174
176
|
Normal: ask_user per tier. `-y`: auto-fix all.
|
|
175
|
-
Remaining > 0 → retry (
|
|
177
|
+
Remaining > 0 → retry (max_fix_rounds = 5). Unchanged 2 rounds → classify each individually. After 5 rounds with remaining > 0 → escalate: Normal: ask_user (continue/accept/reclassify) | `-y`: classify remaining as `deferred`, proceed.
|
|
176
178
|
Blanket "pre-existing" forbidden.
|
|
177
179
|
|
|
178
180
|
Commit per tier: `"odyssey-review({slug}): FIX-{tier} — {N} items fixed"`
|
|
@@ -237,6 +239,7 @@ Every finding must have action (fix/issue/decision). Decision pending must ask_u
|
|
|
237
239
|
| E002 | error | Target path not found | Check path |
|
|
238
240
|
| W001 | warning | No git history | Proceed |
|
|
239
241
|
| W002 | warning | Some dimension agents failed | Partial coverage |
|
|
242
|
+
| W003 | warning | Archaeology agent or delegate failure | Proceed with available results |
|
|
240
243
|
</error_codes>
|
|
241
244
|
|
|
242
245
|
<success_criteria>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: odyssey-ui
|
|
3
3
|
description: Long-running UI optimization cycle — visual survey, multi-dimensional audit, divergent exploration, fix, verify, generalize, and design knowledge persistence
|
|
4
|
-
argument-hint: "<target> [--dimensions <list>] [--skip-fix] [--skip-generalize] [--auto] [-y] [-c] [--heartbeat]"
|
|
4
|
+
argument-hint: "<target> [--dimensions <list>] [--fix-threshold <severity>] [--skip-fix] [--skip-generalize] [--auto] [-y] [-c] [--heartbeat]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -138,7 +138,7 @@ Glob latest session → read `session.json` → jump to `current_state`.
|
|
|
138
138
|
### A_SURVEY
|
|
139
139
|
1. **Design system inventory**: Scan for design tokens, CSS variables, theme imports
|
|
140
140
|
2. **Current state analysis**: Styling patterns, layout strategy, component hierarchy
|
|
141
|
-
3. **CLI-assisted**: `maestro delegate --role analyze` — survey tokens, spacing, typography, hierarchy, consistency
|
|
141
|
+
3. **CLI-assisted**: `maestro delegate --role analyze --mode analysis` — survey tokens, spacing, typography, hierarchy, consistency
|
|
142
142
|
4. Append evidence phase=survey. Update section 2. Mark G1.
|
|
143
143
|
|
|
144
144
|
Commit: `"odyssey-ui({slug}): SURVEY — design token inventory"`
|
|
@@ -169,7 +169,7 @@ Goes beyond defect fixing — "what would make this delightful?"
|
|
|
169
169
|
|
|
170
170
|
Each returns `[{idea, category (polish|delight), impact, effort, description, inspiration}]`
|
|
171
171
|
|
|
172
|
-
**Step 2 — CLI-assisted**: `maestro delegate --role analyze` — polish opportunities, micro-interactions, visual rhythm, delight moments
|
|
172
|
+
**Step 2 — CLI-assisted**: `maestro delegate --role analyze --mode analysis` — polish opportunities, micro-interactions, visual rhythm, delight moments
|
|
173
173
|
|
|
174
174
|
**Step 3 — Consolidate**: Merge audit findings + divergent ideas → prioritized list (severity x impact x effort).
|
|
175
175
|
Append evidence phase=diverge. Update section 4. Mark G3.
|
|
@@ -186,7 +186,7 @@ Commit: `"odyssey-ui({slug}): FIX — implement improvements"`
|
|
|
186
186
|
|
|
187
187
|
### A_VERIFY
|
|
188
188
|
1. Run tests (lint, unit, visual regression)
|
|
189
|
-
2. `maestro delegate --role review` — visual correctness, interaction states, accessibility, responsive
|
|
189
|
+
2. `maestro delegate --role review --mode analysis` — visual correctness, interaction states, accessibility, responsive
|
|
190
190
|
3. `needs_rework` → S_FIX. `verified` → mark G4. Update section 5, write `confirmation`.
|
|
191
191
|
|
|
192
192
|
Commit: `"odyssey-ui({slug}): VERIFY — visual verification"`
|
|
@@ -27,6 +27,8 @@ Layers L0→L3 sequential (fail-fast), scenarios within layer parallel. `--max-i
|
|
|
27
27
|
Phase or task: $ARGUMENTS (required — phase number)
|
|
28
28
|
|
|
29
29
|
**Flags:**
|
|
30
|
+
- `-c N` — Resume from iteration N of an existing session (skips setup, resumes from last checkpoint)
|
|
31
|
+
- `-y` — Skip confirmation prompts for artifact registration and issue creation
|
|
30
32
|
- `--max-iter N` — Maximum outer iterations (default: 5). Set to 1 for single-pass generation only.
|
|
31
33
|
- `--layer L` — Start from or restrict to specific layer (L0|L1|L2|L3)
|
|
32
34
|
- `--dry-run` — Generate test plan only, do not execute
|
|
@@ -92,6 +94,14 @@ Follow '~/.maestro/workflows/auto-test.md' completely.
|
|
|
92
94
|
- Generate regression test scenarios from confirmed root causes, marked `source: "debug_root_cause"`
|
|
93
95
|
|
|
94
96
|
**Register artifact on completion:**
|
|
97
|
+
|
|
98
|
+
Unless `-y` flag is set, confirm before writing:
|
|
99
|
+
```
|
|
100
|
+
ask_user("Register auto-test artifact TST-{NNN} in state.json? (yes/no)")
|
|
101
|
+
→ yes: proceed with write
|
|
102
|
+
→ no: skip registration, continue to next-step routing
|
|
103
|
+
```
|
|
104
|
+
|
|
95
105
|
```
|
|
96
106
|
Append to state.json.artifacts[]:
|
|
97
107
|
{
|
|
@@ -149,7 +159,7 @@ Append to state.json.artifacts[]:
|
|
|
149
159
|
- [ ] report.json includes confidence section
|
|
150
160
|
- [ ] index.json updated with auto_test section
|
|
151
161
|
- [ ] If spec source: traceability matrix built, traceability.md written
|
|
152
|
-
- [ ] If failures: issues
|
|
162
|
+
- [ ] If failures: issues created in issues.jsonl (confirmed by user unless `-y`)
|
|
153
163
|
- [ ] If gap source: validation.json gaps updated (MISSING→COVERED)
|
|
154
164
|
- [ ] Next step routed based on convergence status
|
|
155
165
|
</success_criteria>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: quality-debug
|
|
3
3
|
description: Use when bugs, test failures, or unexpected behavior need systematic root cause investigation
|
|
4
|
-
argument-hint: "[issue description] [--from-uat <phase>] [--parallel]"
|
|
4
|
+
argument-hint: "[issue description] [-c] [--from-uat <phase>] [--parallel]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -75,6 +75,14 @@ Follow '~/.maestro/workflows/debug.md' completely.
|
|
|
75
75
|
- BLOCKED if inconclusive: resume session or escalate.
|
|
76
76
|
|
|
77
77
|
**Register artifact on completion (phase-scoped only):**
|
|
78
|
+
|
|
79
|
+
Confirm before writing:
|
|
80
|
+
```
|
|
81
|
+
ask_user("Register debug artifact DBG-{NNN} in state.json? (yes/no)")
|
|
82
|
+
→ yes: proceed with write
|
|
83
|
+
→ no: skip registration, continue to knowledge inquiry
|
|
84
|
+
```
|
|
85
|
+
|
|
78
86
|
```
|
|
79
87
|
Append to state.json.artifacts[]:
|
|
80
88
|
{
|
|
@@ -94,13 +102,19 @@ Append to state.json.artifacts[]:
|
|
|
94
102
|
|
|
95
103
|
### Post-debug Knowledge Inquiry
|
|
96
104
|
|
|
105
|
+
For each matching condition, ask the user explicitly:
|
|
106
|
+
|
|
97
107
|
| Condition | Ask | Route |
|
|
98
108
|
|-----------|-----|-------|
|
|
99
109
|
| Recurring root cause pattern (seen in prior debug) | "Document in debug-notes.md?" | spec-add debug |
|
|
100
110
|
| Non-obvious fix / workaround | "Record as learning?" | spec-add learning |
|
|
101
111
|
| Root cause = architectural boundary violation | "Update architecture-constraints.md?" | spec-add arch |
|
|
102
112
|
|
|
103
|
-
|
|
113
|
+
```
|
|
114
|
+
ask_user("<ask text> (yes/no)")
|
|
115
|
+
→ yes: invoke_skill("spec-add", "<category> <content> --description \"<summary>\"")
|
|
116
|
+
→ no: skip this entry, proceed to next condition or completion
|
|
117
|
+
```
|
|
104
118
|
|
|
105
119
|
</execution>
|
|
106
120
|
|
|
@@ -32,7 +32,14 @@ Post-execution retrospective (复盘): four parallel lenses (technical/process/q
|
|
|
32
32
|
<context>
|
|
33
33
|
Arguments: $ARGUMENTS
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
**Flags:**
|
|
36
|
+
- `-y` — Skip confirmation prompts for external writes (issues.jsonl, spec entries, knowhow capture)
|
|
37
|
+
- `--no-route` — Skip routing stage (produce retrospective files only, no spec/issue/knowhow writes)
|
|
38
|
+
- `--compare N` — Compare current phase retrospective against phase N (requires single phase argument)
|
|
39
|
+
- `--all` — Run retrospective on all completed phases that lack retrospective.json
|
|
40
|
+
- `--lens <name>` — Restrict to specific lens (technical|process|quality|decision); default: all four
|
|
41
|
+
|
|
42
|
+
Modes (scan/single/range/all) and storage paths defined in workflow retrospective.md Argument Shape and Stages 1-7.
|
|
36
43
|
</context>
|
|
37
44
|
|
|
38
45
|
<execution>
|
|
@@ -57,6 +64,7 @@ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order.
|
|
|
57
64
|
- REQUIRED: `retrospective.md` written (human-readable).
|
|
58
65
|
- REQUIRED: Issue rows match canonical `issues.jsonl` schema (status "open", full fields).
|
|
59
66
|
- REQUIRED: Note tips routed via `invoke_skill({ skill: "manage-knowhow-capture", args: "tip ..." })`.
|
|
67
|
+
- REQUIRED: Unless `-y` flag is set, confirm before each external write (issues.jsonl append, spec-entry append, knowhow-capture). With `-y`, skip all confirmation prompts.
|
|
60
68
|
- BLOCKED if routing incomplete: finish all write operations before reporting.
|
|
61
69
|
|
|
62
70
|
### Execution Constraints
|
|
@@ -82,6 +82,14 @@ Follow '~/.maestro/workflows/review.md' completely.
|
|
|
82
82
|
- `REVIEW_DIR/review.json` — findings, severity distribution, verdict
|
|
83
83
|
|
|
84
84
|
**Register artifact on completion:**
|
|
85
|
+
|
|
86
|
+
Confirm before writing state.json and issues.jsonl:
|
|
87
|
+
```
|
|
88
|
+
ask_user("Register review artifact REV-{NNN} in state.json and create {N} issues in issues.jsonl? (yes/no)")
|
|
89
|
+
→ yes: proceed with both writes
|
|
90
|
+
→ no: skip registration and issue creation, continue to completion
|
|
91
|
+
```
|
|
92
|
+
|
|
85
93
|
```
|
|
86
94
|
Append to state.json.artifacts[]:
|
|
87
95
|
{
|
|
@@ -44,7 +44,7 @@ Follow '~/.maestro/workflows/sync.md' completely.
|
|
|
44
44
|
|
|
45
45
|
**GATE 3: Refresh → Completion**
|
|
46
46
|
- REQUIRED: `.workflow/codebase/` docs refreshed for affected components.
|
|
47
|
-
- REQUIRED: state.json
|
|
47
|
+
- REQUIRED: If `--dry-run` is set, skip state.json write and report what would change. Otherwise, update state.json with sync timestamp.
|
|
48
48
|
- BLOCKED if missing: do not report completion without updated docs.
|
|
49
49
|
</execution>
|
|
50
50
|
|
|
@@ -82,7 +82,7 @@ maestro ralph complete <idx> --status {STATUS} [--evidence {path}]
|
|
|
82
82
|
</error_codes>
|
|
83
83
|
|
|
84
84
|
<success_criteria>
|
|
85
|
-
- [ ] state.json updated with current sync timestamp
|
|
85
|
+
- [ ] state.json updated with current sync timestamp (skipped if `--dry-run`)
|
|
86
86
|
- [ ] Codebase docs refreshed for all affected components
|
|
87
87
|
- [ ] doc-index.json reflects current file state
|
|
88
88
|
- [ ] Changes tracked and logged
|
|
@@ -92,6 +92,14 @@ Follow '~/.maestro/workflows/test.md' completely.
|
|
|
92
92
|
- Generate regression test scenarios from confirmed root causes, marked `source: "debug_root_cause"`
|
|
93
93
|
|
|
94
94
|
**Register artifact on completion:**
|
|
95
|
+
|
|
96
|
+
Confirm before writing:
|
|
97
|
+
```
|
|
98
|
+
ask_user("Register test artifact TST-{NNN} in state.json? (yes/no)")
|
|
99
|
+
→ yes: proceed with write
|
|
100
|
+
→ no: skip registration, continue to completion
|
|
101
|
+
```
|
|
102
|
+
|
|
95
103
|
```
|
|
96
104
|
Append to state.json.artifacts[]:
|
|
97
105
|
{
|
|
@@ -165,7 +173,7 @@ maestro ralph complete <idx> --status {STATUS} [--evidence {path}]
|
|
|
165
173
|
- [ ] Pressure pass completed if > 80% pass rate
|
|
166
174
|
- [ ] Confidence summary appended to uat.md
|
|
167
175
|
- [ ] index.json uat fields updated
|
|
168
|
-
- [ ] If issues: parallel debug agents
|
|
176
|
+
- [ ] If issues: confirm with user before spawning parallel debug agents per gap cluster
|
|
169
177
|
- [ ] Gaps updated with root_cause, fix_direction, affected_files
|
|
170
178
|
- [ ] Gap-fix loop triggered if --auto-fix (max 2 iterations)
|
|
171
179
|
- [ ] Next step routed (phase-transition if pass, verify if auto-fix success, debug --from-uat if issues, test-gen if low coverage)
|
|
@@ -100,10 +100,12 @@ Check for:
|
|
|
100
100
|
|
|
101
101
|
**Phase 4: Secrets Detection** (standard + deep)
|
|
102
102
|
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
```
|
|
104
|
+
search({
|
|
105
|
+
pattern: "(password|secret|api.?key|token|credential).*=.*['\"][^'\"]{8,}",
|
|
106
|
+
glob: "*.{ts,js,json,env*}",
|
|
107
|
+
output_mode: "content"
|
|
108
|
+
})
|
|
107
109
|
```
|
|
108
110
|
|
|
109
111
|
Check `.env.example` for leaked values. Check `.gitignore` for missing `.env` patterns.
|
|
@@ -161,6 +163,14 @@ Summary: {total} findings ({critical} critical, {high} high, {medium} medium, {l
|
|
|
161
163
|
```
|
|
162
164
|
|
|
163
165
|
**Register artifact on completion:**
|
|
166
|
+
|
|
167
|
+
Confirm before writing:
|
|
168
|
+
```
|
|
169
|
+
ask_user("Register security-audit artifact RVW-{NNN} in state.json? (yes/no)")
|
|
170
|
+
→ yes: proceed with write
|
|
171
|
+
→ no: skip registration, continue to completion
|
|
172
|
+
```
|
|
173
|
+
|
|
164
174
|
```
|
|
165
175
|
Append to state.json.artifacts[]:
|
|
166
176
|
{
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: spec-add
|
|
3
3
|
description: Add spec entry by category with role tagging
|
|
4
|
-
argument-hint: "[--scope project|global|team|personal] <category> <content>"
|
|
4
|
+
argument-hint: "[--scope project|global|team|personal] [-y] <category> <content>"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
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
|
|
|
@@ -47,6 +48,8 @@ Scope-to-directory mapping, category-to-file mapping, and entry format defined i
|
|
|
47
48
|
|
|
48
49
|
<execution>
|
|
49
50
|
Follow '~/.maestro/workflows/specs-add.md' completely.
|
|
51
|
+
|
|
52
|
+
**Confirmation gate**: Unless -y flag is passed, after formatting the `<spec-entry>` block but before appending to the target file, ask_user showing the formatted entry, target file path, and scope. Proceed only on user confirm.
|
|
50
53
|
</execution>
|
|
51
54
|
|
|
52
55
|
<error_codes>
|
|
@@ -54,7 +57,7 @@ Follow '~/.maestro/workflows/specs-add.md' completely.
|
|
|
54
57
|
|------|----------|-------------|-------|
|
|
55
58
|
| E001 | fatal | Category and content are both required | parse_input |
|
|
56
59
|
| E002 | fatal | Specs directory not initialized -- run `maestro spec init --scope <scope>` | validate_entry |
|
|
57
|
-
| E003 | fatal | Invalid category -- must be one of: coding, arch, quality, debug, test, review, learning,
|
|
60
|
+
| E003 | fatal | Invalid category -- must be one of: coding, arch, quality, debug, test, review, learning, ui | parse_input |
|
|
58
61
|
| E004 | fatal | Invalid scope -- must be one of: project, global, team, personal | parse_input |
|
|
59
62
|
| E005 | fatal | Personal scope requires uid -- use `--uid` or run `maestro collab join` first | parse_input |
|
|
60
63
|
</error_codes>
|
|
@@ -29,7 +29,7 @@ $ARGUMENTS -- optional flags and keyword
|
|
|
29
29
|
- `global`: global + project merged (~/.maestro/specs/ + .workflow/specs/)
|
|
30
30
|
- `team`: project + team shared (.workflow/collab/specs/)
|
|
31
31
|
- `personal`: project + team + personal (requires uid)
|
|
32
|
-
- `--category <category>` — Load by category: primary category doc (full) + cross-file entries with matching category attr. Categories: coding, arch, test, review, debug, learning, ui.
|
|
32
|
+
- `--category <category>` — Load by category: primary category doc (full) + cross-file entries with matching category attr. Categories: coding, arch, quality, test, review, debug, learning, ui.
|
|
33
33
|
- `--keyword <word>` — Filter by keyword within entries
|
|
34
34
|
|
|
35
35
|
**File → Primary Category mapping:**
|
|
@@ -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
|
|
|
@@ -29,6 +30,8 @@ $ARGUMENTS (no arguments expected)
|
|
|
29
30
|
|
|
30
31
|
<execution>
|
|
31
32
|
Follow '~/.maestro/workflows/specs-setup.md' completely.
|
|
33
|
+
|
|
34
|
+
**Confirmation gate**: After scanning codebase and determining which files/directories will be created (core specs, optional specs, recipe knowhow), ask_user showing the full list of files to create with their categories and detected signals. Proceed only on user confirm.
|
|
32
35
|
</execution>
|
|
33
36
|
|
|
34
37
|
<error_codes>
|