maestro-flow 0.4.26 → 0.5.1
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/codify-to-knowhow/phases/03-generate-specs.md +2 -1
- 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 +7 -4
- 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/codify-to-knowhow/phases/03-generate-specs.md +2 -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 +7 -4
- 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 +7 -4
- 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/codify-to-knowhow/phases/03-generate-specs.md +2 -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 +6 -5
- 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 +17 -4
- package/.codex/skills/maestro-blueprint/SKILL.md +8 -1
- package/.codex/skills/maestro-brainstorm/SKILL.md +8 -5
- package/.codex/skills/maestro-collab/SKILL.md +1 -1
- 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-knowhow-capture/SKILL.md +32 -20
- 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 +48 -3
- 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/i18n/locales/en.d.ts.map +1 -1
- package/dist/src/i18n/locales/en.js +4 -0
- package/dist/src/i18n/locales/en.js.map +1 -1
- package/dist/src/i18n/locales/zh.d.ts.map +1 -1
- package/dist/src/i18n/locales/zh.js +4 -0
- package/dist/src/i18n/locales/zh.js.map +1 -1
- package/dist/src/i18n/types.d.ts +4 -0
- package/dist/src/i18n/types.d.ts.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/InstallConfirm.d.ts +1 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +3 -1
- package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts +2 -0
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +25 -1
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +13 -5
- package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/tui/install-ui/InstallHub.d.ts +2 -0
- package/dist/src/tui/install-ui/InstallHub.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallHub.js +10 -0
- package/dist/src/tui/install-ui/InstallHub.js.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.js +5 -1
- package/dist/src/tui/install-ui/InstallResult.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 +25 -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/agy-instructions.md +1 -1
- 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/finish-work.md +1 -1
- package/workflows/fork.md +1 -1
- package/workflows/impeccable/design.md +1 -0
- package/workflows/impeccable.md +1 -0
- package/workflows/integration-test.md +1 -1
- package/workflows/knowhow.md +14 -8
- 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/specs-add.md +1 -1
- package/workflows/specs-setup.md +2 -2
- 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
package/workflows/maestro.md
CHANGED
|
@@ -24,7 +24,7 @@ Parse $ARGUMENTS → extract flags, remainder is intent text.
|
|
|
24
24
|
|
|
25
25
|
Check `.workflow/state.json` existence.
|
|
26
26
|
|
|
27
|
-
**If exists:** Read state.json + roadmap.md. Derive progress by grouping artifacts by phase, determining furthest artifact type per phase (analyze→plan→execute
|
|
27
|
+
**If exists:** Read state.json + roadmap.md. Derive progress by grouping artifacts by phase, determining furthest artifact type per phase (analyze→plan→execute), and identifying pending plans. Build `$PROJECT_STATE`:
|
|
28
28
|
```json
|
|
29
29
|
{
|
|
30
30
|
"initialized": true,
|
|
@@ -91,9 +91,8 @@ Directly match user intent to the best `task_type` (maps to chain in chainMap).
|
|
|
91
91
|
|-----------|---------------------------|
|
|
92
92
|
| `quick` | Simple/small task, add a feature, quick change |
|
|
93
93
|
| `plan` | Plan, design, architect a phase |
|
|
94
|
-
| `execute` | Implement, develop, code a phase |
|
|
94
|
+
| `execute` | Implement, develop, code a phase (includes built-in verification gate) |
|
|
95
95
|
| `analyze` | Understand, investigate, evaluate code |
|
|
96
|
-
| `verify` | Check goals met, validate results |
|
|
97
96
|
| `review` | Code quality review |
|
|
98
97
|
| `test` | Run or create tests, UAT |
|
|
99
98
|
| `test_gen` | Generate tests for coverage gaps |
|
|
@@ -127,12 +126,11 @@ Directly match user intent to the best `task_type` (maps to chain in chainMap).
|
|
|
127
126
|
| `team_qa` | Team QA, debugging |
|
|
128
127
|
| `team_tech_debt` | Team tech debt remediation |
|
|
129
128
|
| `team_lifecycle` | Team full lifecycle (plan+dev+test+review) |
|
|
130
|
-
| `full-lifecycle` | Complete phase: plan→execute→
|
|
129
|
+
| `full-lifecycle` | Complete phase: plan→execute→review→test→audit |
|
|
131
130
|
| `brainstorm-driven` | Start from exploration/brainstorm |
|
|
132
131
|
| `spec-driven` | From spec/requirements (heavy, with init) |
|
|
133
132
|
| `roadmap-driven` | From requirements (light, with init) |
|
|
134
133
|
| `analyze-plan-execute` | Fast track: analyze→plan→execute |
|
|
135
|
-
| `execute-verify` | Resume after planning |
|
|
136
134
|
| `review-fix` | Fix review-blocked issues |
|
|
137
135
|
| `quality-loop` | Full quality improvement cycle |
|
|
138
136
|
| `quality-loop-partial` | Partial quality fix |
|
|
@@ -181,8 +179,7 @@ Full `chainMap` and `detectNextAction` are in the [Reference Data](#reference-da
|
|
|
181
179
|
|
|
182
180
|
Cross-validate intent against project state:
|
|
183
181
|
- `execute` but no plan → warn, prepend `maestro-plan`
|
|
184
|
-
- `
|
|
185
|
-
- `test` but not verified → warn, prepend `maestro-verify`
|
|
182
|
+
- `test` but not executed → warn, prepend `maestro-execute`
|
|
186
183
|
- `milestone_close` but not all phases executed → warn, suggest completing first
|
|
187
184
|
|
|
188
185
|
Display warning but let user override.
|
|
@@ -221,7 +218,7 @@ Step type is selected **per step**, not per chain. Pre-compute and write to each
|
|
|
221
218
|
If execMode is 'cli' or 'internal' → force that type for all steps ("cli" or "skill").
|
|
222
219
|
In 'auto' mode, select per step:
|
|
223
220
|
CLI steps (heavy, context-isolated): maestro-plan, maestro-execute, maestro-analyze, maestro-brainstorm, maestro-roadmap, maestro-impeccable, quality-refactor → type: "cli"
|
|
224
|
-
Skill steps (everything else): current-session Skill() call —
|
|
221
|
+
Skill steps (everything else): current-session Skill() call — review, test, debug, milestone-*, manage-*, spec-*, quick, etc. → type: "skill"
|
|
225
222
|
```
|
|
226
223
|
|
|
227
224
|
**Trade-off:** CLI = context isolation + template prompts. Skill = current-session Skill() call, direct visibility + synchronous + user can intervene.
|
|
@@ -311,7 +308,6 @@ const chainMap = {
|
|
|
311
308
|
'impeccable_improve': [{ cmd: 'maestro-impeccable', args: '"{description}" --chain improve' }],
|
|
312
309
|
'plan': [{ cmd: 'maestro-plan', args: '{phase}' }],
|
|
313
310
|
'execute': [{ cmd: 'maestro-execute', args: '{phase}' }],
|
|
314
|
-
'verify': [{ cmd: 'maestro-verify', args: '{phase}' }],
|
|
315
311
|
'test_gen': [{ cmd: 'quality-auto-test', args: '{phase}' }],
|
|
316
312
|
'auto_test': [{ cmd: 'quality-auto-test', args: '{phase}' }],
|
|
317
313
|
'test': [{ cmd: 'quality-test', args: '{phase}' }],
|
|
@@ -353,20 +349,19 @@ const chainMap = {
|
|
|
353
349
|
'team_tech_debt': [{ cmd: 'team-tech-debt', args: '"{description}"' }],
|
|
354
350
|
|
|
355
351
|
// ── Multi-step chains ──
|
|
356
|
-
'full-lifecycle': [{ cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: '
|
|
357
|
-
'spec-driven': [{ cmd: 'maestro-init' }, { cmd: 'maestro-roadmap', args: '--mode full "{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }
|
|
358
|
-
'roadmap-driven': [{ cmd: 'maestro-init' }, { cmd: 'maestro-roadmap', args: '"{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }
|
|
359
|
-
'brainstorm-driven': [{ cmd: 'maestro-brainstorm', args: '"{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }
|
|
352
|
+
'full-lifecycle': [{ cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'quality-review', args: '{phase}' }, { cmd: 'quality-test', args: '{phase}' }, { cmd: 'maestro-milestone-audit' }],
|
|
353
|
+
'spec-driven': [{ cmd: 'maestro-init' }, { cmd: 'maestro-roadmap', args: '--mode full "{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
354
|
+
'roadmap-driven': [{ cmd: 'maestro-init' }, { cmd: 'maestro-roadmap', args: '"{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
355
|
+
'brainstorm-driven': [{ cmd: 'maestro-brainstorm', args: '"{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
360
356
|
'brainstorm_visualize': [{ cmd: 'brainstorm-visualize', args: '"{description}"' }],
|
|
361
|
-
'impeccable-build': [{ cmd: 'maestro-impeccable', args: '"{description}" --chain build' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }
|
|
362
|
-
'impeccable-driven': [{ cmd: 'maestro-impeccable', args: '"{description}" --chain build' }, { cmd: 'maestro-
|
|
357
|
+
'impeccable-build': [{ cmd: 'maestro-impeccable', args: '"{description}" --chain build' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
358
|
+
'impeccable-driven': [{ cmd: 'maestro-impeccable', args: '"{description}" --chain build' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
363
359
|
'analyze-plan-execute': [{ cmd: 'maestro-analyze', args: '"{description}" -q' }, { cmd: 'maestro-plan', args: '--dir {scratch_dir}' }, { cmd: 'maestro-execute', args: '--dir {scratch_dir}' }],
|
|
364
|
-
'
|
|
365
|
-
'quality-loop': [{ cmd: 'maestro-verify', args: '{phase}' }, { cmd: 'quality-review', args: '{phase}' }, { cmd: 'quality-auto-test', args: '{phase}' }, { cmd: 'quality-test', args: '{phase}' }, { cmd: 'quality-debug', args: '--from-uat {phase}' }, { cmd: 'maestro-plan', args: '{phase} --gaps' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
360
|
+
'quality-loop': [{ cmd: 'quality-review', args: '{phase}' }, { cmd: 'quality-auto-test', args: '{phase}' }, { cmd: 'quality-test', args: '{phase}' }, { cmd: 'quality-debug', args: '--from-uat {phase}' }, { cmd: 'maestro-plan', args: '{phase} --gaps' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
366
361
|
'milestone-close': [{ cmd: 'maestro-milestone-audit' }, { cmd: 'maestro-milestone-complete' }],
|
|
367
|
-
'next-milestone': [{ cmd: 'maestro-roadmap', args: '"{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }
|
|
362
|
+
'next-milestone': [{ cmd: 'maestro-roadmap', args: '"{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
368
363
|
'review-fix': [{ cmd: 'maestro-plan', args: '{phase} --gaps' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'quality-review', args: '{phase}' }],
|
|
369
|
-
'quality-loop-partial': [{ cmd: 'maestro-plan', args: '{phase} --gaps' }, { cmd: 'maestro-execute', args: '{phase}' }
|
|
364
|
+
'quality-loop-partial': [{ cmd: 'maestro-plan', args: '{phase} --gaps' }, { cmd: 'maestro-execute', args: '{phase}' }],
|
|
370
365
|
'issue-full': [{ cmd: 'maestro-analyze', args: '--gaps {issue_id}' }, { cmd: 'maestro-plan', args: '--gaps' }, { cmd: 'maestro-execute', args: '' }, { cmd: 'quality-review', args: '{phase}' }, { cmd: 'manage-issue', args: 'close {issue_id} --resolution fixed' }],
|
|
371
366
|
'issue-quick': [{ cmd: 'maestro-plan', args: '--gaps' }, { cmd: 'maestro-execute', args: '' }, { cmd: 'manage-issue', args: 'close {issue_id} --resolution fixed' }],
|
|
372
367
|
'milestone-release': [{ cmd: 'maestro-milestone-audit' }, { cmd: 'maestro-milestone-release' }],
|
|
@@ -404,15 +399,13 @@ detectNextAction(state):
|
|
|
404
399
|
|
|
405
400
|
Route by phase_status (ps):
|
|
406
401
|
pending: has context artifact → 'plan'; has analysis → 'analyze-quick'; else → 'analyze'
|
|
407
|
-
exploring/planning: has plan → 'execute
|
|
408
|
-
executing: all tasks done → '
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
default → 'test'
|
|
415
|
-
verification not passed → 'quality-loop-partial'
|
|
402
|
+
exploring/planning: has plan → 'execute'; else → 'plan'
|
|
403
|
+
executing: all tasks done → 'review'; has blockers → 'debug'; else → 'execute'
|
|
404
|
+
exec completed (verification is built-in):
|
|
405
|
+
no review → 'review'
|
|
406
|
+
review BLOCK → 'review-fix'
|
|
407
|
+
uat pending → 'test'; uat passed → 'milestone-close'; uat failed → 'debug'
|
|
408
|
+
default → 'test'
|
|
416
409
|
testing: uat passed → 'milestone-close'; else → 'debug'
|
|
417
410
|
completed: → 'milestone-close'
|
|
418
411
|
forked: worktrees.json exists → 'merge'; else → 'status'
|
|
@@ -424,19 +417,18 @@ detectNextAction(state):
|
|
|
424
417
|
|
|
425
418
|
| Chain | Steps | Use Case |
|
|
426
419
|
|-------|-------|----------|
|
|
427
|
-
| `full-lifecycle` | plan → execute →
|
|
428
|
-
| `blueprint-driven` | init → blueprint → plan → execute
|
|
429
|
-
| `roadmap-driven` | init → roadmap → plan → execute
|
|
430
|
-
| `brainstorm-driven` | brainstorm → plan → execute
|
|
431
|
-
| `impeccable-build` | impeccable --chain build → plan → execute
|
|
420
|
+
| `full-lifecycle` | plan → execute → review → test → audit | Full milestone completion |
|
|
421
|
+
| `blueprint-driven` | init → blueprint → plan → execute | From idea/requirements (heavy) |
|
|
422
|
+
| `roadmap-driven` | init → roadmap → plan → execute | From requirements (light) |
|
|
423
|
+
| `brainstorm-driven` | brainstorm → plan → execute | From exploration |
|
|
424
|
+
| `impeccable-build` | impeccable --chain build → plan → execute | From design system generation |
|
|
432
425
|
| `analyze-plan-execute` | analyze -q → plan --dir → execute --dir | Fast track (scratch mode) |
|
|
433
|
-
| `execute-verify` | execute → verify | Resume after planning |
|
|
434
426
|
| `review-fix` | plan --gaps → execute → review | Fix review-blocked issues |
|
|
435
|
-
| `quality-loop` |
|
|
436
|
-
| `quality-loop-partial` | plan --gaps → execute
|
|
427
|
+
| `quality-loop` | review → test-gen → test → debug → plan --gaps → execute | Fix quality issues |
|
|
428
|
+
| `quality-loop-partial` | plan --gaps → execute | Partial quality fix cycle |
|
|
437
429
|
| `milestone-close` | audit → complete | Close a milestone |
|
|
438
430
|
| `milestone-release` | audit → release | Release with version tag |
|
|
439
|
-
| `next-milestone` | roadmap → plan → execute
|
|
431
|
+
| `next-milestone` | roadmap → plan → execute | Next milestone (auto-loads deferred) |
|
|
440
432
|
| `issue-full` | analyze → plan → execute → review → close | Issue with quality gate |
|
|
441
433
|
| `issue-quick` | plan → execute → close | Issue fast path |
|
|
442
434
|
|
|
@@ -456,8 +448,8 @@ detectNextAction(state):
|
|
|
456
448
|
| `"这个问题需要看看"` | analyze | maestro-analyze |
|
|
457
449
|
| `"创建一个 issue 跟踪"` | issue | manage-issue |
|
|
458
450
|
| `"discover issues"` | issue_discover | manage-issue-discover |
|
|
459
|
-
| `"brainstorm notifications"` | brainstorm-driven | brainstorm→plan→execute
|
|
460
|
-
| `"spec generate auth"` | spec-driven | init→spec→plan→execute
|
|
451
|
+
| `"brainstorm notifications"` | brainstorm-driven | brainstorm→plan→execute |
|
|
452
|
+
| `"spec generate auth"` | spec-driven | init→spec→plan→execute |
|
|
461
453
|
| `"ui design landing"` | impeccable_build | maestro-impeccable --chain build |
|
|
462
454
|
| `"优化界面交互"` | impeccable_improve | maestro-impeccable --chain improve |
|
|
463
455
|
| `"refactor auth module"` | refactor | quality-refactor "auth module" |
|
|
@@ -466,10 +458,10 @@ detectNextAction(state):
|
|
|
466
458
|
| `"next phase"` | milestone-close | audit→complete |
|
|
467
459
|
| `-y "implement X"` | execute | maestro-execute (auto) |
|
|
468
460
|
| `"release v1.2"` | release | maestro-milestone-release |
|
|
469
|
-
| `"从需求开始做完整个项目"` | spec-driven | init→spec→plan→execute
|
|
461
|
+
| `"从需求开始做完整个项目"` | spec-driven | init→spec→plan→execute |
|
|
470
462
|
| `"分析完直接改"` | analyze-plan-execute | analyze→plan→execute |
|
|
471
463
|
| `"review 有问题需要修"` | review-fix | plan --gaps→execute→review |
|
|
472
|
-
| `"全面质量检查"` | quality-loop |
|
|
464
|
+
| `"全面质量检查"` | quality-loop | review→test→debug→plan→execute |
|
|
473
465
|
|
|
474
466
|
### Error Codes
|
|
475
467
|
|
|
@@ -488,7 +480,7 @@ detectNextAction(state):
|
|
|
488
480
|
1. **Semantic Routing** — LLM-native `action × object` extraction; disambiguates "问题" by context
|
|
489
481
|
2. **State-Aware** — Reads `.workflow/state.json` before routing
|
|
490
482
|
3. **Quality Gates** — Issue chains auto-include review; `issue-full` is default for issue execution
|
|
491
|
-
4. **Per-Step Type** — Each step independently typed as `"skill"` or `"cli"`. Heavy steps (plan, execute, analyze, brainstorm) → CLI for context isolation. Observable steps (
|
|
483
|
+
4. **Per-Step Type** — Each step independently typed as `"skill"` or `"cli"`. Heavy steps (plan, execute, analyze, brainstorm) → CLI for context isolation. Observable steps (review, test, debug, manage-*) → Skill (current-session) for direct visibility. `--exec cli|internal` forces all steps.
|
|
492
484
|
5. **Unified Executor** — All execution dispatched to `maestro-ralph-execute`, which handles both maestro (static chain) and ralph (adaptive chain with decision nodes) sessions.
|
|
493
485
|
6. **Phase Propagation** — Auto-detects and passes phase numbers to downstream commands
|
|
494
486
|
7. **Auto Mode** — `-y` propagates through chain, skipping all confirmations
|
package/workflows/review.md
CHANGED
|
@@ -38,7 +38,7 @@ When external review feedback is received (from human reviewers, PR comments, or
|
|
|
38
38
|
## Prerequisites
|
|
39
39
|
|
|
40
40
|
- Phase execution completed (task summaries exist)
|
|
41
|
-
- Recommended: maestro-
|
|
41
|
+
- Recommended: maestro-execute verification gate already run (review uses verification gaps as context)
|
|
42
42
|
|
|
43
43
|
---
|
|
44
44
|
|
package/workflows/specs-add.md
CHANGED
|
@@ -97,7 +97,7 @@ Keyword quality rules:
|
|
|
97
97
|
```
|
|
98
98
|
Entry format (closed-tag), date = YYYY-MM-DD, title = first meaningful phrase:
|
|
99
99
|
|
|
100
|
-
<spec-entry category="{category}" keywords="{kw1},{kw2},{kw3}" date="{YYYY-MM-DD}">
|
|
100
|
+
<spec-entry category="{category}" keywords="{kw1},{kw2},{kw3}" date="{YYYY-MM-DD}" title="{title}" description="{one-line summary}">
|
|
101
101
|
### {title}
|
|
102
102
|
{content}
|
|
103
103
|
</spec-entry>
|
package/workflows/specs-setup.md
CHANGED
|
@@ -228,9 +228,9 @@ Schema: matches `recipe` type defined in `~/.maestro/workflows/knowhow.md` Part
|
|
|
228
228
|
|
|
229
229
|
**Skip rule:** If signals are missing, skip the recipe — do NOT generate placeholders.
|
|
230
230
|
|
|
231
|
-
**Idempotency rule:** Before writing, glob `.workflow/knowhow/RCP-*-{slug}.md`. If a file matching the slug exists, do NOT overwrite — write `.workflow/knowhow/RCP-{YYYYMMDD
|
|
231
|
+
**Idempotency rule:** Before writing, glob `.workflow/knowhow/RCP-*-{slug}.md`. If a file matching the slug exists, do NOT overwrite — write `.workflow/knowhow/RCP-{YYYYMMDD}-{slug}.proposed.md` instead and mention it in Step 7 summary so the user can diff and merge manually.
|
|
232
232
|
|
|
233
|
-
**Filename:** `.workflow/knowhow/RCP-{YYYYMMDD
|
|
233
|
+
**Filename:** `.workflow/knowhow/RCP-{YYYYMMDD}-{slug}.md` (date + semantic slug for readability).
|
|
234
234
|
|
|
235
235
|
**Tags rule:** Match content language (English codebase → English tags). Always include `workflow`, the slug, and the detected framework (e.g. `vitest`, `pytest`). Add `auto-generated` so users can identify spec-setup output for later pruning.
|
|
236
236
|
|
package/workflows/status.md
CHANGED
|
@@ -77,7 +77,7 @@ CONTEXT: key_decisions, blockers, deferred
|
|
|
77
77
|
If issue_state exists: display ISSUES panel (open count, critical count, by-status breakdown, critical issues list).
|
|
78
78
|
- Omit critical sub-section if none. Note blockers→issues migration if applicable. Note deferred items.
|
|
79
79
|
|
|
80
|
-
If issue_state is null: "No issues tracked. Use /manage-issue create
|
|
80
|
+
If issue_state is null: "No issues tracked. Use /manage-issue create to discover issues."
|
|
81
81
|
|
|
82
82
|
Status icons:
|
|
83
83
|
- `[x]` completed
|
|
@@ -116,7 +116,7 @@ Based on current project state, suggest the next command:
|
|
|
116
116
|
| Phase pending, needs decisions | /maestro-analyze \<N\> -q |
|
|
117
117
|
| Phase planned, not executed | /maestro-execute \<N\> |
|
|
118
118
|
| Phase executing, tasks blocked | /quality-debug \<N\> |
|
|
119
|
-
| Phase executed, not verified | /
|
|
119
|
+
| Phase executed, not verified | /quality-review \<N\> |
|
|
120
120
|
| Phase verified with gaps | /maestro-plan \<N\> --gaps |
|
|
121
121
|
| Phase verified, not reviewed | /quality-review \<N\> |
|
|
122
122
|
| Phase reviewed, BLOCK verdict | /maestro-plan \<N\> --gaps |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const meta = {
|
|
2
2
|
name: 'wf-verify',
|
|
3
3
|
description: 'Three-layer verification with prosecutor/defender/judge adversarial aggregation',
|
|
4
|
-
whenToUse: 'Accelerate maestro-
|
|
4
|
+
whenToUse: 'Accelerate maestro-execute verification gate with parallel layer checks + adversarial pass/fail determination',
|
|
5
5
|
phases: [
|
|
6
6
|
{ title: 'Check', detail: 'Parallel 3-layer verification + anti-pattern scan via workflow-verifier' },
|
|
7
7
|
{ title: 'Argue', detail: 'Prosecutor argues FAIL, Defender argues PASS — adversarial positions' },
|
package/workflows/test-gen.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Test Generation Workflow
|
|
2
2
|
|
|
3
|
-
Generate missing automated tests for a phase based on gap analysis from maestro-
|
|
3
|
+
Generate missing automated tests for a phase based on gap analysis from maestro-execute verification gate (Nyquist audit) and quality-test (UAT coverage gaps). Classifies changed files into unit/E2E/skip, discovers test infrastructure, generates a test plan for user approval, then writes tests using RED-GREEN methodology.
|
|
4
4
|
|
|
5
5
|
Tests expose bugs -- fixing is for quality-debug or maestro-execute.
|
|
6
6
|
|
|
@@ -220,7 +220,7 @@ Display: phase, framework, files/cases generated, passing/failing counts,
|
|
|
220
220
|
|
|
221
221
|
| Result | Suggestion |
|
|
222
222
|
|--------|------------|
|
|
223
|
-
| All tests passing | Skill({ skill: "
|
|
223
|
+
| All tests passing | Skill({ skill: "quality-review", args: "{phase}" }) to update Nyquist coverage |
|
|
224
224
|
| Bugs discovered (failing tests) | Skill({ skill: "quality-debug", args: "--from-uat {phase}" }) to investigate |
|
|
225
225
|
| Regressions found | Skill({ skill: "quality-debug" }) immediately |
|
|
226
226
|
| Coverage still low | Run again with `--layer` for uncovered layers |
|
package/workflows/test.md
CHANGED
|
@@ -402,7 +402,7 @@ Execute the loop: plan --gaps -> execute -> re-verify.
|
|
|
402
402
|
|
|
403
403
|
1. Run Skill({ skill: "maestro-plan", args: "{phase} --gaps" }) -- generates fix tasks from gaps
|
|
404
404
|
2. Run Skill({ skill: "maestro-execute", args: "{phase}" }) -- executes fix tasks
|
|
405
|
-
3. Run Skill({ skill: "maestro-
|
|
405
|
+
3. Run Skill({ skill: "maestro-execute", args: "{phase}" }) -- re-verify via verification gate
|
|
406
406
|
|
|
407
407
|
If re-verify passes: update uat.md gaps as resolved, report success.
|
|
408
408
|
If re-verify still has gaps: report remaining gaps, suggest manual intervention.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Update Scripts
|
|
2
|
+
|
|
3
|
+
Version-specific smart upgrade workflows for `maestro-update`.
|
|
4
|
+
|
|
5
|
+
## Architecture
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Schema migration (automatic) Smart upgrade (workflow doc)
|
|
9
|
+
───────────────────────── ──────────────────────────
|
|
10
|
+
src/migrations/v1-to-v2.ts ──→ workflows/updates/update-v2-setup.md
|
|
11
|
+
src/migrations/v2-to-v3.ts ──→ workflows/updates/update-v3-setup.md
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
- **Schema**: `src/migrations/` — code-level state.json transforms. Registry auto-chains all intermediate versions (v1→v2→v3 runs automatically, no manual steps).
|
|
15
|
+
- **Workflow**: `workflows/updates/update-v{VERSION}-setup.md` — what the user needs to know, configure, or verify after upgrading to that version.
|
|
16
|
+
|
|
17
|
+
## How It Works
|
|
18
|
+
|
|
19
|
+
1. `maestro-update` reads `.workflow/state.json` → `version`
|
|
20
|
+
2. Runs `npx tsx src/migrations/run.ts` which auto-chains all pending schema migrations
|
|
21
|
+
3. Loads `update-v{target}-setup.md` for the final target version
|
|
22
|
+
4. Setup doc guides user through environment changes (hooks, deps, knowledge system)
|
|
23
|
+
|
|
24
|
+
## Naming Convention
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
update-v{VERSION}-setup.md — post-migration setup for version {VERSION}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Adding a New Version
|
|
31
|
+
|
|
32
|
+
1. Create `src/migrations/v{FROM}-to-v{TO}.ts` (schema migration code)
|
|
33
|
+
2. Register in `src/migrations/index.ts`
|
|
34
|
+
3. Create `workflows/updates/update-v{TO}-setup.md` (smart upgrade guide)
|
|
35
|
+
|
|
36
|
+
## Current Versions
|
|
37
|
+
|
|
38
|
+
| Version | Schema | Setup |
|
|
39
|
+
|---------|--------|-------|
|
|
40
|
+
| v2.0 | `src/migrations/v1-to-v2.ts` | — |
|
|
41
|
+
| v3.0 | `src/migrations/v2-to-v3.ts` | `update-v3-setup.md` |
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Setup: v3.0 — Knowledge System Configuration
|
|
2
|
+
|
|
3
|
+
v2→v3 迁移后的环境配置。验证并引导用户完成知识系统、CodeGraph、Hook 的安装和配置。
|
|
4
|
+
|
|
5
|
+
## Step 1: 统一搜索验证
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
1. 运行:maestro search --help 2>&1 | head -1
|
|
9
|
+
2. IF 可用 → 显示 "统一搜索:就绪(maestro search)"
|
|
10
|
+
3. IF 不可用 → 警告 "运行 maestro install --force 更新 CLI"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
**迁移提示**:
|
|
14
|
+
```
|
|
15
|
+
以下命令已废弃,请使用 maestro search 替代:
|
|
16
|
+
- spec search → maestro search --type spec
|
|
17
|
+
- knowhow search → maestro search --type knowhow
|
|
18
|
+
- wiki search → maestro search
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Step 2: CodeGraph 安装
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
1. 检测:node -e "require('@colbymchenry/codegraph')" 2>&1
|
|
25
|
+
2. IF 已安装 → 显示 "CodeGraph:已安装"
|
|
26
|
+
3. IF 未安装 → 显示:
|
|
27
|
+
"可选:@colbymchenry/codegraph(tree-sitter 代码分析)"
|
|
28
|
+
"启用函数级 KG,提供 callers/callees 查询。"
|
|
29
|
+
"安装:npm install -g @colbymchenry/codegraph"
|
|
30
|
+
|
|
31
|
+
AskUserQuestion: "是否安装 CodeGraph?"
|
|
32
|
+
Options: [安装 / 跳过]
|
|
33
|
+
IF 安装:
|
|
34
|
+
Bash: npm install -g @colbymchenry/codegraph
|
|
35
|
+
|
|
36
|
+
4. IF 已安装 AND 无索引:
|
|
37
|
+
Bash: maestro kg index --sqlite
|
|
38
|
+
显示 "KG 索引已初始化"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Step 3: Hook 升级
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
1. 运行:maestro hooks status 2>&1
|
|
45
|
+
2. IF standard 级别已安装 BUT 缺少 kg-sync 或 kg-context-injector:
|
|
46
|
+
AskUserQuestion: "Hooks 需升级以包含 KG hooks,是否重新安装?"
|
|
47
|
+
Options: [重新安装 / 跳过]
|
|
48
|
+
IF 重新安装:
|
|
49
|
+
Bash: maestro hooks install --level standard
|
|
50
|
+
显示 "Hooks 已升级,包含 kg-sync + kg-context-injector"
|
|
51
|
+
|
|
52
|
+
3. IF 未安装任何 hooks:
|
|
53
|
+
AskUserQuestion: "是否安装 standard 级别 Hooks?(推荐)"
|
|
54
|
+
Options: [安装 / 跳过]
|
|
55
|
+
IF 安装:
|
|
56
|
+
Bash: maestro hooks install --level standard
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Hook 变更说明
|
|
60
|
+
|
|
61
|
+
| Hook | 事件 | 作用 |
|
|
62
|
+
|------|------|------|
|
|
63
|
+
| `kg-sync` | UserPromptSubmit | 用户输入时静默同步知识图谱(30 秒冷却) |
|
|
64
|
+
| `kg-context-injector` | PreToolUse:Agent | Agent 启动时注入代码结构上下文 |
|
|
65
|
+
|
|
66
|
+
`keyword-spec-injector` 也已升级——现在包含 KG 符号查找,从 prompt 中提取 camelCase/snake_case 符号名,查询 CodeGraph 获取调用关系。
|
|
67
|
+
|
|
68
|
+
## Step 4: 验证
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
1. 验证统一搜索:maestro search "test" --limit 1
|
|
72
|
+
2. 验证 KG(如已安装):maestro kg stats
|
|
73
|
+
3. 验证 Hooks:maestro hooks status
|
|
74
|
+
4. 显示最终状态:
|
|
75
|
+
Knowledge System:
|
|
76
|
+
Search: maestro search(统一,BM25)
|
|
77
|
+
CodeGraph: {已安装 | 未安装(可选)}
|
|
78
|
+
KG Hooks: {活跃 | 需重新安装}
|
|
79
|
+
```
|
package/workflows/verify.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# ⚠️ DEPRECATED — Merged into execute.md (E2.7)
|
|
2
|
+
|
|
3
|
+
Verification is now a built-in gate in `execute.md` step E2.7. This file is kept for reference only.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Verify Workflow
|
|
2
8
|
|
|
3
9
|
Dual verification: Goal-Backward structural verification + Nyquist test coverage validation.
|
|
@@ -520,7 +526,7 @@ Next steps:
|
|
|
520
526
|
|--------|------------|
|
|
521
527
|
| All passed, no gaps | Skill({ skill: "quality-review", args: "{phase}" }) for code review, then Skill({ skill: "quality-test" }) for UAT |
|
|
522
528
|
| Critical gaps found | Skill({ skill: "quality-debug" }) for investigation |
|
|
523
|
-
| Minor gaps only | Skill({ skill: "maestro-plan", args: "--gaps" }) -> Skill({ skill: "maestro-execute" })
|
|
529
|
+
| Minor gaps only | Skill({ skill: "maestro-plan", args: "--gaps" }) -> Skill({ skill: "maestro-execute" }) |
|
|
524
530
|
| Low test coverage | Skill({ skill: "quality-auto-test", args: "{phase}" }) to generate missing tests |
|
|
525
531
|
| Human verification needed | Skill({ skill: "quality-test", args: "{phase}" }) for interactive UAT |
|
|
526
532
|
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: learn-retro
|
|
3
|
-
description: Retrospective of git activity and decision quality
|
|
4
|
-
argument-hint: "[--lens git|decision|all] [--days N] [--author <name>] [--area <path>] [--phase N] [--tag <tag>] [--id <id>] [--compare]"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- read_file
|
|
7
|
-
- write_file
|
|
8
|
-
- shell
|
|
9
|
-
- find_files
|
|
10
|
-
- search
|
|
11
|
-
- delegate_subagent
|
|
12
|
-
- ask_user
|
|
13
|
-
---
|
|
14
|
-
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
15
|
-
|
|
16
|
-
<purpose>
|
|
17
|
-
Unified retrospective combining git activity analysis and decision quality evaluation. Works on raw git history and wiki/spec data. Two lenses (git, decision), usable independently or together.
|
|
18
|
-
|
|
19
|
-
All insights persist to `.workflow/specs/learnings.md` as `<spec-entry>` blocks.
|
|
20
|
-
</purpose>
|
|
21
|
-
|
|
22
|
-
<context>
|
|
23
|
-
$ARGUMENTS — lens selection and scope flags.
|
|
24
|
-
|
|
25
|
-
**Lens**: `--lens git` | `--lens decision` | `--lens all` (default: all)
|
|
26
|
-
|
|
27
|
-
**Git lens flags**: `--days N` (default: 7), `--author <name>`, `--area <path>`, `--compare` (vs prior retro)
|
|
28
|
-
**Decision lens flags**: `--phase N`, `--tag <tag>`, `--id <id>` (single decision by wiki/INS id)
|
|
29
|
-
|
|
30
|
-
**Storage write**:
|
|
31
|
-
- `.workflow/knowhow/KNW-retro-{date}.md` — unified report
|
|
32
|
-
- `.workflow/knowhow/KNW-retro-{date}.json` — structured metrics
|
|
33
|
-
- `.workflow/specs/learnings.md` — appended `<spec-entry>` blocks (source: retro-git / retro-decision)
|
|
34
|
-
|
|
35
|
-
**Storage read**: git history, `.workflow/state.json`, prior `KNW-retro-*.json`, `.workflow/specs/learnings.md`, wiki specs, `architecture-constraints.md`, phase context files
|
|
36
|
-
</context>
|
|
37
|
-
|
|
38
|
-
<state_machine>
|
|
39
|
-
|
|
40
|
-
<states>
|
|
41
|
-
S_PARSE — 解析 lens + flags PERSIST: —
|
|
42
|
-
S_GIT — git 活动分析(lens=git/all 时) PERSIST: metrics
|
|
43
|
-
S_DECISION — 决策质量评估(lens=decision/all 时) PERSIST: evaluations
|
|
44
|
-
S_REPORT — 生成统一报告 PERSIST: .md + .json
|
|
45
|
-
S_PERSIST — 写 spec-entry 块 PERSIST: .workflow/specs/learnings.md
|
|
46
|
-
</states>
|
|
47
|
-
|
|
48
|
-
<transitions>
|
|
49
|
-
|
|
50
|
-
S_PARSE:
|
|
51
|
-
→ S_GIT WHEN: lens == git OR all DO: ensure .workflow/knowhow/ exists (mkdir -p)
|
|
52
|
-
→ S_DECISION WHEN: lens == decision DO: ensure .workflow/knowhow/ exists (mkdir -p)
|
|
53
|
-
|
|
54
|
-
S_GIT:
|
|
55
|
-
→ S_DECISION WHEN: lens == all DO: A_GIT_ANALYSIS
|
|
56
|
-
→ S_REPORT WHEN: lens == git DO: A_GIT_ANALYSIS
|
|
57
|
-
|
|
58
|
-
S_DECISION:
|
|
59
|
-
→ S_REPORT DO: A_DECISION_ANALYSIS
|
|
60
|
-
|
|
61
|
-
S_REPORT:
|
|
62
|
-
→ S_PERSIST DO: write KNW-retro-{date}.md + .json
|
|
63
|
-
|
|
64
|
-
S_PERSIST:
|
|
65
|
-
→ END DO: append insights to .workflow/specs/learnings.md via `maestro spec add learning`
|
|
66
|
-
RULE: INS-id = hash(lens + metric_or_decision_id + date) for cross-session stability
|
|
67
|
-
|
|
68
|
-
</transitions>
|
|
69
|
-
|
|
70
|
-
<actions>
|
|
71
|
-
|
|
72
|
-
### A_GIT_ANALYSIS
|
|
73
|
-
|
|
74
|
-
**Parallel git commands**:
|
|
75
|
-
```bash
|
|
76
|
-
git log --since="{start}" --format="%H|%aN|%ae|%ai|%s" --shortstat
|
|
77
|
-
git log --since="{start}" --format="COMMIT:%H|%aN" --numstat
|
|
78
|
-
git log --since="{start}" --format="%at|%aN|%ai|%s" | sort -n
|
|
79
|
-
git log --since="{start}" --format="" --name-only | grep -v '^$' | sort | uniq -c | sort -rn | head -20
|
|
80
|
-
git shortlog --since="{start}" -sn --no-merges
|
|
81
|
-
```
|
|
82
|
-
Apply --author and --area filters.
|
|
83
|
-
|
|
84
|
-
**Compute metrics**:
|
|
85
|
-
|
|
86
|
-
| Metric | Formula |
|
|
87
|
-
|--------|---------|
|
|
88
|
-
| Test ratio | test_insertions / total_insertions * 100% |
|
|
89
|
-
| Churn rate | files changed >2x / total unique files |
|
|
90
|
-
| Sessions | Cluster commits by >2hr gaps in timestamps |
|
|
91
|
-
| LOC/session-hour | net_loc / total_session_hours |
|
|
92
|
-
|
|
93
|
-
**Per-author breakdown**: commits, LOC, top 3 areas, test ratio, session count.
|
|
94
|
-
|
|
95
|
-
**Trend** (if --compare or prior KNW-retro-*.json exists): compute deltas, flag >20% changes.
|
|
96
|
-
|
|
97
|
-
**Distill insights**: high churn files (instability), low test ratio areas (<20%), session patterns, area drift vs roadmap.
|
|
98
|
-
|
|
99
|
-
### A_DECISION_ANALYSIS
|
|
100
|
-
|
|
101
|
-
**Collect** (parallel):
|
|
102
|
-
```bash
|
|
103
|
-
maestro wiki search "decision" --json
|
|
104
|
-
maestro wiki list --type spec --json
|
|
105
|
-
git log --oneline --all --grep="decision\|chose\|decided" -20
|
|
106
|
-
```
|
|
107
|
-
Plus: architecture-constraints.md, phase context Locked/Deferred sections, .workflow/specs/learnings.md.
|
|
108
|
-
Apply --phase/--tag/--id filters.
|
|
109
|
-
|
|
110
|
-
**Build registry** per decision: id, title, source, date, rationale, alternatives, phase, implementation_evidence [file paths].
|
|
111
|
-
|
|
112
|
-
**Evaluate** — spawn 3 Agents in single message:
|
|
113
|
-
|
|
114
|
-
| Agent | Dimension | Grades |
|
|
115
|
-
|-------|-----------|--------|
|
|
116
|
-
| Technical Soundness | Implementation matches intent? Context changed? | sound / degraded / violated |
|
|
117
|
-
| Cost Assessment | Complexity added? Coupling/debt? | low-cost / acceptable / expensive / debt-creating |
|
|
118
|
-
| Alternative Hindsight | Right call with current knowledge? Reversible? | confirmed / questionable / should-revisit |
|
|
119
|
-
|
|
120
|
-
**Classify lifecycle**:
|
|
121
|
-
|
|
122
|
-
| Status | Criteria |
|
|
123
|
-
|--------|---------|
|
|
124
|
-
| Validated | sound + low/acceptable + confirmed |
|
|
125
|
-
| Aging | sound + expensive + confirmed |
|
|
126
|
-
| Questionable | degraded/violated + questionable |
|
|
127
|
-
| Stale | any + should-revisit |
|
|
128
|
-
| Reversed | code contradicts decision |
|
|
129
|
-
|
|
130
|
-
**Recommend**: Aging → tech debt review, Questionable → create issue, Stale → refresh, Reversed → document reversal.
|
|
131
|
-
|
|
132
|
-
</actions>
|
|
133
|
-
|
|
134
|
-
</state_machine>
|
|
135
|
-
|
|
136
|
-
<error_codes>
|
|
137
|
-
| Code | Condition | Recovery |
|
|
138
|
-
|------|-----------|----------|
|
|
139
|
-
| E001 | Not in git repo (git lens) | Navigate to git repo |
|
|
140
|
-
| E002 | No commits in window (git lens) | Increase --days |
|
|
141
|
-
| E003 | No decisions found (decision lens) | Check wiki/specs or provide --id |
|
|
142
|
-
| E004 | --id not found in wiki or knowhow | Verify the decision ID exists |
|
|
143
|
-
| W002 | No prior retro for comparison | Skip trend; first retro = baseline |
|
|
144
|
-
| W003 | One perspective agent failed | Proceed with available perspectives |
|
|
145
|
-
</error_codes>
|
|
146
|
-
|
|
147
|
-
<success_criteria>
|
|
148
|
-
- [ ] Git lens: metrics computed (commits, LOC, test ratio, churn, sessions), insights distilled
|
|
149
|
-
- [ ] Decision lens: decisions collected, 3 agents evaluated in parallel, lifecycle classified
|
|
150
|
-
- [ ] Unified report + structured JSON written
|
|
151
|
-
- [ ] .workflow/specs/learnings.md appended with stable INS-ids
|
|
152
|
-
</success_criteria>
|
|
153
|
-
|
|
154
|
-
<next_step_routing>
|
|
155
|
-
- Browse insights → `/manage-learn list --tag retro`
|
|
156
|
-
- Deep dive churn → `/learn-follow <path>`
|
|
157
|
-
- Fix test gaps → `/quality-auto-test <area>`
|
|
158
|
-
- Investigate stale decision → `/learn-investigate <question>`
|
|
159
|
-
</next_step_routing>
|