maestro-flow 0.4.26 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/learn-follow/SKILL.md +1 -1
- package/.agents/skills/learn-investigate/SKILL.md +2 -2
- package/.agents/skills/learn-second-opinion/SKILL.md +1 -1
- package/.agents/skills/maestro/SKILL.md +6 -3
- package/.agents/skills/maestro-analyze/SKILL.md +53 -2
- package/.agents/skills/maestro-blueprint/SKILL.md +36 -1
- package/.agents/skills/maestro-brainstorm/SKILL.md +40 -1
- package/.agents/skills/maestro-collab/SKILL.md +1 -1
- package/.agents/skills/maestro-companion/SKILL.md +4 -4
- package/.agents/skills/maestro-composer/SKILL.md +1 -1
- package/.agents/skills/maestro-execute/SKILL.md +29 -6
- package/.agents/skills/maestro-fork/SKILL.md +24 -0
- package/.agents/skills/maestro-grill/SKILL.md +38 -1
- package/.agents/skills/maestro-help/SKILL.md +5 -6
- package/.agents/skills/maestro-help/index/catalog.json +7 -9
- package/.agents/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.agents/skills/maestro-impeccable/SKILL.md +13 -0
- package/.agents/skills/maestro-init/SKILL.md +11 -0
- package/.agents/skills/maestro-merge/SKILL.md +17 -1
- package/.agents/skills/maestro-milestone-audit/SKILL.md +34 -2
- package/.agents/skills/maestro-milestone-complete/SKILL.md +19 -1
- package/.agents/skills/maestro-milestone-release/SKILL.md +18 -0
- package/.agents/skills/maestro-next/SKILL.md +8 -9
- package/.agents/skills/maestro-overlay/SKILL.md +3 -3
- package/.agents/skills/maestro-plan/SKILL.md +21 -3
- package/.agents/skills/maestro-quick/SKILL.md +13 -1
- package/.agents/skills/maestro-ralph/SKILL.md +18 -20
- package/.agents/skills/maestro-ralph-beta/SKILL.md +10 -16
- package/.agents/skills/maestro-ralph-execute/SKILL.md +1 -2
- package/.agents/skills/maestro-roadmap/SKILL.md +28 -2
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +2 -2
- package/.agents/skills/maestro-tools-register/SKILL.md +2 -2
- package/.agents/skills/maestro-ui-codify/SKILL.md +20 -0
- package/.agents/skills/maestro-update/SKILL.md +59 -116
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +3 -3
- package/.agents/skills/manage-harvest/SKILL.md +1 -1
- package/.agents/skills/manage-knowhow/SKILL.md +3 -1
- package/.agents/skills/manage-knowhow-capture/SKILL.md +3 -2
- package/.agents/skills/manage-wiki/SKILL.md +17 -8
- package/.agents/skills/quality-auto-test/SKILL.md +3 -3
- package/.agents/skills/quality-debug/SKILL.md +4 -4
- package/.agents/skills/quality-refactor/SKILL.md +2 -2
- package/.agents/skills/quality-retrospective/SKILL.md +5 -5
- package/.agents/skills/quality-review/SKILL.md +4 -4
- package/.agents/skills/quality-sync/SKILL.md +1 -0
- package/.agents/skills/quality-test/SKILL.md +4 -4
- package/.agents/skills/spec-add/SKILL.md +6 -4
- package/.agents/skills/spec-setup/SKILL.md +1 -1
- package/.agy/skills/learn-follow/SKILL.md +1 -1
- package/.agy/skills/learn-investigate/SKILL.md +2 -2
- package/.agy/skills/learn-second-opinion/SKILL.md +1 -1
- package/.agy/skills/maestro/SKILL.md +6 -3
- package/.agy/skills/maestro-analyze/SKILL.md +53 -2
- package/.agy/skills/maestro-blueprint/SKILL.md +36 -1
- package/.agy/skills/maestro-brainstorm/SKILL.md +40 -1
- package/.agy/skills/maestro-collab/SKILL.md +1 -1
- package/.agy/skills/maestro-companion/SKILL.md +4 -4
- package/.agy/skills/maestro-composer/SKILL.md +1 -1
- package/.agy/skills/maestro-execute/SKILL.md +29 -6
- package/.agy/skills/maestro-fork/SKILL.md +24 -0
- package/.agy/skills/maestro-grill/SKILL.md +38 -1
- package/.agy/skills/maestro-help/SKILL.md +5 -6
- package/.agy/skills/maestro-help/index/catalog.json +7 -9
- package/.agy/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.agy/skills/maestro-impeccable/SKILL.md +13 -0
- package/.agy/skills/maestro-init/SKILL.md +11 -0
- package/.agy/skills/maestro-merge/SKILL.md +17 -1
- package/.agy/skills/maestro-milestone-audit/SKILL.md +34 -2
- package/.agy/skills/maestro-milestone-complete/SKILL.md +19 -1
- package/.agy/skills/maestro-milestone-release/SKILL.md +18 -0
- package/.agy/skills/maestro-next/SKILL.md +8 -9
- package/.agy/skills/maestro-overlay/SKILL.md +3 -3
- package/.agy/skills/maestro-plan/SKILL.md +21 -3
- package/.agy/skills/maestro-quick/SKILL.md +13 -1
- package/.agy/skills/maestro-ralph/SKILL.md +18 -20
- package/.agy/skills/maestro-ralph-beta/SKILL.md +10 -16
- package/.agy/skills/maestro-ralph-execute/SKILL.md +1 -2
- package/.agy/skills/maestro-roadmap/SKILL.md +28 -2
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +2 -2
- package/.agy/skills/maestro-tools-register/SKILL.md +2 -2
- package/.agy/skills/maestro-ui-codify/SKILL.md +20 -0
- package/.agy/skills/maestro-update/SKILL.md +59 -116
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +3 -3
- package/.agy/skills/manage-harvest/SKILL.md +1 -1
- package/.agy/skills/manage-knowhow/SKILL.md +3 -1
- package/.agy/skills/manage-knowhow-capture/SKILL.md +3 -2
- package/.agy/skills/manage-wiki/SKILL.md +17 -8
- package/.agy/skills/quality-auto-test/SKILL.md +3 -3
- package/.agy/skills/quality-debug/SKILL.md +4 -4
- package/.agy/skills/quality-refactor/SKILL.md +2 -2
- package/.agy/skills/quality-retrospective/SKILL.md +5 -5
- package/.agy/skills/quality-review/SKILL.md +4 -4
- package/.agy/skills/quality-sync/SKILL.md +1 -0
- package/.agy/skills/quality-test/SKILL.md +4 -4
- package/.agy/skills/spec-add/SKILL.md +6 -4
- package/.agy/skills/spec-setup/SKILL.md +1 -1
- package/.claude/commands/learn-follow.md +1 -1
- package/.claude/commands/learn-investigate.md +2 -2
- package/.claude/commands/learn-second-opinion.md +1 -1
- package/.claude/commands/maestro-analyze.md +53 -2
- package/.claude/commands/maestro-blueprint.md +36 -1
- package/.claude/commands/maestro-brainstorm.md +40 -1
- package/.claude/commands/maestro-collab.md +1 -1
- package/.claude/commands/maestro-companion.md +4 -4
- package/.claude/commands/maestro-composer.md +1 -1
- package/.claude/commands/maestro-execute.md +29 -6
- package/.claude/commands/maestro-fork.md +24 -0
- package/.claude/commands/maestro-grill.md +38 -1
- package/.claude/commands/maestro-impeccable.md +13 -0
- package/.claude/commands/maestro-init.md +11 -0
- package/.claude/commands/maestro-merge.md +17 -1
- package/.claude/commands/maestro-milestone-audit.md +34 -2
- package/.claude/commands/maestro-milestone-complete.md +19 -1
- package/.claude/commands/maestro-milestone-release.md +18 -0
- package/.claude/commands/maestro-next.md +8 -9
- package/.claude/commands/maestro-overlay.md +3 -3
- package/.claude/commands/maestro-plan.md +21 -3
- package/.claude/commands/maestro-quick.md +13 -1
- package/.claude/commands/maestro-ralph-beta.md +8 -14
- package/.claude/commands/maestro-ralph-execute.md +1 -2
- package/.claude/commands/maestro-ralph.md +18 -20
- package/.claude/commands/maestro-roadmap.md +28 -2
- package/.claude/commands/maestro-swarm-workflow.md +2 -2
- package/.claude/commands/maestro-tools-register.md +2 -2
- package/.claude/commands/maestro-ui-codify.md +20 -0
- package/.claude/commands/maestro-update.md +59 -116
- package/.claude/commands/maestro.md +6 -3
- package/.claude/commands/manage-codebase-rebuild.md +3 -3
- package/.claude/commands/manage-harvest.md +1 -1
- package/.claude/commands/manage-knowhow-capture.md +3 -2
- package/.claude/commands/manage-knowhow.md +3 -1
- package/.claude/commands/manage-wiki.md +17 -8
- package/.claude/commands/quality-auto-test.md +3 -3
- package/.claude/commands/quality-debug.md +4 -4
- package/.claude/commands/quality-refactor.md +2 -2
- package/.claude/commands/quality-retrospective.md +5 -5
- package/.claude/commands/quality-review.md +4 -4
- package/.claude/commands/quality-sync.md +1 -0
- package/.claude/commands/quality-test.md +4 -4
- package/.claude/commands/spec-add.md +6 -4
- package/.claude/commands/spec-setup.md +1 -1
- package/.claude/skills/maestro-help/SKILL.md +5 -6
- package/.claude/skills/maestro-help/index/catalog.json +7 -9
- package/.claude/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.codex/skills/codify-to-knowhow/SKILL.md +5 -4
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-follow/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +1 -1
- package/.codex/skills/learn-second-opinion/SKILL.md +1 -1
- package/.codex/skills/maestro/SKILL.md +29 -31
- package/.codex/skills/maestro-analyze/SKILL.md +16 -3
- package/.codex/skills/maestro-blueprint/SKILL.md +8 -1
- package/.codex/skills/maestro-brainstorm/SKILL.md +8 -5
- package/.codex/skills/maestro-companion/SKILL.md +2 -2
- package/.codex/skills/maestro-composer/SKILL.md +0 -1
- package/.codex/skills/maestro-execute/SKILL.md +11 -8
- package/.codex/skills/maestro-fork/SKILL.md +4 -0
- package/.codex/skills/maestro-grill/SKILL.md +8 -2
- package/.codex/skills/maestro-help/SKILL.md +6 -9
- package/.codex/skills/maestro-help/catalog.json +6 -8
- package/.codex/skills/maestro-impeccable/SKILL.md +2 -0
- package/.codex/skills/maestro-init/SKILL.md +3 -0
- package/.codex/skills/maestro-merge/SKILL.md +5 -1
- package/.codex/skills/maestro-milestone-audit/SKILL.md +3 -0
- package/.codex/skills/maestro-milestone-complete/SKILL.md +6 -1
- package/.codex/skills/maestro-milestone-release/SKILL.md +4 -0
- package/.codex/skills/maestro-next/SKILL.md +3 -4
- package/.codex/skills/maestro-plan/SKILL.md +5 -2
- package/.codex/skills/maestro-quick/SKILL.md +4 -1
- package/.codex/skills/maestro-ralph/SKILL.md +14 -20
- package/.codex/skills/maestro-ralph-beta/SKILL.md +13 -21
- package/.codex/skills/maestro-ralph-execute/SKILL.md +2 -2
- package/.codex/skills/maestro-roadmap/SKILL.md +5 -2
- package/.codex/skills/maestro-tools-register/SKILL.md +1 -1
- package/.codex/skills/maestro-ui-codify/SKILL.md +4 -1
- package/.codex/skills/maestro-update/SKILL.md +35 -130
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
- package/.codex/skills/manage-harvest/SKILL.md +2 -2
- package/.codex/skills/manage-knowhow/SKILL.md +1 -1
- package/.codex/skills/manage-status/SKILL.md +1 -2
- package/.codex/skills/quality-auto-test/SKILL.md +2 -2
- package/.codex/skills/quality-debug/SKILL.md +2 -2
- package/.codex/skills/quality-refactor/SKILL.md +1 -1
- package/.codex/skills/quality-retrospective/SKILL.md +1 -1
- package/.codex/skills/quality-test/SKILL.md +3 -4
- package/.codex/skills/spec-add/SKILL.md +5 -3
- package/.codex/skills/spec-remove/SKILL.md +2 -2
- package/.codex/skills/team-coordinate/SKILL.md +1 -1
- package/.codex/skills/wiki-digest/SKILL.md +2 -2
- package/chains/brainstorm-driven.json +2 -34
- package/chains/full-lifecycle.json +2 -34
- package/chains/next-milestone.json +0 -7
- package/chains/quality-loop.json +3 -19
- package/chains/roadmap-driven.json +2 -34
- package/chains/spec-driven.json +2 -34
- package/chains/ui-craft-build.json +2 -23
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +8 -11
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js +3 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +9 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +9 -4
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-types.d.ts +3 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.d.ts +4 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js +5 -3
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js.map +1 -1
- package/dashboard/dist-server/src/types/index.d.ts +2 -0
- package/dist/src/cli.js +1 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +55 -5
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +2 -1
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +16 -1
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/kg.d.ts +1 -1
- package/dist/src/commands/kg.d.ts.map +1 -1
- package/dist/src/commands/kg.js +285 -112
- package/dist/src/commands/kg.js.map +1 -1
- package/dist/src/commands/knowhow.d.ts.map +1 -1
- package/dist/src/commands/knowhow.js +28 -37
- package/dist/src/commands/knowhow.js.map +1 -1
- package/dist/src/commands/ralph.js +1 -1
- package/dist/src/commands/ralph.js.map +1 -1
- package/dist/src/commands/search.d.ts +36 -0
- package/dist/src/commands/search.d.ts.map +1 -0
- package/dist/src/commands/search.js +120 -0
- package/dist/src/commands/search.js.map +1 -0
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +15 -59
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +7 -0
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +6 -21
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +13 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +37 -85
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/core/skill-converter.d.ts +25 -0
- package/dist/src/core/skill-converter.d.ts.map +1 -0
- package/dist/src/core/skill-converter.js +605 -0
- package/dist/src/core/skill-converter.js.map +1 -0
- package/dist/src/graph/codegraph-adapter.d.ts +147 -0
- package/dist/src/graph/codegraph-adapter.d.ts.map +1 -0
- package/dist/src/graph/codegraph-adapter.js +266 -0
- package/dist/src/graph/codegraph-adapter.js.map +1 -0
- package/dist/src/hooks/constants.d.ts +4 -0
- package/dist/src/hooks/constants.d.ts.map +1 -1
- package/dist/src/hooks/constants.js +14 -1
- package/dist/src/hooks/constants.js.map +1 -1
- package/dist/src/hooks/context-format.d.ts +46 -0
- package/dist/src/hooks/context-format.d.ts.map +1 -0
- package/dist/src/hooks/context-format.js +58 -0
- package/dist/src/hooks/context-format.js.map +1 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/dist/src/hooks/index.d.ts.map +1 -1
- package/dist/src/hooks/index.js +2 -0
- package/dist/src/hooks/index.js.map +1 -1
- package/dist/src/hooks/keyword-spec-injector.d.ts +1 -1
- package/dist/src/hooks/keyword-spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/keyword-spec-injector.js +92 -7
- package/dist/src/hooks/keyword-spec-injector.js.map +1 -1
- package/dist/src/hooks/kg-context-injector.d.ts +19 -0
- package/dist/src/hooks/kg-context-injector.d.ts.map +1 -0
- package/dist/src/hooks/kg-context-injector.js +139 -0
- package/dist/src/hooks/kg-context-injector.js.map +1 -0
- package/dist/src/hooks/kg-sync-hook.d.ts +22 -0
- package/dist/src/hooks/kg-sync-hook.d.ts.map +1 -0
- package/dist/src/hooks/kg-sync-hook.js +139 -0
- package/dist/src/hooks/kg-sync-hook.js.map +1 -0
- package/dist/src/hooks/plugins/spec-injection-plugin.js +2 -2
- package/dist/src/hooks/plugins/spec-injection-plugin.js.map +1 -1
- package/dist/src/hooks/skill-context.d.ts.map +1 -1
- package/dist/src/hooks/skill-context.js +0 -1
- package/dist/src/hooks/skill-context.js.map +1 -1
- package/dist/src/hooks/spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/spec-injector.js +66 -13
- package/dist/src/hooks/spec-injector.js.map +1 -1
- package/dist/src/hooks/statusline.d.ts +8 -1
- package/dist/src/hooks/statusline.d.ts.map +1 -1
- package/dist/src/hooks/statusline.js +45 -29
- package/dist/src/hooks/statusline.js.map +1 -1
- package/dist/src/hooks/wiki-role-loader.js +1 -1
- package/dist/src/hooks/wiki-role-loader.js.map +1 -1
- package/dist/src/ralph/cmd-skills.d.ts.map +1 -1
- package/dist/src/ralph/cmd-skills.js +9 -2
- package/dist/src/ralph/cmd-skills.js.map +1 -1
- package/dist/src/ralph/skill-scanner.d.ts +1 -1
- package/dist/src/ralph/skill-scanner.d.ts.map +1 -1
- package/dist/src/ralph/skill-scanner.js +14 -0
- package/dist/src/ralph/skill-scanner.js.map +1 -1
- package/dist/src/ralph/status-schema.d.ts +1 -1
- package/dist/src/ralph/status-schema.d.ts.map +1 -1
- package/dist/src/tools/spec-entry-parser.d.ts +2 -1
- package/dist/src/tools/spec-entry-parser.d.ts.map +1 -1
- package/dist/src/tools/spec-entry-parser.js +7 -4
- package/dist/src/tools/spec-entry-parser.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +27 -3
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-writer.d.ts +10 -1
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +86 -7
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/tools/store-knowhow.d.ts.map +1 -1
- package/dist/src/tools/store-knowhow.js +27 -7
- package/dist/src/tools/store-knowhow.js.map +1 -1
- package/dist/src/tui/install-ui/ExecutionView.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ExecutionView.js +7 -1
- package/dist/src/tui/install-ui/ExecutionView.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +5 -1
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/cli-format.d.ts +6 -0
- package/dist/src/utils/cli-format.d.ts.map +1 -1
- package/dist/src/utils/cli-format.js +25 -0
- package/dist/src/utils/cli-format.js.map +1 -1
- package/dist/src/utils/update-notices.js +19 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +5 -2
- package/templates/workflows/specs/node-catalog.md +0 -2
- package/workflows/analyze.md +9 -4
- package/workflows/auto-test.md +2 -2
- package/workflows/business-test.md +1 -1
- package/workflows/claude-instructions.md +23 -11
- package/workflows/codex-instructions.md +2 -3
- package/workflows/execute.md +153 -7
- package/workflows/fork.md +1 -1
- package/workflows/integration-test.md +1 -1
- package/workflows/maestro-super.md +1 -1
- package/workflows/maestro.codex.md +18 -34
- package/workflows/maestro.md +34 -42
- package/workflows/review.md +1 -1
- package/workflows/status.md +2 -2
- package/workflows/swarm/wf-verify.js +1 -1
- package/workflows/test-gen.md +2 -2
- package/workflows/test.md +1 -1
- package/workflows/updates/README.md +41 -0
- package/workflows/updates/update-v3-setup.md +79 -0
- package/workflows/verify.md +7 -1
- package/.agents/skills/learn-retro/SKILL.md +0 -159
- package/.agents/skills/maestro-learn/SKILL.md +0 -142
- package/.agents/skills/maestro-verify/SKILL.md +0 -146
- package/.agents/skills/manage-codebase-refresh/SKILL.md +0 -62
- package/.agents/skills/manage-learn/SKILL.md +0 -67
- package/.agents/skills/wiki-connect/SKILL.md +0 -64
- package/.agents/skills/wiki-digest/SKILL.md +0 -70
- package/.agy/skills/learn-retro/SKILL.md +0 -159
- package/.agy/skills/maestro-learn/SKILL.md +0 -142
- package/.agy/skills/maestro-verify/SKILL.md +0 -146
- package/.agy/skills/manage-codebase-refresh/SKILL.md +0 -62
- package/.agy/skills/manage-learn/SKILL.md +0 -64
- package/.agy/skills/wiki-connect/SKILL.md +0 -64
- package/.agy/skills/wiki-digest/SKILL.md +0 -70
- package/.claude/commands/learn-retro.md +0 -157
- package/.claude/commands/maestro-learn.md +0 -140
- package/.claude/commands/maestro-verify.md +0 -144
- package/.claude/commands/manage-codebase-refresh.md +0 -60
- package/.claude/commands/manage-learn.md +0 -65
- package/.claude/commands/wiki-connect.md +0 -62
- package/.claude/commands/wiki-digest.md +0 -68
- package/.codex/skills/maestro-verify/SKILL.md +0 -254
- package/chains/execute-verify.json +0 -59
- package/chains/singles/verify.json +0 -26
|
@@ -25,7 +25,7 @@ $ARGUMENTS — target and optional flags.
|
|
|
25
25
|
|-------|-----------|
|
|
26
26
|
| File path (contains `/` or `\`) | Read source file |
|
|
27
27
|
| Wiki ID (`<type>-<slug>`) | `maestro wiki get <id>` |
|
|
28
|
-
| Topic string | `maestro
|
|
28
|
+
| Topic string | `maestro search "<topic>"` → top result; fallback: Grep src/ |
|
|
29
29
|
|
|
30
30
|
**Flags**:
|
|
31
31
|
- `--depth shallow` (default): key patterns and structure only
|
|
@@ -32,7 +32,7 @@ $ARGUMENTS — question text and optional flags.
|
|
|
32
32
|
- `.workflow/knowhow/KNW-investigate-{slug}/report.md` — final report
|
|
33
33
|
- `.workflow/specs/learnings.md` — appended `<spec-entry>` blocks
|
|
34
34
|
|
|
35
|
-
**Storage read**: source files in scope + `maestro
|
|
35
|
+
**Storage read**: source files in scope + `maestro search` + `.workflow/specs/learnings.md` + `debug-notes.md` + `codebase/architecture.md`
|
|
36
36
|
</context>
|
|
37
37
|
|
|
38
38
|
<state_machine>
|
|
@@ -85,7 +85,7 @@ S_REPORT:
|
|
|
85
85
|
### A_FRAME_QUESTION
|
|
86
86
|
|
|
87
87
|
1. Parse question, generate slug, create KNW-investigate-{slug}/
|
|
88
|
-
2. Search prior knowledge: `maestro
|
|
88
|
+
2. Search prior knowledge: `maestro search "<question>"` + search .workflow/specs/learnings.md + read debug-notes.md
|
|
89
89
|
3. Write initial understanding.md (question, prior knowledge summary, scope, timestamp)
|
|
90
90
|
|
|
91
91
|
### A_COLLECT_EVIDENCE
|
|
@@ -35,7 +35,7 @@ $ARGUMENTS — target and optional mode flag.
|
|
|
35
35
|
|
|
36
36
|
**Flags**: `--mode review|challenge|consult` (default: review)
|
|
37
37
|
|
|
38
|
-
**Pre-load** (optional): `invoke_skill("spec-load")` for conventions + `maestro
|
|
38
|
+
**Pre-load** (optional): `invoke_skill("spec-load")` for conventions + `maestro search "<target topic>"` for related entries.
|
|
39
39
|
|
|
40
40
|
**Output**: `.workflow/knowhow/KNW-opinion-{slug}-{YYYY-MM-DD}.md`
|
|
41
41
|
</context>
|
|
@@ -51,12 +51,14 @@ $ARGUMENTS — user intent text, or special keywords.
|
|
|
51
51
|
3. **Auto flag pass-through** — 仅当用户传入 `-y` 时透传 `-y` 到 skill args
|
|
52
52
|
4. **Decomposition contract shared with maestro-ralph** — broad/lifecycle intents run S_DECOMPOSE producing the SAME additive block (`boundary_contract`, `execution_criteria`, `task_decomposition`)。Reference maestro-ralph `A_DECOMPOSE_TASKS`
|
|
53
53
|
5. **status.json 唯一真源** — 不生成 `goal-checklist.md` 或外部清单
|
|
54
|
-
6. **执行步骤统一通过 `maestro ralph next` 加载** — `command_scope`/`command_path` 由 `maestro ralph skills --json --quiet` 预校验(project 覆盖 global
|
|
54
|
+
6. **执行步骤统一通过 `maestro ralph next` 加载** — `command_scope`/`command_path` 由 `maestro ralph skills --platform agent --json --quiet` 预校验(project 覆盖 global,限定 `.claude/`);decision 节点不走 CLI,走 `invoke_skill("maestro-ralph")` handoff
|
|
55
55
|
7. **Topology awareness** — chain catalog 含 grill / brainstorm / blueprint / analyze-macro / analyze / roadmap / plan(三路径) / execute / verify / ...;scope_verdict 由 ralph 在 `post-analyze-scope` 决定
|
|
56
56
|
8. **Grill is interactive-only** — `-y` auto mode MUST skip grill stage and route directly to brainstorm; grill requires Socratic Q&A with the user
|
|
57
57
|
9. **D-007 milestone 反查** — 数字 phase 的 `milestone_id` 由 `state.json.milestones[].phase_slugs` 反查
|
|
58
58
|
10. **每个 step 必须 `completion_confirmed: true`** — 由 `maestro ralph complete N --status DONE|DONE_WITH_CONCERNS` 写入
|
|
59
59
|
11. **schema** — `ralph_protocol_version: "1"` 标记 CLI-driven session;新增字段全部可选
|
|
60
|
+
12. **Invariant violation = BLOCK** — 违反上述任一 invariant 即阻断当前操作,不可绕过。特别是 invariant 1(dispatch via ralph-execute)和 invariant 2(session before execution)和 invariant 10(completion_confirmed 由 CLI 写入)为硬约束。
|
|
61
|
+
13. **Classification evidence** — S_CLASSIFY 的 chain 选择决策 MUST 记录到 status.json 的 `classification_rationale` 字段:匹配了哪个 pattern、排除了哪些备选、confidence level。无记录的分类不可进入 S_CREATE。
|
|
60
62
|
</invariants>
|
|
61
63
|
|
|
62
64
|
<state_machine>
|
|
@@ -137,13 +139,14 @@ S_FALLBACK:
|
|
|
137
139
|
3. Select chain from chainMap,遵循拓扑约束:
|
|
138
140
|
- 压力测试/拷问/验证假设/grill/stress-test → `grill`(**-y 模式跳过 grill,直接走 brainstorm**)
|
|
139
141
|
- 头脑风暴/探索 → `brainstorm`
|
|
142
|
+
- 学习/阅读代码/跟读/follow → `invoke_skill("learn-follow")`;调查/为什么/investigate → `invoke_skill("learn-investigate")`;分解/模式/decompose → `invoke_skill("learn-decompose")`;评审/挑战/second-opinion → `invoke_skill("learn-second-opinion")`;回顾/retro → `invoke_skill("quality-retrospective")`
|
|
140
143
|
- 正式规格/spec-generate/7-phase → `blueprint`
|
|
141
144
|
- 项目初始化 → `init`
|
|
142
145
|
- 宽/中等意图 + 无数字 phase → `analyze-macro`(产 scope_verdict,由 ralph 在 `post-analyze-scope` 决定是否插入 roadmap+analyze 或直跳 plan --from analyze)
|
|
143
146
|
- 数字 phase 上下文 → `analyze {phase}` → `plan {phase}` → `execute {phase}` → `verify {phase}` → quality pipeline
|
|
144
147
|
- 已有 analyze artifact 想直达执行 → `plan --from analyze:{ANL_ID}` → execute → verify
|
|
145
148
|
- 已有 blueprint artifact → `plan --from blueprint:{BLP_ID}` → execute → verify
|
|
146
|
-
4. 执行 step:`shell("maestro ralph skills --json --quiet")` 预校验 skill 名,命中写绝对路径到 `command_path`,未命中标 `missing`;同时写 `step.stage` / `step.scope` / `step.source_artifact_ref`。decision 节点不解析 command_path
|
|
149
|
+
4. 执行 step:`shell("maestro ralph skills --platform agent --json --quiet")` 预校验 skill 名,命中写绝对路径到 `command_path`,未命中标 `missing`;同时写 `step.stage` / `step.scope` / `step.source_artifact_ref`。decision 节点不解析 command_path
|
|
147
150
|
|
|
148
151
|
### A_CLARIFY
|
|
149
152
|
|
|
@@ -230,7 +233,7 @@ S_FALLBACK:
|
|
|
230
233
|
- [ ] Chain selected and confirmed (or auto-confirmed)
|
|
231
234
|
- [ ] Session dir created with status.json before execution; decomposition fields additive-only
|
|
232
235
|
- [ ] 执行 step 含 `command_scope` + `command_path` + `completion_confirmed`;decision step 由 `step.decision` 标识
|
|
233
|
-
- [ ] `command_scope`/`command_path` 由 `maestro ralph skills --json --quiet` 预校验(project 覆盖 global)
|
|
236
|
+
- [ ] `command_scope`/`command_path` 由 `maestro ralph skills --platform agent --json --quiet` 预校验(project 覆盖 global)
|
|
234
237
|
- [ ] Session schema 含 `ralph_protocol_version: "1"` + `active_step_index: null` + step.load 占位
|
|
235
238
|
- [ ] 用户传入 `-y` 时透传到 skill args
|
|
236
239
|
- [ ] All chains dispatched via maestro-ralph-execute
|
|
@@ -73,11 +73,11 @@ Output directory format, artifact registration schema, and output artifact listi
|
|
|
73
73
|
|
|
74
74
|
1. **Codebase docs**: IF `.workflow/codebase/doc-index.json` exists → Read ARCHITECTURE.md for module boundaries
|
|
75
75
|
2. **Specs**: `maestro spec load --category arch` — load architecture constraints
|
|
76
|
-
3. **Wiki search**: `maestro
|
|
76
|
+
3. **Wiki search**: `maestro search "{topic keywords}" --json` → top 5-10 entries as prior knowledge
|
|
77
77
|
4. All optional — proceed without if unavailable (log warning)
|
|
78
78
|
|
|
79
79
|
### Role Knowledge
|
|
80
|
-
`maestro
|
|
80
|
+
`maestro search --category debug` → select relevant → `maestro wiki load`
|
|
81
81
|
</context>
|
|
82
82
|
|
|
83
83
|
<interview_protocol>
|
|
@@ -95,6 +95,57 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
95
95
|
<execution>
|
|
96
96
|
Follow '~/.maestro/workflows/analyze.md' completely.
|
|
97
97
|
|
|
98
|
+
### Core Principle: Evidence-Backed Decisions
|
|
99
|
+
|
|
100
|
+
Every decision produced by this command MUST be traceable to independently gathered evidence. Manual file reading (Read/Grep by the orchestrator) is preparation, NOT evidence. Evidence comes from:
|
|
101
|
+
- cli-explore-agent output (code anchors, call chains, data flows)
|
|
102
|
+
- maestro delegate CLI analysis output (multi-perspective findings)
|
|
103
|
+
- User-provided input (domain knowledge, constraints, corrections)
|
|
104
|
+
|
|
105
|
+
A decision without at least one CLI/agent-sourced evidence item is LOW CONFIDENCE and MUST be flagged as such.
|
|
106
|
+
|
|
107
|
+
### Standard Mode Phase Gates (when `-q` and `--gaps` are BOTH absent)
|
|
108
|
+
|
|
109
|
+
These gates are MANDATORY and BLOCKING. Do NOT advance past a gate until ALL conditions are met. Do NOT substitute manual Read/Grep for agent/CLI exploration.
|
|
110
|
+
|
|
111
|
+
**GATE 1: Step 4 → Step 5** (Exploration → Discussion)
|
|
112
|
+
- REQUIRED: cli-explore-agent spawned and completed (Step 4.1). Output written to `exploration-codebase.json` with ≥1 code anchor.
|
|
113
|
+
- REQUIRED: At least one maestro delegate CLI call completed (Step 4.2). Output aggregated into `explorations.json` or `perspectives.json`.
|
|
114
|
+
- REQUIRED: Baseline confidence scoring recorded in discussion.md (Step 4.6).
|
|
115
|
+
- BLOCKED if any missing: complete Step 4 before proceeding.
|
|
116
|
+
|
|
117
|
+
**GATE 2: Step 5 → Step 6** (Discussion → Scoring)
|
|
118
|
+
- REQUIRED: discussion.md contains ≥1 interactive round with user feedback (Step 5.3).
|
|
119
|
+
- REQUIRED: Confidence re-scored ≥1 time with delta shown (Step 5.8).
|
|
120
|
+
- REQUIRED: Pressure pass completed ≥1 time (Step 5.9).
|
|
121
|
+
- BLOCKED if any missing: continue discussion rounds.
|
|
122
|
+
|
|
123
|
+
**GATE 3: Step 6 → Step 7** (Scoring → Synthesis)
|
|
124
|
+
- REQUIRED: analysis.md written with all 6 dimensions scored.
|
|
125
|
+
- REQUIRED: Each dimension score cites evidence from exploration-codebase.json or explorations.json — NOT from orchestrator's manual file reading.
|
|
126
|
+
- BLOCKED if any missing: complete scoring first.
|
|
127
|
+
|
|
128
|
+
**GATE 4: Step 7 → Step 8** (Synthesis → Decision Extraction)
|
|
129
|
+
- REQUIRED: conclusions.json written with recommendations and decision trail.
|
|
130
|
+
- REQUIRED: Intent Coverage Matrix shows no unresolved ❌ items (or user-confirmed deferrals).
|
|
131
|
+
- BLOCKED if any missing: complete synthesis first.
|
|
132
|
+
|
|
133
|
+
### Artifact Verification
|
|
134
|
+
|
|
135
|
+
Before writing the completion report (Step 9), verify ALL expected artifacts exist in OUTPUT_DIR:
|
|
136
|
+
```
|
|
137
|
+
FULL_MODE_REQUIRED = [
|
|
138
|
+
"discussion.md", // Step 3+5
|
|
139
|
+
"exploration-codebase.json", // Step 4.1
|
|
140
|
+
"explorations.json" OR "perspectives.json", // Step 4.3
|
|
141
|
+
"analysis.md", // Step 6
|
|
142
|
+
"conclusions.json", // Step 7
|
|
143
|
+
"context.md", // Step 8
|
|
144
|
+
"context-package.json" // Step 8.6
|
|
145
|
+
]
|
|
146
|
+
```
|
|
147
|
+
If any artifact is missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
148
|
+
|
|
98
149
|
### --gaps Mode (Issue Root Cause Analysis)
|
|
99
150
|
|
|
100
151
|
When `--gaps` flag is present, follow `~/.maestro/workflows/issue-gaps-analyze.md` instead of the standard analyze pipeline:
|
|
@@ -66,7 +66,7 @@ maestro-analyze → maestro-roadmap → maestro-plan
|
|
|
66
66
|
### Pre-load
|
|
67
67
|
|
|
68
68
|
1. **Specs**: `maestro spec load --category arch` — load architecture constraints for Phase 4 decisions
|
|
69
|
-
2. **Wiki search**: `maestro
|
|
69
|
+
2. **Wiki search**: `maestro search "{topic keywords}" --json` → prior knowledge context
|
|
70
70
|
3. All optional — proceed without if unavailable
|
|
71
71
|
</context>
|
|
72
72
|
|
|
@@ -92,6 +92,41 @@ P0: Spec Study → P1: Discovery → P1.5: Req Expansion → P2: Product Brief
|
|
|
92
92
|
|
|
93
93
|
P6 gate: Pass (>=80%) → Handoff | Review (60-79%) → Handoff w/caveats | Fail (<60%) → P6.5 Auto-Fix (max 2 iter) → re-check
|
|
94
94
|
|
|
95
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
96
|
+
|
|
97
|
+
Each phase produces artifacts that are prerequisites for the next. Do NOT advance past a gate without verifying the prior phase's output exists.
|
|
98
|
+
|
|
99
|
+
**GATE P0 → P1**: `blueprint-config.json` created with session metadata.
|
|
100
|
+
**GATE P1 → P1.5**: Discovery context gathered (codebase patterns, upstream context loaded).
|
|
101
|
+
**GATE P1.5 → P2**: Requirements expanded from discovery findings.
|
|
102
|
+
**GATE P2 → P3**: `product-brief.md` written with vision, goals, scope, multi-perspective synthesis.
|
|
103
|
+
**GATE P3 → P4**: `requirements/` directory with `_index.md` + individual `REQ-*.md` + `NFR-*.md` files. All requirements have RFC 2119 keywords and acceptance criteria.
|
|
104
|
+
**GATE P4 → P5**: `architecture/` directory with `_index.md` + individual `ADR-*.md` files.
|
|
105
|
+
**GATE P5 → P6**: `epics/` directory with `_index.md` + individual `EPIC-*.md` files. Cross-Epic dependency map present.
|
|
106
|
+
**GATE P6**: Readiness score computed. Pass (≥80%) or Review (≥60%) required for handoff.
|
|
107
|
+
|
|
108
|
+
### Artifact Verification (before completion)
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
REQUIRED_ARTIFACTS = [
|
|
112
|
+
"blueprint-config.json", // P0
|
|
113
|
+
"product-brief.md", // P2
|
|
114
|
+
"glossary.json", // P2 (≥5 terms)
|
|
115
|
+
"requirements/_index.md", // P3
|
|
116
|
+
"architecture/_index.md", // P4
|
|
117
|
+
"epics/_index.md", // P5
|
|
118
|
+
"readiness-report.md", // P6
|
|
119
|
+
"blueprint-summary.md", // P6
|
|
120
|
+
"context-package.json" // P6
|
|
121
|
+
]
|
|
122
|
+
```
|
|
123
|
+
If any artifact is missing: DO NOT report completion. Go back and produce it.
|
|
124
|
+
|
|
125
|
+
### Evidence Requirement
|
|
126
|
+
|
|
127
|
+
Architecture Decision Records (ADR-*.md) MUST cite evidence for each decision:
|
|
128
|
+
- Valid: code analysis, requirement traceability (REQ-xxx), upstream context, CLI analysis output
|
|
129
|
+
- INVALID: generic rationale without reference to project-specific constraints
|
|
95
130
|
</execution>
|
|
96
131
|
|
|
97
132
|
<completion>
|
|
@@ -59,7 +59,7 @@ $ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
|
59
59
|
|
|
60
60
|
### Role Knowledge
|
|
61
61
|
1. Browse accumulated knowledge for this role:
|
|
62
|
-
`maestro
|
|
62
|
+
`maestro search --category arch`
|
|
63
63
|
2. Analyze the index, identify entries relevant to the current task
|
|
64
64
|
3. Load selected documents:
|
|
65
65
|
`maestro wiki load <id1> [id2] [id3...]`
|
|
@@ -79,6 +79,45 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
79
79
|
|
|
80
80
|
<execution>
|
|
81
81
|
Follow '~/.maestro/workflows/brainstorm.md' completely.
|
|
82
|
+
|
|
83
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
84
|
+
|
|
85
|
+
These gates apply to Auto mode (full pipeline). Do NOT advance past a gate until ALL conditions are met.
|
|
86
|
+
|
|
87
|
+
**GATE 1: Framework → Role Analysis** (Step 1 → Step 3)
|
|
88
|
+
- REQUIRED: `guidance-specification.md` written with §10 feature decomposition and RFC 2119 keywords.
|
|
89
|
+
- REQUIRED: Role selection completed (interactive or auto-default).
|
|
90
|
+
- BLOCKED if missing: complete framework generation before spawning role agents.
|
|
91
|
+
|
|
92
|
+
**GATE 2: Role Analysis → Cross-Role Review** (Step 3 → Step 4.5)
|
|
93
|
+
- REQUIRED: Every selected role has `{role}/analysis.md` with §2 Decision Digest (4 tables).
|
|
94
|
+
- REQUIRED: Per-feature files `{role}/analysis-F-*.md` written for each feature in §10.
|
|
95
|
+
- BLOCKED if missing: complete all role analyses before spawning cross-role-reviewer.
|
|
96
|
+
|
|
97
|
+
**GATE 3: Cross-Role Review → Completion** (Step 4.5 → Report)
|
|
98
|
+
- REQUIRED: Cross-role-reviewer output received with `patch_targets[]`.
|
|
99
|
+
- REQUIRED: If findings > 0, resolutions applied via Edit AND logged in `guidance-specification.md` §12.
|
|
100
|
+
- REQUIRED: If findings == 0, final report explicitly states "No cross-role issues detected".
|
|
101
|
+
- BLOCKED if missing: complete review synthesis before reporting.
|
|
102
|
+
|
|
103
|
+
### Artifact Verification (before completion report)
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
AUTO_MODE_REQUIRED = [
|
|
107
|
+
"guidance-specification.md", // Step 1
|
|
108
|
+
"{role}/analysis.md" (per selected role), // Step 3
|
|
109
|
+
"{role}/analysis-F-*.md" (per feature), // Step 3
|
|
110
|
+
]
|
|
111
|
+
```
|
|
112
|
+
If any artifact is missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
113
|
+
|
|
114
|
+
### Evidence Requirement
|
|
115
|
+
|
|
116
|
+
Role analysis findings in `{role}/analysis.md` §2 Decision Digest MUST cite concrete evidence:
|
|
117
|
+
- Code references (file:line), API endpoints, data models from the codebase
|
|
118
|
+
- User-provided constraints from interview
|
|
119
|
+
- Cross-role references to other role analyses
|
|
120
|
+
Decisions without evidence are flagged LOW CONFIDENCE.
|
|
82
121
|
</execution>
|
|
83
122
|
|
|
84
123
|
<completion>
|
|
@@ -27,7 +27,7 @@ $ARGUMENTS — requirement text and optional flags.
|
|
|
27
27
|
- `--rule <template>`: Shared rule template for all delegates
|
|
28
28
|
- `-y`: Skip plan confirmation
|
|
29
29
|
|
|
30
|
-
**Pre-load** (optional): `maestro spec load --category arch` + `maestro
|
|
30
|
+
**Pre-load** (optional): `maestro spec load --category arch` + `maestro search --category arch` → include in delegate prompts.
|
|
31
31
|
|
|
32
32
|
**Output**: `.workflow/scratch/{YYYYMMDD}-collab-{slug}/`
|
|
33
33
|
- `collab-report.md` — merged findings with consensus/conflict/unique tags
|
|
@@ -116,7 +116,7 @@ Display loaded rules summary (entry count + key rule names).
|
|
|
116
116
|
maestro knowhow list --store workflow
|
|
117
117
|
|
|
118
118
|
# With --task: search relevant entries
|
|
119
|
-
maestro knowhow
|
|
119
|
+
maestro search --type knowhow "<task_keyword>"
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
Display available knowhow entries (ID + title). Hint: `maestro wiki load <id>` for details.
|
|
@@ -129,7 +129,7 @@ ls .workflow/codebase/doc-index.json
|
|
|
129
129
|
|
|
130
130
|
- Exists → display "Codebase docs ready, last updated: {timestamp}"
|
|
131
131
|
- Missing → suggest `/manage-codebase-rebuild`
|
|
132
|
-
- Stale (>7 days) → suggest `/
|
|
132
|
+
- Stale (>7 days) → suggest `/quality-sync`
|
|
133
133
|
|
|
134
134
|
### 4. Create companion document
|
|
135
135
|
|
|
@@ -343,7 +343,7 @@ Mid-task commands:
|
|
|
343
343
|
/maestro-companion note "finding or decision"
|
|
344
344
|
/maestro-companion note --file src/auth.ts "changed token validation"
|
|
345
345
|
/spec-load --keyword <keyword>
|
|
346
|
-
maestro
|
|
346
|
+
maestro search "<query>"
|
|
347
347
|
```
|
|
348
348
|
|
|
349
349
|
---
|
|
@@ -472,7 +472,7 @@ Clear `.workflow/.scratchpad/.companion-active`.
|
|
|
472
472
|
|
|
473
473
|
```
|
|
474
474
|
Knowledge accumulation reminders:
|
|
475
|
-
Reusable pattern found? /spec-add <category> "title" "content"
|
|
475
|
+
Reusable pattern found? /spec-add <category> "title" "content" --description "summary"
|
|
476
476
|
Solved a complex problem? /manage-knowhow-capture recipe "description"
|
|
477
477
|
Made an architecture decision? /manage-knowhow-capture decision "description"
|
|
478
478
|
Discovered a useful trick? /manage-knowhow-capture tip "content"
|
|
@@ -128,7 +128,7 @@ Read deferred `node-catalog.md` (fallback to built-in mapping):
|
|
|
128
128
|
| review | `quality-review` |
|
|
129
129
|
| brainstorm | `maestro-brainstorm` |
|
|
130
130
|
| analysis | `maestro delegate --role analyze` |
|
|
131
|
-
| verify | `maestro-
|
|
131
|
+
| verify | `maestro-execute` |
|
|
132
132
|
| refactor | `quality-refactor` |
|
|
133
133
|
| debug | `quality-debug` |
|
|
134
134
|
|
|
@@ -19,7 +19,7 @@ Execute all tasks in a plan using wave-based parallel execution with dependency-
|
|
|
19
19
|
|
|
20
20
|
Invoked after /maestro-plan produces a confirmed plan. When called without args on a milestone, finds all pending plans and executes them sequentially.
|
|
21
21
|
|
|
22
|
-
Pipeline position: upstream from maestro-plan (consumes confirmed plan)
|
|
22
|
+
Pipeline position: upstream from maestro-plan (consumes confirmed plan). Verification is built-in (E2.7).
|
|
23
23
|
</purpose>
|
|
24
24
|
|
|
25
25
|
<required_reading>
|
|
@@ -58,13 +58,13 @@ Full resolution logic, output directory format, artifact registration schema, an
|
|
|
58
58
|
### Pre-load context (before task execution)
|
|
59
59
|
|
|
60
60
|
1. **Codebase docs**: If `.workflow/codebase/doc-index.json` exists, read `ARCHITECTURE.md` for module boundaries. Pass as shared context to executor agents.
|
|
61
|
-
2. **Wiki knowledge**: Run `maestro
|
|
61
|
+
2. **Wiki knowledge**: Run `maestro search "<phase keywords>" --json 2>/dev/null`. If results found, extract top 5 entries as prior knowledge context for agents.
|
|
62
62
|
3. **Coding specs + tools**: Run `maestro spec load --category coding` to load coding conventions AND discoverable knowhow tools (tool: true entries). Pass as specs context to all executor agents.
|
|
63
63
|
4. **UI specs (conditional)**: If any task involves frontend/UI work (task scope/description contains keywords like component, page, style, layout, CSS, HTML, frontend; or focus_paths in `src/components/`, `src/pages/`, `src/styles/`, `src/ui/`), also run `maestro spec load --category ui` and include in agent context.
|
|
64
64
|
5. All are optional — proceed without if unavailable (log warning).
|
|
65
65
|
|
|
66
66
|
### Role Knowledge
|
|
67
|
-
`maestro
|
|
67
|
+
`maestro search --category coding` → select relevant → `maestro wiki load`
|
|
68
68
|
</context>
|
|
69
69
|
|
|
70
70
|
<execution>
|
|
@@ -78,6 +78,29 @@ If exit code is 1, present warnings and ask whether to proceed.
|
|
|
78
78
|
|
|
79
79
|
Follow '~/.maestro/workflows/execute.md' completely.
|
|
80
80
|
|
|
81
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
82
|
+
|
|
83
|
+
**GATE 1: Plan Load → Task Execution**
|
|
84
|
+
- REQUIRED: plan.json found and parsed with valid task definitions.
|
|
85
|
+
- REQUIRED: `.task/TASK-*.json` files exist for all tasks in plan.
|
|
86
|
+
- BLOCKED if no pending tasks: error E004.
|
|
87
|
+
|
|
88
|
+
**GATE 2: Per-Task Execution → Summary**
|
|
89
|
+
- REQUIRED: Each completed task has `.summaries/TASK-{NNN}-summary.md` written with concrete evidence (files changed, tests run, verification results).
|
|
90
|
+
- REQUIRED: `.task/TASK-{NNN}.json` status updated to completed|blocked.
|
|
91
|
+
- Do NOT silently skip failed tasks — mark as blocked with reason.
|
|
92
|
+
|
|
93
|
+
**GATE 3: All Tasks → Completion**
|
|
94
|
+
- REQUIRED: All waves executed in dependency order.
|
|
95
|
+
- REQUIRED: EXC artifact registered in state.json.
|
|
96
|
+
|
|
97
|
+
### Evidence Requirement
|
|
98
|
+
|
|
99
|
+
Task summaries MUST include:
|
|
100
|
+
- Files actually modified (not just planned targets)
|
|
101
|
+
- Convergence criteria verification results (pass/fail with evidence)
|
|
102
|
+
- Any deviations from the plan with rationale
|
|
103
|
+
|
|
81
104
|
### Post-task Knowledge Inquiry
|
|
82
105
|
|
|
83
106
|
After each task completion, check triggers:
|
|
@@ -88,7 +111,8 @@ After each task completion, check triggers:
|
|
|
88
111
|
| retry_count >= 2 | "Document fix pattern?" | spec-add debug |
|
|
89
112
|
| Summary contains design rationale ("chose X because") | "Record as knowhow?" | spec-add learning |
|
|
90
113
|
|
|
91
|
-
On confirm → `invoke_skill("spec-add", "<category> <content>")`.
|
|
114
|
+
On confirm → `invoke_skill("spec-add", "<category> <content> --description \"<summary>\"")`.
|
|
115
|
+
Include `--description` with a one-line summary for search result display.
|
|
92
116
|
|
|
93
117
|
### Issue Status Sync
|
|
94
118
|
|
|
@@ -136,8 +160,7 @@ Status verdicts:
|
|
|
136
160
|
|
|
137
161
|
| Condition | Suggestion |
|
|
138
162
|
|-----------|-----------|
|
|
139
|
-
| All tasks completed successfully | `/
|
|
140
|
-
| Specific plan needs verification | `/maestro-verify --dir {dir}` |
|
|
163
|
+
| All tasks completed successfully | `/quality-review` |
|
|
141
164
|
| Failed tasks exist | `/quality-debug` |
|
|
142
165
|
| View project dashboard | `/manage-status` |
|
|
143
166
|
</completion>
|
|
@@ -44,6 +44,30 @@ Follow '~/.maestro/workflows/fork.md' completely.
|
|
|
44
44
|
|
|
45
45
|
Fork and sync algorithm steps are defined in workflow `fork.md`.
|
|
46
46
|
|
|
47
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
48
|
+
|
|
49
|
+
**Fork mode:**
|
|
50
|
+
|
|
51
|
+
**GATE 1: Validation → Worktree Creation**
|
|
52
|
+
- REQUIRED: Milestone resolved from state.json.milestones[].
|
|
53
|
+
- REQUIRED: No existing active worktree for this milestone (E008).
|
|
54
|
+
- REQUIRED: Not running inside a worktree (E003).
|
|
55
|
+
|
|
56
|
+
**GATE 2: Worktree Creation → Artifact Copy**
|
|
57
|
+
- REQUIRED: Git worktree created with branch (`milestone/{slug}`).
|
|
58
|
+
- REQUIRED: Shared `.workflow/` files copied (project.md, roadmap.md, config.json, specs/).
|
|
59
|
+
|
|
60
|
+
**GATE 3: Artifact Copy → Completion**
|
|
61
|
+
- REQUIRED: `worktree-scope.json` written with milestone scope.
|
|
62
|
+
- REQUIRED: Scoped `state.json` written (only this milestone's artifacts).
|
|
63
|
+
- REQUIRED: `worktrees.json` registry updated in main worktree.
|
|
64
|
+
|
|
65
|
+
**Sync mode:**
|
|
66
|
+
|
|
67
|
+
**GATE: Sync → Completion**
|
|
68
|
+
- REQUIRED: Git merge main into worktree branch completed.
|
|
69
|
+
- REQUIRED: Shared artifacts re-copied.
|
|
70
|
+
|
|
47
71
|
**Next-step routing on completion:**
|
|
48
72
|
|
|
49
73
|
Fork mode:
|
|
@@ -52,7 +52,7 @@ $ARGUMENTS -- topic/plan text for interactive mode, or --from source for upstrea
|
|
|
52
52
|
### Pre-load
|
|
53
53
|
|
|
54
54
|
1. **Specs**: `maestro spec load --category arch` — load architecture constraints
|
|
55
|
-
2. **Wiki search**: `maestro
|
|
55
|
+
2. **Wiki search**: `maestro search "{topic keywords}"` → load relevant entries before grilling
|
|
56
56
|
3. All optional — proceed without if unavailable
|
|
57
57
|
</context>
|
|
58
58
|
|
|
@@ -73,6 +73,43 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
73
73
|
|
|
74
74
|
<execution>
|
|
75
75
|
Follow '~/.maestro/workflows/grill.md' completely.
|
|
76
|
+
|
|
77
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
78
|
+
|
|
79
|
+
**GATE 1: Setup → Branch Walking** (Step 1 → Step 2)
|
|
80
|
+
- REQUIRED: Topic parsed and output directory created.
|
|
81
|
+
- REQUIRED: Initial codebase scan completed — at least one code reference identified for grounding.
|
|
82
|
+
- BLOCKED if missing: cannot grill without code reality baseline.
|
|
83
|
+
|
|
84
|
+
**GATE 2: Branch Walking → Synthesis** (Step 2 → Step 3)
|
|
85
|
+
- REQUIRED: All depth-selected branches walked (shallow=3, standard=5, deep=8).
|
|
86
|
+
- REQUIRED: Each branch has ≥2 Q&A pairs with evidence (code reference or explicit user input).
|
|
87
|
+
- REQUIRED: Every locked decision has evidence — NOT just orchestrator inference.
|
|
88
|
+
- BLOCKED if branches incomplete: continue walking before synthesizing.
|
|
89
|
+
|
|
90
|
+
**GATE 3: Synthesis → Completion** (Step 3 → Report)
|
|
91
|
+
- REQUIRED: `grill-report.md` written with Branch Log table + all Q&A entries + synthesis section.
|
|
92
|
+
- REQUIRED: `terminology.md` written with ≥5 terms.
|
|
93
|
+
- REQUIRED: `context-package.json` generated.
|
|
94
|
+
- BLOCKED if any artifact missing: produce it before reporting completion.
|
|
95
|
+
|
|
96
|
+
### Evidence Requirement
|
|
97
|
+
|
|
98
|
+
Grill questions MUST reference specific code when challenging the user's proposal:
|
|
99
|
+
- Valid: "The codebase uses `{symbol}` at `{file:line}` — your proposal calls it `{term}`. Which wins?"
|
|
100
|
+
- INVALID: Generic questions without code grounding (e.g., "How would you handle errors?")
|
|
101
|
+
- If codebase scan failed (W001): flag ALL subsequent locked decisions as LOW CONFIDENCE.
|
|
102
|
+
|
|
103
|
+
### Artifact Verification (before completion)
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
REQUIRED_ARTIFACTS = [
|
|
107
|
+
"grill-report.md", // Branch Log + Q&A + synthesis
|
|
108
|
+
"terminology.md", // ≥5 terms with code refs
|
|
109
|
+
"context-package.json" // Schema "context-package/1.0"
|
|
110
|
+
]
|
|
111
|
+
```
|
|
112
|
+
If any missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
76
113
|
</execution>
|
|
77
114
|
|
|
78
115
|
<completion>
|
|
@@ -197,7 +197,6 @@ $ARGUMENTS → Parse:
|
|
|
197
197
|
| `/maestro-analyze` | 双层分析 — 宏观(文本参数)探索影响面 / 微观(数字参数)Phase 级深入 |
|
|
198
198
|
| `/maestro-plan` | 任务规划 — 支持 `--from analyze:ANL-xxx` 直达 |
|
|
199
199
|
| `/maestro-execute` | 任务执行 |
|
|
200
|
-
| `/maestro-verify` | 验证确认 |
|
|
201
200
|
|
|
202
201
|
### 质量管线 (quality)
|
|
203
202
|
|
|
@@ -247,17 +246,17 @@ Roadmap > Milestone > Phase > Task
|
|
|
247
246
|
roadmap — 消费上游 context,纯 Milestone > Phase 分解
|
|
248
247
|
|
|
249
248
|
执行层
|
|
250
|
-
plan → execute
|
|
249
|
+
plan → execute
|
|
251
250
|
```
|
|
252
251
|
|
|
253
252
|
### 合法路径
|
|
254
253
|
|
|
255
254
|
| 路径 | 场景 | 命令序列 |
|
|
256
255
|
|------|------|---------|
|
|
257
|
-
| Path A | 完整新项目 | `brainstorm` → `blueprint`(可选) → `analyze "topic"` → `roadmap` → `analyze 1` → `plan 1` → `execute`
|
|
258
|
-
| Path B | 旧项目大功能 | `analyze "feature X"` → `roadmap` → `analyze 1` → `plan 1` → `execute`
|
|
259
|
-
| Path C | 中等功能 | `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute`
|
|
260
|
-
| Path D | 小改动 | `plan "fix auth bug"` → `execute`
|
|
256
|
+
| Path A | 完整新项目 | `brainstorm` → `blueprint`(可选) → `analyze "topic"` → `roadmap` → `analyze 1` → `plan 1` → `execute` |
|
|
257
|
+
| Path B | 旧项目大功能 | `analyze "feature X"` → `roadmap` → `analyze 1` → `plan 1` → `execute` |
|
|
258
|
+
| Path C | 中等功能 | `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute` |
|
|
259
|
+
| Path D | 小改动 | `plan "fix auth bug"` → `execute` |
|
|
261
260
|
| Path E | 纯规格文档 | `blueprint "project idea"` → (供人阅读) |
|
|
262
261
|
| Path F | 纯探索 | `brainstorm "idea"` → (供人决策) |
|
|
263
262
|
| 快速修复 | 已知简单问题 | `/maestro-quick "修复描述"` |
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "双层分析 — 宏观(文本参数)探索影响面+scope_verdict / 微观(数字参数)Phase 级深入", "source": "../../commands/maestro-analyze.md"},
|
|
14
14
|
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 支持 --from analyze:ANL-xxx 直达、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
15
15
|
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
16
|
-
{"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
|
|
17
16
|
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
18
17
|
{"name": "maestro-overlay", "command": "/maestro-overlay", "category": "core", "description": "Overlay 管理 — 创建、查看、删除命令补丁", "source": "../../commands/maestro-overlay.md"},
|
|
19
18
|
{"name": "maestro-amend", "command": "/maestro-amend", "category": "core", "description": "修正补丁 — 从工作流信号自动生成 overlay", "source": "../../commands/maestro-amend.md"},
|
|
@@ -156,7 +155,6 @@
|
|
|
156
155
|
"/maestro-roadmap",
|
|
157
156
|
"/maestro-plan",
|
|
158
157
|
"/maestro-execute",
|
|
159
|
-
"/maestro-verify",
|
|
160
158
|
"/maestro-quick"
|
|
161
159
|
],
|
|
162
160
|
"workflows": {
|
|
@@ -166,27 +164,27 @@
|
|
|
166
164
|
"upstream_origin": ["brainstorm (发散/轻量)", "blueprint (收敛/重型)"],
|
|
167
165
|
"understanding": "analyze 双层: 宏观(文本参数) + 微观(数字参数)",
|
|
168
166
|
"orchestration": "roadmap (可选,消费上游 context)",
|
|
169
|
-
"execution": ["plan", "execute"
|
|
167
|
+
"execution": ["plan", "execute"]
|
|
170
168
|
}
|
|
171
169
|
},
|
|
172
170
|
"paths": {
|
|
173
|
-
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute
|
|
174
|
-
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute
|
|
175
|
-
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute
|
|
176
|
-
"D_small_fix": "plan → execute
|
|
171
|
+
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute",
|
|
172
|
+
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute",
|
|
173
|
+
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute",
|
|
174
|
+
"D_small_fix": "plan → execute",
|
|
177
175
|
"E_spec_only": "blueprint → (供人阅读)",
|
|
178
176
|
"F_explore_only": "brainstorm → (供人决策)"
|
|
179
177
|
},
|
|
180
178
|
"main_pipeline": {
|
|
181
179
|
"name": "主干管线",
|
|
182
|
-
"phases": ["analyze", "plan", "execute"
|
|
180
|
+
"phases": ["analyze", "plan", "execute"],
|
|
183
181
|
"quality": ["quality-auto-test", "quality-review", "quality-test"],
|
|
184
182
|
"close": ["maestro-milestone-audit", "maestro-milestone-complete"]
|
|
185
183
|
},
|
|
186
184
|
"quick": {
|
|
187
185
|
"name": "快速渠道",
|
|
188
186
|
"entry": "/maestro-quick",
|
|
189
|
-
"modes": ["default (analyze+execute)", "--full (analyze+plan+execute
|
|
187
|
+
"modes": ["default (analyze+execute)", "--full (analyze+plan+execute)", "--discuss (multi-cli讨论)"]
|
|
190
188
|
},
|
|
191
189
|
"issue_loop": {
|
|
192
190
|
"name": "Issue 闭环",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
| 命令 | Guide 文档 |
|
|
71
71
|
|------|-----------|
|
|
72
|
-
| maestro-analyze/plan/execute
|
|
72
|
+
| maestro-analyze/plan/execute | `guide/command-usage-guide.md` (主干管线) |
|
|
73
73
|
| maestro-init/roadmap/blueprint | `guide/quick-start-guide.md` |
|
|
74
74
|
| maestro-ralph | `guide/maestro-ralph-guide.md` |
|
|
75
75
|
| maestro (协调器) | `guide/maestro-coordinator-guide.md` |
|
|
@@ -97,9 +97,7 @@
|
|
|
97
97
|
| roadmap 完成,phase=pending | `/maestro-analyze 1` | 微观分析:Phase 级深入探索 |
|
|
98
98
|
| analyze (微观) 完成 | `/maestro-plan 1` | Phase 级规划 |
|
|
99
99
|
| plan 完成 | `/maestro-execute` | 规划完成,开始执行 |
|
|
100
|
-
| execute 完成 | `/
|
|
101
|
-
| verify 有 gaps | `/maestro-analyze --gaps` | 发现差距,重新分析 |
|
|
102
|
-
| verify 通过 | `/quality-review` | 进入质量管线 |
|
|
100
|
+
| execute 完成 | `/quality-review` | 执行完成,进入质量管线 |
|
|
103
101
|
| quality 全通过 | `/maestro-milestone-audit` | 准备里程碑审计 |
|
|
104
102
|
| 所有 Phase 完成 | `/maestro-milestone-complete` | 里程碑可以关闭 |
|
|
105
103
|
|