maestro-flow 0.4.25 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/learn-follow/SKILL.md +1 -1
- package/.agents/skills/learn-investigate/SKILL.md +2 -2
- package/.agents/skills/learn-second-opinion/SKILL.md +1 -1
- package/.agents/skills/maestro/SKILL.md +6 -3
- package/.agents/skills/maestro-analyze/SKILL.md +53 -2
- package/.agents/skills/maestro-blueprint/SKILL.md +36 -1
- package/.agents/skills/maestro-brainstorm/SKILL.md +40 -1
- package/.agents/skills/maestro-collab/SKILL.md +1 -1
- package/.agents/skills/maestro-companion/SKILL.md +4 -4
- package/.agents/skills/maestro-composer/SKILL.md +1 -1
- package/.agents/skills/maestro-execute/SKILL.md +29 -6
- package/.agents/skills/maestro-fork/SKILL.md +24 -0
- package/.agents/skills/maestro-grill/SKILL.md +38 -1
- package/.agents/skills/maestro-help/SKILL.md +5 -6
- package/.agents/skills/maestro-help/index/catalog.json +7 -9
- package/.agents/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.agents/skills/maestro-impeccable/SKILL.md +13 -0
- package/.agents/skills/maestro-init/SKILL.md +11 -0
- package/.agents/skills/maestro-merge/SKILL.md +17 -1
- package/.agents/skills/maestro-milestone-audit/SKILL.md +34 -2
- package/.agents/skills/maestro-milestone-complete/SKILL.md +19 -1
- package/.agents/skills/maestro-milestone-release/SKILL.md +18 -0
- package/.agents/skills/maestro-next/SKILL.md +8 -9
- package/.agents/skills/maestro-overlay/SKILL.md +3 -3
- package/.agents/skills/maestro-plan/SKILL.md +21 -3
- package/.agents/skills/maestro-quick/SKILL.md +13 -1
- package/.agents/skills/maestro-ralph/SKILL.md +18 -20
- package/.agents/skills/maestro-ralph-beta/SKILL.md +10 -16
- package/.agents/skills/maestro-ralph-execute/SKILL.md +1 -2
- package/.agents/skills/maestro-roadmap/SKILL.md +28 -2
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +2 -2
- package/.agents/skills/maestro-tools-register/SKILL.md +2 -2
- package/.agents/skills/maestro-ui-codify/SKILL.md +20 -0
- package/.agents/skills/maestro-update/SKILL.md +59 -116
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +3 -3
- package/.agents/skills/manage-harvest/SKILL.md +1 -1
- package/.agents/skills/manage-knowhow/SKILL.md +3 -1
- package/.agents/skills/manage-knowhow-capture/SKILL.md +3 -2
- package/.agents/skills/manage-wiki/SKILL.md +17 -8
- package/.agents/skills/quality-auto-test/SKILL.md +3 -3
- package/.agents/skills/quality-debug/SKILL.md +4 -4
- package/.agents/skills/quality-refactor/SKILL.md +2 -2
- package/.agents/skills/quality-retrospective/SKILL.md +5 -5
- package/.agents/skills/quality-review/SKILL.md +4 -4
- package/.agents/skills/quality-sync/SKILL.md +1 -0
- package/.agents/skills/quality-test/SKILL.md +4 -4
- package/.agents/skills/spec-add/SKILL.md +6 -4
- package/.agents/skills/spec-setup/SKILL.md +1 -1
- package/.agy/skills/learn-follow/SKILL.md +1 -1
- package/.agy/skills/learn-investigate/SKILL.md +2 -2
- package/.agy/skills/learn-second-opinion/SKILL.md +1 -1
- package/.agy/skills/maestro/SKILL.md +6 -3
- package/.agy/skills/maestro-analyze/SKILL.md +53 -2
- package/.agy/skills/maestro-blueprint/SKILL.md +36 -1
- package/.agy/skills/maestro-brainstorm/SKILL.md +40 -1
- package/.agy/skills/maestro-collab/SKILL.md +1 -1
- package/.agy/skills/maestro-companion/SKILL.md +4 -4
- package/.agy/skills/maestro-composer/SKILL.md +1 -1
- package/.agy/skills/maestro-execute/SKILL.md +29 -6
- package/.agy/skills/maestro-fork/SKILL.md +24 -0
- package/.agy/skills/maestro-grill/SKILL.md +38 -1
- package/.agy/skills/maestro-help/SKILL.md +5 -6
- package/.agy/skills/maestro-help/index/catalog.json +7 -9
- package/.agy/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.agy/skills/maestro-impeccable/SKILL.md +13 -0
- package/.agy/skills/maestro-init/SKILL.md +11 -0
- package/.agy/skills/maestro-merge/SKILL.md +17 -1
- package/.agy/skills/maestro-milestone-audit/SKILL.md +34 -2
- package/.agy/skills/maestro-milestone-complete/SKILL.md +19 -1
- package/.agy/skills/maestro-milestone-release/SKILL.md +18 -0
- package/.agy/skills/maestro-next/SKILL.md +8 -9
- package/.agy/skills/maestro-overlay/SKILL.md +3 -3
- package/.agy/skills/maestro-plan/SKILL.md +21 -3
- package/.agy/skills/maestro-quick/SKILL.md +13 -1
- package/.agy/skills/maestro-ralph/SKILL.md +18 -20
- package/.agy/skills/maestro-ralph-beta/SKILL.md +10 -16
- package/.agy/skills/maestro-ralph-execute/SKILL.md +1 -2
- package/.agy/skills/maestro-roadmap/SKILL.md +28 -2
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +2 -2
- package/.agy/skills/maestro-tools-register/SKILL.md +2 -2
- package/.agy/skills/maestro-ui-codify/SKILL.md +20 -0
- package/.agy/skills/maestro-update/SKILL.md +59 -116
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +3 -3
- package/.agy/skills/manage-harvest/SKILL.md +1 -1
- package/.agy/skills/manage-knowhow/SKILL.md +3 -1
- package/.agy/skills/manage-knowhow-capture/SKILL.md +3 -2
- package/.agy/skills/manage-wiki/SKILL.md +17 -8
- package/.agy/skills/quality-auto-test/SKILL.md +3 -3
- package/.agy/skills/quality-debug/SKILL.md +4 -4
- package/.agy/skills/quality-refactor/SKILL.md +2 -2
- package/.agy/skills/quality-retrospective/SKILL.md +5 -5
- package/.agy/skills/quality-review/SKILL.md +4 -4
- package/.agy/skills/quality-sync/SKILL.md +1 -0
- package/.agy/skills/quality-test/SKILL.md +4 -4
- package/.agy/skills/spec-add/SKILL.md +6 -4
- package/.agy/skills/spec-setup/SKILL.md +1 -1
- package/.claude/commands/learn-follow.md +1 -1
- package/.claude/commands/learn-investigate.md +2 -2
- package/.claude/commands/learn-second-opinion.md +1 -1
- package/.claude/commands/maestro-analyze.md +53 -2
- package/.claude/commands/maestro-blueprint.md +36 -1
- package/.claude/commands/maestro-brainstorm.md +40 -1
- package/.claude/commands/maestro-collab.md +1 -1
- package/.claude/commands/maestro-companion.md +4 -4
- package/.claude/commands/maestro-composer.md +1 -1
- package/.claude/commands/maestro-execute.md +29 -6
- package/.claude/commands/maestro-fork.md +24 -0
- package/.claude/commands/maestro-grill.md +38 -1
- package/.claude/commands/maestro-impeccable.md +13 -0
- package/.claude/commands/maestro-init.md +11 -0
- package/.claude/commands/maestro-merge.md +17 -1
- package/.claude/commands/maestro-milestone-audit.md +34 -2
- package/.claude/commands/maestro-milestone-complete.md +19 -1
- package/.claude/commands/maestro-milestone-release.md +18 -0
- package/.claude/commands/maestro-next.md +8 -9
- package/.claude/commands/maestro-overlay.md +3 -3
- package/.claude/commands/maestro-plan.md +21 -3
- package/.claude/commands/maestro-quick.md +13 -1
- package/.claude/commands/maestro-ralph-beta.md +8 -14
- package/.claude/commands/maestro-ralph-execute.md +1 -2
- package/.claude/commands/maestro-ralph.md +18 -20
- package/.claude/commands/maestro-roadmap.md +28 -2
- package/.claude/commands/maestro-swarm-workflow.md +2 -2
- package/.claude/commands/maestro-tools-register.md +2 -2
- package/.claude/commands/maestro-ui-codify.md +20 -0
- package/.claude/commands/maestro-update.md +59 -116
- package/.claude/commands/maestro.md +6 -3
- package/.claude/commands/manage-codebase-rebuild.md +3 -3
- package/.claude/commands/manage-harvest.md +1 -1
- package/.claude/commands/manage-knowhow-capture.md +3 -2
- package/.claude/commands/manage-knowhow.md +3 -1
- package/.claude/commands/manage-wiki.md +17 -8
- package/.claude/commands/quality-auto-test.md +3 -3
- package/.claude/commands/quality-debug.md +4 -4
- package/.claude/commands/quality-refactor.md +2 -2
- package/.claude/commands/quality-retrospective.md +5 -5
- package/.claude/commands/quality-review.md +4 -4
- package/.claude/commands/quality-sync.md +1 -0
- package/.claude/commands/quality-test.md +4 -4
- package/.claude/commands/spec-add.md +6 -4
- package/.claude/commands/spec-setup.md +1 -1
- package/.claude/skills/maestro-help/SKILL.md +5 -6
- package/.claude/skills/maestro-help/index/catalog.json +7 -9
- package/.claude/skills/maestro-help/phases/02-search-present.md +2 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +7 -8
- package/.codex/skills/codify-to-knowhow/SKILL.md +5 -4
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-follow/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +1 -1
- package/.codex/skills/learn-second-opinion/SKILL.md +2 -2
- package/.codex/skills/maestro/SKILL.md +29 -31
- package/.codex/skills/maestro-analyze/SKILL.md +16 -3
- package/.codex/skills/maestro-blueprint/SKILL.md +8 -1
- package/.codex/skills/maestro-brainstorm/SKILL.md +8 -5
- package/.codex/skills/maestro-companion/SKILL.md +2 -2
- package/.codex/skills/maestro-composer/SKILL.md +0 -1
- package/.codex/skills/maestro-execute/SKILL.md +11 -8
- package/.codex/skills/maestro-fork/SKILL.md +4 -0
- package/.codex/skills/maestro-grill/SKILL.md +8 -2
- package/.codex/skills/maestro-help/SKILL.md +6 -9
- package/.codex/skills/maestro-help/catalog.json +6 -8
- package/.codex/skills/maestro-impeccable/SKILL.md +2 -0
- package/.codex/skills/maestro-init/SKILL.md +3 -0
- package/.codex/skills/maestro-merge/SKILL.md +5 -1
- package/.codex/skills/maestro-milestone-audit/SKILL.md +14 -9
- 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 +7 -4
- package/.codex/skills/maestro-update/SKILL.md +35 -130
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
- package/.codex/skills/manage-harvest/SKILL.md +2 -2
- package/.codex/skills/manage-knowhow/SKILL.md +1 -1
- package/.codex/skills/manage-status/SKILL.md +1 -2
- package/.codex/skills/quality-auto-test/SKILL.md +2 -2
- package/.codex/skills/quality-debug/SKILL.md +33 -27
- 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/security-audit/SKILL.md +17 -1
- 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/team-review/SKILL.md +2 -2
- 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/agents/codex-cli-adapter.js +9 -1
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.test.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.test.js +346 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.test.js.map +1 -0
- 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/agents/cli-agent-runner.d.ts +2 -0
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +3 -0
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/cli.js +1 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/delegate.d.ts +2 -0
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +3 -1
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +55 -5
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +2 -1
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +16 -1
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/kg.d.ts +1 -1
- package/dist/src/commands/kg.d.ts.map +1 -1
- package/dist/src/commands/kg.js +285 -112
- package/dist/src/commands/kg.js.map +1 -1
- package/dist/src/commands/knowhow.d.ts.map +1 -1
- package/dist/src/commands/knowhow.js +28 -37
- package/dist/src/commands/knowhow.js.map +1 -1
- package/dist/src/commands/ralph.js +1 -1
- package/dist/src/commands/ralph.js.map +1 -1
- package/dist/src/commands/search.d.ts +36 -0
- package/dist/src/commands/search.d.ts.map +1 -0
- package/dist/src/commands/search.js +120 -0
- package/dist/src/commands/search.js.map +1 -0
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +59 -8
- 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 +36 -9
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/config/cli-tools-config.d.ts +18 -0
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +31 -0
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +13 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +37 -85
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/core/skill-converter.d.ts +25 -0
- package/dist/src/core/skill-converter.d.ts.map +1 -0
- package/dist/src/core/skill-converter.js +605 -0
- package/dist/src/core/skill-converter.js.map +1 -0
- package/dist/src/graph/codegraph-adapter.d.ts +147 -0
- package/dist/src/graph/codegraph-adapter.d.ts.map +1 -0
- package/dist/src/graph/codegraph-adapter.js +266 -0
- package/dist/src/graph/codegraph-adapter.js.map +1 -0
- package/dist/src/hooks/constants.d.ts +4 -0
- package/dist/src/hooks/constants.d.ts.map +1 -1
- package/dist/src/hooks/constants.js +14 -1
- package/dist/src/hooks/constants.js.map +1 -1
- package/dist/src/hooks/context-format.d.ts +46 -0
- package/dist/src/hooks/context-format.d.ts.map +1 -0
- package/dist/src/hooks/context-format.js +58 -0
- package/dist/src/hooks/context-format.js.map +1 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/dist/src/hooks/index.d.ts.map +1 -1
- package/dist/src/hooks/index.js +2 -0
- package/dist/src/hooks/index.js.map +1 -1
- package/dist/src/hooks/keyword-spec-injector.d.ts +1 -1
- package/dist/src/hooks/keyword-spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/keyword-spec-injector.js +92 -7
- package/dist/src/hooks/keyword-spec-injector.js.map +1 -1
- package/dist/src/hooks/kg-context-injector.d.ts +19 -0
- package/dist/src/hooks/kg-context-injector.d.ts.map +1 -0
- package/dist/src/hooks/kg-context-injector.js +139 -0
- package/dist/src/hooks/kg-context-injector.js.map +1 -0
- package/dist/src/hooks/kg-sync-hook.d.ts +22 -0
- package/dist/src/hooks/kg-sync-hook.d.ts.map +1 -0
- package/dist/src/hooks/kg-sync-hook.js +139 -0
- package/dist/src/hooks/kg-sync-hook.js.map +1 -0
- package/dist/src/hooks/plugins/spec-injection-plugin.js +2 -2
- package/dist/src/hooks/plugins/spec-injection-plugin.js.map +1 -1
- package/dist/src/hooks/skill-context.d.ts.map +1 -1
- package/dist/src/hooks/skill-context.js +0 -1
- package/dist/src/hooks/skill-context.js.map +1 -1
- package/dist/src/hooks/spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/spec-injector.js +66 -13
- package/dist/src/hooks/spec-injector.js.map +1 -1
- package/dist/src/hooks/statusline.d.ts +8 -1
- package/dist/src/hooks/statusline.d.ts.map +1 -1
- package/dist/src/hooks/statusline.js +45 -29
- package/dist/src/hooks/statusline.js.map +1 -1
- package/dist/src/hooks/wiki-role-loader.js +1 -1
- package/dist/src/hooks/wiki-role-loader.js.map +1 -1
- package/dist/src/ralph/cmd-skills.d.ts.map +1 -1
- package/dist/src/ralph/cmd-skills.js +9 -2
- package/dist/src/ralph/cmd-skills.js.map +1 -1
- package/dist/src/ralph/skill-scanner.d.ts +1 -1
- package/dist/src/ralph/skill-scanner.d.ts.map +1 -1
- package/dist/src/ralph/skill-scanner.js +14 -0
- package/dist/src/ralph/skill-scanner.js.map +1 -1
- package/dist/src/ralph/status-schema.d.ts +1 -1
- package/dist/src/ralph/status-schema.d.ts.map +1 -1
- package/dist/src/tools/spec-entry-parser.d.ts +2 -1
- package/dist/src/tools/spec-entry-parser.d.ts.map +1 -1
- package/dist/src/tools/spec-entry-parser.js +7 -4
- package/dist/src/tools/spec-entry-parser.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +27 -3
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-writer.d.ts +10 -1
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +86 -7
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/tools/store-knowhow.d.ts.map +1 -1
- package/dist/src/tools/store-knowhow.js +27 -7
- package/dist/src/tools/store-knowhow.js.map +1 -1
- package/dist/src/tui/install-ui/ExecutionView.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ExecutionView.js +7 -1
- package/dist/src/tui/install-ui/ExecutionView.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +5 -1
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/cli-format.d.ts +6 -0
- package/dist/src/utils/cli-format.d.ts.map +1 -1
- package/dist/src/utils/cli-format.js +25 -0
- package/dist/src/utils/cli-format.js.map +1 -1
- package/dist/src/utils/update-notices.js +29 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +5 -2
- package/templates/workflows/specs/node-catalog.md +0 -2
- package/workflows/analyze.md +9 -4
- package/workflows/auto-test.md +2 -2
- package/workflows/business-test.md +1 -1
- package/workflows/claude-instructions.md +23 -11
- package/workflows/codex-instructions.md +2 -3
- package/workflows/execute.md +153 -7
- package/workflows/fork.md +1 -1
- package/workflows/integration-test.md +1 -1
- package/workflows/maestro-super.md +1 -1
- package/workflows/maestro.codex.md +18 -34
- package/workflows/maestro.md +34 -42
- package/workflows/review.md +1 -1
- package/workflows/status.md +2 -2
- package/workflows/swarm/wf-verify.js +1 -1
- package/workflows/test-gen.md +2 -2
- package/workflows/test.md +1 -1
- package/workflows/updates/README.md +41 -0
- package/workflows/updates/update-v3-setup.md +79 -0
- package/workflows/verify.md +7 -1
- package/.agents/skills/learn-retro/SKILL.md +0 -159
- package/.agents/skills/maestro-learn/SKILL.md +0 -142
- package/.agents/skills/maestro-verify/SKILL.md +0 -146
- package/.agents/skills/manage-codebase-refresh/SKILL.md +0 -62
- package/.agents/skills/manage-learn/SKILL.md +0 -67
- package/.agents/skills/wiki-connect/SKILL.md +0 -64
- package/.agents/skills/wiki-digest/SKILL.md +0 -70
- package/.agy/skills/learn-retro/SKILL.md +0 -159
- package/.agy/skills/maestro-learn/SKILL.md +0 -142
- package/.agy/skills/maestro-verify/SKILL.md +0 -146
- package/.agy/skills/manage-codebase-refresh/SKILL.md +0 -62
- package/.agy/skills/manage-learn/SKILL.md +0 -64
- package/.agy/skills/wiki-connect/SKILL.md +0 -64
- package/.agy/skills/wiki-digest/SKILL.md +0 -70
- package/.claude/commands/learn-retro.md +0 -157
- package/.claude/commands/maestro-learn.md +0 -140
- package/.claude/commands/maestro-verify.md +0 -144
- package/.claude/commands/manage-codebase-refresh.md +0 -60
- package/.claude/commands/manage-learn.md +0 -65
- package/.claude/commands/wiki-connect.md +0 -62
- package/.claude/commands/wiki-digest.md +0 -68
- package/.codex/skills/maestro-verify/SKILL.md +0 -254
- package/chains/execute-verify.json +0 -59
- package/chains/singles/verify.json +0 -26
|
@@ -203,8 +203,7 @@ Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro
|
|
|
203
203
|
|
|
204
204
|
[✓] 0. maestro-plan 1 [global]
|
|
205
205
|
[✓] 1. maestro-execute 1 [project]
|
|
206
|
-
[✓] 2.
|
|
207
|
-
[✓] 3. ◆ post-verify [decision]
|
|
206
|
+
[✓] 2. ◆ post-execute [decision]
|
|
208
207
|
...
|
|
209
208
|
============================================================
|
|
210
209
|
```
|
|
@@ -63,13 +63,13 @@ maestro-analyze ─┘ context-package.json
|
|
|
63
63
|
↓
|
|
64
64
|
maestro-roadmap → .workflow/roadmap.md (Milestone > Phase hierarchy)
|
|
65
65
|
↓
|
|
66
|
-
maestro-analyze {phase} → maestro-plan → maestro-execute
|
|
66
|
+
maestro-analyze {phase} → maestro-plan → maestro-execute
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
### Pre-load
|
|
70
70
|
|
|
71
71
|
1. **Specs**: `maestro spec load --category arch` — load architecture constraints for phase decomposition
|
|
72
|
-
2. **Wiki search**: `maestro
|
|
72
|
+
2. **Wiki search**: `maestro search "{requirement keywords}" --json` → prior knowledge
|
|
73
73
|
3. All optional — proceed without if unavailable
|
|
74
74
|
</context>
|
|
75
75
|
|
|
@@ -94,6 +94,32 @@ Sub-modes:
|
|
|
94
94
|
- **Revise** (`--revise`): Follow workflow roadmap.md "Mode: Revise" section
|
|
95
95
|
- **Review** (`--review`): Follow workflow roadmap.md "Mode: Review" section
|
|
96
96
|
|
|
97
|
+
### Phase Gates (MANDATORY, BLOCKING — Create mode)
|
|
98
|
+
|
|
99
|
+
**GATE 1: Input → Decomposition**
|
|
100
|
+
- REQUIRED: Requirement parsed with goal, constraints, stakeholders.
|
|
101
|
+
- REQUIRED: Upstream context loaded via --from (if specified).
|
|
102
|
+
|
|
103
|
+
**GATE 2: Decomposition → Refinement**
|
|
104
|
+
- REQUIRED: Milestones defined with deliverable targets.
|
|
105
|
+
- REQUIRED: Phases defined within milestones with dependencies.
|
|
106
|
+
- REQUIRED: Every Active requirement from project.md mapped to exactly one phase.
|
|
107
|
+
- REQUIRED: No circular dependencies in phase ordering.
|
|
108
|
+
|
|
109
|
+
**GATE 3: Refinement → Completion**
|
|
110
|
+
- REQUIRED: User approved roadmap (or auto-approved with -y).
|
|
111
|
+
- REQUIRED: `.workflow/roadmap.md` written with Milestone > Phase hierarchy.
|
|
112
|
+
- REQUIRED: Artifact registered in state.json with milestone entries.
|
|
113
|
+
|
|
114
|
+
### Artifact Verification (before completion)
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
REQUIRED_ARTIFACTS = [
|
|
118
|
+
".workflow/roadmap.md" // Milestone > Phase hierarchy with progress table
|
|
119
|
+
]
|
|
120
|
+
```
|
|
121
|
+
If missing: DO NOT report completion.
|
|
122
|
+
|
|
97
123
|
</execution>
|
|
98
124
|
|
|
99
125
|
<completion>
|
|
@@ -28,7 +28,7 @@ Scripts: `~/.maestro/workflows/swarm/wf-*.js`
|
|
|
28
28
|
| `wf-analyze` | maestro-analyze | explore → 6-dim scoring → **skeptic cross-verify** → **3-way advocacy (go/no-go/conditional) + referee** |
|
|
29
29
|
| `wf-brainstorm` | maestro-brainstorm | multi-role analysis → **3-specialist cross-review** → **3-proposal competition** → **arbitrator** |
|
|
30
30
|
| `wf-review` | quality-review | 6-dim scan → **3-vote adversarial verify (prosecutor/defense/judge)** → **3-perspective report + arbitrated verdict** |
|
|
31
|
-
| `wf-verify` | maestro-
|
|
31
|
+
| `wf-verify` | maestro-execute (verification gate) | 3-layer + antipattern + convergence → **prosecutor vs defender debate** → **judge verdict** |
|
|
32
32
|
| `wf-grill` | maestro-grill | explore → parallel branch stress → **meta-skeptic challenge** → **3-vote verdict (optimist/pessimist/realist)** |
|
|
33
33
|
| `wf-plan` | maestro-plan | parallel context → **3-strategy competing proposals** → **judge panel scoring** → **3-critic adversarial check** |
|
|
34
34
|
| `wf-execute` | maestro-execute | wave-based parallel execution → **adversarial convergence spot-check** → **3-vote status determination** |
|
|
@@ -230,7 +230,7 @@ Ralph 可以在 A_BUILD_STEPS 中将某些 step 的执行方式标记为 `swarm-
|
|
|
230
230
|
"args": "--script wf-analyze {phase}",
|
|
231
231
|
"stage": "analyze",
|
|
232
232
|
"command_scope": "project",
|
|
233
|
-
"command_path": "<resolved by maestro ralph skills>"
|
|
233
|
+
"command_path": "<resolved by maestro ralph skills --platform agent>"
|
|
234
234
|
}
|
|
235
235
|
```
|
|
236
236
|
|
|
@@ -67,7 +67,7 @@ Parse $ARGUMENTS to determine mode:
|
|
|
67
67
|
- Analyze improvement points (step splitting, prerequisites, error handling)
|
|
68
68
|
|
|
69
69
|
**Promote mode** (existing knowhow → tool):
|
|
70
|
-
- Locate document: `maestro
|
|
70
|
+
- Locate document: `maestro search "<name>" --type knowhow` or by path in `.workflow/knowhow/`
|
|
71
71
|
- Read document, verify it contains actionable steps (numbered list or ## Steps section)
|
|
72
72
|
- If no actionable steps, suggest extract mode instead
|
|
73
73
|
- Determine category (Step 3) and summary ("Use when ...")
|
|
@@ -130,7 +130,7 @@ summary: "Use when <timing>. <scope description>"
|
|
|
130
130
|
**Optionally register spec ref entry** for index discoverability:
|
|
131
131
|
```bash
|
|
132
132
|
maestro spec add <category> "<title>" "Use when <timing>. <scope summary>" --keywords "<csv>" \
|
|
133
|
-
--ref "knowhow/RCP-<slug>.md" --knowhow-type recipe
|
|
133
|
+
--description "<one-line summary>" --ref "knowhow/RCP-<slug>.md" --knowhow-type recipe
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
### Step 6: Verify
|
|
@@ -58,6 +58,26 @@ If specs not initialized, continue without — the workflow still produces valid
|
|
|
58
58
|
Route to `~/.maestro/workflows/ui-codify.md` and follow completely.
|
|
59
59
|
|
|
60
60
|
The workflow orchestrates 4 phases with deferred loading of phase-specific workflow files. Each phase reads its workflow file only when execution reaches that phase.
|
|
61
|
+
|
|
62
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
63
|
+
|
|
64
|
+
**GATE Phase 1 → Phase 2**: Source path validated, file discovery completed. design-tokens.json generated.
|
|
65
|
+
**GATE Phase 2 → Phase 3**: layout-templates.json generated with component patterns.
|
|
66
|
+
**GATE Phase 3 → Phase 4**: preview.html + preview.css generated as interactive showcase.
|
|
67
|
+
**GATE Phase 4 → Completion**: knowhow-manifest.json created. codify-to-knowhow called and completed.
|
|
68
|
+
|
|
69
|
+
### Artifact Verification (before completion)
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
REQUIRED_ARTIFACTS = [
|
|
73
|
+
"design-tokens.json", // Phase 1
|
|
74
|
+
"layout-templates.json", // Phase 2
|
|
75
|
+
"preview.html", // Phase 3
|
|
76
|
+
"preview.css", // Phase 3
|
|
77
|
+
"knowhow-manifest.json" // Phase 4
|
|
78
|
+
]
|
|
79
|
+
```
|
|
80
|
+
If any artifact is missing: DO NOT report completion.
|
|
61
81
|
</execution>
|
|
62
82
|
|
|
63
83
|
<error_codes>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-update
|
|
3
3
|
description: Detect version, preview changes, apply workflow upgrades
|
|
4
|
-
argument-hint: "[--dry-run] [--force]"
|
|
4
|
+
argument-hint: "[--dry-run] [--force] [--setup-only]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -14,9 +14,13 @@ allowed-tools:
|
|
|
14
14
|
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
15
15
|
|
|
16
16
|
<purpose>
|
|
17
|
-
|
|
17
|
+
Version router — detect current version, run schema migration to latest, then follow the version-specific smart upgrade workflow.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Migration scripts live in two layers:
|
|
20
|
+
- **Schema** (`src/migrations/`): code-level state.json transforms, auto-chained by registry
|
|
21
|
+
- **Workflow** (`~/.maestro/workflows/updates/`): version-specific upgrade guides with environment setup
|
|
22
|
+
|
|
23
|
+
Schema migrations handle the mechanical version bump. Workflow docs handle the smart part — what the user needs to know, configure, or verify for that version. The router runs schema first, then loads the matching workflow doc.
|
|
20
24
|
</purpose>
|
|
21
25
|
|
|
22
26
|
<context>
|
|
@@ -24,131 +28,80 @@ $ARGUMENTS — optional flags.
|
|
|
24
28
|
|
|
25
29
|
**Flags:**
|
|
26
30
|
- `--dry-run` -- Preview migration plan without executing
|
|
27
|
-
- `--force` -- Skip confirmation prompts
|
|
31
|
+
- `--force` -- Skip confirmation prompts
|
|
32
|
+
- `--setup-only` -- Skip schema migration, run only the setup for current version
|
|
28
33
|
|
|
29
|
-
**
|
|
30
|
-
- Each migration is a standalone file (e.g., `v1-to-v2.ts`) exporting a `MigrationDef`
|
|
31
|
-
- All migrations are registered via `src/migrations/index.ts`
|
|
32
|
-
- Registry auto-chains: detects current version → walks chain → applies in order
|
|
33
|
-
- To add a new migration: create `src/migrations/v{N}-to-v{N+1}.ts`, register in `index.ts`
|
|
34
|
+
**Version source:** `.workflow/state.json` → `version` field
|
|
34
35
|
|
|
35
|
-
**
|
|
36
|
-
-
|
|
37
|
-
- Outputs JSON (with `--json`) or human-readable text
|
|
36
|
+
**Workflow docs:** `~/.maestro/workflows/updates/`
|
|
37
|
+
- `update-v{TO}-setup.md` — post-migration setup for version {TO}
|
|
38
38
|
|
|
39
|
-
**
|
|
39
|
+
**Schema registry:** `src/migrations/` — handles all intermediate version bumps automatically
|
|
40
40
|
</context>
|
|
41
41
|
|
|
42
42
|
<execution>
|
|
43
43
|
|
|
44
|
-
### Step 1: Detect
|
|
44
|
+
### Step 1: Detect Version
|
|
45
45
|
|
|
46
46
|
```
|
|
47
|
-
1. Read .workflow/state.json
|
|
48
|
-
2.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
=== Maestro Workflow Update ===
|
|
52
|
-
Project: {project_name}
|
|
53
|
-
Version: {version}
|
|
54
|
-
Location: {.workflow/ path}
|
|
47
|
+
1. Read .workflow/state.json → extract version (default "1.0" if missing)
|
|
48
|
+
2. Display:
|
|
49
|
+
=== Maestro Update ===
|
|
50
|
+
Current version: v{version}
|
|
55
51
|
```
|
|
56
52
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
IF `--setup-only`:
|
|
54
|
+
→ Glob: ~/.maestro/workflows/updates/update-v{version}-setup.md
|
|
55
|
+
→ IF exists: follow that document completely, then EXIT
|
|
56
|
+
→ IF not exists: display "No setup script for v{version}" → EXIT
|
|
60
57
|
|
|
61
|
-
|
|
62
|
-
npx tsx src/migrations/run.ts "$(pwd)" --dry-run --json
|
|
63
|
-
```
|
|
58
|
+
### Step 2: Check for Updates
|
|
64
59
|
|
|
65
|
-
Parse the JSON output. If status is `up-to-date`:
|
|
66
60
|
```
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
61
|
+
1. Run: npx tsx src/migrations/run.ts "$(pwd)" --dry-run --json
|
|
62
|
+
2. Parse JSON output
|
|
63
|
+
3. IF status = "up-to-date":
|
|
64
|
+
Display "Already up to date (v{version})"
|
|
65
|
+
→ Glob: ~/.maestro/workflows/updates/update-v{version}-setup.md
|
|
66
|
+
→ IF exists: ask_user "Run setup for v{version}?" → load and follow
|
|
67
|
+
→ EXIT
|
|
68
|
+
|
|
69
|
+
4. Display target:
|
|
70
|
+
Update available: v{current} → v{target}
|
|
71
|
+
Schema migrations: {N} step(s) (handled automatically)
|
|
72
72
|
```
|
|
73
|
-
Pending Migrations ({N} step(s)):
|
|
74
|
-
|
|
75
|
-
1. [v{from} → v{to}] {name}
|
|
76
|
-
{description}
|
|
77
|
-
|
|
78
|
-
2. [v{from} → v{to}] {name}
|
|
79
|
-
{description}
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
If `--dry-run` flag was passed by user → display plan and EXIT.
|
|
83
73
|
|
|
84
|
-
|
|
74
|
+
IF `--dry-run` → display info and EXIT.
|
|
85
75
|
|
|
86
|
-
|
|
76
|
+
### Step 3: Execute
|
|
87
77
|
|
|
88
78
|
```
|
|
89
|
-
|
|
79
|
+
1. Confirm (unless --force):
|
|
80
|
+
ask_user: "Upgrade v{current} → v{target}?"
|
|
81
|
+
Options: [执行 / 取消]
|
|
90
82
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
Version: v{from} → v{to}
|
|
83
|
+
2. Create backup:
|
|
84
|
+
Bash: cp .workflow/state.json .workflow/state.json.backup-v{current}-{timestamp}
|
|
94
85
|
|
|
95
|
-
|
|
96
|
-
|
|
86
|
+
3. Run schema migration (handles all intermediate steps automatically):
|
|
87
|
+
Bash: npx tsx src/migrations/run.ts "$(pwd)" --json
|
|
88
|
+
Parse result, display changes.
|
|
97
89
|
|
|
98
|
-
|
|
99
|
-
ask_user: "Apply this migration?"
|
|
100
|
-
Options: [yes / skip / abort]
|
|
90
|
+
4. IF failed → display backup restore command → EXIT
|
|
101
91
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
- "abort" → display summary of what was applied so far → EXIT
|
|
92
|
+
5. Load version-specific setup:
|
|
93
|
+
Read: ~/.maestro/workflows/updates/update-v{target}-setup.md
|
|
94
|
+
IF exists → follow completely (hooks, deps, knowledge system config)
|
|
106
95
|
|
|
107
|
-
|
|
108
|
-
→ proceed to Step 4 (execute)
|
|
96
|
+
6. Display: "v{current} → v{target}: done"
|
|
109
97
|
```
|
|
110
98
|
|
|
111
|
-
### Step 4:
|
|
99
|
+
### Step 4: Summary
|
|
112
100
|
|
|
113
101
|
```
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
2. Run migration:
|
|
118
|
-
Bash: npx tsx src/migrations/run.ts "$(pwd)" --json
|
|
119
|
-
|
|
120
|
-
NOTE: The runner executes ALL pending migrations. For step-by-step control,
|
|
121
|
-
read state.json, call the migration function directly, or use the runner
|
|
122
|
-
which stops on first failure.
|
|
123
|
-
|
|
124
|
-
3. Parse result JSON and display:
|
|
125
|
-
|
|
126
|
-
{status_icon} Step {N} completed: {name}
|
|
127
|
-
Summary: {summary}
|
|
128
|
-
Changes:
|
|
129
|
-
- {change_1}
|
|
130
|
-
- {change_2}
|
|
131
|
-
- ...
|
|
132
|
-
|
|
133
|
-
4. If failed:
|
|
134
|
-
Display: "Migration failed: {summary}"
|
|
135
|
-
Display: "Backup available at: {backup_path}"
|
|
136
|
-
Display: "Restore with: cp {backup_path} .workflow/state.json"
|
|
137
|
-
→ EXIT
|
|
138
|
-
|
|
139
|
-
5. Continue loop to next step
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Step 5: Summary
|
|
143
|
-
|
|
144
|
-
After all steps completed (or user aborted):
|
|
145
|
-
|
|
146
|
-
```
|
|
147
|
-
=== Migration Complete ===
|
|
148
|
-
Applied: {applied_count} / {total_count} migration(s)
|
|
149
|
-
Skipped: {skipped_count}
|
|
150
|
-
Version: v{original} → v{final}
|
|
151
|
-
Backup: .workflow/state.json.backup-v{original}-{timestamp}
|
|
102
|
+
=== Update Complete ===
|
|
103
|
+
Version: v{current} → v{target}
|
|
104
|
+
Backup: .workflow/state.json.backup-v{current}-{timestamp}
|
|
152
105
|
|
|
153
106
|
Next steps:
|
|
154
107
|
/manage-status -- Verify project state
|
|
@@ -157,22 +110,12 @@ Next steps:
|
|
|
157
110
|
|
|
158
111
|
</execution>
|
|
159
112
|
|
|
160
|
-
<error_codes>
|
|
161
|
-
| Code | Severity | Condition | Recovery |
|
|
162
|
-
|------|----------|-----------|----------|
|
|
163
|
-
| E001 | error | .workflow/state.json not found | Run /maestro-init first |
|
|
164
|
-
| E002 | error | state.json parse error | Check file for corruption |
|
|
165
|
-
| E003 | error | Migration function failed | Restore from backup |
|
|
166
|
-
| W001 | warning | Skipped migration may break version chain | Re-run /maestro-update later |
|
|
167
|
-
| W002 | warning | tsx not available | Install tsx: npm i -D tsx |
|
|
168
|
-
</error_codes>
|
|
169
|
-
|
|
170
113
|
<success_criteria>
|
|
171
114
|
- [ ] Current version detected from state.json
|
|
172
|
-
- [ ]
|
|
173
|
-
- [ ]
|
|
174
|
-
- [ ]
|
|
175
|
-
- [ ]
|
|
176
|
-
- [ ]
|
|
177
|
-
- [ ] Summary shows
|
|
115
|
+
- [ ] Schema migrations run automatically (no manual intermediate steps)
|
|
116
|
+
- [ ] Backup created before migration
|
|
117
|
+
- [ ] Version-specific setup doc loaded and followed (if exists)
|
|
118
|
+
- [ ] --setup-only runs only setup for current version
|
|
119
|
+
- [ ] --dry-run previews without executing
|
|
120
|
+
- [ ] Summary shows version change and backup path
|
|
178
121
|
</success_criteria>
|
|
@@ -55,9 +55,9 @@ Follow '~/.maestro/workflows/codebase-rebuild.md' completely.
|
|
|
55
55
|
|
|
56
56
|
**Next-step routing on completion:**
|
|
57
57
|
- View updated project state → `/manage-status`
|
|
58
|
-
- Incremental updates later → `/
|
|
58
|
+
- Incremental updates later → `/quality-sync`
|
|
59
59
|
- Verify KG stats → `maestro kg stats`
|
|
60
|
-
- Verify wiki integration → `maestro
|
|
60
|
+
- Verify wiki integration → `maestro search "kg" --type knowhow`
|
|
61
61
|
- Future change impact → `maestro kg diff-wiki`
|
|
62
62
|
</execution>
|
|
63
63
|
|
|
@@ -82,6 +82,6 @@ Follow '~/.maestro/workflows/codebase-rebuild.md' completely.
|
|
|
82
82
|
- [ ] KG pipeline executed (`maestro kg index`)
|
|
83
83
|
- [ ] knowledge-graph.json generated in .workflow/codebase/
|
|
84
84
|
- [ ] KG nodes indexed as virtual wiki entries (automatic via WikiIndexer on next wiki access)
|
|
85
|
-
- [ ] Next step routing: `/manage-status` or `/
|
|
85
|
+
- [ ] Next step routing: `/manage-status` or `/quality-sync` for incremental updates later
|
|
86
86
|
- [ ] KG impact check available: `maestro kg diff-wiki` for future change impact analysis
|
|
87
87
|
</success_criteria>
|
|
@@ -55,7 +55,7 @@ Extraction patterns, classification rules, routing infrastructure, and fragment
|
|
|
55
55
|
|
|
56
56
|
**Next-step routing on completion:**
|
|
57
57
|
- Review wiki entries → `maestro wiki list --type note`
|
|
58
|
-
- Connect wiki graph → `/wiki
|
|
58
|
+
- Connect wiki graph → `/manage-wiki connect --fix`
|
|
59
59
|
- Triage issues → `/manage-issue list --source harvest`
|
|
60
60
|
- View specs → `/spec-load --role implement`
|
|
61
61
|
- Full retrospective → `/quality-retrospective`
|
|
@@ -15,9 +15,11 @@ allowed-tools:
|
|
|
15
15
|
|
|
16
16
|
<purpose>
|
|
17
17
|
Unified memory management across two stores:
|
|
18
|
-
1. **Workflow knowhow** (`.workflow/knowhow/`) — Session compacts and
|
|
18
|
+
1. **Workflow knowhow** (`.workflow/knowhow/`) — Session compacts, tips, insights, and all reusable knowledge, created by `manage-knowhow-capture`
|
|
19
19
|
2. **System memory** (`~/.claude/projects/{project}/memory/`) — Claude Code auto-memory (MEMORY.md + topic files), persists across conversations
|
|
20
20
|
|
|
21
|
+
Also scans `.workflow/specs/learnings.md` for legacy insight entries (backward compat with former `manage-learn`).
|
|
22
|
+
|
|
21
23
|
Provides list/search/view/edit/delete/prune operations. Default store is `all` (show both).
|
|
22
24
|
</purpose>
|
|
23
25
|
|
|
@@ -15,7 +15,7 @@ allowed-tools:
|
|
|
15
15
|
|
|
16
16
|
<purpose>
|
|
17
17
|
Capture reusable knowledge into `.workflow/knowhow/` with type-specific structured fields.
|
|
18
|
-
Auto-indexed by WikiIndexer (type=knowhow), searchable via `maestro knowhow
|
|
18
|
+
Auto-indexed by WikiIndexer (type=knowhow), searchable via `maestro search --type knowhow`.
|
|
19
19
|
</purpose>
|
|
20
20
|
|
|
21
21
|
<required_reading>
|
|
@@ -40,8 +40,9 @@ $ARGUMENTS — type token + description + optional flags.
|
|
|
40
40
|
| `asset`/`ast`/`资产`/`契约` | asset | AST- | assetType, codePaths, category |
|
|
41
41
|
| `blueprint`/`blp`/`蓝图` | blueprint | BLP- | codePaths, category |
|
|
42
42
|
| `document`/`doc`/`文档` | document | DOC- | (general fallback) |
|
|
43
|
+
| `insight`/`ins`/`洞察`/`经验` | insight | INS- | content, tags, phase (replaces former manage-learn) |
|
|
43
44
|
| Short text + `--tag` | tip | TIP- | — |
|
|
44
|
-
| No args | — | — | ask_user (
|
|
45
|
+
| No args | — | — | ask_user (10 options) |
|
|
45
46
|
|
|
46
47
|
**Output**: `.workflow/knowhow/{PREFIX}-{YYYYMMDD}-{HHMM}.md` with YAML frontmatter (title, type, category, created, tags, source, lang, status)
|
|
47
48
|
</context>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: manage-wiki
|
|
3
3
|
description: Manage wiki graph — health, cleanup, search, stats
|
|
4
|
-
argument-hint: "<subcommand: health|search|cleanup|stats> [query] [--fix] [--dry-run]"
|
|
4
|
+
argument-hint: "<subcommand: health|search|cleanup|stats|connect|digest> [query] [--fix] [--dry-run]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -14,9 +14,7 @@ allowed-tools:
|
|
|
14
14
|
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
15
15
|
|
|
16
16
|
<purpose>
|
|
17
|
-
Unified wiki graph management command. Provides interactive access to wiki health monitoring, entry search, orphan cleanup,
|
|
18
|
-
|
|
19
|
-
Complements `/wiki-connect` (link discovery) and `/wiki-digest` (synthesis) with operational tooling.
|
|
17
|
+
Unified wiki graph management command. Provides interactive access to wiki health monitoring, entry search, orphan cleanup, graph statistics, link discovery, and knowledge synthesis — the single entry point for all wiki graph operations.
|
|
20
18
|
</purpose>
|
|
21
19
|
|
|
22
20
|
<required_reading>
|
|
@@ -33,16 +31,26 @@ $ARGUMENTS — subcommand and optional flags.
|
|
|
33
31
|
| `search <query>` | Interactive BM25 search with follow-up actions |
|
|
34
32
|
| `cleanup` | Find and resolve orphans, broken links, stale entries |
|
|
35
33
|
| `stats` | Graph statistics — type distribution, tag frequency, growth trends |
|
|
34
|
+
| `connect` | Find and link hidden connections — orphan rescue, missing links, transitive gaps |
|
|
35
|
+
| `digest [topic]` | Generate knowledge digest with theme clustering and gap analysis |
|
|
36
36
|
| No args | Same as `health` |
|
|
37
37
|
|
|
38
38
|
**Flags:**
|
|
39
39
|
- `--type <type>` — Filter by wiki type: spec, knowhow, note, issue
|
|
40
|
-
- `--fix` — Auto-fix issues found during cleanup (remove broken links,
|
|
40
|
+
- `--fix` — Auto-fix issues found during cleanup/connect (remove broken links, apply connections)
|
|
41
41
|
- `--json` — Output in JSON format
|
|
42
|
+
- `--min-similarity N` — (connect) Minimum similarity threshold for link candidates
|
|
43
|
+
- `--max N` — (connect) Maximum number of suggestions
|
|
44
|
+
- `--format brief|full` — (digest) Output format
|
|
45
|
+
- `--recent N` — (digest) Scope to N most recent entries
|
|
46
|
+
- `--create-issues` — (digest) Create issues for identified knowledge gaps
|
|
42
47
|
</context>
|
|
43
48
|
|
|
44
49
|
<execution>
|
|
45
|
-
|
|
50
|
+
**Subcommand routing:**
|
|
51
|
+
- `health|search|cleanup|stats` → Follow `~/.maestro/workflows/wiki-manage.md` completely.
|
|
52
|
+
- `connect` → Follow `~/.maestro/workflows/wiki-connect.md` completely (Stages 1-6).
|
|
53
|
+
- `digest` → Follow `~/.maestro/workflows/wiki-digest.md` completely (Stages 1-8).
|
|
46
54
|
</execution>
|
|
47
55
|
|
|
48
56
|
<error_codes>
|
|
@@ -56,9 +64,10 @@ Follow '~/.maestro/workflows/wiki-manage.md' completely.
|
|
|
56
64
|
</error_codes>
|
|
57
65
|
|
|
58
66
|
<success_criteria>
|
|
59
|
-
- [ ] Subcommand parsed (health/search/cleanup/stats)
|
|
67
|
+
- [ ] Subcommand parsed (health/search/cleanup/stats/connect/digest)
|
|
60
68
|
- [ ] Wiki data loaded via `maestro wiki` CLI
|
|
61
69
|
- [ ] Results displayed in formatted output
|
|
62
|
-
- [ ] If cleanup --fix: issues resolved and delta reported
|
|
70
|
+
- [ ] If cleanup/connect --fix: issues resolved and delta reported
|
|
71
|
+
- [ ] If digest: themes clustered, gaps identified, coverage heatmap generated
|
|
63
72
|
- [ ] Next-step suggestions provided
|
|
64
73
|
</success_criteria>
|
|
@@ -57,7 +57,7 @@ Flags, artifact context resolution, and output formats defined in workflow auto-
|
|
|
57
57
|
1. **Test specs + tools**: Run `maestro spec load --category test` to load test conventions (framework, patterns, naming). Apply to all generated tests.
|
|
58
58
|
2. **Coding specs**: Run `maestro spec load --category coding` to understand coding patterns for accurate test targeting.
|
|
59
59
|
3. **Role Knowledge**:
|
|
60
|
-
- Browse: `maestro
|
|
60
|
+
- Browse: `maestro search --category test`
|
|
61
61
|
- Load task-relevant entries: `maestro wiki load <id1> [id2...]`
|
|
62
62
|
4. All are optional — proceed without if unavailable.
|
|
63
63
|
</context>
|
|
@@ -93,13 +93,13 @@ Append to state.json.artifacts[]:
|
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
**Next-step routing on completion:**
|
|
96
|
-
- Converged (>=95%) → `/
|
|
96
|
+
- Converged (>=95%) → `/quality-review {phase}`
|
|
97
97
|
- All requirements verified (spec source) → `/maestro-milestone-audit`
|
|
98
98
|
- Bugs discovered → `/quality-debug --from-uat {phase}`
|
|
99
99
|
- Max iter, >80% → `/quality-test {phase}` for manual UAT
|
|
100
100
|
- Max iter, <80% → `/quality-debug {phase}`
|
|
101
101
|
- Coverage still low → `/quality-auto-test {phase} --layer {missing}`
|
|
102
|
-
- Re-run all pass → `/
|
|
102
|
+
- Re-run all pass → `/quality-review {phase}`
|
|
103
103
|
- Single pass, all pass → `/quality-test {phase}`
|
|
104
104
|
</execution>
|
|
105
105
|
|
|
@@ -47,9 +47,9 @@ Extract conclusions from related artifacts that may affect this debug session
|
|
|
47
47
|
|
|
48
48
|
### Pre-load (optional, proceed without)
|
|
49
49
|
- Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → module boundaries
|
|
50
|
-
- Wiki: `maestro
|
|
50
|
+
- Wiki: `maestro search "<symptom keywords>" --json` → prior investigations
|
|
51
51
|
- Specs: `maestro spec load --category debug --keyword "<symptom>"` → known issues/workarounds
|
|
52
|
-
- Role knowledge: `maestro
|
|
52
|
+
- Role knowledge: `maestro search --category debug` → select relevant → `maestro wiki load`
|
|
53
53
|
|
|
54
54
|
**Output**: `DEBUG_DIR = .workflow/scratch/{YYYYMMDD}-debug-P{N}-{slug}/` (P{N} = phase number when phase-scoped; omit for standalone). Output directory rules defined in workflow debug.md Step 4.
|
|
55
55
|
</context>
|
|
@@ -83,13 +83,13 @@ Append to state.json.artifacts[]:
|
|
|
83
83
|
| Non-obvious fix / workaround | "Record as learning?" | spec-add learning |
|
|
84
84
|
| Root cause = architectural boundary violation | "Update architecture-constraints.md?" | spec-add arch |
|
|
85
85
|
|
|
86
|
-
On confirm → `invoke_skill("spec-add", "<category> <content>")`.
|
|
86
|
+
On confirm → `invoke_skill("spec-add", "<category> <content> --description \"<summary>\"")`.
|
|
87
87
|
|
|
88
88
|
**Next-step routing on completion:**
|
|
89
89
|
- Root cause found, fix needed → `/maestro-plan {phase} --gaps`
|
|
90
90
|
- Root cause found (from UAT), auto-fix → `/quality-test {phase} --auto-fix`
|
|
91
91
|
- Inconclusive, need more info → `/quality-debug {issue} -c` (resume session)
|
|
92
|
-
- Standalone fix already applied → `/maestro-
|
|
92
|
+
- Standalone fix already applied → `/maestro-execute {phase}`
|
|
93
93
|
</execution>
|
|
94
94
|
|
|
95
95
|
<error_codes>
|
|
@@ -35,7 +35,7 @@ If not provided, prompt user for scope.
|
|
|
35
35
|
1. **Coding specs**: Run `maestro spec load --category coding` to load coding conventions. Apply conventions to all refactored code.
|
|
36
36
|
2. **Review specs**: Run `maestro spec load --category review` to load review standards. Use as quality gate for refactored code.
|
|
37
37
|
3. **Role Knowledge**:
|
|
38
|
-
- Browse: `maestro
|
|
38
|
+
- Browse: `maestro search --category coding`
|
|
39
39
|
- Identify task-relevant entries, then load: `maestro wiki load <id1> [id2...]`
|
|
40
40
|
4. All are optional — proceed without if unavailable.
|
|
41
41
|
</context>
|
|
@@ -44,7 +44,7 @@ If not provided, prompt user for scope.
|
|
|
44
44
|
Follow '~/.maestro/workflows/refactor.md' completely.
|
|
45
45
|
|
|
46
46
|
**Knowledge inquiry on completion:**
|
|
47
|
-
After successful refactoring, ask user once: "Record refactoring pattern as coding convention?" If yes, persist via `invoke_skill("spec-add", "coding \"<title>\" \"<pattern>\" --keywords <kw1>,<kw2>")`.
|
|
47
|
+
After successful refactoring, ask user once: "Record refactoring pattern as coding convention?" If yes, persist via `invoke_skill("spec-add", "coding \"<title>\" \"<pattern>\" --keywords <kw1>,<kw2> --description \"<summary>\"")`.
|
|
48
48
|
|
|
49
49
|
**Next-step routing on completion:**
|
|
50
50
|
- All tests pass → `/quality-sync` (update codebase docs)
|
|
@@ -24,7 +24,7 @@ Post-execution multi-perspective retrospective (复盘) for completed phases. Co
|
|
|
24
24
|
|
|
25
25
|
<deferred_reading>
|
|
26
26
|
- @~/.maestro/workflows/issue.md (issues.jsonl schema for auto-creation)
|
|
27
|
-
- @~/.maestro/workflows/learn.md (tip routing via manage-
|
|
27
|
+
- @~/.maestro/workflows/learn.md (tip routing via manage-knowhow-capture tip)
|
|
28
28
|
- @~/.maestro/workflows/verify.md (verification.json schema for quality lens parsing)
|
|
29
29
|
- @~/.maestro/workflows/review.md (review.json schema for quality lens parsing)
|
|
30
30
|
</deferred_reading>
|
|
@@ -41,7 +41,7 @@ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invari
|
|
|
41
41
|
1. **Read-only until Stage 6** — Stages 1–5 must not write anything except the in-memory retrospective record.
|
|
42
42
|
2. **Parallel lens dispatch** — Stage 4 spawns one Agent per active lens in a single message (multiple Agent tool calls). All agents use `subagent_type: "general-purpose"` and `run_in_background: false`.
|
|
43
43
|
3. **Match canonical issues schema** — Stage 6 issue routing must produce rows that pass `jq` parsing and match the schema in `workflows/issue.md` Step 4 exactly (status `"open"`, full `issue_history` entry, all required fields).
|
|
44
|
-
4. **Reuse `manage-
|
|
44
|
+
4. **Reuse `manage-knowhow-capture tip` for note routing** — do not duplicate the learning pipeline; invoke via `invoke_skill({ skill: "manage-knowhow-capture", args: "tip ..." })`.
|
|
45
45
|
5. **Backward-compat with phase-transition** — append a one-line summary per insight to `.workflow/specs/learnings.md` if and only if that file already exists. Never create it.
|
|
46
46
|
6. **Stable insight IDs** — `INS-{8 hex}` from `hash(phase_num + lens + title)` so re-runs do not duplicate.
|
|
47
47
|
7. **Archive before overwrite** — if existing `retrospective.{md,json}` are being replaced, move them to `{artifact_dir}/.history/` with a timestamp suffix first.
|
|
@@ -57,7 +57,7 @@ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invari
|
|
|
57
57
|
| E005 | error | Phase argument out of range / phase directory not found | scan_unreviewed |
|
|
58
58
|
| W001 | warning | One or more lens agents failed — proceeding with partial coverage | multi_lens_analysis |
|
|
59
59
|
| W002 | warning | Existing retrospective.json found and not `--all` — prompted user to overwrite | scan_unreviewed |
|
|
60
|
-
| W003 | warning | `manage-
|
|
60
|
+
| W003 | warning | `manage-knowhow-capture tip` did not return parseable INS id; fell back to direct write | route_outputs |
|
|
61
61
|
| W004 | warning | `--compare` target phase has no retrospective.json; delta omitted | load_artifacts |
|
|
62
62
|
</error_codes>
|
|
63
63
|
|
|
@@ -71,9 +71,9 @@ Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invari
|
|
|
71
71
|
- [ ] If routing enabled (default): every recommendation either created an artifact or was explicitly skipped by user
|
|
72
72
|
- [ ] Spec entries (if any) appended as `<spec-entry>` to matching `.workflow/specs/{category-file}.md`
|
|
73
73
|
- [ ] Issue rows (if any) match canonical issues.jsonl schema (status "open", full issue_history, all required fields)
|
|
74
|
-
- [ ] Note tips (if any) created via `invoke_skill({ skill: "manage-
|
|
74
|
+
- [ ] Note tips (if any) created via `invoke_skill({ skill: "manage-knowhow-capture", args: "tip ..." })`
|
|
75
75
|
- [ ] `.workflow/specs/learnings.md` appended with one `<spec-entry>` per insight regardless of routing target
|
|
76
76
|
- [ ] No existing phase artifacts modified (verification.json, review.json, plan.json untouched)
|
|
77
77
|
- [ ] Confirmation banner displays routing counts and next-step suggestions
|
|
78
|
-
- [ ] Next step: `/manage-status` to review state, or `/manage-issue list --source retrospective` to triage created issues, or `/manage-
|
|
78
|
+
- [ ] Next step: `/manage-status` to review state, or `/manage-issue list --source retrospective` to triage created issues, or `/manage-knowhow list` to browse the knowhow library
|
|
79
79
|
</success_criteria>
|
|
@@ -15,7 +15,7 @@ allowed-tools:
|
|
|
15
15
|
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
16
|
|
|
17
17
|
<purpose>
|
|
18
|
-
Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?" -- complementing maestro-
|
|
18
|
+
Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?" -- complementing maestro-execute's built-in verification ("is the goal met?") and quality-test ("does it work for users?"). Three review levels (quick/standard/deep) scale with task depth, auto-detected from file count. Level definitions, dimension lists, deep-dive rules, and issue creation thresholds defined in workflow review.md.
|
|
19
19
|
</purpose>
|
|
20
20
|
|
|
21
21
|
<required_reading>
|
|
@@ -52,9 +52,9 @@ Extract conclusions from related artifacts that may affect this review. Pass as
|
|
|
52
52
|
|
|
53
53
|
### Pre-load (optional, proceed without)
|
|
54
54
|
- Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → component boundaries, layer rules
|
|
55
|
-
- Wiki constraints: `maestro
|
|
55
|
+
- Wiki constraints: `maestro search "architecture constraint" --json` → documented decisions
|
|
56
56
|
- Specs: `maestro spec load --category review` → review standards, checklists, knowhow tools
|
|
57
|
-
- Role knowledge: `maestro
|
|
57
|
+
- Role knowledge: `maestro search --category review` → select relevant → `maestro wiki load`
|
|
58
58
|
|
|
59
59
|
**Output**: `REVIEW_DIR = .workflow/scratch/{YYYYMMDD}-review-P{N}-{slug}/` (P{N} = phase number, enables directory-level identification as state.json fallback)
|
|
60
60
|
</context>
|
|
@@ -101,7 +101,7 @@ NEXT: /quality-refactor
|
|
|
101
101
|
|
|
102
102
|
Status mapping:
|
|
103
103
|
- **DONE** — PASS verdict, no critical findings → NEXT: /quality-refactor
|
|
104
|
-
- **DONE_WITH_CONCERNS** — WARN verdict, issues found but non-blocking → NEXT: /
|
|
104
|
+
- **DONE_WITH_CONCERNS** — WARN verdict, issues found but non-blocking → NEXT: /quality-test
|
|
105
105
|
- **NEEDS_RETRY** — BLOCK verdict, critical findings require fix first
|
|
106
106
|
</execution>
|
|
107
107
|
|
|
@@ -35,6 +35,7 @@ Follow '~/.maestro/workflows/sync.md' completely.
|
|
|
35
35
|
**Next-step routing on completion:**
|
|
36
36
|
- Docs refreshed → `/manage-status`
|
|
37
37
|
- Major structural changes detected → `/manage-codebase-rebuild` (full rebuild recommended)
|
|
38
|
+
- Incremental refresh (replaces former `/manage-codebase-refresh`) → use `--since` flag
|
|
38
39
|
</execution>
|
|
39
40
|
|
|
40
41
|
<error_codes>
|