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
|
@@ -19,21 +19,33 @@ Available CLI endpoints are dynamically defined by the config file
|
|
|
19
19
|
|
|
20
20
|
## Knowledge System
|
|
21
21
|
|
|
22
|
-
###
|
|
22
|
+
### Design Principles
|
|
23
23
|
|
|
24
|
-
**
|
|
24
|
+
- **Single search entry** — `maestro search` is the only user-facing search command
|
|
25
|
+
- **Silent-skip-is-bug** — if knowledge exists but search misses it, that is a defect
|
|
26
|
+
- **Layer 2 auto-injection** — agents receive specs via hooks, rarely need manual `spec load`
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
### Search — Three-Layer Architecture
|
|
29
|
+
|
|
30
|
+
**Before planning or implementing, search first.** Load the right knowledge at the right time.
|
|
31
|
+
|
|
32
|
+
| Layer | Command | When to Use |
|
|
33
|
+
|-------|---------|-------------|
|
|
34
|
+
| **1. Unified** | `maestro search "<query>" [--type spec\|knowhow\|issue] [--category <cat>]` | Daily search — BM25 full-text across all knowledge types |
|
|
35
|
+
| **2. Agent injection** | `maestro spec load --category <cat> [--keyword <kw>]` | Domain rules for implementation (auto-injected by hooks) |
|
|
36
|
+
| **3. Code structure** | `maestro kg search <symbol>` / `maestro kg context <node>` | Tracing dependencies, call chains, module boundaries |
|
|
37
|
+
|
|
38
|
+
**Deprecated** (do not use): `spec search`, `knowhow search`, `wiki search` — all replaced by Layer 1.
|
|
39
|
+
|
|
40
|
+
KG stays fresh via hooks (`kg-sync` on UserPromptSubmit, `kg-context-injector` on Agent spawn). Manual `maestro kg index --sqlite` only needed on initial setup.
|
|
31
41
|
|
|
32
42
|
### Record — Capture Knowledge
|
|
33
43
|
|
|
34
|
-
When execution surfaces non-obvious knowledge
|
|
44
|
+
When execution surfaces non-obvious knowledge, persist it:
|
|
35
45
|
|
|
36
|
-
- **Spec entry** (short rule/constraint) → `/spec-add <category> "title" "content" --keywords kw1,kw2`
|
|
37
|
-
- **Knowhow document** (detailed recipe/template/decision
|
|
46
|
+
- **Spec entry** (short rule/constraint) → `/spec-add <category> "title" "content" --keywords kw1,kw2 --description "summary"`
|
|
47
|
+
- **Knowhow document** (detailed recipe/template/decision) → `/manage-knowhow-capture`
|
|
48
|
+
- Use `--spec-category <cat>` to bridge knowhow into agent injection
|
|
49
|
+
- Files use `{PREFIX}-{YYYYMMDD}-{slug}.md` naming for readable filenames
|
|
38
50
|
|
|
39
|
-
Category routing: decisions→`arch`, patterns→`coding`, pitfalls→`debug`/`learning`, rules→`review`, test strategy→`test`.
|
|
51
|
+
Category routing: decisions→`arch`, patterns→`coding`, pitfalls→`debug`/`learning`, rules→`review`, test strategy→`test`.
|
|
@@ -68,14 +68,13 @@ Available CLI endpoints are dynamically defined by the config file
|
|
|
68
68
|
|
|
69
69
|
**Before planning or implementing any task, search wiki and spec first** — the knowledge base contains reusable methods, tools, and hard-won experience. Load the right knowledge at the right time: search before you plan, load relevant entries before you implement, and revisit when you hit unfamiliar territory mid-task.
|
|
70
70
|
|
|
71
|
+
- `maestro search "<query>" [--type spec|knowhow|issue] [--category <cat>]` — BM25 full-text across all knowledge types
|
|
71
72
|
- `maestro spec load --category <cat>` — load rules by category (coding/arch/debug/test/review/learning)
|
|
72
73
|
- `maestro spec load --keyword <kw>` — cross-category keyword match
|
|
73
|
-
- `maestro wiki search "<query>"` — full-text search across all knowhow
|
|
74
|
-
- `maestro wiki list --category <cat>` → `maestro wiki load <id>` — browse then load full detail
|
|
75
74
|
|
|
76
75
|
### Knowledge Capture
|
|
77
76
|
|
|
78
|
-
- **Spec writes** → always `<spec-entry>` closed-tag format with `category`, `keywords`, `date`, `source`. Never raw Markdown. Route through `spec-add` when possible.
|
|
77
|
+
- **Spec writes** → always `<spec-entry>` closed-tag format with `title`, `description`, `category`, `keywords`, `date`, `source`. Never raw Markdown. Route through `spec-add` when possible.
|
|
79
78
|
- **Capture signal** → when execution surfaces non-obvious knowledge (plan deviation, retry pattern, root cause, constraint violation), ask user once whether to persist it. Match category to content: decisions→`arch`, pitfalls→`debug`/`learning`, patterns→`coding`, rules→`quality`.
|
|
80
79
|
- **Promotion** → at milestone close, scan learnings for repeated keywords (≥2 entries) and offer to graduate them into formal conventions.
|
|
81
80
|
- **Traceability** → every entry needs a source anchor: `file:line`, `INS-{id}`, commit, or phase path.
|
package/workflows/execute.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Execute Workflow
|
|
2
2
|
|
|
3
|
-
Wave-based parallel execution with atomic commits, breakpoint resume, and optional sync/reflection.
|
|
3
|
+
Wave-based parallel execution with atomic commits, breakpoint resume, built-in verification gate, and optional sync/reflection.
|
|
4
4
|
|
|
5
|
-
Core principle: **Execute per-plan, not per-phase.** Each plan's wave DAG runs independently. Multiple plans execute sequentially.
|
|
5
|
+
Core principle: **Execute per-plan, not per-phase.** Each plan's wave DAG runs independently. Multiple plans execute sequentially. Verification is an integral post-gate — not a separate command.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -69,6 +69,7 @@ For each PLAN_DIR in PLAN_DIRS (sequential):
|
|
|
69
69
|
| `--method agent\|codex\|gemini\|cli\|auto` | Override execution method (default: config.json.execution.method) |
|
|
70
70
|
| `--executor <tool>` | Default CLI tool: gemini\|codex\|qwen\|opencode\|claude (default: first enabled in cli-tools.json) |
|
|
71
71
|
| `--dir <path>` | Use arbitrary directory instead of phase resolution (skip roadmap validation) |
|
|
72
|
+
| `--skip-verify` | Skip E2.7 verification gate (trust execution output) |
|
|
72
73
|
| `-y` | Auto-approve execution options (skip confirmation prompt) |
|
|
73
74
|
|
|
74
75
|
---
|
|
@@ -117,10 +118,19 @@ AskUserQuestion({
|
|
|
117
118
|
header: "Review",
|
|
118
119
|
multiSelect: false,
|
|
119
120
|
options: [
|
|
120
|
-
{ label: "Skip
|
|
121
|
-
// One option per enabled CLI tool with review capability:
|
|
121
|
+
{ label: "Skip", description: "No code review" },
|
|
122
122
|
...availableTools.map(t => ({ label: `${t} Review`, description: `${t} CLI: git diff quality review` }))
|
|
123
123
|
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
question: "Verification gate? (external model checks convergence + structure + anti-patterns)",
|
|
127
|
+
header: "Verify",
|
|
128
|
+
multiSelect: false,
|
|
129
|
+
options: [
|
|
130
|
+
{ label: "Auto (Recommended)", description: `Delegate to ${availableTools[0] || 'first enabled tool'} for convergence + 3-layer structure + anti-pattern check` },
|
|
131
|
+
...availableTools.map(t => ({ label: t, description: `${t}: verification gate` })),
|
|
132
|
+
{ label: "Skip", description: "No verification gate" }
|
|
133
|
+
]
|
|
124
134
|
}
|
|
125
135
|
]
|
|
126
136
|
})
|
|
@@ -146,7 +156,17 @@ Other text parsing — match tool names dynamically from enabled tools:
|
|
|
146
156
|
|
|
147
157
|
**Question 2 (Review):** store as `codeReviewTool`
|
|
148
158
|
|
|
149
|
-
|
|
159
|
+
**Question 3 (Verify):**
|
|
160
|
+
|
|
161
|
+
| Answer | verificationTool |
|
|
162
|
+
|--------|-----------------|
|
|
163
|
+
| "Auto" | First enabled tool from config |
|
|
164
|
+
| Tool name | That tool |
|
|
165
|
+
| "Skip" | `"Skip"` |
|
|
166
|
+
|
|
167
|
+
`--skip-verify` flag overrides to `"Skip"`.
|
|
168
|
+
|
|
169
|
+
Store: `executionMethod`, `domainRouting`, `codeReviewTool`, `verificationTool`
|
|
150
170
|
|
|
151
171
|
---
|
|
152
172
|
|
|
@@ -166,6 +186,7 @@ If executionContext is available in memory:
|
|
|
166
186
|
executorAssignments = executionContext.executorAssignments || {}
|
|
167
187
|
domainRouting = E0.5 domainRouting || executionContext.domainRouting || {}
|
|
168
188
|
codeReviewTool = E0.5 selection || executionContext.codeReviewTool || "Skip"
|
|
189
|
+
verificationTool = E0.5 selection || executionContext.verificationTool || "Auto"
|
|
169
190
|
Skip disk reload
|
|
170
191
|
```
|
|
171
192
|
|
|
@@ -179,6 +200,7 @@ defaultExecutor = --executor flag || config.json.execution.default_executor || f
|
|
|
179
200
|
executorAssignments = plan.json.executor_assignments || {}
|
|
180
201
|
domainRouting = E0.5 domainRouting || built from delegate-config domain tags (frontend→tag match, backend→tag match, default→"agent")
|
|
181
202
|
codeReviewTool = E0.5 selection || "Skip"
|
|
203
|
+
verificationTool = E0.5 selection || "Auto"
|
|
182
204
|
```
|
|
183
205
|
|
|
184
206
|
### Detect completed tasks (breakpoint resume)
|
|
@@ -415,6 +437,128 @@ Wait for completion, log findings summary
|
|
|
415
437
|
|
|
416
438
|
---
|
|
417
439
|
|
|
440
|
+
## E2.7: Verification Gate
|
|
441
|
+
|
|
442
|
+
**Purpose:** External model verifies execution output actually achieves convergence criteria and structural integrity. Replaces the standalone `maestro-verify` — verification is now an integral post-gate within execution. The executing agent does NOT verify itself; a separate model performs the cross-check.
|
|
443
|
+
|
|
444
|
+
**Skip if** `verificationTool == "Skip"` OR `--skip-verify` flag OR no completed tasks.
|
|
445
|
+
|
|
446
|
+
### Step 1: Collect Verification Inputs
|
|
447
|
+
|
|
448
|
+
```
|
|
449
|
+
modified_files = collect all files changed by completed tasks (from .summaries/ + git diff)
|
|
450
|
+
convergence_criteria = collect convergence.criteria from all completed .task/*.json
|
|
451
|
+
success_criteria = index.json.success_criteria (if exists)
|
|
452
|
+
must_haves = success_criteria || convergence_criteria aggregated
|
|
453
|
+
summaries_content = concatenate all .summaries/TASK-*-summary.md
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
### Step 2: Resolve Verification Tool
|
|
457
|
+
|
|
458
|
+
```
|
|
459
|
+
IF verificationTool == "Auto": resolve to first enabled tool from delegate-config
|
|
460
|
+
ELSE: use specified tool name
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
### Step 3: Dispatch Verification (external model)
|
|
464
|
+
|
|
465
|
+
Single delegate call covers convergence review + structure verify + anti-pattern scan:
|
|
466
|
+
|
|
467
|
+
```
|
|
468
|
+
Bash({
|
|
469
|
+
command: 'maestro delegate "PURPOSE: Verify execution output meets all convergence criteria and structural integrity; success = all criteria verified with file:line evidence
|
|
470
|
+
TASK:
|
|
471
|
+
1. CONVERGENCE: For each criterion below, check if the actual code satisfies it — read the files, verify the behavior exists, report status with evidence
|
|
472
|
+
2. STRUCTURE Layer 1 (Existence): Verify all expected output files exist on disk
|
|
473
|
+
3. STRUCTURE Layer 2 (Substance): Verify files have real implementation — flag stubs, placeholders, TODO-only, empty returns
|
|
474
|
+
4. STRUCTURE Layer 3 (Wiring): Verify files are imported and used by the system — flag orphaned files
|
|
475
|
+
5. ANTI-PATTERNS: Scan modified files for TODO/FIXME/HACK, placeholder content, console.log/print debug statements, disabled tests
|
|
476
|
+
MODE: analysis
|
|
477
|
+
CONTEXT: @${modified_files as glob patterns}
|
|
478
|
+
EXPECTED: JSON {
|
|
479
|
+
convergence: [{ criterion: string, status: \"verified\"|\"failed\"|\"uncertain\", evidence: string }],
|
|
480
|
+
structure: {
|
|
481
|
+
existence: [{ path: string, status: \"exists\"|\"missing\" }],
|
|
482
|
+
substance: [{ path: string, status: \"real\"|\"stub\", evidence: string }],
|
|
483
|
+
wiring: [{ path: string, status: \"wired\"|\"orphaned\", importers: string[] }]
|
|
484
|
+
},
|
|
485
|
+
anti_patterns: [{ type: string, file: string, line: number, severity: \"blocker\"|\"warning\"|\"info\" }],
|
|
486
|
+
gaps: [{ id: string, type: string, severity: \"critical\"|\"high\"|\"medium\"|\"low\", description: string, fix_direction: string }],
|
|
487
|
+
overall: \"passed\"|\"gaps_found\"
|
|
488
|
+
}
|
|
489
|
+
CONSTRAINTS: Read-only | Check ALL criteria exhaustively | Evidence must be file:line references | Do NOT assume — verify by reading code
|
|
490
|
+
|
|
491
|
+
## Convergence Criteria (verify each one)
|
|
492
|
+
${must_haves.map((c, i) => (i+1) + \". \" + c).join(\"\\n\")}
|
|
493
|
+
|
|
494
|
+
## Modified Files
|
|
495
|
+
${modified_files.join(\"\\n\")}
|
|
496
|
+
|
|
497
|
+
## Task Summaries (executor self-reports — verify independently)
|
|
498
|
+
${summaries_content}
|
|
499
|
+
" --to ${verificationTool} --mode analysis',
|
|
500
|
+
run_in_background: true
|
|
501
|
+
})
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
### Step 4: Process Results
|
|
505
|
+
|
|
506
|
+
```
|
|
507
|
+
On callback:
|
|
508
|
+
Parse JSON result from delegate output
|
|
509
|
+
|
|
510
|
+
// Write verification.json (downstream compatibility for quality-review, quality-test, etc.)
|
|
511
|
+
Write ${PLAN_DIR}/verification.json:
|
|
512
|
+
{
|
|
513
|
+
"phase": PHASE_NUM,
|
|
514
|
+
"status": result.overall,
|
|
515
|
+
"verified_at": ISO_timestamp,
|
|
516
|
+
"verifier": verificationTool,
|
|
517
|
+
"must_haves": {
|
|
518
|
+
"truths": result.convergence,
|
|
519
|
+
"artifacts": [...result.structure.existence, ...result.structure.substance],
|
|
520
|
+
"key_links": result.structure.wiring
|
|
521
|
+
},
|
|
522
|
+
"gaps": result.gaps,
|
|
523
|
+
"antipatterns": result.anti_patterns,
|
|
524
|
+
"coverage_score": verified_count / total_count
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
IF result.overall == "passed":
|
|
528
|
+
Log "✓ Verification Gate: PASSED — all criteria verified by ${verificationTool}"
|
|
529
|
+
Continue to E3
|
|
530
|
+
|
|
531
|
+
IF result.overall == "gaps_found":
|
|
532
|
+
Log verification report with per-criterion status
|
|
533
|
+
|
|
534
|
+
// Auto-create issues from critical/high gaps
|
|
535
|
+
For each gap with severity critical|high:
|
|
536
|
+
Create issue in .workflow/issues/issues.jsonl:
|
|
537
|
+
id: "ISS-{YYYYMMDD}-{NNN}", status: "registered",
|
|
538
|
+
priority: severity_to_priority(gap.severity), source: "verification-gate",
|
|
539
|
+
phase_ref: PHASE_NUM, gap_ref: gap.id
|
|
540
|
+
|
|
541
|
+
// Gate decision
|
|
542
|
+
IF any critical gaps:
|
|
543
|
+
Set index.json.status = "verification_failed"
|
|
544
|
+
Log: "✗ Verification Gate: FAILED — {N} critical gaps. Run /maestro-plan --gaps to fix."
|
|
545
|
+
STOP pipeline (do not proceed to E3)
|
|
546
|
+
ELSE (medium/low only):
|
|
547
|
+
Log warnings, continue to E3
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
### Step 5: Register VRF Artifact
|
|
551
|
+
|
|
552
|
+
```
|
|
553
|
+
IF verification ran (not skipped):
|
|
554
|
+
Create VRF artifact in state.json:
|
|
555
|
+
{ id: "VRF-{next_id}", type: "verify", milestone, phase,
|
|
556
|
+
path: "${PLAN_DIR}/verification.json", status: result.overall == "passed" ? "completed" : "gaps_found",
|
|
557
|
+
depends_on: EXC_artifact.id, created_at, completed_at }
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
---
|
|
561
|
+
|
|
418
562
|
## E3: Auto Sync
|
|
419
563
|
|
|
420
564
|
**Purpose:** Update codebase documentation after execution.
|
|
@@ -460,8 +604,10 @@ If config.json.workflow.reflection == true:
|
|
|
460
604
|
## Final State Update
|
|
461
605
|
|
|
462
606
|
```
|
|
463
|
-
If all tasks completed:
|
|
464
|
-
index.json.status = "
|
|
607
|
+
If all tasks completed AND verification passed (or skipped):
|
|
608
|
+
index.json.status = "verified", set completed_at
|
|
609
|
+
Elif all tasks completed AND verification failed:
|
|
610
|
+
index.json.status = "verification_failed", set completed_at
|
|
465
611
|
Else:
|
|
466
612
|
index.json.status = "executing" (partial) → "Re-run /workflow:execute to resume"
|
|
467
613
|
|
package/workflows/finish-work.md
CHANGED
|
@@ -60,7 +60,7 @@ Apply? (auto | spec-only | knowhow-only | skip)
|
|
|
60
60
|
|
|
61
61
|
Then for each fragment in approved buckets:
|
|
62
62
|
|
|
63
|
-
- **spec**: `maestro spec add <category> "<title>" "<content>" --keywords {csv} --source finish-work` (capture returned id into `extracted_spec_ids[]`)
|
|
63
|
+
- **spec**: `maestro spec add <category> "<title>" "<content>" --keywords {csv} --description "<one-line summary>" --source finish-work` (capture returned id into `extracted_spec_ids[]`)
|
|
64
64
|
- **knowhow**: `maestro knowhow add --type {DCS|RCP|REF|KNW} --title "{title}" --body "{content}" --keywords {csv}` (capture id into `extracted_knowhow_ids[]`)
|
|
65
65
|
- Below confidence threshold: increment `skipped_count`, do nothing
|
|
66
66
|
- CLI failure: log W002, continue with remaining fragments
|
package/workflows/fork.md
CHANGED
|
@@ -152,7 +152,7 @@ Display:
|
|
|
152
152
|
/maestro-analyze {firstPending.phase}
|
|
153
153
|
/maestro-plan {firstPending.phase}
|
|
154
154
|
/maestro-execute {firstPending.phase}
|
|
155
|
-
/
|
|
155
|
+
/quality-review {firstPending.phase}
|
|
156
156
|
# ... repeat for next phases in milestone
|
|
157
157
|
|
|
158
158
|
Or delegate (automated):
|
|
@@ -446,6 +446,7 @@ After writing DESIGN.md:
|
|
|
446
446
|
```bash
|
|
447
447
|
maestro spec add ui "Design System: {project_name}" "{style_name} — {color_strategy}" \
|
|
448
448
|
--keywords "design,colors,typography,{style_name}" \
|
|
449
|
+
--description "{style_name} design system for {project_name}" \
|
|
449
450
|
--ref ".workflow/impeccable/DESIGN.md"
|
|
450
451
|
```
|
|
451
452
|
|
package/workflows/impeccable.md
CHANGED
|
@@ -77,6 +77,7 @@ Use `store_knowhow` MCP tool:
|
|
|
77
77
|
"operation": "add",
|
|
78
78
|
"type": "<decision|tip|reference>",
|
|
79
79
|
"title": "maestro-impeccable <command>: <concise description>",
|
|
80
|
+
"description": "<one-line summary for search results>",
|
|
80
81
|
"body": "<markdown content from Step 2>",
|
|
81
82
|
"tags": ["impeccable", "<command>", "<category>", ...domain keywords]
|
|
82
83
|
}
|
|
@@ -179,7 +179,7 @@ List output files: state.json, reflection-log.md, summary.json.
|
|
|
179
179
|
|
|
180
180
|
| Result | Suggestion |
|
|
181
181
|
|--------|------------|
|
|
182
|
-
| Converged (>=95%) | Skill({ skill: "
|
|
182
|
+
| Converged (>=95%) | Skill({ skill: "quality-review", args: "{phase}" }) to update validation |
|
|
183
183
|
| Max iter, >80% | Skill({ skill: "quality-test", args: "{phase}" }) for manual UAT on remaining gaps |
|
|
184
184
|
| Max iter, <80% | Skill({ skill: "quality-debug" }) for deep investigation |
|
|
185
185
|
| Bugs discovered | Skill({ skill: "maestro-plan", args: "{phase} --gaps" }) to plan fixes |
|
package/workflows/knowhow.md
CHANGED
|
@@ -93,7 +93,7 @@ Capture reusable knowledge into `.workflow/knowhow/`.
|
|
|
93
93
|
|
|
94
94
|
### Step 2: Generate Content by Type
|
|
95
95
|
|
|
96
|
-
#### session (KNW-{YYYYMMDD}-{
|
|
96
|
+
#### session (KNW-{YYYYMMDD}-{slug}.md)
|
|
97
97
|
|
|
98
98
|
Extract from current conversation. Sections:
|
|
99
99
|
|
|
@@ -115,13 +115,14 @@ Extract from current conversation. Sections:
|
|
|
115
115
|
Plan detection priority: IMPL_PLAN.md > TodoWrite > user-stated > inferred.
|
|
116
116
|
Rules: VERBATIM plan, ABSOLUTE paths, decisions include reasoning.
|
|
117
117
|
|
|
118
|
-
#### template (TPL-{YYYYMMDD}-{
|
|
118
|
+
#### template (TPL-{YYYYMMDD}-{slug}.md)
|
|
119
119
|
|
|
120
120
|
Reusable code or configuration pattern. Sections:
|
|
121
121
|
|
|
122
122
|
```markdown
|
|
123
123
|
---
|
|
124
124
|
title: {descriptive name}
|
|
125
|
+
description: {one-line summary for search results}
|
|
125
126
|
type: template
|
|
126
127
|
lang: {typescript|python|bash|yaml|...}
|
|
127
128
|
tags: [{comma-separated}]
|
|
@@ -157,13 +158,14 @@ Additional context.
|
|
|
157
158
|
- `Code` — The actual template, ready to copy
|
|
158
159
|
- `Dependencies` — What's needed before using
|
|
159
160
|
|
|
160
|
-
#### recipe (RCP-{YYYYMMDD}-{
|
|
161
|
+
#### recipe (RCP-{YYYYMMDD}-{slug}.md)
|
|
161
162
|
|
|
162
163
|
Step-by-step operational guide. Sections:
|
|
163
164
|
|
|
164
165
|
```markdown
|
|
165
166
|
---
|
|
166
167
|
title: {goal summary}
|
|
168
|
+
description: {one-line summary for search results}
|
|
167
169
|
type: recipe
|
|
168
170
|
tags: [{comma-separated}]
|
|
169
171
|
created: {ISO timestamp}
|
|
@@ -201,13 +203,14 @@ What success looks like.
|
|
|
201
203
|
- `Expected Outcome` — Measurable result
|
|
202
204
|
- `Common Pitfalls` — Known gotchas from experience
|
|
203
205
|
|
|
204
|
-
#### reference (REF-{YYYYMMDD}-{
|
|
206
|
+
#### reference (REF-{YYYYMMDD}-{slug}.md)
|
|
205
207
|
|
|
206
208
|
External documentation digest. Sections:
|
|
207
209
|
|
|
208
210
|
```markdown
|
|
209
211
|
---
|
|
210
212
|
title: {reference title}
|
|
213
|
+
description: {one-line summary for search results}
|
|
211
214
|
type: reference
|
|
212
215
|
source: {original URL}
|
|
213
216
|
tags: [{comma-separated}]
|
|
@@ -243,13 +246,14 @@ Additional context.
|
|
|
243
246
|
- `Quick Examples` — Most-used snippets first
|
|
244
247
|
- `last_verified` — When the source was last checked
|
|
245
248
|
|
|
246
|
-
#### decision (DCS-{YYYYMMDD}-{
|
|
249
|
+
#### decision (DCS-{YYYYMMDD}-{slug}.md)
|
|
247
250
|
|
|
248
251
|
Architecture Decision Record. Sections:
|
|
249
252
|
|
|
250
253
|
```markdown
|
|
251
254
|
---
|
|
252
255
|
title: {decision summary}
|
|
256
|
+
description: {one-line summary for search results}
|
|
253
257
|
type: decision
|
|
254
258
|
status: {proposed|accepted|superseded}
|
|
255
259
|
tags: [{comma-separated}]
|
|
@@ -292,13 +296,14 @@ Why this choice over alternatives.
|
|
|
292
296
|
- `Rationale` — The "why" matters more than the "what"
|
|
293
297
|
- `Consequences` — Both positive and negative; be honest about trade-offs
|
|
294
298
|
|
|
295
|
-
#### tip (TIP-{YYYYMMDD}-{
|
|
299
|
+
#### tip (TIP-{YYYYMMDD}-{slug}.md)
|
|
296
300
|
|
|
297
301
|
Quick note. Minimal structure:
|
|
298
302
|
|
|
299
303
|
```markdown
|
|
300
304
|
---
|
|
301
305
|
title: {tip summary}
|
|
306
|
+
description: {one-line summary for search results}
|
|
302
307
|
type: tip
|
|
303
308
|
tags: [{comma-separated}]
|
|
304
309
|
created: {ISO timestamp}
|
|
@@ -328,13 +333,14 @@ Tag quality rules:
|
|
|
328
333
|
|
|
329
334
|
### Step 4: Write File
|
|
330
335
|
|
|
331
|
-
Write to `.workflow/knowhow/{PREFIX}-{YYYYMMDD}-{
|
|
336
|
+
Write to `.workflow/knowhow/{PREFIX}-{YYYYMMDD}-{slug}.md`.
|
|
332
337
|
|
|
333
338
|
Frontmatter keys by type:
|
|
334
339
|
|
|
335
340
|
| Field | session | template | recipe | reference | decision | tip |
|
|
336
341
|
|-------|:-------:|:--------:|:------:|:---------:|:--------:|:---:|
|
|
337
342
|
| title | Y | Y | Y | Y | Y | Y |
|
|
343
|
+
| description | Y | Y | Y | Y | Y | Y |
|
|
338
344
|
| type | Y | Y | Y | Y | Y | Y |
|
|
339
345
|
| tags | Y | Y | Y | Y | Y | Y |
|
|
340
346
|
| created | Y | Y | Y | Y | Y | Y |
|
|
@@ -367,7 +373,7 @@ maestro wiki list --type knowhow --role plan # decisions only
|
|
|
367
373
|
|
|
368
374
|
```
|
|
369
375
|
store_knowhow { operation: "search", query: "deploy" }
|
|
370
|
-
store_knowhow { operation: "add", type: "template", title: "...", body: "..." }
|
|
376
|
+
store_knowhow { operation: "add", type: "template", title: "...", description: "...", body: "..." }
|
|
371
377
|
```
|
|
372
378
|
|
|
373
379
|
### Type Label Reference
|
|
@@ -34,7 +34,7 @@ Each milestone must pass a readiness score before advancing. Prevents premature
|
|
|
34
34
|
| Documentation (API docs, README, setup guide) | 10% | 60% |
|
|
35
35
|
| **Weighted total** | | **≥ 80%** |
|
|
36
36
|
|
|
37
|
-
Score is computed via `maestro-
|
|
37
|
+
Score is computed via `maestro-execute` verification gate + Gemini analysis. If score < 80%, generate fix plan and re-execute until threshold is met (max 3 retries per milestone, then report blockers).
|
|
38
38
|
|
|
39
39
|
## 6. Completion Criteria
|
|
40
40
|
|
|
@@ -40,7 +40,7 @@ Instead of regex, extract a structured intent tuple using LLM semantic understan
|
|
|
40
40
|
|
|
41
41
|
```json
|
|
42
42
|
{
|
|
43
|
-
"action": "<create|fix|analyze|plan|execute|
|
|
43
|
+
"action": "<create|fix|analyze|plan|execute|review|test|debug|refactor|explore|manage|transition|continue|sync|learn|retrospect>",
|
|
44
44
|
"object": "<feature|bug|issue|code|test|spec|phase|milestone|doc|performance|security|ui|memory|codebase|config>",
|
|
45
45
|
"scope": "<module/file/area or null>",
|
|
46
46
|
"issue_id": "<ISS-XXXXXXXX-NNN if mentioned, else null>",
|
|
@@ -65,7 +65,7 @@ Route via `action × object` matrix. If `issue_id` present → issue pipeline di
|
|
|
65
65
|
| execute | issue→issue_execute | execute |
|
|
66
66
|
| manage | issue→issue, milestone→milestone_audit, phase→phase_transition, memory/doc/codebase→memory/sync/codebase_refresh | status |
|
|
67
67
|
| transition | phase→phase_transition, milestone→milestone_complete | phase_transition |
|
|
68
|
-
|
|
|
68
|
+
| review, test, debug, refactor, continue, sync, learn, retrospect, release, amend, compose | — | self-named |
|
|
69
69
|
|
|
70
70
|
**Clarity scoring**: 3 = action+object+scope, 2 = action+object, 1 = action only, 0 = empty.
|
|
71
71
|
If `clarity < 2` and not `AUTO_YES`: request user input (max 2 rounds).
|
|
@@ -81,16 +81,15 @@ Returns `{ chain, argsOverride? }`. Steps resolved from `chainMap[chain]`.
|
|
|
81
81
|
| No phases | `brainstorm-driven` |
|
|
82
82
|
| pending + has context | `plan` |
|
|
83
83
|
| pending, no context | `analyze` |
|
|
84
|
-
| exploring/planning + has plan | `execute
|
|
84
|
+
| exploring/planning + has plan | `execute` |
|
|
85
85
|
| exploring/planning, no plan | `plan` |
|
|
86
|
-
| executing, all tasks done | `
|
|
86
|
+
| executing, all tasks done | `review` |
|
|
87
87
|
| executing, tasks remain | `execute` |
|
|
88
|
-
|
|
|
89
|
-
|
|
|
90
|
-
|
|
|
91
|
-
|
|
|
92
|
-
|
|
|
93
|
-
| verifying, not passed | `quality-loop-partial` |
|
|
88
|
+
| exec completed + no review | `review` |
|
|
89
|
+
| exec completed + review BLOCK | `review-fix` |
|
|
90
|
+
| exec completed + UAT pending | `test` |
|
|
91
|
+
| exec completed + UAT passed | `milestone-close` |
|
|
92
|
+
| exec completed + UAT failed | `debug` |
|
|
94
93
|
| testing, UAT passed | `milestone-close` |
|
|
95
94
|
| testing, UAT not passed | `debug` |
|
|
96
95
|
| completed | `milestone-close` |
|
|
@@ -108,7 +107,6 @@ const chainMap = {
|
|
|
108
107
|
'ui_design': [{ cmd: 'maestro-impeccable', args: '"{phase}" --chain build' }],
|
|
109
108
|
'plan': [{ cmd: 'maestro-plan', args: '{phase}' }],
|
|
110
109
|
'execute': [{ cmd: 'maestro-execute', args: '{phase}' }],
|
|
111
|
-
'verify': [{ cmd: 'maestro-verify', args: '{phase}' }],
|
|
112
110
|
'test_gen': [{ cmd: 'quality-auto-test', args: '{phase}' }],
|
|
113
111
|
'auto_test': [{ cmd: 'quality-auto-test', args: '{phase}' }],
|
|
114
112
|
'test': [{ cmd: 'quality-test', args: '{phase}' }],
|
|
@@ -141,36 +139,27 @@ const chainMap = {
|
|
|
141
139
|
{ cmd: 'maestro-init' },
|
|
142
140
|
{ cmd: 'maestro-roadmap', args: '--mode full "{description}"' },
|
|
143
141
|
{ cmd: 'maestro-plan', args: '{phase}' },
|
|
144
|
-
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
145
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
142
|
+
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
146
143
|
],
|
|
147
144
|
'brainstorm-driven': [
|
|
148
145
|
{ cmd: 'maestro-brainstorm', args: '"{description}"' },
|
|
149
146
|
{ cmd: 'maestro-plan', args: '{phase}' },
|
|
150
|
-
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
151
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
147
|
+
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
152
148
|
],
|
|
153
149
|
'impeccable-build': [
|
|
154
150
|
{ cmd: 'maestro-impeccable', args: '"{phase}" --chain build' },
|
|
155
151
|
{ cmd: 'maestro-plan', args: '{phase}' },
|
|
156
|
-
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
157
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
152
|
+
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
158
153
|
],
|
|
159
154
|
'full-lifecycle': [
|
|
160
155
|
{ cmd: 'maestro-plan', args: '{phase}' },
|
|
161
156
|
{ cmd: 'maestro-execute', args: '{phase}' },
|
|
162
|
-
{ cmd: 'maestro-verify', args: '{phase}' },
|
|
163
157
|
{ cmd: 'quality-review', args: '{phase}' },
|
|
164
158
|
{ cmd: 'quality-test', args: '{phase}' },
|
|
165
159
|
{ cmd: 'maestro-milestone-audit' },
|
|
166
160
|
{ cmd: 'maestro-milestone-complete' }
|
|
167
161
|
],
|
|
168
|
-
'execute-verify': [
|
|
169
|
-
{ cmd: 'maestro-execute', args: '{phase}' },
|
|
170
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
171
|
-
],
|
|
172
162
|
'quality-loop': [
|
|
173
|
-
{ cmd: 'maestro-verify', args: '{phase}' },
|
|
174
163
|
{ cmd: 'quality-review', args: '{phase}' },
|
|
175
164
|
{ cmd: 'quality-test', args: '{phase}' },
|
|
176
165
|
{ cmd: 'quality-debug', args: '--from-uat {phase}' },
|
|
@@ -185,14 +174,12 @@ const chainMap = {
|
|
|
185
174
|
{ cmd: 'maestro-init' },
|
|
186
175
|
{ cmd: 'maestro-roadmap', args: '"{description}"' },
|
|
187
176
|
{ cmd: 'maestro-plan', args: '{phase}' },
|
|
188
|
-
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
189
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
177
|
+
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
190
178
|
],
|
|
191
179
|
'next-milestone': [
|
|
192
180
|
{ cmd: 'maestro-roadmap', args: '"{description}"' },
|
|
193
181
|
{ cmd: 'maestro-plan', args: '{phase}' },
|
|
194
|
-
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
195
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
182
|
+
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
196
183
|
],
|
|
197
184
|
'analyze-plan-execute': [
|
|
198
185
|
{ cmd: 'maestro-analyze', args: '"{description}" -q' },
|
|
@@ -203,17 +190,15 @@ const chainMap = {
|
|
|
203
190
|
// ── SKILL.md simplified aliases (--chain <name> shortcuts) ───────────────
|
|
204
191
|
'feature': [
|
|
205
192
|
{ cmd: 'maestro-plan', args: '{phase}' },
|
|
206
|
-
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
207
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
193
|
+
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
208
194
|
],
|
|
209
195
|
'quality-fix': [
|
|
210
196
|
{ cmd: 'maestro-analyze', args: '--gaps "{description}"' },
|
|
211
197
|
{ cmd: 'maestro-plan', args: '--gaps' },
|
|
212
|
-
{ cmd: 'maestro-execute', args: '' }
|
|
213
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
198
|
+
{ cmd: 'maestro-execute', args: '' }
|
|
214
199
|
],
|
|
215
200
|
'deploy': [
|
|
216
|
-
{ cmd: 'maestro-
|
|
201
|
+
{ cmd: 'maestro-execute', args: '{phase}' },
|
|
217
202
|
{ cmd: 'maestro-milestone-release' }
|
|
218
203
|
],
|
|
219
204
|
|
|
@@ -238,8 +223,7 @@ const chainMap = {
|
|
|
238
223
|
],
|
|
239
224
|
'quality-loop-partial': [
|
|
240
225
|
{ cmd: 'maestro-plan', args: '{phase} --gaps' },
|
|
241
|
-
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
242
|
-
{ cmd: 'maestro-verify', args: '{phase}' }
|
|
226
|
+
{ cmd: 'maestro-execute', args: '{phase}' }
|
|
243
227
|
],
|
|
244
228
|
'milestone-release': [
|
|
245
229
|
{ cmd: 'maestro-milestone-audit' },
|