maestro-flow 0.5.42 → 0.5.44
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 -1
- package/.agents/skills/maestro-blueprint/SKILL.md +1 -1
- package/.agents/skills/maestro-brainstorm/SKILL.md +4 -1
- 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 +26 -8
- package/.agents/skills/maestro-fork/SKILL.md +4 -3
- package/.agents/skills/maestro-grill/SKILL.md +1 -1
- 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 -0
- 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 +1 -0
- 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-agent/SKILL.md +697 -0
- package/.agents/skills/maestro-ralph-agent-execute/SKILL.md +461 -0
- 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 -1
- 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/.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 -1
- package/.agy/skills/maestro-blueprint/SKILL.md +1 -1
- package/.agy/skills/maestro-brainstorm/SKILL.md +4 -1
- 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 +26 -8
- package/.agy/skills/maestro-fork/SKILL.md +4 -3
- package/.agy/skills/maestro-grill/SKILL.md +1 -1
- 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 -0
- 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 +1 -0
- 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-agent/SKILL.md +696 -0
- package/.agy/skills/maestro-ralph-agent-execute/SKILL.md +457 -0
- 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 -1
- 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/.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 -1
- package/.claude/commands/maestro-blueprint.md +1 -1
- package/.claude/commands/maestro-brainstorm.md +4 -1
- 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 +26 -8
- package/.claude/commands/maestro-fork.md +4 -3
- package/.claude/commands/maestro-grill.md +1 -1
- 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 -0
- 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 +1 -0
- package/.claude/commands/maestro-player.md +2 -2
- package/.claude/commands/maestro-quick.md +5 -3
- package/.claude/commands/maestro-ralph-agent-execute.md +459 -0
- package/.claude/commands/maestro-ralph-agent.md +695 -0
- 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 -1
- 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/.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 +48 -10
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/credibility.d.ts +2 -2
- package/dashboard/dist-server/src/graph/kg/credibility.js +10 -5
- package/dashboard/dist-server/src/graph/kg/credibility.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/db/connection.d.ts +3 -2
- package/dashboard/dist-server/src/graph/kg/db/connection.js +28 -16
- package/dashboard/dist-server/src/graph/kg/db/connection.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/db/queries.js +4 -4
- package/dashboard/dist-server/src/graph/kg/db/queries.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 +20 -2
- 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/extraction/knowledge/domain-extractor.d.ts +1 -1
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge/domain-extractor.js +8 -4
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge/domain-extractor.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/resolution/knowledge-resolver.d.ts +3 -3
- package/dashboard/dist-server/src/graph/kg/resolution/knowledge-resolver.js +3 -2
- package/dashboard/dist-server/src/graph/kg/resolution/knowledge-resolver.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/surface/hook-injector.js +2 -4
- package/dashboard/dist-server/src/graph/kg/surface/hook-injector.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/search/daemon-client.d.ts +3 -25
- package/dashboard/dist-server/src/search/daemon-client.js +3 -25
- package/dashboard/dist-server/src/search/daemon-client.js.map +1 -1
- package/dashboard/dist-server/src/search/daemon-types.d.ts +29 -0
- package/dashboard/dist-server/src/search/daemon-types.js +31 -0
- package/dashboard/dist-server/src/search/daemon-types.js.map +1 -0
- package/dist/src/agents/api-explore/agent-loop.d.ts +1 -1
- package/dist/src/agents/api-explore/agent-loop.d.ts.map +1 -1
- package/dist/src/agents/api-explore/agent-loop.js +32 -17
- package/dist/src/agents/api-explore/agent-loop.js.map +1 -1
- package/dist/src/agents/api-explore/prompt-parser.js +5 -5
- package/dist/src/agents/api-explore/prompt-parser.js.map +1 -1
- package/dist/src/agents/api-explore/runner.d.ts.map +1 -1
- package/dist/src/agents/api-explore/runner.js +0 -2
- package/dist/src/agents/api-explore/runner.js.map +1 -1
- package/dist/src/agents/api-explore/system-prompt.d.ts.map +1 -1
- package/dist/src/agents/api-explore/system-prompt.js +30 -22
- package/dist/src/agents/api-explore/system-prompt.js.map +1 -1
- package/dist/src/agents/api-explore/tools.d.ts +1 -0
- package/dist/src/agents/api-explore/tools.d.ts.map +1 -1
- package/dist/src/agents/api-explore/tools.js +219 -50
- package/dist/src/agents/api-explore/tools.js.map +1 -1
- package/dist/src/commands/search.d.ts.map +1 -1
- package/dist/src/commands/search.js +10 -4
- package/dist/src/commands/search.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +89 -21
- package/dist/src/commands/update.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/db/connection.d.ts +3 -2
- package/dist/src/graph/db/connection.d.ts.map +1 -1
- package/dist/src/graph/db/connection.js +28 -16
- package/dist/src/graph/db/connection.js.map +1 -1
- package/dist/src/graph/db/queries.d.ts.map +1 -1
- package/dist/src/graph/db/queries.js.map +1 -1
- package/dist/src/graph/kg/credibility.d.ts +2 -2
- package/dist/src/graph/kg/credibility.d.ts.map +1 -1
- package/dist/src/graph/kg/credibility.js +10 -5
- package/dist/src/graph/kg/credibility.js.map +1 -1
- package/dist/src/graph/kg/db/connection.d.ts +3 -2
- package/dist/src/graph/kg/db/connection.d.ts.map +1 -1
- package/dist/src/graph/kg/db/connection.js +28 -16
- package/dist/src/graph/kg/db/connection.js.map +1 -1
- package/dist/src/graph/kg/db/queries.js +4 -4
- package/dist/src/graph/kg/db/queries.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 +20 -2
- 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/extraction/knowledge/domain-extractor.d.ts +1 -1
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.d.ts.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.js +8 -4
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.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/resolution/knowledge-resolver.d.ts +3 -3
- package/dist/src/graph/kg/resolution/knowledge-resolver.d.ts.map +1 -1
- package/dist/src/graph/kg/resolution/knowledge-resolver.js +3 -2
- package/dist/src/graph/kg/resolution/knowledge-resolver.js.map +1 -1
- package/dist/src/graph/kg/surface/hook-injector.d.ts.map +1 -1
- package/dist/src/graph/kg/surface/hook-injector.js +2 -4
- package/dist/src/graph/kg/surface/hook-injector.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/search/daemon-client.d.ts +3 -25
- package/dist/src/search/daemon-client.d.ts.map +1 -1
- package/dist/src/search/daemon-client.js +3 -25
- package/dist/src/search/daemon-client.js.map +1 -1
- package/dist/src/search/daemon-types.d.ts +30 -0
- package/dist/src/search/daemon-types.d.ts.map +1 -0
- package/dist/src/search/daemon-types.js +31 -0
- package/dist/src/search/daemon-types.js.map +1 -0
- package/dist/src/search/daemon.d.ts +2 -27
- package/dist/src/search/daemon.d.ts.map +1 -1
- package/dist/src/search/daemon.js +4 -60
- package/dist/src/search/daemon.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/wiki-search.d.ts +13 -0
- package/dist/src/tools/wiki-search.d.ts.map +1 -0
- package/dist/src/tools/wiki-search.js +120 -0
- package/dist/src/tools/wiki-search.js.map +1 -0
- package/dist/src/utils/update-notices.js +24 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-ralph-cli-execute
|
|
3
|
+
description: Skill execution wrapper for delegate — execute skill, return structured result
|
|
4
|
+
argument-hint: "--session <id> | <skill-name> [args...]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Edit
|
|
9
|
+
- Bash
|
|
10
|
+
- Glob
|
|
11
|
+
- Grep
|
|
12
|
+
- Skill
|
|
13
|
+
- AskUserQuestion
|
|
14
|
+
---
|
|
15
|
+
<purpose>
|
|
16
|
+
Thin execution wrapper for CLI delegation.
|
|
17
|
+
|
|
18
|
+
Job: receive session ID (or skill name + args) → load via `maestro ralph next` → execute the skill → scan artifacts → output structured `---RESULT---` block.
|
|
19
|
+
|
|
20
|
+
This command does NOT manage sessions, compose prompts, make decisions, or call `maestro ralph complete`. Completion 由 orchestrator (`/maestro-ralph-cli`) 负责:orchestrator 解析 `---RESULT---` 块后调用 `maestro ralph complete N --status <STATUS> --summary <SUMMARY> [--evidence ...] [--decisions ...] [--caveats ...] [--deferred ...]`,清 `active_step_index`。
|
|
21
|
+
</purpose>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
$ARGUMENTS — `--session <id>` (session mode) 或 `<skill-name> [args...]` (direct mode)
|
|
25
|
+
|
|
26
|
+
**Parse:**
|
|
27
|
+
```
|
|
28
|
+
--session <id> → session_id (session mode: skill 由 ralph next 从 status.json 解析,无需传 skill name)
|
|
29
|
+
First token → skill_name (direct mode only, e.g., maestro-plan, maestro-execute)
|
|
30
|
+
Remaining → skill_args (direct mode only)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
`<execution_context>` 块由 ralph-cli delegation prompt 注入于 `$ARGUMENTS` 之前,含 intent、boundary、goals 等,透传给 skill。
|
|
34
|
+
</context>
|
|
35
|
+
|
|
36
|
+
<invariants>
|
|
37
|
+
1. **Execute exactly one skill** — session mode 由 `ralph next` 解析,direct mode 由 skill_name 确定;执行一次即返回
|
|
38
|
+
2. **Structured output** — always end with `---RESULT---` / `---END---` block
|
|
39
|
+
3. **No session management** — never create/modify sessions, make decisions, or call `maestro ralph complete`(completion 由 orchestrator 负责)
|
|
40
|
+
4. **No self-invocation** — execute once and return
|
|
41
|
+
5. **Artifact scanning** — after skill execution, scan for produced artifacts
|
|
42
|
+
6. **Required reading 由 CLI 负责** — session mode 下 `ralph next` 自动展开 + 加载 `<required_reading>`,缺失 → exit 1(E007),cli-execute 不手动处理
|
|
43
|
+
7. **Deferred reading 只记录** — `<deferred_reading>` 路径由 CLI 记录到 `step.load.deferred_files`,执行阶段按需 Read,不提前批量读取
|
|
44
|
+
8. **并发保护** — 同一 session 最多一个 step 持 `active_step_index`;`ralph next` exit 3 表示冲突,不静默推进
|
|
45
|
+
9. **STATUS 枚举受限** — 仅 `DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`;`NEEDS_CONTEXT` 已废除
|
|
46
|
+
10. **CLI 输出禁止截断** — `maestro ralph next` 的 stdout 必须全量捕获,严禁 `| head`/`| tail` 等截断管道
|
|
47
|
+
</invariants>
|
|
48
|
+
|
|
49
|
+
<state_machine>
|
|
50
|
+
|
|
51
|
+
<states>
|
|
52
|
+
S_PARSE — 解析 skill name + args PERSIST: —
|
|
53
|
+
S_EXECUTE — 执行 skill PERSIST: —
|
|
54
|
+
S_SCAN — 扫描产物 + 提取信号 PERSIST: —
|
|
55
|
+
S_OUTPUT — 输出结构化结果 PERSIST: —
|
|
56
|
+
</states>
|
|
57
|
+
|
|
58
|
+
<transitions>
|
|
59
|
+
S_PARSE → S_EXECUTE DO: A_PARSE_ARGS
|
|
60
|
+
S_EXECUTE → S_SCAN DO: A_EXECUTE_SKILL
|
|
61
|
+
S_SCAN → S_OUTPUT DO: A_SCAN_ARTIFACTS
|
|
62
|
+
S_OUTPUT → END DO: A_OUTPUT_RESULT
|
|
63
|
+
</transitions>
|
|
64
|
+
|
|
65
|
+
<actions>
|
|
66
|
+
|
|
67
|
+
### A_PARSE_ARGS
|
|
68
|
+
|
|
69
|
+
1. Parse `--session <id>` → `session_id`(session mode)
|
|
70
|
+
2. 无 `--session` → extract `skill_name`(first token)and `skill_args`(remaining)为 direct mode
|
|
71
|
+
3. Parse `<execution_context>` block from delegation prompt if present:
|
|
72
|
+
```
|
|
73
|
+
intent, phase, boundary_contract, active_goals, execution_criteria
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### A_EXECUTE_SKILL
|
|
77
|
+
|
|
78
|
+
1. If `session_id` present → `Bash("maestro ralph next --session {session_id}")` — CLI loads skill + required_reading, returns prompt
|
|
79
|
+
- **必须全量捕获 stdout,严禁 `| head`/`| tail` 等任何截断管道**(stdout 含完整 skill prompt,截断会导致执行内容不完整)
|
|
80
|
+
- Exit 0 → 按 stdout 内联执行(stdout 含 CLI 拼接好的完整 prompt + session_anchor)
|
|
81
|
+
- Exit 1 → required_reading 缺失或 schema 错误 → set `status = "BLOCKED"`, skip to S_OUTPUT, SUMMARY 引用 CLI stderr
|
|
82
|
+
- Exit 2 → 无 pending step(已全部完成)→ set `status = "DONE"`, SUMMARY = "所有 step 已完成", skip to S_OUTPUT
|
|
83
|
+
- Exit 3 → active_step_index 冲突(另一进程占用)→ set `status = "BLOCKED"`, SUMMARY = "并发冲突", skip to S_OUTPUT
|
|
84
|
+
2. If no session → `Skill({ skill: skill_name, args: skill_args })` — direct skill call
|
|
85
|
+
3. **Goal context**: `ralph next` CLI 输出的 session_anchor 已含 goal context(`ralph_protocol_version >= "2"`),无需额外注入
|
|
86
|
+
4. **Deferred reading**: `ralph next` 将 `<deferred_reading>` 路径记录到 `step.load.deferred_files`,执行阶段按需 Read
|
|
87
|
+
5. **Inline execution** — 按 stdout 内容执行 skill 逻辑;执行完成后进入 S_SCAN
|
|
88
|
+
6. Track execution: note start time, watch for errors
|
|
89
|
+
|
|
90
|
+
### A_SCAN_ARTIFACTS
|
|
91
|
+
|
|
92
|
+
After skill execution, scan for produced artifacts:
|
|
93
|
+
|
|
94
|
+
| Pattern | Stage signal |
|
|
95
|
+
|---------|-------------|
|
|
96
|
+
| `conclusions.json` | `analysis_dir` |
|
|
97
|
+
| `TASK-*.json` | `plan_dir` |
|
|
98
|
+
| `verification.json` | `scratch_dir` |
|
|
99
|
+
| `review.json` | review stage |
|
|
100
|
+
| `test-results.json`, `uat.md` | test stage |
|
|
101
|
+
| `grill-report.md` | `grill_id` |
|
|
102
|
+
| `.brainstorming/*` | `brainstorm_dir` |
|
|
103
|
+
|
|
104
|
+
Use `Glob` to find files created/modified during execution.
|
|
105
|
+
|
|
106
|
+
Extract signals from output:
|
|
107
|
+
- Artifact IDs: `ANL-xxx`, `PLN-xxx`, `BLP-xxx`
|
|
108
|
+
- Path signals: `scratch_dir:`, `plan_dir:`
|
|
109
|
+
- Phase signals: `PHASE: N`
|
|
110
|
+
|
|
111
|
+
### A_OUTPUT_RESULT
|
|
112
|
+
|
|
113
|
+
Output structured result block.
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
---RESULT---
|
|
117
|
+
STATUS: DONE|DONE_WITH_CONCERNS|NEEDS_RETRY|BLOCKED
|
|
118
|
+
SUMMARY: <动词开头,≤100 字的执行总结>
|
|
119
|
+
ARTIFACTS: <逗号分隔的产物路径>
|
|
120
|
+
EVIDENCE: <验证产物路径,如 verification.json、uat.md、e2e-results.json>
|
|
121
|
+
DECISIONS: <本步做出的关键决策,分号分隔>
|
|
122
|
+
CAVEATS: <后续步骤需注意的事项;DONE_WITH_CONCERNS 时同时作为 concerns>
|
|
123
|
+
DEFERRED: <推迟到后续的工作项,分号分隔>
|
|
124
|
+
SIGNALS: <key=value 对,分号分隔,如 plan_dir=.workflow/scratch/PLN-xxx;phase=2>
|
|
125
|
+
---END---
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
**Rules:**
|
|
129
|
+
- STATUS 必填,从执行结果推断(仅 4 个合法值,NEEDS_CONTEXT 已废除)
|
|
130
|
+
- SUMMARY 必填(DONE/DONE_WITH_CONCERNS 时为 MUST),动词开头
|
|
131
|
+
- ARTIFACTS 列出所有新增/修改的产物文件路径
|
|
132
|
+
- EVIDENCE 为 SHOULD,列出验证产物路径
|
|
133
|
+
- DECISIONS/CAVEATS/DEFERRED 为 SHOULD,有则填
|
|
134
|
+
- SIGNALS 提取 A_SCAN_ARTIFACTS 发现的 key=value 对
|
|
135
|
+
|
|
136
|
+
**SIGNALS→context 映射:**
|
|
137
|
+
|
|
138
|
+
| Signal key | 写入 status.json 字段 |
|
|
139
|
+
|------------|----------------------|
|
|
140
|
+
| `analysis_dir` | `context.analysis_dir` |
|
|
141
|
+
| `plan_dir` | `context.plan_dir` |
|
|
142
|
+
| `scratch_dir` | `context.scratch_dir` |
|
|
143
|
+
| `grill_id` | `context.grill_id` |
|
|
144
|
+
| `brainstorm_dir` | `context.brainstorm_dir` |
|
|
145
|
+
| `blueprint_dir` | `context.blueprint_dir` |
|
|
146
|
+
| `ANL-xxx` | `session.analyze_macro_id` |
|
|
147
|
+
| `BLP-xxx` | `session.blueprint_id` |
|
|
148
|
+
| `phase` | `session.context.phase` |
|
|
149
|
+
|
|
150
|
+
**Stage-specific SUMMARY 提取指引:**
|
|
151
|
+
|
|
152
|
+
| Stage | SUMMARY 应包含 | EVIDENCE 来源 |
|
|
153
|
+
|-------|---------------|---------------|
|
|
154
|
+
| analyze | scope_verdict + key_findings 数量 + 依赖图摘要 | `conclusions.json` |
|
|
155
|
+
| plan | TASK-*.json 数量 + 主要模块 + 波次划分 | — |
|
|
156
|
+
| execute | 修改文件数 + verification passed/failed | `verification.json` |
|
|
157
|
+
| review | verdict + findings 数量 + severity 分布 | `review.json` |
|
|
158
|
+
| test | pass/fail 统计 | `uat.md`, `test-results.json` |
|
|
159
|
+
| debug | root cause + 修复内容 | — |
|
|
160
|
+
| grill | 核心质疑点数量 + 术语表 | `grill-report.md` |
|
|
161
|
+
| brainstorm | 候选方案数量 + 推荐方案 | — |
|
|
162
|
+
|
|
163
|
+
**STATUS determination:**
|
|
164
|
+
- Skill 正常完成 + 有产物 → `DONE`
|
|
165
|
+
- 完成但有 warnings/concerns → `DONE_WITH_CONCERNS`
|
|
166
|
+
- 执行出错但可重试 → `NEEDS_RETRY`
|
|
167
|
+
- 执行出错且无法重试 → `BLOCKED`
|
|
168
|
+
|
|
169
|
+
</actions>
|
|
170
|
+
|
|
171
|
+
</state_machine>
|
|
172
|
+
|
|
173
|
+
<appendix>
|
|
174
|
+
|
|
175
|
+
### Output Example
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
---RESULT---
|
|
179
|
+
STATUS: DONE
|
|
180
|
+
SUMMARY: 生成 8 个 task 覆盖认证模块 3 个子系统,wave 1 含 5 个独立 task
|
|
181
|
+
ARTIFACTS: .workflow/scratch/PLN-20260628/TASK-001.json,.workflow/scratch/PLN-20260628/TASK-002.json,.workflow/scratch/PLN-20260628/plan.json
|
|
182
|
+
EVIDENCE:
|
|
183
|
+
DECISIONS: 选择 wave 模式分 2 波执行;JWT 和 session 分离为独立 task
|
|
184
|
+
CAVEATS: 模块 X 的外部 API 尚未确认,TASK-003 可能需调整
|
|
185
|
+
DEFERRED: 性能基准测试留到 review 后
|
|
186
|
+
SIGNALS: plan_dir=.workflow/scratch/PLN-20260628;PLN-xxx=PLN-20260628
|
|
187
|
+
---END---
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Error Output
|
|
191
|
+
|
|
192
|
+
```
|
|
193
|
+
---RESULT---
|
|
194
|
+
STATUS: BLOCKED
|
|
195
|
+
SUMMARY: maestro-plan 执行失败:required_reading 文件 analyze-guide.md 缺失
|
|
196
|
+
ARTIFACTS:
|
|
197
|
+
EVIDENCE:
|
|
198
|
+
DECISIONS:
|
|
199
|
+
CAVEATS:
|
|
200
|
+
DEFERRED:
|
|
201
|
+
SIGNALS:
|
|
202
|
+
---END---
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Error Codes
|
|
206
|
+
|
|
207
|
+
| Code | Exit | Severity | Description | STATUS |
|
|
208
|
+
|------|------|----------|-------------|--------|
|
|
209
|
+
| E006 | 1 | error | command_path 缺失/不可达 | BLOCKED |
|
|
210
|
+
| E007 | 1 | error | required_reading 引用文件缺失 | BLOCKED |
|
|
211
|
+
| E008 | 1 | error | active_step_index 与 complete idx 不匹配 | BLOCKED |
|
|
212
|
+
| E009 | 1 | error | step.status ≠ running(重复 complete 或非法跳跃)| BLOCKED |
|
|
213
|
+
| E010 | 1 | error | status.json schema 损坏 | BLOCKED |
|
|
214
|
+
| — | 2 | info | 无 pending step(全部已完成)| DONE |
|
|
215
|
+
| — | 3 | error | active_step_index 并发冲突 | BLOCKED |
|
|
216
|
+
| W001 | 0 | warning | Step completed with concerns | DONE_WITH_CONCERNS |
|
|
217
|
+
|
|
218
|
+
### Success Criteria
|
|
219
|
+
|
|
220
|
+
- [ ] Session mode 只需 `--session <id>`,skill 由 `ralph next` 从 status.json 解析
|
|
221
|
+
- [ ] Direct mode 解析 `skill_name` + `skill_args`
|
|
222
|
+
- [ ] Session mode 通过 `maestro ralph next --session {id}` 加载;stdout 全量捕获,禁止截断管道
|
|
223
|
+
- [ ] Exit codes 完整处理:0→执行,1→BLOCKED,2→DONE,3→BLOCKED
|
|
224
|
+
- [ ] Execute via `maestro ralph next` (session mode) or `Skill()` (direct mode)
|
|
225
|
+
- [ ] Scan artifacts after execution using Glob
|
|
226
|
+
- [ ] Extract artifact IDs and path signals from output
|
|
227
|
+
- [ ] Always output `---RESULT---` / `---END---` block
|
|
228
|
+
- [ ] STATUS 仅 4 个合法值:DONE / DONE_WITH_CONCERNS / NEEDS_RETRY / BLOCKED
|
|
229
|
+
- [ ] SUMMARY 在 DONE/DONE_WITH_CONCERNS 时为 MUST(动词开头,≤100 字)
|
|
230
|
+
- [ ] EVIDENCE 字段列出验证产物路径
|
|
231
|
+
- [ ] SIGNALS 含 stage-specific key=value 对(参照 SIGNALS→context 映射表)
|
|
232
|
+
- [ ] Stage-specific SUMMARY 提取指引(analyze→scope_verdict,plan→TASK 数量 等)
|
|
233
|
+
- [ ] No session management, no self-invocation, no decisions, no `ralph complete`
|
|
234
|
+
- [ ] Deferred reading 按需 Read,不提前批量读取
|
|
235
|
+
|
|
236
|
+
</appendix>
|
|
237
|
+
</output>
|