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
|
@@ -35,7 +35,7 @@ If not provided, prompt user for scope.
|
|
|
35
35
|
1. **Coding specs**: Run `maestro spec load --category coding` to load coding conventions. Apply conventions to all refactored code.
|
|
36
36
|
2. **Review specs**: Run `maestro spec load --category review` to load review standards. Use as quality gate for refactored code.
|
|
37
37
|
3. **Role Knowledge**:
|
|
38
|
-
- Browse: `maestro
|
|
38
|
+
- Browse: `maestro search --category coding`
|
|
39
39
|
- Identify task-relevant entries, then load: `maestro wiki load <id1> [id2...]`
|
|
40
40
|
4. All are optional — proceed without if unavailable.
|
|
41
41
|
</context>
|
|
@@ -44,7 +44,7 @@ If not provided, prompt user for scope.
|
|
|
44
44
|
Follow '~/.maestro/workflows/refactor.md' completely.
|
|
45
45
|
|
|
46
46
|
**Knowledge inquiry on completion:**
|
|
47
|
-
After successful refactoring, ask user once: "Record refactoring pattern as coding convention?" If yes, persist via `Skill("spec-add", "coding \"<title>\" \"<pattern>\" --keywords <kw1>,<kw2>")`.
|
|
47
|
+
After successful refactoring, ask user once: "Record refactoring pattern as coding convention?" If yes, persist via `Skill("spec-add", "coding \"<title>\" \"<pattern>\" --keywords <kw1>,<kw2> --description \"<summary>\"")`.
|
|
48
48
|
|
|
49
49
|
**Next-step routing on completion:**
|
|
50
50
|
- All tests pass → `/quality-sync` (update codebase docs)
|
|
@@ -24,7 +24,7 @@ Post-execution multi-perspective retrospective (复盘) for completed phases. Co
|
|
|
24
24
|
|
|
25
25
|
<deferred_reading>
|
|
26
26
|
- @~/.maestro/workflows/issue.md (issues.jsonl schema for auto-creation)
|
|
27
|
-
- @~/.maestro/workflows/learn.md (tip routing via manage-
|
|
27
|
+
- @~/.maestro/workflows/learn.md (tip routing via manage-knowhow-capture tip)
|
|
28
28
|
- @~/.maestro/workflows/verify.md (verification.json schema for quality lens parsing)
|
|
29
29
|
- @~/.maestro/workflows/review.md (review.json schema for quality lens parsing)
|
|
30
30
|
</deferred_reading>
|
|
@@ -41,7 +41,7 @@ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invari
|
|
|
41
41
|
1. **Read-only until Stage 6** — Stages 1–5 must not write anything except the in-memory retrospective record.
|
|
42
42
|
2. **Parallel lens dispatch** — Stage 4 spawns one Agent per active lens in a single message (multiple Agent tool calls). All agents use `subagent_type: "general-purpose"` and `run_in_background: false`.
|
|
43
43
|
3. **Match canonical issues schema** — Stage 6 issue routing must produce rows that pass `jq` parsing and match the schema in `workflows/issue.md` Step 4 exactly (status `"open"`, full `issue_history` entry, all required fields).
|
|
44
|
-
4. **Reuse `manage-
|
|
44
|
+
4. **Reuse `manage-knowhow-capture tip` for note routing** — do not duplicate the learning pipeline; invoke via `view_file(AbsolutePath="<agy-skills-dir>/manage-knowhow-capture/SKILL.md") + execute inline (args: "tip ...")`.
|
|
45
45
|
5. **Backward-compat with phase-transition** — append a one-line summary per insight to `.workflow/specs/learnings.md` if and only if that file already exists. Never create it.
|
|
46
46
|
6. **Stable insight IDs** — `INS-{8 hex}` from `hash(phase_num + lens + title)` so re-runs do not duplicate.
|
|
47
47
|
7. **Archive before overwrite** — if existing `retrospective.{md,json}` are being replaced, move them to `{artifact_dir}/.history/` with a timestamp suffix first.
|
|
@@ -57,7 +57,7 @@ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invari
|
|
|
57
57
|
| E005 | error | Phase argument out of range / phase directory not found | scan_unreviewed |
|
|
58
58
|
| W001 | warning | One or more lens agents failed — proceeding with partial coverage | multi_lens_analysis |
|
|
59
59
|
| W002 | warning | Existing retrospective.json found and not `--all` — prompted user to overwrite | scan_unreviewed |
|
|
60
|
-
| W003 | warning | `manage-
|
|
60
|
+
| W003 | warning | `manage-knowhow-capture tip` did not return parseable INS id; fell back to direct write | route_outputs |
|
|
61
61
|
| W004 | warning | `--compare` target phase has no retrospective.json; delta omitted | load_artifacts |
|
|
62
62
|
</error_codes>
|
|
63
63
|
|
|
@@ -71,9 +71,9 @@ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invari
|
|
|
71
71
|
- [ ] If routing enabled (default): every recommendation either created an artifact or was explicitly skipped by user
|
|
72
72
|
- [ ] Spec entries (if any) appended as `<spec-entry>` to matching `.workflow/specs/{category-file}.md`
|
|
73
73
|
- [ ] Issue rows (if any) match canonical issues.jsonl schema (status "open", full issue_history, all required fields)
|
|
74
|
-
- [ ] Note tips (if any) created via `view_file(AbsolutePath="<agy-skills-dir>/manage-
|
|
74
|
+
- [ ] Note tips (if any) created via `view_file(AbsolutePath="<agy-skills-dir>/manage-knowhow-capture/SKILL.md") + execute inline (args: "tip ...")`
|
|
75
75
|
- [ ] `.workflow/specs/learnings.md` appended with one `<spec-entry>` per insight regardless of routing target
|
|
76
76
|
- [ ] No existing phase artifacts modified (verification.json, review.json, plan.json untouched)
|
|
77
77
|
- [ ] Confirmation banner displays routing counts and next-step suggestions
|
|
78
|
-
- [ ] Next step: `/manage-status` to review state, or `/manage-issue list --source retrospective` to triage created issues, or `/manage-
|
|
78
|
+
- [ ] Next step: `/manage-status` to review state, or `/manage-issue list --source retrospective` to triage created issues, or `/manage-knowhow list` to browse the knowhow library
|
|
79
79
|
</success_criteria>
|
|
@@ -15,7 +15,7 @@ allowed-tools:
|
|
|
15
15
|
- write_to_file
|
|
16
16
|
---
|
|
17
17
|
<purpose>
|
|
18
|
-
Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?" -- complementing maestro-
|
|
18
|
+
Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?" -- complementing maestro-execute's built-in verification ("is the goal met?") and quality-test ("does it work for users?"). Three review levels (quick/standard/deep) scale with task depth, auto-detected from file count. Level definitions, dimension lists, deep-dive rules, and issue creation thresholds defined in workflow review.md.
|
|
19
19
|
</purpose>
|
|
20
20
|
|
|
21
21
|
<required_reading>
|
|
@@ -52,9 +52,9 @@ Extract conclusions from related artifacts that may affect this review. Pass as
|
|
|
52
52
|
|
|
53
53
|
### Pre-load (optional, proceed without)
|
|
54
54
|
- Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → component boundaries, layer rules
|
|
55
|
-
- Wiki constraints: `maestro
|
|
55
|
+
- Wiki constraints: `maestro search "architecture constraint" --json` → documented decisions
|
|
56
56
|
- Specs: `maestro spec load --category review` → review standards, checklists, knowhow tools
|
|
57
|
-
- Role knowledge: `maestro
|
|
57
|
+
- Role knowledge: `maestro search --category review` → select relevant → `maestro wiki load`
|
|
58
58
|
|
|
59
59
|
**Output**: `REVIEW_DIR = .workflow/scratch/{YYYYMMDD}-review-P{N}-{slug}/` (P{N} = phase number, enables directory-level identification as state.json fallback)
|
|
60
60
|
</context>
|
|
@@ -101,7 +101,7 @@ NEXT: /quality-refactor
|
|
|
101
101
|
|
|
102
102
|
Status mapping:
|
|
103
103
|
- **DONE** — PASS verdict, no critical findings → NEXT: /quality-refactor
|
|
104
|
-
- **DONE_WITH_CONCERNS** — WARN verdict, issues found but non-blocking → NEXT: /
|
|
104
|
+
- **DONE_WITH_CONCERNS** — WARN verdict, issues found but non-blocking → NEXT: /quality-test
|
|
105
105
|
- **NEEDS_RETRY** — BLOCK verdict, critical findings require fix first
|
|
106
106
|
</execution>
|
|
107
107
|
|
|
@@ -35,6 +35,7 @@ Follow '~/.maestro/workflows/sync.md' completely.
|
|
|
35
35
|
**Next-step routing on completion:**
|
|
36
36
|
- Docs refreshed → `/manage-status`
|
|
37
37
|
- Major structural changes detected → `/manage-codebase-rebuild` (full rebuild recommended)
|
|
38
|
+
- Incremental refresh (replaces former `/manage-codebase-refresh`) → use `--since` flag
|
|
38
39
|
</execution>
|
|
39
40
|
|
|
40
41
|
<error_codes>
|
|
@@ -43,8 +43,8 @@ Follow '~/.maestro/workflows/test.md' completely.
|
|
|
43
43
|
**Command-specific extensions (not in workflow):**
|
|
44
44
|
|
|
45
45
|
**Knowledge context loading** (before test design):
|
|
46
|
-
- Wiki search: `maestro
|
|
47
|
-
- Role knowledge: `maestro
|
|
46
|
+
- Wiki search: `maestro search "<phase/feature keywords>" --json` → prior test strategies, recipes, decisions
|
|
47
|
+
- Role knowledge: `maestro search --category test` → select relevant → `maestro wiki load <id>`
|
|
48
48
|
- Specs + tools: `maestro spec load --category test` → test conventions + discoverable knowhow tools
|
|
49
49
|
|
|
50
50
|
**Test tool discovery** (knowhow tools as scenario source):
|
|
@@ -79,7 +79,7 @@ Append to state.json.artifacts[]:
|
|
|
79
79
|
|
|
80
80
|
**Next-step routing on completion:**
|
|
81
81
|
- All tests pass → `/maestro-milestone-audit`
|
|
82
|
-
- Issues found, --auto-fix ran and succeeded → `/maestro-
|
|
82
|
+
- Issues found, --auto-fix ran and succeeded → `/maestro-execute {phase}`
|
|
83
83
|
- Issues found, --auto-fix ran but gaps remain → `/quality-debug --from-uat {phase}`
|
|
84
84
|
- Issues found, manual fix needed → `/quality-debug --from-uat {phase}`
|
|
85
85
|
- Coverage below threshold → `/quality-auto-test {phase}`
|
|
@@ -90,7 +90,7 @@ Append to state.json.artifacts[]:
|
|
|
90
90
|
| Code | Severity | Condition | Recovery |
|
|
91
91
|
|------|----------|-----------|----------|
|
|
92
92
|
| E001 | error | Phase or task target required (no active sessions) | Prompt user for phase number |
|
|
93
|
-
| E002 | error | Phase not verified yet (no verification.json) | Suggest `/maestro-
|
|
93
|
+
| E002 | error | Phase not verified yet (no verification.json) | Suggest `/maestro-execute` first (verification is built-in) |
|
|
94
94
|
| E003 | error | Smoke test failed (app won't start) | Suggest `/quality-debug` |
|
|
95
95
|
| W001 | warning | One or more test scenarios failed | Auto-diagnose, suggest fix options |
|
|
96
96
|
| W002 | warning | Coverage below threshold | Suggest `/quality-auto-test` |
|
|
@@ -23,6 +23,7 @@ Entries use `category` attribute to declare which category they belong to.
|
|
|
23
23
|
$ARGUMENTS -- expects `[--scope <scope>] [--uid <uid>] <category> <content>`
|
|
24
24
|
|
|
25
25
|
**Options:**
|
|
26
|
+
- `--description <desc>` — One-line description for search results (falls back to content[:240])
|
|
26
27
|
- `--ref <path>` — Create as index entry referencing a knowhow document. If the path exists, only creates the spec index entry. If path doesn't exist, also creates the knowhow file.
|
|
27
28
|
- `--knowhow-type <type>` — Knowhow document type when creating with --ref (asset, blueprint, document, template, recipe, reference, decision)
|
|
28
29
|
|
|
@@ -33,12 +34,13 @@ Scope-to-directory mapping, category-to-file mapping, and entry format defined i
|
|
|
33
34
|
# English content → English keywords
|
|
34
35
|
/spec-add coding "Named exports" "Always use named exports" --keywords "exports,naming"
|
|
35
36
|
|
|
36
|
-
#
|
|
37
|
-
/spec-add coding "
|
|
37
|
+
# With description for search results
|
|
38
|
+
/spec-add coding "OAuth PKCE Flow" "完整 PKCE 集成流程" --keywords "oauth,pkce" --description "OAuth 2.0 PKCE 认证流程规范"
|
|
38
39
|
|
|
39
|
-
#
|
|
40
|
-
/spec-add coding "
|
|
40
|
+
# Chinese content → Chinese keywords
|
|
41
|
+
/spec-add coding "命名导出规范" "始终使用命名导出" --keywords "导出,命名,模块"
|
|
41
42
|
|
|
43
|
+
# Ref mode
|
|
42
44
|
/spec-add arch "OAuth PKCE 集成" "完整流程设计" --ref knowhow/AST-oauth-flow.md
|
|
43
45
|
```
|
|
44
46
|
</context>
|
|
@@ -11,7 +11,7 @@ allowed-tools:
|
|
|
11
11
|
<purpose>
|
|
12
12
|
Initialize the project-level specs directory by scanning the codebase for conventions, patterns, and tech stack.
|
|
13
13
|
Core files (coding, arch, learnings) are always created. Optional spec files (quality, test, ui) are created only when relevant signals are detected.
|
|
14
|
-
Additionally, generates recipe-type knowhow docs in `.workflow/knowhow/` for detected operational workflows (test / debug / build / dev / lint) — capturing "how to do X in this project" so future agents can find them via `maestro
|
|
14
|
+
Additionally, generates recipe-type knowhow docs in `.workflow/knowhow/` for detected operational workflows (test / debug / build / dev / lint) — capturing "how to do X in this project" so future agents can find them via `maestro search`.
|
|
15
15
|
Spec output lands in `.workflow/specs/`; recipe output lands in `.workflow/knowhow/`.
|
|
16
16
|
</purpose>
|
|
17
17
|
|
|
@@ -23,7 +23,7 @@ $ARGUMENTS — target and optional flags.
|
|
|
23
23
|
|-------|-----------|
|
|
24
24
|
| File path (contains `/` or `\`) | Read source file |
|
|
25
25
|
| Wiki ID (`<type>-<slug>`) | `maestro wiki get <id>` |
|
|
26
|
-
| Topic string | `maestro
|
|
26
|
+
| Topic string | `maestro search "<topic>"` → top result; fallback: Grep src/ |
|
|
27
27
|
|
|
28
28
|
**Flags**:
|
|
29
29
|
- `--depth shallow` (default): key patterns and structure only
|
|
@@ -30,7 +30,7 @@ $ARGUMENTS — question text and optional flags.
|
|
|
30
30
|
- `.workflow/knowhow/KNW-investigate-{slug}/report.md` — final report
|
|
31
31
|
- `.workflow/specs/learnings.md` — appended `<spec-entry>` blocks
|
|
32
32
|
|
|
33
|
-
**Storage read**: source files in scope + `maestro
|
|
33
|
+
**Storage read**: source files in scope + `maestro search` + `.workflow/specs/learnings.md` + `debug-notes.md` + `codebase/architecture.md`
|
|
34
34
|
</context>
|
|
35
35
|
|
|
36
36
|
<state_machine>
|
|
@@ -83,7 +83,7 @@ S_REPORT:
|
|
|
83
83
|
### A_FRAME_QUESTION
|
|
84
84
|
|
|
85
85
|
1. Parse question, generate slug, create KNW-investigate-{slug}/
|
|
86
|
-
2. Search prior knowledge: `maestro
|
|
86
|
+
2. Search prior knowledge: `maestro search "<question>"` + search .workflow/specs/learnings.md + read debug-notes.md
|
|
87
87
|
3. Write initial understanding.md (question, prior knowledge summary, scope, timestamp)
|
|
88
88
|
|
|
89
89
|
### A_COLLECT_EVIDENCE
|
|
@@ -33,7 +33,7 @@ $ARGUMENTS — target and optional mode flag.
|
|
|
33
33
|
|
|
34
34
|
**Flags**: `--mode review|challenge|consult` (default: review)
|
|
35
35
|
|
|
36
|
-
**Pre-load** (optional): `Skill("spec-load")` for conventions + `maestro
|
|
36
|
+
**Pre-load** (optional): `Skill("spec-load")` for conventions + `maestro search "<target topic>"` for related entries.
|
|
37
37
|
|
|
38
38
|
**Output**: `.workflow/knowhow/KNW-opinion-{slug}-{YYYY-MM-DD}.md`
|
|
39
39
|
</context>
|
|
@@ -71,11 +71,11 @@ Output directory format, artifact registration schema, and output artifact listi
|
|
|
71
71
|
|
|
72
72
|
1. **Codebase docs**: IF `.workflow/codebase/doc-index.json` exists → Read ARCHITECTURE.md for module boundaries
|
|
73
73
|
2. **Specs**: `maestro spec load --category arch` — load architecture constraints
|
|
74
|
-
3. **Wiki search**: `maestro
|
|
74
|
+
3. **Wiki search**: `maestro search "{topic keywords}" --json` → top 5-10 entries as prior knowledge
|
|
75
75
|
4. All optional — proceed without if unavailable (log warning)
|
|
76
76
|
|
|
77
77
|
### Role Knowledge
|
|
78
|
-
`maestro
|
|
78
|
+
`maestro search --category debug` → select relevant → `maestro wiki load`
|
|
79
79
|
</context>
|
|
80
80
|
|
|
81
81
|
<interview_protocol>
|
|
@@ -93,6 +93,57 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
93
93
|
<execution>
|
|
94
94
|
Follow '~/.maestro/workflows/analyze.md' completely.
|
|
95
95
|
|
|
96
|
+
### Core Principle: Evidence-Backed Decisions
|
|
97
|
+
|
|
98
|
+
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:
|
|
99
|
+
- cli-explore-agent output (code anchors, call chains, data flows)
|
|
100
|
+
- maestro delegate CLI analysis output (multi-perspective findings)
|
|
101
|
+
- User-provided input (domain knowledge, constraints, corrections)
|
|
102
|
+
|
|
103
|
+
A decision without at least one CLI/agent-sourced evidence item is LOW CONFIDENCE and MUST be flagged as such.
|
|
104
|
+
|
|
105
|
+
### Standard Mode Phase Gates (when `-q` and `--gaps` are BOTH absent)
|
|
106
|
+
|
|
107
|
+
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.
|
|
108
|
+
|
|
109
|
+
**GATE 1: Step 4 → Step 5** (Exploration → Discussion)
|
|
110
|
+
- REQUIRED: cli-explore-agent spawned and completed (Step 4.1). Output written to `exploration-codebase.json` with ≥1 code anchor.
|
|
111
|
+
- REQUIRED: At least one maestro delegate CLI call completed (Step 4.2). Output aggregated into `explorations.json` or `perspectives.json`.
|
|
112
|
+
- REQUIRED: Baseline confidence scoring recorded in discussion.md (Step 4.6).
|
|
113
|
+
- BLOCKED if any missing: complete Step 4 before proceeding.
|
|
114
|
+
|
|
115
|
+
**GATE 2: Step 5 → Step 6** (Discussion → Scoring)
|
|
116
|
+
- REQUIRED: discussion.md contains ≥1 interactive round with user feedback (Step 5.3).
|
|
117
|
+
- REQUIRED: Confidence re-scored ≥1 time with delta shown (Step 5.8).
|
|
118
|
+
- REQUIRED: Pressure pass completed ≥1 time (Step 5.9).
|
|
119
|
+
- BLOCKED if any missing: continue discussion rounds.
|
|
120
|
+
|
|
121
|
+
**GATE 3: Step 6 → Step 7** (Scoring → Synthesis)
|
|
122
|
+
- REQUIRED: analysis.md written with all 6 dimensions scored.
|
|
123
|
+
- REQUIRED: Each dimension score cites evidence from exploration-codebase.json or explorations.json — NOT from orchestrator's manual file reading.
|
|
124
|
+
- BLOCKED if any missing: complete scoring first.
|
|
125
|
+
|
|
126
|
+
**GATE 4: Step 7 → Step 8** (Synthesis → Decision Extraction)
|
|
127
|
+
- REQUIRED: conclusions.json written with recommendations and decision trail.
|
|
128
|
+
- REQUIRED: Intent Coverage Matrix shows no unresolved ❌ items (or user-confirmed deferrals).
|
|
129
|
+
- BLOCKED if any missing: complete synthesis first.
|
|
130
|
+
|
|
131
|
+
### Artifact Verification
|
|
132
|
+
|
|
133
|
+
Before writing the completion report (Step 9), verify ALL expected artifacts exist in OUTPUT_DIR:
|
|
134
|
+
```
|
|
135
|
+
FULL_MODE_REQUIRED = [
|
|
136
|
+
"discussion.md", // Step 3+5
|
|
137
|
+
"exploration-codebase.json", // Step 4.1
|
|
138
|
+
"explorations.json" OR "perspectives.json", // Step 4.3
|
|
139
|
+
"analysis.md", // Step 6
|
|
140
|
+
"conclusions.json", // Step 7
|
|
141
|
+
"context.md", // Step 8
|
|
142
|
+
"context-package.json" // Step 8.6
|
|
143
|
+
]
|
|
144
|
+
```
|
|
145
|
+
If any artifact is missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
146
|
+
|
|
96
147
|
### --gaps Mode (Issue Root Cause Analysis)
|
|
97
148
|
|
|
98
149
|
When `--gaps` flag is present, follow `~/.maestro/workflows/issue-gaps-analyze.md` instead of the standard analyze pipeline:
|
|
@@ -64,7 +64,7 @@ maestro-analyze → maestro-roadmap → maestro-plan
|
|
|
64
64
|
### Pre-load
|
|
65
65
|
|
|
66
66
|
1. **Specs**: `maestro spec load --category arch` — load architecture constraints for Phase 4 decisions
|
|
67
|
-
2. **Wiki search**: `maestro
|
|
67
|
+
2. **Wiki search**: `maestro search "{topic keywords}" --json` → prior knowledge context
|
|
68
68
|
3. All optional — proceed without if unavailable
|
|
69
69
|
</context>
|
|
70
70
|
|
|
@@ -90,6 +90,41 @@ P0: Spec Study → P1: Discovery → P1.5: Req Expansion → P2: Product Brief
|
|
|
90
90
|
|
|
91
91
|
P6 gate: Pass (>=80%) → Handoff | Review (60-79%) → Handoff w/caveats | Fail (<60%) → P6.5 Auto-Fix (max 2 iter) → re-check
|
|
92
92
|
|
|
93
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
94
|
+
|
|
95
|
+
Each phase produces artifacts that are prerequisites for the next. Do NOT advance past a gate without verifying the prior phase's output exists.
|
|
96
|
+
|
|
97
|
+
**GATE P0 → P1**: `blueprint-config.json` created with session metadata.
|
|
98
|
+
**GATE P1 → P1.5**: Discovery context gathered (codebase patterns, upstream context loaded).
|
|
99
|
+
**GATE P1.5 → P2**: Requirements expanded from discovery findings.
|
|
100
|
+
**GATE P2 → P3**: `product-brief.md` written with vision, goals, scope, multi-perspective synthesis.
|
|
101
|
+
**GATE P3 → P4**: `requirements/` directory with `_index.md` + individual `REQ-*.md` + `NFR-*.md` files. All requirements have RFC 2119 keywords and acceptance criteria.
|
|
102
|
+
**GATE P4 → P5**: `architecture/` directory with `_index.md` + individual `ADR-*.md` files.
|
|
103
|
+
**GATE P5 → P6**: `epics/` directory with `_index.md` + individual `EPIC-*.md` files. Cross-Epic dependency map present.
|
|
104
|
+
**GATE P6**: Readiness score computed. Pass (≥80%) or Review (≥60%) required for handoff.
|
|
105
|
+
|
|
106
|
+
### Artifact Verification (before completion)
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
REQUIRED_ARTIFACTS = [
|
|
110
|
+
"blueprint-config.json", // P0
|
|
111
|
+
"product-brief.md", // P2
|
|
112
|
+
"glossary.json", // P2 (≥5 terms)
|
|
113
|
+
"requirements/_index.md", // P3
|
|
114
|
+
"architecture/_index.md", // P4
|
|
115
|
+
"epics/_index.md", // P5
|
|
116
|
+
"readiness-report.md", // P6
|
|
117
|
+
"blueprint-summary.md", // P6
|
|
118
|
+
"context-package.json" // P6
|
|
119
|
+
]
|
|
120
|
+
```
|
|
121
|
+
If any artifact is missing: DO NOT report completion. Go back and produce it.
|
|
122
|
+
|
|
123
|
+
### Evidence Requirement
|
|
124
|
+
|
|
125
|
+
Architecture Decision Records (ADR-*.md) MUST cite evidence for each decision:
|
|
126
|
+
- Valid: code analysis, requirement traceability (REQ-xxx), upstream context, CLI analysis output
|
|
127
|
+
- INVALID: generic rationale without reference to project-specific constraints
|
|
93
128
|
</execution>
|
|
94
129
|
|
|
95
130
|
<completion>
|
|
@@ -57,7 +57,7 @@ $ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
|
57
57
|
|
|
58
58
|
### Role Knowledge
|
|
59
59
|
1. Browse accumulated knowledge for this role:
|
|
60
|
-
`maestro
|
|
60
|
+
`maestro search --category arch`
|
|
61
61
|
2. Analyze the index, identify entries relevant to the current task
|
|
62
62
|
3. Load selected documents:
|
|
63
63
|
`maestro wiki load <id1> [id2] [id3...]`
|
|
@@ -77,6 +77,45 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
77
77
|
|
|
78
78
|
<execution>
|
|
79
79
|
Follow '~/.maestro/workflows/brainstorm.md' completely.
|
|
80
|
+
|
|
81
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
82
|
+
|
|
83
|
+
These gates apply to Auto mode (full pipeline). Do NOT advance past a gate until ALL conditions are met.
|
|
84
|
+
|
|
85
|
+
**GATE 1: Framework → Role Analysis** (Step 1 → Step 3)
|
|
86
|
+
- REQUIRED: `guidance-specification.md` written with §10 feature decomposition and RFC 2119 keywords.
|
|
87
|
+
- REQUIRED: Role selection completed (interactive or auto-default).
|
|
88
|
+
- BLOCKED if missing: complete framework generation before spawning role agents.
|
|
89
|
+
|
|
90
|
+
**GATE 2: Role Analysis → Cross-Role Review** (Step 3 → Step 4.5)
|
|
91
|
+
- REQUIRED: Every selected role has `{role}/analysis.md` with §2 Decision Digest (4 tables).
|
|
92
|
+
- REQUIRED: Per-feature files `{role}/analysis-F-*.md` written for each feature in §10.
|
|
93
|
+
- BLOCKED if missing: complete all role analyses before spawning cross-role-reviewer.
|
|
94
|
+
|
|
95
|
+
**GATE 3: Cross-Role Review → Completion** (Step 4.5 → Report)
|
|
96
|
+
- REQUIRED: Cross-role-reviewer output received with `patch_targets[]`.
|
|
97
|
+
- REQUIRED: If findings > 0, resolutions applied via Edit AND logged in `guidance-specification.md` §12.
|
|
98
|
+
- REQUIRED: If findings == 0, final report explicitly states "No cross-role issues detected".
|
|
99
|
+
- BLOCKED if missing: complete review synthesis before reporting.
|
|
100
|
+
|
|
101
|
+
### Artifact Verification (before completion report)
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
AUTO_MODE_REQUIRED = [
|
|
105
|
+
"guidance-specification.md", // Step 1
|
|
106
|
+
"{role}/analysis.md" (per selected role), // Step 3
|
|
107
|
+
"{role}/analysis-F-*.md" (per feature), // Step 3
|
|
108
|
+
]
|
|
109
|
+
```
|
|
110
|
+
If any artifact is missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
111
|
+
|
|
112
|
+
### Evidence Requirement
|
|
113
|
+
|
|
114
|
+
Role analysis findings in `{role}/analysis.md` §2 Decision Digest MUST cite concrete evidence:
|
|
115
|
+
- Code references (file:line), API endpoints, data models from the codebase
|
|
116
|
+
- User-provided constraints from interview
|
|
117
|
+
- Cross-role references to other role analyses
|
|
118
|
+
Decisions without evidence are flagged LOW CONFIDENCE.
|
|
80
119
|
</execution>
|
|
81
120
|
|
|
82
121
|
<completion>
|
|
@@ -25,7 +25,7 @@ $ARGUMENTS — requirement text and optional flags.
|
|
|
25
25
|
- `--rule <template>`: Shared rule template for all delegates
|
|
26
26
|
- `-y`: Skip plan confirmation
|
|
27
27
|
|
|
28
|
-
**Pre-load** (optional): `maestro spec load --category arch` + `maestro
|
|
28
|
+
**Pre-load** (optional): `maestro spec load --category arch` + `maestro search --category arch` → include in delegate prompts.
|
|
29
29
|
|
|
30
30
|
**Output**: `.workflow/scratch/{YYYYMMDD}-collab-{slug}/`
|
|
31
31
|
- `collab-report.md` — merged findings with consensus/conflict/unique tags
|
|
@@ -114,7 +114,7 @@ Display loaded rules summary (entry count + key rule names).
|
|
|
114
114
|
maestro knowhow list --store workflow
|
|
115
115
|
|
|
116
116
|
# With --task: search relevant entries
|
|
117
|
-
maestro knowhow
|
|
117
|
+
maestro search --type knowhow "<task_keyword>"
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
Display available knowhow entries (ID + title). Hint: `maestro wiki load <id>` for details.
|
|
@@ -127,7 +127,7 @@ ls .workflow/codebase/doc-index.json
|
|
|
127
127
|
|
|
128
128
|
- Exists → display "Codebase docs ready, last updated: {timestamp}"
|
|
129
129
|
- Missing → suggest `/manage-codebase-rebuild`
|
|
130
|
-
- Stale (>7 days) → suggest `/
|
|
130
|
+
- Stale (>7 days) → suggest `/quality-sync`
|
|
131
131
|
|
|
132
132
|
### 4. Create companion document
|
|
133
133
|
|
|
@@ -341,7 +341,7 @@ Mid-task commands:
|
|
|
341
341
|
/maestro-companion note "finding or decision"
|
|
342
342
|
/maestro-companion note --file src/auth.ts "changed token validation"
|
|
343
343
|
/spec-load --keyword <keyword>
|
|
344
|
-
maestro
|
|
344
|
+
maestro search "<query>"
|
|
345
345
|
```
|
|
346
346
|
|
|
347
347
|
---
|
|
@@ -470,7 +470,7 @@ Clear `.workflow/.scratchpad/.companion-active`.
|
|
|
470
470
|
|
|
471
471
|
```
|
|
472
472
|
Knowledge accumulation reminders:
|
|
473
|
-
Reusable pattern found? /spec-add <category> "title" "content"
|
|
473
|
+
Reusable pattern found? /spec-add <category> "title" "content" --description "summary"
|
|
474
474
|
Solved a complex problem? /manage-knowhow-capture recipe "description"
|
|
475
475
|
Made an architecture decision? /manage-knowhow-capture decision "description"
|
|
476
476
|
Discovered a useful trick? /manage-knowhow-capture tip "content"
|
|
@@ -126,7 +126,7 @@ Read deferred `node-catalog.md` (fallback to built-in mapping):
|
|
|
126
126
|
| review | `quality-review` |
|
|
127
127
|
| brainstorm | `maestro-brainstorm` |
|
|
128
128
|
| analysis | `maestro delegate --role analyze` |
|
|
129
|
-
| verify | `maestro-
|
|
129
|
+
| verify | `maestro-execute` |
|
|
130
130
|
| refactor | `quality-refactor` |
|
|
131
131
|
| debug | `quality-debug` |
|
|
132
132
|
|
|
@@ -17,7 +17,7 @@ Execute all tasks in a plan using wave-based parallel execution with dependency-
|
|
|
17
17
|
|
|
18
18
|
Invoked after /maestro-plan produces a confirmed plan. When called without args on a milestone, finds all pending plans and executes them sequentially.
|
|
19
19
|
|
|
20
|
-
Pipeline position: upstream from maestro-plan (consumes confirmed plan)
|
|
20
|
+
Pipeline position: upstream from maestro-plan (consumes confirmed plan). Verification is built-in (E2.7).
|
|
21
21
|
</purpose>
|
|
22
22
|
|
|
23
23
|
<required_reading>
|
|
@@ -56,13 +56,13 @@ Full resolution logic, output directory format, artifact registration schema, an
|
|
|
56
56
|
### Pre-load context (before task execution)
|
|
57
57
|
|
|
58
58
|
1. **Codebase docs**: If `.workflow/codebase/doc-index.json` exists, read `ARCHITECTURE.md` for module boundaries. Pass as shared context to executor agents.
|
|
59
|
-
2. **Wiki knowledge**: Run `maestro
|
|
59
|
+
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.
|
|
60
60
|
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.
|
|
61
61
|
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.
|
|
62
62
|
5. All are optional — proceed without if unavailable (log warning).
|
|
63
63
|
|
|
64
64
|
### Role Knowledge
|
|
65
|
-
`maestro
|
|
65
|
+
`maestro search --category coding` → select relevant → `maestro wiki load`
|
|
66
66
|
</context>
|
|
67
67
|
|
|
68
68
|
<execution>
|
|
@@ -76,6 +76,29 @@ If exit code is 1, present warnings and ask whether to proceed.
|
|
|
76
76
|
|
|
77
77
|
Follow '~/.maestro/workflows/execute.md' completely.
|
|
78
78
|
|
|
79
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
80
|
+
|
|
81
|
+
**GATE 1: Plan Load → Task Execution**
|
|
82
|
+
- REQUIRED: plan.json found and parsed with valid task definitions.
|
|
83
|
+
- REQUIRED: `.task/TASK-*.json` files exist for all tasks in plan.
|
|
84
|
+
- BLOCKED if no pending tasks: error E004.
|
|
85
|
+
|
|
86
|
+
**GATE 2: Per-Task Execution → Summary**
|
|
87
|
+
- REQUIRED: Each completed task has `.summaries/TASK-{NNN}-summary.md` written with concrete evidence (files changed, tests run, verification results).
|
|
88
|
+
- REQUIRED: `.task/TASK-{NNN}.json` status updated to completed|blocked.
|
|
89
|
+
- Do NOT silently skip failed tasks — mark as blocked with reason.
|
|
90
|
+
|
|
91
|
+
**GATE 3: All Tasks → Completion**
|
|
92
|
+
- REQUIRED: All waves executed in dependency order.
|
|
93
|
+
- REQUIRED: EXC artifact registered in state.json.
|
|
94
|
+
|
|
95
|
+
### Evidence Requirement
|
|
96
|
+
|
|
97
|
+
Task summaries MUST include:
|
|
98
|
+
- Files actually modified (not just planned targets)
|
|
99
|
+
- Convergence criteria verification results (pass/fail with evidence)
|
|
100
|
+
- Any deviations from the plan with rationale
|
|
101
|
+
|
|
79
102
|
### Post-task Knowledge Inquiry
|
|
80
103
|
|
|
81
104
|
After each task completion, check triggers:
|
|
@@ -86,7 +109,8 @@ After each task completion, check triggers:
|
|
|
86
109
|
| retry_count >= 2 | "Document fix pattern?" | spec-add debug |
|
|
87
110
|
| Summary contains design rationale ("chose X because") | "Record as knowhow?" | spec-add learning |
|
|
88
111
|
|
|
89
|
-
On confirm → `Skill("spec-add", "<category> <content>")`.
|
|
112
|
+
On confirm → `Skill("spec-add", "<category> <content> --description \"<summary>\"")`.
|
|
113
|
+
Include `--description` with a one-line summary for search result display.
|
|
90
114
|
|
|
91
115
|
### Issue Status Sync
|
|
92
116
|
|
|
@@ -134,8 +158,7 @@ Status verdicts:
|
|
|
134
158
|
|
|
135
159
|
| Condition | Suggestion |
|
|
136
160
|
|-----------|-----------|
|
|
137
|
-
| All tasks completed successfully | `/
|
|
138
|
-
| Specific plan needs verification | `/maestro-verify --dir {dir}` |
|
|
161
|
+
| All tasks completed successfully | `/quality-review` |
|
|
139
162
|
| Failed tasks exist | `/quality-debug` |
|
|
140
163
|
| View project dashboard | `/manage-status` |
|
|
141
164
|
</completion>
|
|
@@ -42,6 +42,30 @@ Follow '~/.maestro/workflows/fork.md' completely.
|
|
|
42
42
|
|
|
43
43
|
Fork and sync algorithm steps are defined in workflow `fork.md`.
|
|
44
44
|
|
|
45
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
46
|
+
|
|
47
|
+
**Fork mode:**
|
|
48
|
+
|
|
49
|
+
**GATE 1: Validation → Worktree Creation**
|
|
50
|
+
- REQUIRED: Milestone resolved from state.json.milestones[].
|
|
51
|
+
- REQUIRED: No existing active worktree for this milestone (E008).
|
|
52
|
+
- REQUIRED: Not running inside a worktree (E003).
|
|
53
|
+
|
|
54
|
+
**GATE 2: Worktree Creation → Artifact Copy**
|
|
55
|
+
- REQUIRED: Git worktree created with branch (`milestone/{slug}`).
|
|
56
|
+
- REQUIRED: Shared `.workflow/` files copied (project.md, roadmap.md, config.json, specs/).
|
|
57
|
+
|
|
58
|
+
**GATE 3: Artifact Copy → Completion**
|
|
59
|
+
- REQUIRED: `worktree-scope.json` written with milestone scope.
|
|
60
|
+
- REQUIRED: Scoped `state.json` written (only this milestone's artifacts).
|
|
61
|
+
- REQUIRED: `worktrees.json` registry updated in main worktree.
|
|
62
|
+
|
|
63
|
+
**Sync mode:**
|
|
64
|
+
|
|
65
|
+
**GATE: Sync → Completion**
|
|
66
|
+
- REQUIRED: Git merge main into worktree branch completed.
|
|
67
|
+
- REQUIRED: Shared artifacts re-copied.
|
|
68
|
+
|
|
45
69
|
**Next-step routing on completion:**
|
|
46
70
|
|
|
47
71
|
Fork mode:
|
|
@@ -50,7 +50,7 @@ $ARGUMENTS -- topic/plan text for interactive mode, or --from source for upstrea
|
|
|
50
50
|
### Pre-load
|
|
51
51
|
|
|
52
52
|
1. **Specs**: `maestro spec load --category arch` — load architecture constraints
|
|
53
|
-
2. **Wiki search**: `maestro
|
|
53
|
+
2. **Wiki search**: `maestro search "{topic keywords}"` → load relevant entries before grilling
|
|
54
54
|
3. All optional — proceed without if unavailable
|
|
55
55
|
</context>
|
|
56
56
|
|
|
@@ -71,6 +71,43 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
71
71
|
|
|
72
72
|
<execution>
|
|
73
73
|
Follow '~/.maestro/workflows/grill.md' completely.
|
|
74
|
+
|
|
75
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
76
|
+
|
|
77
|
+
**GATE 1: Setup → Branch Walking** (Step 1 → Step 2)
|
|
78
|
+
- REQUIRED: Topic parsed and output directory created.
|
|
79
|
+
- REQUIRED: Initial codebase scan completed — at least one code reference identified for grounding.
|
|
80
|
+
- BLOCKED if missing: cannot grill without code reality baseline.
|
|
81
|
+
|
|
82
|
+
**GATE 2: Branch Walking → Synthesis** (Step 2 → Step 3)
|
|
83
|
+
- REQUIRED: All depth-selected branches walked (shallow=3, standard=5, deep=8).
|
|
84
|
+
- REQUIRED: Each branch has ≥2 Q&A pairs with evidence (code reference or explicit user input).
|
|
85
|
+
- REQUIRED: Every locked decision has evidence — NOT just orchestrator inference.
|
|
86
|
+
- BLOCKED if branches incomplete: continue walking before synthesizing.
|
|
87
|
+
|
|
88
|
+
**GATE 3: Synthesis → Completion** (Step 3 → Report)
|
|
89
|
+
- REQUIRED: `grill-report.md` written with Branch Log table + all Q&A entries + synthesis section.
|
|
90
|
+
- REQUIRED: `terminology.md` written with ≥5 terms.
|
|
91
|
+
- REQUIRED: `context-package.json` generated.
|
|
92
|
+
- BLOCKED if any artifact missing: produce it before reporting completion.
|
|
93
|
+
|
|
94
|
+
### Evidence Requirement
|
|
95
|
+
|
|
96
|
+
Grill questions MUST reference specific code when challenging the user's proposal:
|
|
97
|
+
- Valid: "The codebase uses `{symbol}` at `{file:line}` — your proposal calls it `{term}`. Which wins?"
|
|
98
|
+
- INVALID: Generic questions without code grounding (e.g., "How would you handle errors?")
|
|
99
|
+
- If codebase scan failed (W001): flag ALL subsequent locked decisions as LOW CONFIDENCE.
|
|
100
|
+
|
|
101
|
+
### Artifact Verification (before completion)
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
REQUIRED_ARTIFACTS = [
|
|
105
|
+
"grill-report.md", // Branch Log + Q&A + synthesis
|
|
106
|
+
"terminology.md", // ≥5 terms with code refs
|
|
107
|
+
"context-package.json" // Schema "context-package/1.0"
|
|
108
|
+
]
|
|
109
|
+
```
|
|
110
|
+
If any missing: DO NOT report completion. Go back and produce the missing artifact.
|
|
74
111
|
</execution>
|
|
75
112
|
|
|
76
113
|
<completion>
|
|
@@ -253,3 +253,16 @@ When findings lack explicit suggested command:
|
|
|
253
253
|
| Personality, memorability | delight |
|
|
254
254
|
|
|
255
255
|
Never auto-select: teach, shape, craft, live, document, extract, overdrive, critique, audit.
|
|
256
|
+
|
|
257
|
+
## Chain Phase Gates (MANDATORY for chain mode)
|
|
258
|
+
|
|
259
|
+
**GATE: Quality Gate Step → Next Step**
|
|
260
|
+
- REQUIRED: Score parsed from critique/audit output (not assumed or estimated).
|
|
261
|
+
- REQUIRED: P0 count extracted from findings — P0 == 0 required for pass.
|
|
262
|
+
- REQUIRED: If gate fails, refine commands executed and re-gate attempted.
|
|
263
|
+
- Do NOT skip quality gate steps or mark as "passed" without parsing actual score.
|
|
264
|
+
|
|
265
|
+
**GATE: Chain → Completion**
|
|
266
|
+
- REQUIRED: All non-skipped steps executed (TodoWrite all completed).
|
|
267
|
+
- REQUIRED: status.json updated with `status: "completed"` and final scores.
|
|
268
|
+
- REQUIRED: If any step failed: documented in status.json with reason.
|
|
@@ -59,6 +59,17 @@ Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
|
59
59
|
2. Validate `--from` source is accessible if provided
|
|
60
60
|
|
|
61
61
|
Follow '~/.maestro/workflows/init.md' completely.
|
|
62
|
+
|
|
63
|
+
### Artifact Verification (before completion)
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
REQUIRED_ARTIFACTS = [
|
|
67
|
+
".workflow/project.md", // Core Value, Requirements, Key Decisions
|
|
68
|
+
".workflow/state.json", // artifacts[], initialized to idle state
|
|
69
|
+
".workflow/config.json" // Workflow configuration
|
|
70
|
+
]
|
|
71
|
+
```
|
|
72
|
+
If any artifact is missing: DO NOT report completion. Write the missing file first.
|
|
62
73
|
</execution>
|
|
63
74
|
|
|
64
75
|
<completion>
|