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
|
@@ -5,179 +5,175 @@ inner_loop: false
|
|
|
5
5
|
output_tag: [analyst]
|
|
6
6
|
message_types:
|
|
7
7
|
---
|
|
8
|
-
|
|
9
|
-
# Analyst Role — Phase 2-4
|
|
10
|
-
|
|
11
|
-
Tag: `[analyst]` | Prefix: `ANALYST-*`
|
|
12
|
-
Responsibility: After swarm converges, synthesize the best solution + top trails + convergence curve into a human-readable `best-solution.md` report. Provides interpretation, not just data dump.
|
|
13
|
-
|
|
14
|
-
## Boundaries
|
|
15
|
-
|
|
16
|
-
### MUST
|
|
17
|
-
- Read `<session>/best.json`, `<session>/artifacts/swarm-report.json`, all `<session>/trails/*.jsonl`
|
|
18
|
-
- Produce `<session>/artifacts/best-solution.md` as the final deliverable
|
|
19
|
-
- Explain WHY the best path won (which decisions mattered, evidence chain)
|
|
20
|
-
- Compare best vs runner-ups to surface stability vs luck
|
|
21
|
-
- Document convergence story (entropy curve, when stagnation hit)
|
|
22
|
-
|
|
23
|
-
### MUST NOT
|
|
24
|
-
- Re-score solutions (that is scorer's job — analyst takes verified_score as given)
|
|
25
|
-
- Modify best.json, trails, or pheromone state
|
|
26
|
-
- Generate solutions of its own — analyst synthesizes existing ant outputs
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
## Phase 2: Context Loading
|
|
30
|
-
|
|
31
|
-
| Input | Source | Required |
|
|
32
|
-
|-------|--------|----------|
|
|
33
|
-
| Original objective | `<session>/swarm-config.json#ant_prompt.objective` | Yes |
|
|
34
|
-
| Best solution | `<session>/best.json` | Yes |
|
|
35
|
-
| Full swarm report | `<session>/artifacts/swarm-report.json` | Yes |
|
|
36
|
-
| All trails | `<session>/trails/*.jsonl` | Yes |
|
|
37
|
-
| Convergence reason | swarm-report.json or `aco.py converged` output | Yes |
|
|
38
|
-
| Best ant artifact | `<session>/artifacts/ant-<best.iteration>-<best.id>.json` (full evidence) | Yes |
|
|
39
|
-
| Issues log | `<session>/wisdom/issues.md` | Optional |
|
|
40
|
-
|
|
41
|
-
Workflow:
|
|
42
|
-
1. Extract session path from task description
|
|
43
|
-
2. Read swarm-config.json -> capture objective
|
|
44
|
-
3. Read best.json -> identify best ant
|
|
45
|
-
4. Read full swarm-report.json -> get top_k + convergence_curve
|
|
46
|
-
5. Read the best ant's full artifact for evidence chain
|
|
47
|
-
6. Read all trails/*.jsonl into a list (chronological)
|
|
48
|
-
|
|
49
|
-
## Phase 3: Synthesis
|
|
50
|
-
|
|
51
|
-
### 3.1 Structure the report
|
|
52
|
-
|
|
53
|
-
Layout for `best-solution.md`:
|
|
54
|
-
|
|
55
|
-
```markdown
|
|
56
|
-
# Swarm Result — <objective_short_form>
|
|
57
|
-
|
|
58
|
-
## Best Solution
|
|
59
|
-
|
|
60
|
-
**Path**: node_a → node_c → node_f
|
|
61
|
-
**Verified Score**: 0.82
|
|
62
|
-
**Iteration**: 3 of 5
|
|
63
|
-
**Ant**: ANT-3-2
|
|
64
|
-
|
|
65
|
-
### Summary
|
|
66
|
-
<one paragraph — what the best solution proposes and why it answers the objective>
|
|
67
|
-
|
|
68
|
-
### Evidence Chain
|
|
69
|
-
- `src/foo.ts:42` — <how this evidence supports the decision>
|
|
70
|
-
- `tests/foo.spec.ts:18` — <...>
|
|
71
|
-
|
|
72
|
-
### Candidate Artifact
|
|
73
|
-
<extract from best.candidate_solution — quote or summarize, link to file if file_ref>
|
|
74
|
-
|
|
75
|
-
## Why This Path Won
|
|
76
|
-
|
|
77
|
-
| Decision | Pheromone-guided? | Why it mattered |
|
|
78
|
-
|----------|-------------------|-----------------|
|
|
79
|
-
| start = node_a | weighted | <reason> |
|
|
80
|
-
| a → c | yes (0.45 hint) | <reason> |
|
|
81
|
-
| c → f | NO (deviation) | <reason> — this was the key call |
|
|
82
|
-
|
|
83
|
-
## Runner-Up Solutions
|
|
84
|
-
|
|
85
|
-
| Rank | Ant | Path | Score | Diff from best |
|
|
86
|
-
|------|-----|------|-------|----------------|
|
|
87
|
-
| 2 | ANT-2-1 | a → b → e | 0.74 | -0.08; weaker evidence at e |
|
|
88
|
-
| 3 | ANT-4-3 | a → c → g | 0.71 | -0.11; valid but less specific |
|
|
89
|
-
|
|
90
|
-
## Convergence Story
|
|
91
|
-
|
|
92
|
-
Iterations: 4 of 5 max
|
|
93
|
-
Trigger: stagnation (best unchanged for 2 iterations)
|
|
94
|
-
|
|
95
|
-
Entropy curve:
|
|
96
|
-
- iter 1: 3.21 (broad exploration)
|
|
97
|
-
- iter 2: 2.45 (narrowing on node_a region)
|
|
98
|
-
- iter 3: 1.85 (best emerges at ANT-3-2)
|
|
99
|
-
- iter 4: 1.72 (consensus around best, no improvement)
|
|
100
|
-
|
|
101
|
-
Interpretation: <2-3 sentences on whether the swarm converged on a genuine optimum or got stuck>
|
|
102
|
-
|
|
103
|
-
## Caveats
|
|
104
|
-
|
|
105
|
-
- <e.g., 40% of ants in iter 2 flagged as hallucinations>
|
|
106
|
-
- <e.g., evidence for node_f is single-source — recommend manual verification>
|
|
107
|
-
- <e.g., search space had only N nodes — larger space may surface better solutions>
|
|
108
|
-
|
|
109
|
-
## Reproducibility
|
|
110
|
-
|
|
111
|
-
- Config: `swarm-config.json` (pinned)
|
|
112
|
-
- Best path: `best.json`
|
|
113
|
-
- Full trails: `trails/<iter>.jsonl`
|
|
114
|
-
- Random seed: <if used>
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
### 3.2 Interpretation rules
|
|
118
|
-
|
|
119
|
-
- **Why-it-won analysis** is the highest-value content. Don't just describe the path — explain which decisions were pivotal.
|
|
120
|
-
- **Pheromone vs deviation**: track which steps followed pheromone hints vs deviated. Deviations that produced higher scores are the most interesting signal.
|
|
121
|
-
- **Runner-up diff**: surface why #2 lost — was it a weaker path or just unlucky evidence?
|
|
122
|
-
- **Caveats are mandatory**: every swarm result has limitations. List them honestly.
|
|
123
|
-
|
|
124
|
-
### 3.3 Constraints
|
|
125
|
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
- Every
|
|
137
|
-
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
|
178
|
-
|
|
179
|
-
|
|
|
180
|
-
| Trails empty | Same as above — no exploration data to analyze |
|
|
181
|
-
| Best ant artifact missing | Use only best.json fields; note as caveat |
|
|
182
|
-
| Cross-ref mismatch (score discrepancy) | Trust best.json; note discrepancy in caveats |
|
|
183
|
-
| Line count > 200 after rewrite | Hard-fail report; coordinator decides retry vs accept |
|
|
8
|
+
|
|
9
|
+
# Analyst Role — Phase 2-4
|
|
10
|
+
|
|
11
|
+
Tag: `[analyst]` | Prefix: `ANALYST-*`
|
|
12
|
+
Responsibility: After swarm converges, synthesize the best solution + top trails + convergence curve into a human-readable `best-solution.md` report. Provides interpretation, not just data dump.
|
|
13
|
+
|
|
14
|
+
## Boundaries
|
|
15
|
+
|
|
16
|
+
### MUST
|
|
17
|
+
- Read `<session>/best.json`, `<session>/artifacts/swarm-report.json`, all `<session>/trails/*.jsonl`
|
|
18
|
+
- Produce `<session>/artifacts/best-solution.md` as the final deliverable
|
|
19
|
+
- Explain WHY the best path won (which decisions mattered, evidence chain)
|
|
20
|
+
- Compare best vs runner-ups to surface stability vs luck
|
|
21
|
+
- Document convergence story (entropy curve, when stagnation hit)
|
|
22
|
+
|
|
23
|
+
### MUST NOT
|
|
24
|
+
- Re-score solutions (that is scorer's job — analyst takes verified_score as given)
|
|
25
|
+
- Modify best.json, trails, or pheromone state
|
|
26
|
+
- Generate solutions of its own — analyst synthesizes existing ant outputs
|
|
27
|
+
- Pad best-solution.md with prose — every section must earn its place
|
|
28
|
+
|
|
29
|
+
## Phase 2: Context Loading
|
|
30
|
+
|
|
31
|
+
| Input | Source | Required |
|
|
32
|
+
|-------|--------|----------|
|
|
33
|
+
| Original objective | `<session>/swarm-config.json#ant_prompt.objective` | Yes |
|
|
34
|
+
| Best solution | `<session>/best.json` | Yes |
|
|
35
|
+
| Full swarm report | `<session>/artifacts/swarm-report.json` | Yes |
|
|
36
|
+
| All trails | `<session>/trails/*.jsonl` | Yes |
|
|
37
|
+
| Convergence reason | swarm-report.json or `aco.py converged` output | Yes |
|
|
38
|
+
| Best ant artifact | `<session>/artifacts/ant-<best.iteration>-<best.id>.json` (full evidence) | Yes |
|
|
39
|
+
| Issues log | `<session>/wisdom/issues.md` | Optional |
|
|
40
|
+
|
|
41
|
+
Workflow:
|
|
42
|
+
1. Extract session path from task description
|
|
43
|
+
2. Read swarm-config.json -> capture objective
|
|
44
|
+
3. Read best.json -> identify best ant
|
|
45
|
+
4. Read full swarm-report.json -> get top_k + convergence_curve
|
|
46
|
+
5. Read the best ant's full artifact for evidence chain
|
|
47
|
+
6. Read all trails/*.jsonl into a list (chronological)
|
|
48
|
+
|
|
49
|
+
## Phase 3: Synthesis
|
|
50
|
+
|
|
51
|
+
### 3.1 Structure the report
|
|
52
|
+
|
|
53
|
+
Layout for `best-solution.md`:
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
# Swarm Result — <objective_short_form>
|
|
57
|
+
|
|
58
|
+
## Best Solution
|
|
59
|
+
|
|
60
|
+
**Path**: node_a → node_c → node_f
|
|
61
|
+
**Verified Score**: 0.82
|
|
62
|
+
**Iteration**: 3 of 5
|
|
63
|
+
**Ant**: ANT-3-2
|
|
64
|
+
|
|
65
|
+
### Summary
|
|
66
|
+
<one paragraph — what the best solution proposes and why it answers the objective>
|
|
67
|
+
|
|
68
|
+
### Evidence Chain
|
|
69
|
+
- `src/foo.ts:42` — <how this evidence supports the decision>
|
|
70
|
+
- `tests/foo.spec.ts:18` — <...>
|
|
71
|
+
|
|
72
|
+
### Candidate Artifact
|
|
73
|
+
<extract from best.candidate_solution — quote or summarize, link to file if file_ref>
|
|
74
|
+
|
|
75
|
+
## Why This Path Won
|
|
76
|
+
|
|
77
|
+
| Decision | Pheromone-guided? | Why it mattered |
|
|
78
|
+
|----------|-------------------|-----------------|
|
|
79
|
+
| start = node_a | weighted | <reason> |
|
|
80
|
+
| a → c | yes (0.45 hint) | <reason> |
|
|
81
|
+
| c → f | NO (deviation) | <reason> — this was the key call |
|
|
82
|
+
|
|
83
|
+
## Runner-Up Solutions
|
|
84
|
+
|
|
85
|
+
| Rank | Ant | Path | Score | Diff from best |
|
|
86
|
+
|------|-----|------|-------|----------------|
|
|
87
|
+
| 2 | ANT-2-1 | a → b → e | 0.74 | -0.08; weaker evidence at e |
|
|
88
|
+
| 3 | ANT-4-3 | a → c → g | 0.71 | -0.11; valid but less specific |
|
|
89
|
+
|
|
90
|
+
## Convergence Story
|
|
91
|
+
|
|
92
|
+
Iterations: 4 of 5 max
|
|
93
|
+
Trigger: stagnation (best unchanged for 2 iterations)
|
|
94
|
+
|
|
95
|
+
Entropy curve:
|
|
96
|
+
- iter 1: 3.21 (broad exploration)
|
|
97
|
+
- iter 2: 2.45 (narrowing on node_a region)
|
|
98
|
+
- iter 3: 1.85 (best emerges at ANT-3-2)
|
|
99
|
+
- iter 4: 1.72 (consensus around best, no improvement)
|
|
100
|
+
|
|
101
|
+
Interpretation: <2-3 sentences on whether the swarm converged on a genuine optimum or got stuck>
|
|
102
|
+
|
|
103
|
+
## Caveats
|
|
104
|
+
|
|
105
|
+
- <e.g., 40% of ants in iter 2 flagged as hallucinations>
|
|
106
|
+
- <e.g., evidence for node_f is single-source — recommend manual verification>
|
|
107
|
+
- <e.g., search space had only N nodes — larger space may surface better solutions>
|
|
108
|
+
|
|
109
|
+
## Reproducibility
|
|
110
|
+
|
|
111
|
+
- Config: `swarm-config.json` (pinned)
|
|
112
|
+
- Best path: `best.json`
|
|
113
|
+
- Full trails: `trails/<iter>.jsonl`
|
|
114
|
+
- Random seed: <if used>
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### 3.2 Interpretation rules
|
|
118
|
+
|
|
119
|
+
- **Why-it-won analysis** is the highest-value content. Don't just describe the path — explain which decisions were pivotal.
|
|
120
|
+
- **Pheromone vs deviation**: track which steps followed pheromone hints vs deviated. Deviations that produced higher scores are the most interesting signal.
|
|
121
|
+
- **Runner-up diff**: surface why #2 lost — was it a weaker path or just unlucky evidence?
|
|
122
|
+
- **Caveats are mandatory**: every swarm result has limitations. List them honestly.
|
|
123
|
+
|
|
124
|
+
### 3.3 Constraints
|
|
125
|
+
|
|
126
|
+
- No prose padding — every section earns its place
|
|
127
|
+
- Quote evidence verbatim where possible (file:line refs)
|
|
128
|
+
- Don't editorialize beyond what evidence supports
|
|
129
|
+
|
|
130
|
+
## Phase 4: Verify + Publish
|
|
131
|
+
|
|
132
|
+
### Behavioral Traits
|
|
133
|
+
|
|
134
|
+
#### Accuracy
|
|
135
|
+
- Every cited path/score MUST match best.json or trails source
|
|
136
|
+
- Every evidence reference MUST be verifiable (Read to confirm if file_ref)
|
|
137
|
+
- Convergence curve numbers MUST match swarm-report.json#convergence_curve
|
|
138
|
+
|
|
139
|
+
#### Feedback Contract
|
|
140
|
+
| Field | Required | Content |
|
|
141
|
+
|-------|----------|---------|
|
|
142
|
+
| artifacts_written | Always | `<session>/artifacts/best-solution.md` |
|
|
143
|
+
| line_count | Always | int (informational) |
|
|
144
|
+
| verification_method | Always | "cross_ref_with_best.json + evidence_verified" |
|
|
145
|
+
|
|
146
|
+
#### Quality Gate
|
|
147
|
+
- Final report file exists and parses as markdown
|
|
148
|
+
- All sections present (Best Solution / Why Won / Runner-Ups / Convergence / Caveats / Reproducibility)
|
|
149
|
+
|
|
150
|
+
### Verification Steps
|
|
151
|
+
|
|
152
|
+
1. Read written best-solution.md back
|
|
153
|
+
2. Cross-check best.score against best.json
|
|
154
|
+
3. Confirm runner-up scores against trails
|
|
155
|
+
4. If file_ref evidence in best.candidate_solution -> Read to confirm file exists
|
|
156
|
+
|
|
157
|
+
### State Update
|
|
158
|
+
|
|
159
|
+
```json
|
|
160
|
+
{
|
|
161
|
+
"task_id": "ANALYST-1",
|
|
162
|
+
"role": "analyst",
|
|
163
|
+
"status": "completed",
|
|
164
|
+
"artifact_path": "<session>/artifacts/best-solution.md",
|
|
165
|
+
"best_score": <float>,
|
|
166
|
+
"best_ant_id": "<id>",
|
|
167
|
+
"line_count": <int>,
|
|
168
|
+
"verification": "cross_ref_pass + evidence_verified"
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Error Handling
|
|
173
|
+
|
|
174
|
+
| Scenario | Resolution |
|
|
175
|
+
|----------|------------|
|
|
176
|
+
| best.json missing | Pipeline produced no valid ant — write minimal report with `status: no_solution` |
|
|
177
|
+
| Trails empty | Same as above — no exploration data to analyze |
|
|
178
|
+
| Best ant artifact missing | Use only best.json fields; note as caveat |
|
|
179
|
+
| Cross-ref mismatch (score discrepancy) | Trust best.json; note discrepancy in caveats |
|
|
@@ -8,6 +8,7 @@ allowed-tools:
|
|
|
8
8
|
- Bash
|
|
9
9
|
- Glob
|
|
10
10
|
- Grep
|
|
11
|
+
- AskUserQuestion
|
|
11
12
|
---
|
|
12
13
|
<purpose>
|
|
13
14
|
Register a domain term into `.workflow/domain/glossary.yaml`. Domain terms are automatically injected into agent context via hooks (domain-compact for all prompts, domain-expanded on keyword match).
|
|
@@ -38,6 +39,8 @@ Domain term lifecycle: discover/manual → register → active → (optional) de
|
|
|
38
39
|
|
|
39
40
|
<execution>
|
|
40
41
|
Follow '~/.maestro/workflows/domain-add.md' completely.
|
|
42
|
+
|
|
43
|
+
**Confirmation gate**: Before writing to glossary.yaml, AskUserQuestion showing the term canonical name, definition, extracted aliases/keywords, tier, and target file path. Proceed only on user confirm.
|
|
41
44
|
</execution>
|
|
42
45
|
|
|
43
46
|
<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
|
|
7
7
|
- Write
|
|
@@ -24,6 +24,7 @@ $ARGUMENTS — target path/module and optional flags.
|
|
|
24
24
|
- `--patterns <list>`: Comma-separated pattern names to look for (default: detect all)
|
|
25
25
|
- `--save-spec`: `Skill("spec-add")` for each new pattern
|
|
26
26
|
- `--save-wiki`: create wiki note per dimension group
|
|
27
|
+
- `-y`: Skip confirmation prompts for knowhow/spec writes
|
|
27
28
|
|
|
28
29
|
**Storage read**: target files + `coding-conventions.md` + `.workflow/specs/learnings.md` (dedup)
|
|
29
30
|
**Storage write**: `.workflow/knowhow/KNW-decompose-{slug}-{date}.md` + append `.workflow/specs/learnings.md`
|
|
@@ -59,7 +60,8 @@ S_CATALOG:
|
|
|
59
60
|
→ S_PERSIST DO: write KNW-decompose report (grouped by dimension: pattern table + details)
|
|
60
61
|
|
|
61
62
|
S_PERSIST:
|
|
62
|
-
→ END
|
|
63
|
+
→ END GATE: unless -y, AskUserQuestion showing files to write and patterns to persist — proceed only on confirm
|
|
64
|
+
DO: append .workflow/specs/learnings.md [+ spec-add if --save-spec] [+ wiki note if --save-wiki]
|
|
63
65
|
|
|
64
66
|
</transitions>
|
|
65
67
|
|
|
@@ -86,8 +88,8 @@ For each finding, match against known pattern set:
|
|
|
86
88
|
| Status | Condition |
|
|
87
89
|
|--------|-----------|
|
|
88
90
|
| documented | Already in coding-conventions.md |
|
|
89
|
-
| known | In .workflow/specs/learnings.md |
|
|
90
|
-
| new | Not seen before |
|
|
91
|
+
| known | In .workflow/specs/learnings.md (if file exists) |
|
|
92
|
+
| new | Not seen before (or learnings.md absent — treat all as new) |
|
|
91
93
|
|
|
92
94
|
Flag contradictions (finding conflicts with documented convention). Merge duplicates across agents (same pattern found by multiple dimensions).
|
|
93
95
|
|
|
@@ -100,6 +102,7 @@ Flag contradictions (finding conflicts with documented convention). Merge duplic
|
|
|
100
102
|
|------|-----------|----------|
|
|
101
103
|
| E002 | No source files in target | Check target has .ts/.js files |
|
|
102
104
|
| W001 | One+ dimension agent failed | Proceed with available dimensions |
|
|
105
|
+
| W002 | .workflow/specs/learnings.md missing or malformed | Treat all patterns as new; create file on persist |
|
|
103
106
|
| W003 | Large target (>50 files) | Consider --patterns filter |
|
|
104
107
|
</error_codes>
|
|
105
108
|
|
|
@@ -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
|
|
7
7
|
- Write
|
|
@@ -29,6 +29,7 @@ $ARGUMENTS — target and optional flags.
|
|
|
29
29
|
- `--depth shallow` (default): key patterns and structure only
|
|
30
30
|
- `--depth deep`: every function, every branch, every assumption
|
|
31
31
|
- `--save-wiki`: create wiki note entry with reading notes
|
|
32
|
+
- `-y`: Skip confirmation prompts for knowhow/spec writes
|
|
32
33
|
|
|
33
34
|
**Storage read**: target file + wiki forward/backlinks + `coding-conventions.md` + `.workflow/specs/learnings.md` (dedup)
|
|
34
35
|
**Storage write**: `.workflow/knowhow/KNW-follow-{slug}-{date}.md` + append `.workflow/specs/learnings.md`
|
|
@@ -64,7 +65,8 @@ S_EXTRACT:
|
|
|
64
65
|
→ S_PERSIST DO: A_EXTRACT_PATTERNS
|
|
65
66
|
|
|
66
67
|
S_PERSIST:
|
|
67
|
-
→ END
|
|
68
|
+
→ END GATE: unless -y, AskUserQuestion showing files to write and spec-entries to append — proceed only on confirm
|
|
69
|
+
DO: write KNW-follow + append .workflow/specs/learnings.md [+ wiki note if --save-wiki]
|
|
68
70
|
|
|
69
71
|
</transitions>
|
|
70
72
|
|
|
@@ -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
|
|
7
7
|
- Write
|
|
@@ -22,6 +22,7 @@ $ARGUMENTS — question text and optional flags.
|
|
|
22
22
|
**Flags**:
|
|
23
23
|
- `--scope <path>`: Restrict to files under this dir (default: entire project)
|
|
24
24
|
- `--max-hypotheses N`: Max hypotheses before escalation (default: 3)
|
|
25
|
+
- `-y`: Skip confirmation prompts for report/spec writes
|
|
25
26
|
|
|
26
27
|
**Storage write**:
|
|
27
28
|
- `.workflow/knowhow/KNW-investigate-{slug}/evidence.ndjson` — structured evidence (one JSON line per item)
|
|
@@ -57,11 +58,11 @@ S_PATTERN:
|
|
|
57
58
|
→ S_HYPOTHESIZE DO: match evidence against debug-notes.md + .workflow/specs/learnings.md patterns
|
|
58
59
|
|
|
59
60
|
S_HYPOTHESIZE:
|
|
60
|
-
→ S_CLI_EXPLORE WHEN: CLI tools enabled AND hypotheses non-trivial DO: A_FORM_HYPOTHESES
|
|
61
|
-
→ S_TEST WHEN: no CLI tools OR trivial hypotheses
|
|
61
|
+
→ 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
|
|
62
|
+
→ S_TEST WHEN: no CLI tools OR trivial hypotheses (answerable by local Grep/Read) DO: A_FORM_HYPOTHESES
|
|
62
63
|
|
|
63
64
|
S_CLI_EXPLORE:
|
|
64
|
-
→ S_TEST DO: A_CLI_SUPPLEMENT (maestro delegate --
|
|
65
|
+
→ S_TEST DO: A_CLI_SUPPLEMENT (maestro delegate --to <first-enabled-tool> --mode analysis, run_in_background, STOP)
|
|
65
66
|
|
|
66
67
|
S_TEST:
|
|
67
68
|
→ S_REPORT WHEN: hypothesis confirmed DO: A_TEST_HYPOTHESIS
|
|
@@ -73,7 +74,8 @@ S_ESCALATE:
|
|
|
73
74
|
→ S_REPORT WHEN: user selects "Escalate" or still stuck DO: mark INCONCLUSIVE
|
|
74
75
|
|
|
75
76
|
S_REPORT:
|
|
76
|
-
→ END
|
|
77
|
+
→ END GATE: unless -y, AskUserQuestion showing report.md path and spec-entries to append — proceed only on confirm
|
|
78
|
+
DO: A_SYNTHESIZE_REPORT
|
|
77
79
|
|
|
78
80
|
</transitions>
|
|
79
81
|
|
|
@@ -108,7 +110,7 @@ Rank by plausibility (evidence strength). Write to understanding.md:
|
|
|
108
110
|
maestro delegate "PURPOSE: Gather evidence for hypotheses
|
|
109
111
|
TASK: Trace call chains and data flows per hypothesis | Find corroborating/contradicting patterns
|
|
110
112
|
EXPECTED: JSON [{hypothesis_rank, evidence: [{file, line, supports: bool, explanation}]}]
|
|
111
|
-
" --
|
|
113
|
+
" --to <first-enabled-tool> --mode analysis
|
|
112
114
|
```
|
|
113
115
|
Run_in_background, STOP, wait. On callback: append to evidence.ndjson.
|
|
114
116
|
|
|
@@ -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
|
|
7
7
|
- Write
|
|
@@ -27,7 +27,9 @@ $ARGUMENTS — target and optional mode flag.
|
|
|
27
27
|
| `HEAD` / `staged` | `git diff HEAD` / `git diff --staged` |
|
|
28
28
|
| Phase number | Resolve via state.json.artifacts[] → plan.json |
|
|
29
29
|
|
|
30
|
-
**Flags**:
|
|
30
|
+
**Flags**:
|
|
31
|
+
- `--mode review|challenge|consult` (default: review)
|
|
32
|
+
- `-y`: Skip confirmation prompts for knowhow/spec writes
|
|
31
33
|
|
|
32
34
|
**Pre-load** (optional): `Skill("spec-load")` for conventions + `maestro search "<target topic>"` for related entries.
|
|
33
35
|
|
|
@@ -62,7 +64,8 @@ S_SYNTHESIZE:
|
|
|
62
64
|
→ S_PERSIST DO: merge perspectives → agreements, disagreements, verdict, top 3 recommendations
|
|
63
65
|
|
|
64
66
|
S_PERSIST:
|
|
65
|
-
→ END
|
|
67
|
+
→ END GATE: unless -y, AskUserQuestion showing files to write and spec-entries to append — proceed only on confirm
|
|
68
|
+
DO: write KNW-opinion + append <spec-entry> blocks to .workflow/specs/learnings.md
|
|
66
69
|
|
|
67
70
|
</transitions>
|
|
68
71
|
|
|
@@ -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
|
|
7
7
|
- Write
|
|
@@ -45,7 +45,7 @@ $ARGUMENTS -- phase number for micro mode, topic text for macro/adhoc mode, no a
|
|
|
45
45
|
|------|--------|---------|
|
|
46
46
|
| `-y` / `--yes` | Auto mode — skip interactive scoping, use recommended defaults, auto-deepen | false |
|
|
47
47
|
| `-c` / `--continue` | Resume from existing session (auto-detect session folder + discussion.md) | false |
|
|
48
|
-
| `-q` / `--quick` | Quick mode — skip exploration + scoring, go straight to decision extraction (context.md only) | false |
|
|
48
|
+
| `-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 |
|
|
49
49
|
| `--from <source>` | Load upstream context package (grill:ID, brainstorm:ID, blueprint:BLP-xxx, @file, or path) | — |
|
|
50
50
|
| `--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 | — |
|
|
51
51
|
|
|
@@ -86,51 +86,9 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
86
86
|
<execution>
|
|
87
87
|
Follow '~/.maestro/workflows/analyze.md' completely.
|
|
88
88
|
|
|
89
|
-
### Evidence-Backed Decisions
|
|
90
|
-
|
|
91
|
-
Every decision MUST trace to independently gathered evidence. Manual Read/Grep is preparation — NOT evidence. Valid evidence sources:
|
|
92
|
-
- cli-explore-agent output (code anchors, call chains, data flows)
|
|
93
|
-
- maestro delegate CLI analysis output (multi-perspective findings)
|
|
94
|
-
- User-provided input (domain knowledge, constraints, corrections)
|
|
95
|
-
|
|
96
|
-
Decisions without CLI/agent-sourced evidence MUST be flagged as LOW CONFIDENCE.
|
|
97
|
-
|
|
98
|
-
### Boundary Grill (Step 5 → Step 6)
|
|
99
|
-
|
|
100
|
-
After discussion rounds, BEFORE synthesis: run boundary grill per `~/.maestro/workflows/boundary-grill.md`.
|
|
101
|
-
Input: discussion.md decisions + exploration-codebase.json. Scope guard: "only analyze decisions; do not prejudge plan/execute concerns".
|
|
102
|
-
IF conflicts → results to `analysis.md` § Boundary Grill Results + update `context.md` Locked/Free/Deferred.
|
|
103
|
-
|
|
104
|
-
### Standard Mode Gates
|
|
105
|
-
|
|
106
|
-
Gates 1-4 are defined in `analyze.md`. NEVER skip gates. NEVER substitute manual Read/Grep for agent/CLI exploration.
|
|
107
|
-
|
|
108
|
-
### Artifact Verification
|
|
109
|
-
|
|
110
|
-
Before writing the completion report (Step 9), verify ALL expected artifacts exist in OUTPUT_DIR:
|
|
111
|
-
```
|
|
112
|
-
FULL_MODE_REQUIRED = [
|
|
113
|
-
"discussion.md", // Step 3+5
|
|
114
|
-
"exploration-codebase.json", // Step 4.1
|
|
115
|
-
"explorations.json" OR "perspectives.json", // Step 4.3
|
|
116
|
-
"analysis.md", // Step 6
|
|
117
|
-
"conclusions.json", // Step 7
|
|
118
|
-
"context.md", // Step 8
|
|
119
|
-
"context-package.json" // Step 8.6
|
|
120
|
-
]
|
|
121
|
-
```
|
|
122
|
-
If any artifact is missing: DO NOT report completion. Produce the missing artifact first.
|
|
123
|
-
|
|
124
89
|
### --gaps Mode
|
|
125
90
|
|
|
126
91
|
When `--gaps` is present, follow `~/.maestro/workflows/issue-gaps-analyze.md` instead of the standard pipeline.
|
|
127
|
-
|
|
128
|
-
**Handoff:** context.md is consumed by maestro-plan. In --gaps mode, context.md contains issue root causes for `plan --gaps`.
|
|
129
|
-
|
|
130
|
-
**scope_verdict** (added to context.md in Step 6 Synthesis for macro/adhoc/standalone scopes):
|
|
131
|
-
- `large` (3+ independent subsystems or hard serial dependencies) → suggest `/maestro-roadmap --from analyze:ANL-xxx`
|
|
132
|
-
- `medium` (1-2 subsystems, parallelizable) → suggest `/maestro-plan --from analyze:ANL-xxx`
|
|
133
|
-
- `small` (single-file or few-file change) → suggest `/maestro-plan --from analyze:ANL-xxx`
|
|
134
92
|
</execution>
|
|
135
93
|
|
|
136
94
|
<completion>
|
|
@@ -88,28 +88,6 @@ Each phase produces artifacts that are prerequisites for the next. Do NOT advanc
|
|
|
88
88
|
**GATE P5 → P6**: `epics/` directory with `_index.md` + individual `EPIC-*.md` files. Cross-Epic dependency map present.
|
|
89
89
|
**GATE P6**: Readiness score computed. Pass (≥80%) or Review (≥60%) required for handoff.
|
|
90
90
|
|
|
91
|
-
### Artifact Verification (before completion)
|
|
92
|
-
|
|
93
|
-
```
|
|
94
|
-
REQUIRED_ARTIFACTS = [
|
|
95
|
-
"blueprint-config.json", // P0
|
|
96
|
-
"product-brief.md", // P2
|
|
97
|
-
"glossary.json", // P2 (≥5 terms)
|
|
98
|
-
"requirements/_index.md", // P3
|
|
99
|
-
"architecture/_index.md", // P4
|
|
100
|
-
"epics/_index.md", // P5
|
|
101
|
-
"readiness-report.md", // P6
|
|
102
|
-
"blueprint-summary.md", // P6
|
|
103
|
-
"context-package.json" // P6
|
|
104
|
-
]
|
|
105
|
-
```
|
|
106
|
-
If any artifact is missing: DO NOT report completion. Go back and produce it.
|
|
107
|
-
|
|
108
|
-
### Evidence Requirement
|
|
109
|
-
|
|
110
|
-
Architecture Decision Records (ADR-*.md) MUST cite evidence for each decision:
|
|
111
|
-
- Valid: code analysis, requirement traceability (REQ-xxx), upstream context, CLI analysis output
|
|
112
|
-
- INVALID: generic rationale without reference to project-specific constraints
|
|
113
91
|
</execution>
|
|
114
92
|
|
|
115
93
|
<completion>
|
|
@@ -181,7 +159,7 @@ Status verdicts:
|
|
|
181
159
|
- [ ] Readiness gate: Pass (>=80%) or Review (>=60%) with documented caveats
|
|
182
160
|
- [ ] Artifact registered in state.json (type=blueprint)
|
|
183
161
|
- [ ] context-package.json generated for downstream consumption
|
|
184
|
-
- [ ] On gate Pass/Review: session sealed via finish-work (
|
|
162
|
+
- [ ] On gate Pass/Review: session sealed via finish-work (finish-work.md includes AskUserQuestion confirmation before state.json artifact registration and optional spec/knowhow extraction). On Fail: skip — session stays active, excluded from wiki search.
|
|
185
163
|
</success_criteria>
|
|
186
164
|
|
|
187
165
|
<on_complete>
|