maestro-flow 0.4.10 → 0.4.12
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/agents/cli-explore-agent.md +187 -0
- package/.agents/agents/cross-role-reviewer.md +173 -0
- package/.agents/agents/impeccable-agent.md +101 -0
- package/.agents/agents/role-design-author.md +218 -0
- package/.agents/agents/team-supervisor.md +145 -0
- package/.agents/agents/team-worker.md +239 -0
- package/.agents/agents/ui-design-agent.md +272 -0
- package/.agents/agents/workflow-analyzer.md +117 -0
- package/.agents/agents/workflow-codebase-mapper.md +79 -0
- package/.agents/agents/workflow-collab-planner.md +145 -0
- package/.agents/agents/workflow-debugger.md +105 -0
- package/.agents/agents/workflow-executor.md +134 -0
- package/.agents/agents/workflow-external-researcher.md +88 -0
- package/.agents/agents/workflow-integration-checker.md +85 -0
- package/.agents/agents/workflow-nyquist-auditor.md +87 -0
- package/.agents/agents/workflow-phase-researcher.md +87 -0
- package/.agents/agents/workflow-plan-checker.md +92 -0
- package/.agents/agents/workflow-planner.md +197 -0
- package/.agents/agents/workflow-project-researcher.md +76 -0
- package/.agents/agents/workflow-research-synthesizer.md +72 -0
- package/.agents/agents/workflow-reviewer.md +84 -0
- package/.agents/agents/workflow-roadmapper.md +83 -0
- package/.agents/agents/workflow-verifier.md +122 -0
- package/.agents/skills/codify-to-knowhow/SKILL.md +169 -0
- package/.agents/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
- package/.agents/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
- package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
- package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
- package/.agents/skills/learn-decompose/SKILL.md +118 -0
- package/.agents/skills/learn-follow/SKILL.md +129 -0
- package/.agents/skills/learn-investigate/SKILL.md +154 -0
- package/.agents/skills/learn-retro/SKILL.md +159 -0
- package/.agents/skills/learn-second-opinion/SKILL.md +124 -0
- package/.agents/skills/maestro/SKILL.md +258 -0
- package/.agents/skills/maestro-amend/SKILL.md +165 -0
- package/.agents/skills/maestro-analyze/SKILL.md +161 -0
- package/.agents/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agents/skills/maestro-brainstorm/SKILL.md +134 -0
- package/.agents/skills/maestro-collab/SKILL.md +174 -0
- package/.agents/skills/maestro-composer/SKILL.md +181 -0
- package/.agents/skills/maestro-execute/SKILL.md +133 -0
- package/.agents/skills/maestro-fork/SKILL.md +88 -0
- package/.agents/skills/maestro-guard/SKILL.md +103 -0
- package/.agents/skills/maestro-help/SKILL.md +300 -0
- package/.agents/skills/maestro-help/index/catalog.json +202 -0
- package/.agents/skills/maestro-help/phases/01-parse-intent.md +122 -0
- package/.agents/skills/maestro-help/phases/02-search-present.md +183 -0
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +213 -0
- package/.agents/skills/maestro-impeccable/SKILL.md +251 -0
- package/.agents/skills/maestro-init/SKILL.md +80 -0
- package/.agents/skills/maestro-learn/SKILL.md +142 -0
- package/.agents/skills/maestro-merge/SKILL.md +66 -0
- package/.agents/skills/maestro-milestone-audit/SKILL.md +72 -0
- package/.agents/skills/maestro-milestone-complete/SKILL.md +79 -0
- package/.agents/skills/maestro-milestone-release/SKILL.md +98 -0
- package/.agents/skills/maestro-overlay/SKILL.md +180 -0
- package/.agents/skills/maestro-plan/SKILL.md +182 -0
- package/.agents/skills/maestro-player/SKILL.md +177 -0
- package/.agents/skills/maestro-quick/SKILL.md +67 -0
- package/.agents/skills/maestro-ralph/SKILL.md +756 -0
- package/.agents/skills/maestro-ralph-execute/SKILL.md +273 -0
- package/.agents/skills/maestro-roadmap/SKILL.md +131 -0
- package/.agents/skills/maestro-tools-execute/SKILL.md +119 -0
- package/.agents/skills/maestro-tools-register/SKILL.md +159 -0
- package/.agents/skills/maestro-ui-codify/SKILL.md +82 -0
- package/.agents/skills/maestro-update/SKILL.md +178 -0
- package/.agents/skills/maestro-verify/SKILL.md +111 -0
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +77 -0
- package/.agents/skills/manage-codebase-refresh/SKILL.md +59 -0
- package/.agents/skills/manage-harvest/SKILL.md +96 -0
- package/.agents/skills/manage-issue/SKILL.md +75 -0
- package/.agents/skills/manage-issue-discover/SKILL.md +83 -0
- package/.agents/skills/manage-knowhow/SKILL.md +79 -0
- package/.agents/skills/manage-knowhow-capture/SKILL.md +81 -0
- package/.agents/skills/manage-learn/SKILL.md +67 -0
- package/.agents/skills/manage-status/SKILL.md +54 -0
- package/.agents/skills/manage-wiki/SKILL.md +64 -0
- package/.agents/skills/quality-auto-test/SKILL.md +138 -0
- package/.agents/skills/quality-debug/SKILL.md +122 -0
- package/.agents/skills/quality-refactor/SKILL.md +69 -0
- package/.agents/skills/quality-retrospective/SKILL.md +79 -0
- package/.agents/skills/quality-review/SKILL.md +130 -0
- package/.agents/skills/quality-sync/SKILL.md +53 -0
- package/.agents/skills/quality-test/SKILL.md +119 -0
- package/.agents/skills/security-audit/SKILL.md +157 -0
- package/.agents/skills/skill-iter-tune/SKILL.md +384 -0
- package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -0
- package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -0
- package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
- package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -0
- package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -0
- package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
- package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
- package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
- package/.agents/skills/spec-add/SKILL.md +70 -0
- package/.agents/skills/spec-load/SKILL.md +73 -0
- package/.agents/skills/spec-remove/SKILL.md +53 -0
- package/.agents/skills/spec-setup/SKILL.md +50 -0
- package/.agents/skills/team-coordinate/SKILL.md +268 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -0
- package/.agents/skills/team-coordinate/roles/coordinator/role.md +365 -0
- package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
- package/.agents/skills/team-coordinate/specs/pipelines.md +97 -0
- package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -0
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -0
- package/.agents/skills/team-executor/SKILL.md +191 -0
- package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -0
- package/.agents/skills/team-executor/roles/executor/role.md +171 -0
- package/.agents/skills/team-executor/specs/session-schema.md +264 -0
- package/.agents/skills/team-lifecycle-v4/SKILL.md +211 -0
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +96 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +69 -0
- package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +87 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +71 -0
- package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +194 -0
- package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +89 -0
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +97 -0
- package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
- package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
- package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -0
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -0
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -0
- package/.agents/skills/team-quality-assurance/SKILL.md +149 -0
- package/.agents/skills/team-quality-assurance/roles/analyst/role.md +90 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
- package/.agents/skills/team-quality-assurance/roles/executor/role.md +68 -0
- package/.agents/skills/team-quality-assurance/roles/generator/role.md +70 -0
- package/.agents/skills/team-quality-assurance/roles/scout/role.md +77 -0
- package/.agents/skills/team-quality-assurance/roles/strategist/role.md +73 -0
- package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -0
- package/.agents/skills/team-quality-assurance/specs/team-config.json +131 -0
- package/.agents/skills/team-review/SKILL.md +149 -0
- package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
- package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
- package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -0
- package/.agents/skills/team-review/roles/coordinator/role.md +132 -0
- package/.agents/skills/team-review/roles/fixer/role.md +78 -0
- package/.agents/skills/team-review/roles/reviewer/role.md +70 -0
- package/.agents/skills/team-review/roles/scanner/role.md +81 -0
- package/.agents/skills/team-review/specs/dimensions.md +82 -0
- package/.agents/skills/team-review/specs/finding-schema.json +82 -0
- package/.agents/skills/team-review/specs/pipelines.md +102 -0
- package/.agents/skills/team-review/specs/team-config.json +27 -0
- package/.agents/skills/team-tech-debt/SKILL.md +130 -0
- package/.agents/skills/team-tech-debt/roles/assessor/role.md +79 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -0
- package/.agents/skills/team-tech-debt/roles/executor/role.md +78 -0
- package/.agents/skills/team-tech-debt/roles/planner/role.md +71 -0
- package/.agents/skills/team-tech-debt/roles/scanner/role.md +92 -0
- package/.agents/skills/team-tech-debt/roles/validator/role.md +80 -0
- package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -0
- package/.agents/skills/team-tech-debt/specs/team-config.json +129 -0
- package/.agents/skills/team-testing/SKILL.md +145 -0
- package/.agents/skills/team-testing/roles/analyst/role.md +105 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -0
- package/.agents/skills/team-testing/roles/coordinator/role.md +134 -0
- package/.agents/skills/team-testing/roles/executor/role.md +101 -0
- package/.agents/skills/team-testing/roles/generator/role.md +100 -0
- package/.agents/skills/team-testing/roles/strategist/role.md +85 -0
- package/.agents/skills/team-testing/specs/pipelines.md +101 -0
- package/.agents/skills/team-testing/specs/team-config.json +93 -0
- package/.agents/skills/wiki-connect/SKILL.md +64 -0
- package/.agents/skills/wiki-digest/SKILL.md +70 -0
- package/.agents/skills/workflow-skill-designer/SKILL.md +498 -0
- package/.agents/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
- package/.agents/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
- package/.agents/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
- package/.agents/skills/workflow-skill-designer/phases/04-validation.md +471 -0
- package/.agy/agents/cli-explore-agent.md +1 -3
- package/.agy/agents/cross-role-reviewer.md +170 -0
- package/.agy/agents/role-design-author.md +215 -0
- package/.agy/agents/ui-design-agent.md +1 -18
- package/.agy/agents/workflow-analyzer.md +1 -1
- package/.agy/agents/workflow-external-researcher.md +1 -1
- package/.agy/skills/maestro/SKILL.md +63 -27
- package/.agy/skills/maestro-analyze/SKILL.md +30 -4
- package/.agy/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +119 -103
- package/.agy/skills/maestro-help/SKILL.md +48 -14
- package/.agy/skills/maestro-help/index/catalog.json +29 -11
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agy/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agy/skills/maestro-init/SKILL.md +3 -3
- package/.agy/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agy/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agy/skills/maestro-plan/SKILL.md +14 -4
- package/.agy/skills/maestro-ralph/SKILL.md +368 -162
- package/.agy/skills/maestro-ralph-execute/SKILL.md +81 -67
- package/.agy/skills/maestro-roadmap/SKILL.md +42 -81
- package/.agy/skills/quality-auto-test/SKILL.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.claude/agents/cli-explore-agent.md +1 -3
- package/.claude/agents/cross-role-reviewer.md +171 -0
- package/.claude/agents/role-design-author.md +216 -0
- package/.claude/agents/ui-design-agent.md +1 -18
- package/.claude/agents/workflow-analyzer.md +1 -1
- package/.claude/agents/workflow-external-researcher.md +1 -1
- package/.claude/commands/maestro-analyze.md +30 -4
- package/.claude/commands/maestro-blueprint.md +130 -0
- package/.claude/commands/maestro-brainstorm.md +132 -116
- package/.claude/commands/maestro-init.md +3 -3
- package/.claude/commands/maestro-milestone-audit.md +5 -3
- package/.claude/commands/maestro-milestone-complete.md +7 -5
- package/.claude/commands/maestro-plan.md +14 -4
- package/.claude/commands/maestro-ralph-execute.md +81 -67
- package/.claude/commands/maestro-ralph.md +368 -162
- package/.claude/commands/maestro-roadmap.md +42 -81
- package/.claude/commands/maestro.md +63 -27
- package/.claude/commands/quality-auto-test.md +1 -1
- package/.claude/skills/maestro-help/SKILL.md +48 -14
- package/.claude/skills/maestro-help/index/catalog.json +29 -11
- package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.claude/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.codex/skills/maestro/SKILL.md +84 -41
- package/.codex/skills/maestro-amend/SKILL.md +157 -0
- package/.codex/skills/maestro-analyze/SKILL.md +71 -23
- package/.codex/skills/maestro-blueprint/SKILL.md +122 -0
- package/.codex/skills/maestro-brainstorm/SKILL.md +135 -45
- package/.codex/skills/maestro-composer/SKILL.md +1 -1
- package/.codex/skills/maestro-execute/SKILL.md +13 -4
- package/.codex/skills/maestro-help/SKILL.md +28 -18
- package/.codex/skills/maestro-help/catalog.json +29 -11
- package/.codex/skills/maestro-init/SKILL.md +7 -7
- package/.codex/skills/maestro-plan/SKILL.md +27 -9
- package/.codex/skills/maestro-ralph/SKILL.md +740 -491
- package/.codex/skills/maestro-roadmap/SKILL.md +55 -72
- package/.codex/skills/maestro-update/SKILL.md +169 -0
- package/.codex/skills/maestro-verify/SKILL.md +11 -2
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
- package/.codex/skills/manage-harvest/SKILL.md +10 -2
- package/.codex/skills/quality-retrospective/SKILL.md +9 -2
- package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +13 -7
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +12 -0
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +144 -0
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +8 -1
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +6 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +97 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/tools/spec-init.d.ts +16 -2
- package/dist/src/tools/spec-init.d.ts.map +1 -1
- package/dist/src/tools/spec-init.js +58 -187
- package/dist/src/tools/spec-init.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +16 -16
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-seeds.d.ts +33 -0
- package/dist/src/tools/spec-seeds.d.ts.map +1 -0
- package/dist/src/tools/spec-seeds.js +200 -0
- package/dist/src/tools/spec-seeds.js.map +1 -0
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +7 -9
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts +11 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.js +61 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts +3 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +1 -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 +14 -2
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +16 -3
- 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 +8 -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 +3 -1
- package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
- package/dist/src/utils/update-notices.js +31 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +5 -2
- package/templates/business-test-report.json +1 -1
- package/templates/index.json +1 -1
- package/templates/roadmap.md +15 -9
- package/templates/state.json +18 -17
- package/workflows/analyze.md +79 -11
- package/workflows/auto-test.md +6 -6
- package/workflows/blueprint.md +431 -0
- package/workflows/brainstorm.md +603 -496
- package/workflows/business-test.md +7 -7
- package/workflows/codebase-rebuild.md +4 -4
- package/workflows/harvest.md +184 -10
- package/workflows/init.md +9 -8
- package/workflows/maestro.md +1 -1
- package/workflows/milestone-audit.md +12 -4
- package/workflows/milestone-complete.md +11 -6
- package/workflows/plan.md +88 -22
- package/workflows/roadmap-common.md +1 -1
- package/workflows/roadmap.md +13 -3
- package/workflows/spec-generate.md +24 -13
- package/workflows/ui-design.md +2 -2
- package/workflows/ui-style.md +1 -1
- package/.agy/agents/conceptual-planning-agent.md +0 -244
- package/.claude/agents/conceptual-planning-agent.md +0 -245
|
@@ -1,49 +1,74 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-brainstorm
|
|
3
3
|
description: Use when exploring ideas, evaluating approaches, or needing multi-perspective analysis before implementation
|
|
4
|
-
argument-hint: "[topic] [-y|--yes] [-c|--concurrency N] [--continue] [--count N] [--skip-questions]"
|
|
4
|
+
argument-hint: "[topic] [-y|--yes] [-c|--concurrency N] [--continue] [--count N] [--skip-questions] [--review-only]"
|
|
5
5
|
allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<purpose>
|
|
9
9
|
Wave-based multi-role brainstorming via `spawn_agents_on_csv`. Diamond topology:
|
|
10
|
-
Wave 1 (guidance spec) → Wave 2 (parallel role analysis, 3-9 agents) → Wave 3 (
|
|
10
|
+
Wave 1 (guidance spec) → Wave 2 (parallel role analysis, 3-9 agents) → Wave 3 (cross-role review + resolution writeback).
|
|
11
|
+
Wave 2 agents produce multi-file analysis per role under `{role}/` (analysis.md index + per-feature files + findings).
|
|
12
|
+
Wave 3 compares Decision Digests from each role's `analysis.md` §2 and patches the role files. Audit trail appended to `guidance-specification.md` §12.
|
|
11
13
|
</purpose>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS — topic text and optional flags.
|
|
15
17
|
|
|
16
|
-
**Flags**: `-y` (auto), `-c N` (concurrency, default 6), `--continue` (resume), `--count N` (roles, default 3 max 9), `--skip-questions`
|
|
18
|
+
**Flags**: `-y` (auto), `-c N` (concurrency, default 6), `--continue` (resume), `--count N` (roles, default 3 max 9), `--skip-questions`, `--review-only` (skip Wave 1/2; run Wave 3 only against existing */analysis.md)
|
|
17
19
|
|
|
18
20
|
**9 valid roles**: data-architect, product-manager, product-owner, scrum-master, subject-matter-expert, system-architect, test-strategist, ui-designer, ux-expert
|
|
19
21
|
|
|
20
22
|
### Pre-load specs
|
|
21
|
-
1. **Architecture specs**: `maestro spec load --category arch` — load architecture constraints as context for multi-role
|
|
23
|
+
1. **Architecture specs**: `maestro spec load --category arch` — load architecture constraints as context for multi-role design (roles respect documented decisions).
|
|
22
24
|
2. **Role Knowledge**: `maestro wiki list --category arch` → identify relevant entries → `maestro wiki load <id1> [id2...]`
|
|
23
25
|
3. Both optional — proceed without if unavailable.
|
|
24
26
|
|
|
25
27
|
**Session**: `.workflow/.csv-wave/{YYYYMMDD}-brainstorm-{slug}/`
|
|
26
|
-
|
|
28
|
+
|
|
29
|
+
**Output** (per session):
|
|
30
|
+
- `guidance-specification.md` — machine contract (Wave 1; consumed by downstream roadmap/analyze/blueprint). §11 Decision Tracking, §12 Cross-Role Resolutions.
|
|
31
|
+
- `design-research.md` — optional, external research from Wave 1
|
|
32
|
+
- `{role}/analysis.md` — index + Decision Digest + cross-cutting foundations per selected role (Wave 2)
|
|
33
|
+
- `{role}/analysis-F-{id}-{slug}.md` — per-feature analysis files (Wave 2)
|
|
34
|
+
- `{role}/findings-{slug}.md` — additional discoveries (Wave 2, optional)
|
|
35
|
+
- `context-package.json` — standardized context contract (context-package/1.0 schema) for downstream commands
|
|
36
|
+
- `tasks.csv`, `results.csv`, `discoveries.ndjson`, `context.md` — wave-engine bookkeeping
|
|
27
37
|
</context>
|
|
28
38
|
|
|
39
|
+
<interview_protocol>
|
|
40
|
+
Interview the user relentlessly until shared understanding is reached. Active only in interactive mode; skip when `-y/--yes`, `--skip-questions`, `--continue` (existing session), or input is already specific.
|
|
41
|
+
|
|
42
|
+
- One decision per turn via request_user_input with 2–4 options + a (Recommended) default; every question must include a `Proceed now` option.
|
|
43
|
+
- Never ask what code can verify — resolve via `state.json`, the session directory, `maestro spec load`, or `maestro wiki search`.
|
|
44
|
+
- Branch jumps allowed: the user may switch freely between mode / role / upstream / sub-pipeline branches; sequence is not enforced, but every decision point must end with a definite answer.
|
|
45
|
+
- Scope guard: only ask about decisions owned by `brainstorm`. Do not pre-resolve roadmap/plan choices.
|
|
46
|
+
|
|
47
|
+
Decision points: mode (auto / single-role / review-only) / role selection and `--count` / `--from` upstream source / whether to enable design-research and the DESIGN.md sub-pipeline.
|
|
48
|
+
|
|
49
|
+
Exit: on consensus or `Proceed now`, write the table below into `guidance-specification.md` §11 and session metadata:
|
|
50
|
+
`| # | Decision | Choice | Source (user / code / default) |`
|
|
51
|
+
</interview_protocol>
|
|
52
|
+
|
|
29
53
|
<csv_schema>
|
|
30
54
|
```csv
|
|
31
|
-
id,title,description,role,topic,guidance_spec,deps,context_from,wave,status,findings,
|
|
55
|
+
id,title,description,role,topic,guidance_spec,deps,context_from,wave,status,findings,output_file,error
|
|
32
56
|
"1","Guidance Spec","...","guidance-generator","<topic>","","","","1","","","",""
|
|
33
|
-
"2","System Architect","...","system-architect","<topic>","","1","1","2","","","",""
|
|
34
|
-
"3","UI Designer","...","ui-designer","<topic>","","1","1","2","","","",""
|
|
35
|
-
"4","
|
|
57
|
+
"2","System Architect","...","system-architect","<topic>","","1","1","2","","","system-architect/analysis.md",""
|
|
58
|
+
"3","UI Designer","...","ui-designer","<topic>","","1","1","2","","","ui-designer/analysis.md",""
|
|
59
|
+
"4","Cross-Role Review","...","cross-role-reviewer","<topic>","","2;3","2;3","3","","","",""
|
|
36
60
|
```
|
|
37
|
-
Wave 1: 1 guidance row. Wave 2: N role rows (parallel). Wave 3: 1
|
|
61
|
+
Wave 1: 1 guidance row. Wave 2: N role rows (parallel) — each writes `{role}/analysis.md` + `{role}/analysis-F-*.md` + `{role}/findings-*.md`. Wave 3: 1 reviewer row (reads analysis.md §2 Decision Digests; emits structured findings consumed by orchestrator).
|
|
38
62
|
</csv_schema>
|
|
39
63
|
|
|
40
64
|
<invariants>
|
|
41
|
-
1. **Wave order sacred**: Guidance (W1) MUST complete before
|
|
42
|
-
2. **CSV source of truth**: Master tasks.csv holds all state
|
|
43
|
-
3. **Discovery board append-only**: Never modify/delete discoveries.ndjson
|
|
44
|
-
4. **Skip on failure**: Guidance fails → abort. All roles fail → skip
|
|
65
|
+
1. **Wave order sacred**: Guidance (W1) MUST complete before role design (W2); review (W3) MUST run only after all W2 rows complete.
|
|
66
|
+
2. **CSV source of truth**: Master tasks.csv holds all state.
|
|
67
|
+
3. **Discovery board append-only**: Never modify/delete discoveries.ndjson.
|
|
68
|
+
4. **Skip on failure**: Guidance fails → abort. All W2 roles fail → skip review.
|
|
45
69
|
5. **9 valid roles only**: data-architect, product-manager, product-owner, scrum-master, subject-matter-expert, system-architect, test-strategist, ui-designer, ux-expert
|
|
46
|
-
6. **
|
|
70
|
+
6. **Wave 3 is read-only at the agent boundary**: the reviewer emits structured findings (conflicts / gaps / synergies with `patch_targets[]`). The orchestrator (not the agent) applies the patches via Edit.
|
|
71
|
+
7. **DO NOT STOP**: Continuous until all waves complete; only pause at [CHECKPOINT] (skipped with -y).
|
|
47
72
|
</invariants>
|
|
48
73
|
|
|
49
74
|
<state_machine>
|
|
@@ -55,16 +80,21 @@ S_CSV_GEN — 生成 tasks.csv PERSIST: tasks.cs
|
|
|
55
80
|
S_WAVE_1 — Guidance Spec (single agent) PERSIST: guidance-specification.md
|
|
56
81
|
S_CHECK_1 — Checkpoint: 用户审阅 guidance(-y 跳过) PERSIST: —
|
|
57
82
|
S_DESIGN — 视觉风格确定 (impeccable teach + explore) PERSIST: DESIGN.md
|
|
58
|
-
S_WAVE_2 — Role Analysis (parallel spawn)
|
|
59
|
-
S_CHECK_2 — Checkpoint:
|
|
60
|
-
S_WAVE_3 —
|
|
83
|
+
S_WAVE_2 — Role Analysis (parallel spawn) PERSIST: {role}/ multi-file × N
|
|
84
|
+
S_CHECK_2 — Checkpoint: 用户审阅分析结果(-y 跳过) PERSIST: —
|
|
85
|
+
S_WAVE_3 — Cross-Role Review (single agent, read-only) PERSIST: review_findings (in-memory)
|
|
86
|
+
S_RESOLVE — Apply Resolutions (orchestrator-side) PERSIST: */analysis.md edits + guidance §12
|
|
61
87
|
S_AGGREGATE — 生成报告、注册 artifact PERSIST: context.md + results.csv
|
|
62
88
|
</states>
|
|
63
89
|
|
|
64
90
|
<transitions>
|
|
65
|
-
S_PARSE → S_ROLES DO: parse args, detect mode (phase/scratch), load specs
|
|
91
|
+
S_PARSE → S_ROLES DO: parse args, detect mode (phase/scratch/review-only), load specs
|
|
66
92
|
S_ROLES → S_CSV_GEN DO: select roles (-y: auto top N; interactive: request_user_input)
|
|
67
|
-
S_CSV_GEN → S_WAVE_1 DO: generate tasks.csv (1 guidance + N roles + 1
|
|
93
|
+
S_CSV_GEN → S_WAVE_1 DO: generate tasks.csv (1 guidance + N roles + 1 reviewer)
|
|
94
|
+
|
|
95
|
+
# --review-only path: skip W1/W2, jump straight to W3
|
|
96
|
+
S_PARSE → S_WAVE_3 WHEN: --review-only AND existing session has guidance-specification.md AND */analysis.md
|
|
97
|
+
S_PARSE → END WHEN: --review-only AND missing prerequisites (E006/E007)
|
|
68
98
|
|
|
69
99
|
S_WAVE_1 → S_CHECK_1 WHEN: completed DO: spawn wave-1, merge results, read guidance-spec
|
|
70
100
|
S_WAVE_1 → END WHEN: failed DO: abort pipeline
|
|
@@ -78,13 +108,16 @@ S_DESIGN → S_WAVE_2 WHEN: DESIGN.md exists OR explore completed DO: A_DE
|
|
|
78
108
|
S_DESIGN → S_WAVE_2 WHEN: DESIGN.md already exists (skip explore)
|
|
79
109
|
S_DESIGN → S_WAVE_2 WHEN: explore failed → W004 → continue without
|
|
80
110
|
|
|
81
|
-
S_WAVE_2 → S_CHECK_2 DO: spawn wave-2 (parallel), merge results
|
|
82
|
-
S_WAVE_2 →
|
|
111
|
+
S_WAVE_2 → S_CHECK_2 DO: spawn wave-2 (parallel), merge results — each agent writes {role}/analysis.md + sub-files
|
|
112
|
+
S_WAVE_2 → S_AGGREGATE WHEN: all failed DO: skip review
|
|
83
113
|
|
|
84
114
|
S_CHECK_2 → S_WAVE_3 WHEN: -y OR user "Proceed"
|
|
85
115
|
S_CHECK_2 → S_WAVE_2 WHEN: user "Add Roles" DO: add new role rows, spawn only new
|
|
86
116
|
|
|
87
|
-
S_WAVE_3 →
|
|
117
|
+
S_WAVE_3 → S_RESOLVE DO: spawn wave-3, capture review_findings (conflicts/gaps/synergies with patch_targets)
|
|
118
|
+
S_WAVE_3 → S_AGGREGATE WHEN: zero findings DO: log "No cross-role issues detected", skip resolve
|
|
119
|
+
|
|
120
|
+
S_RESOLVE → S_AGGREGATE DO: A_APPLY_RESOLUTIONS (orchestrator iterates patch_targets and applies Edits)
|
|
88
121
|
|
|
89
122
|
S_AGGREGATE → END DO: A_AGGREGATE
|
|
90
123
|
</transitions>
|
|
@@ -93,11 +126,48 @@ S_AGGREGATE → END DO: A_AGGREGATE
|
|
|
93
126
|
|
|
94
127
|
### Wave agent responsibilities
|
|
95
128
|
|
|
96
|
-
**Guidance (W1)**: Analyze topic → extract 5-10 terms → define non-goals → decompose features (max 8, F-{3digit}) → RFC 2119 keywords → write guidance-specification.md
|
|
129
|
+
**Guidance (W1, agent role `guidance-generator`)**: Analyze topic → extract 5-10 terms → define non-goals → decompose features (max 8, F-{3digit}) → RFC 2119 keywords → write `guidance-specification.md` with §1-§12 (§11 Decision Tracking, §12 Cross-Role Resolutions initially empty — populated later by S_RESOLVE).
|
|
130
|
+
|
|
131
|
+
**Role Analysis (W2, agent role = the role name itself)**: Read guidance-spec → produce multi-file analysis under `{role}/`:
|
|
132
|
+
- `analysis.md` — INDEX with §1 Role Mandate (≤ 200 words), §2 Decision Digest (4 tables: Decisions, Interfaces, Cross-Cutting Positions, Findings Summary), §3 Cross-Cutting Foundations, §4 File Index, §5 Outstanding TODOs
|
|
133
|
+
- `analysis-F-{id}-{slug}.md` — one per feature (< 2000 words each)
|
|
134
|
+
- `findings-{slug}.md` — additional discoveries (0 or more, < 1000 words)
|
|
135
|
+
|
|
136
|
+
system-architect MUST include in §3: Data Model, State Machine, Error Handling, Observability, Configuration, Boundary Scenarios.
|
|
97
137
|
|
|
98
|
-
|
|
138
|
+
The agent MUST write files. The agent MUST NOT return analysis as text.
|
|
99
139
|
|
|
100
|
-
**
|
|
140
|
+
**Cross-Role Review (W3, agent role `cross-role-reviewer`)**: Read ALL `{role}/analysis.md` files (§2 Decision Digests) + guidance-specification.md → emit structured report (NOT files):
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
## Conflicts (need user decision)
|
|
144
|
+
### C-001: ...
|
|
145
|
+
patch_targets:
|
|
146
|
+
- target_file: {role-A}/analysis-F-{id}-{slug}.md # or {role-A}/analysis.md for cross-cutting
|
|
147
|
+
target_heading: ## {exact heading text}
|
|
148
|
+
edit_type: annotate_and_strikeout
|
|
149
|
+
edit_content: > **Cross-Role Resolution (C-001)**: {1-line resolution}
|
|
150
|
+
- target_file: {role-B}/analysis-F-{id}-{slug}.md
|
|
151
|
+
target_heading: ## {exact heading text}
|
|
152
|
+
edit_type: annotate_and_strikeout
|
|
153
|
+
|
|
154
|
+
## Gaps
|
|
155
|
+
### G-001: ...
|
|
156
|
+
patch_targets:
|
|
157
|
+
- target_file: {ref-role}/analysis.md edit_type: annotate_after_heading # §2 Interfaces table
|
|
158
|
+
- target_file: {owner-role}/analysis.md edit_type: append_to_section # §2 Decisions table
|
|
159
|
+
|
|
160
|
+
## Synergy Opportunities
|
|
161
|
+
### S-001: ...
|
|
162
|
+
patch_targets:
|
|
163
|
+
- target_file: {role-A}/analysis-F-{id}-{slug}.md edit_type: annotate_after_heading
|
|
164
|
+
- target_file: {role-B}/analysis-F-{id}-{slug}.md edit_type: annotate_after_heading
|
|
165
|
+
|
|
166
|
+
## Summary
|
|
167
|
+
conflicts_count / gaps_count / synergies_count / review_confidence
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
`edit_type` vocabulary is closed: `annotate_after_heading` / `annotate_and_strikeout` / `append_to_section`. The orchestrator MUST refuse any patch outside this set.
|
|
101
171
|
|
|
102
172
|
### A_DESIGN_EXPLORE
|
|
103
173
|
|
|
@@ -108,14 +178,29 @@ When ui-designer is among selected roles, establish visual direction before Wave
|
|
|
108
178
|
3. If both already exist → skip (visual direction already locked)
|
|
109
179
|
|
|
110
180
|
explore generates multi-style HTML prototypes, visual comparison, user selection/mix, and produces DESIGN.md.
|
|
111
|
-
ui-designer agents in Wave 2 then focus on UX
|
|
181
|
+
ui-designer agents in Wave 2 then focus on UX/visual design referencing DESIGN.md.
|
|
182
|
+
|
|
183
|
+
### A_APPLY_RESOLUTIONS
|
|
184
|
+
|
|
185
|
+
For each finding in `review_findings`:
|
|
186
|
+
|
|
187
|
+
1. **Confirm with user** (skip if -y): present finding + suggested resolution; user picks `Accept` / `Pick A` / `Pick B` (conflict only) / `Skip` / `Defer to TODO`.
|
|
188
|
+
2. **Iterate `patch_targets[]`**: for each target, locate `target_heading` verbatim in `target_file`; apply the edit per `edit_type`.
|
|
189
|
+
3. **Heading drift fallback**: if `target_heading` not found verbatim, log W006 and skip that target. Never invent or fuzzy-match headings.
|
|
190
|
+
4. **Append audit row** to `guidance-specification.md` §12 "Cross-Role Resolutions":
|
|
191
|
+
```
|
|
192
|
+
| C-001 | conflict | system-architect/analysis-F-*.md "<heading>" / subject-matter-expert/analysis-F-*.md "<heading>" | {resolution} | both annotated+superseded |
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
If zero findings, S_RESOLVE is bypassed and `guidance §12` is unchanged.
|
|
112
196
|
|
|
113
197
|
### A_AGGREGATE
|
|
114
198
|
|
|
115
199
|
1. Export results.csv
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
200
|
+
1.5. Generate context-package.json (extract from guidance-specification.md + {role}/analysis.md §2 Digests → standardized schema per context-package/1.0)
|
|
201
|
+
2. Generate context.md (summary, guidance, per-role analyses, review_findings_count, resolutions_applied, patches_skipped, next steps)
|
|
202
|
+
3. Confidence scoring: 5 dimensions (role_coverage, cross_role_consistency, feature_completeness, spec_quality, design_feasibility). Quality gate: cross_role_consistency < 0.4 → warn.
|
|
203
|
+
4. Copy artifacts to target session directory (preserve `{role}/` subdirs).
|
|
119
204
|
5. Next-step routing: DESIGN.md established → `maestro-impeccable build <feature>`; else UI features detected → `maestro-impeccable build <feature>`; else → maestro-analyze / maestro-plan / maestro-roadmap
|
|
120
205
|
|
|
121
206
|
</actions>
|
|
@@ -128,7 +213,8 @@ ui-designer agents in Wave 2 then focus on UX analysis only (interaction flows,
|
|
|
128
213
|
| non_goal | title | {title, rationale} |
|
|
129
214
|
| feature_candidate | id | {id, slug, description, roles[], priority} |
|
|
130
215
|
| role_insight | role+topic | {role, topic, insight, confidence} |
|
|
131
|
-
|
|
|
216
|
+
| cross_role_finding | finding_id | {kind: conflict\|gap\|synergy, finding_id: C-/G-/S-XXX, patch_targets[]} |
|
|
217
|
+
| resolution_applied | finding_id | {finding_id, decision, patched_files[], skipped_targets[]} |
|
|
132
218
|
|
|
133
219
|
Protocol: read before analysis, append-only, dedup by type+key.
|
|
134
220
|
</discovery_board>
|
|
@@ -137,23 +223,27 @@ Protocol: read before analysis, append-only, dedup by type+key.
|
|
|
137
223
|
| Condition | Recovery |
|
|
138
224
|
|-----------|----------|
|
|
139
225
|
| Guidance agent failed | Abort pipeline (W2 depends on guidance) |
|
|
140
|
-
| All role agents failed | Skip
|
|
141
|
-
|
|
|
226
|
+
| All role agents failed | Skip review, report partial |
|
|
227
|
+
| Review agent failed | Use analysis files directly, no resolution writeback |
|
|
142
228
|
| Role count > 9 | Cap at 9 with warning |
|
|
229
|
+
| E006 --review-only but no */analysis.md | Run auto mode or single roles first |
|
|
230
|
+
| E007 --review-only but missing guidance-specification.md | Run auto mode first |
|
|
231
|
+
| W006 patch heading drift (no verbatim match) | Skip that patch, surface in final report |
|
|
143
232
|
</error_codes>
|
|
144
233
|
|
|
145
234
|
<success_criteria>
|
|
146
|
-
- [ ]
|
|
147
|
-
- [ ] guidance-specification.md with RFC 2119 keywords, terminology, non-goals, feature decomposition
|
|
148
|
-
- [ ]
|
|
149
|
-
- [ ]
|
|
150
|
-
- [ ]
|
|
151
|
-
- [ ]
|
|
152
|
-
- [ ]
|
|
153
|
-
- [ ]
|
|
154
|
-
- [ ]
|
|
155
|
-
- [ ]
|
|
156
|
-
- [ ]
|
|
235
|
+
- [ ] Interactive mode: interview decision table written to `guidance-specification.md` §11 and session metadata
|
|
236
|
+
- [ ] guidance-specification.md with RFC 2119 keywords, terminology, non-goals, feature decomposition (§10), decision tracking (§11)
|
|
237
|
+
- [ ] If ui-designer selected: DESIGN.md established via impeccable explore
|
|
238
|
+
- [ ] {role}/analysis.md written for each selected role with §1 Role Mandate / §2 Decision Digest (4 tables) / §3 Cross-Cutting Foundations / §4 File Index / §5 Outstanding TODOs
|
|
239
|
+
- [ ] {role}/analysis-F-{id}-{slug}.md written per feature (< 2000 words)
|
|
240
|
+
- [ ] system-architect/analysis.md §3 includes Data Model + State Machine when system-architect selected
|
|
241
|
+
- [ ] Each {role}/analysis.md §2 Decisions table has ≥ 1 row per feature
|
|
242
|
+
- [ ] Cross-role review (W3) executed; reviewer output includes `patch_targets[]` for every finding
|
|
243
|
+
- [ ] If findings: resolutions applied via Edit AND logged in guidance §12 "Cross-Role Resolutions"
|
|
244
|
+
- [ ] If zero findings: final report explicitly notes "No cross-role issues detected"; guidance §12 unchanged
|
|
245
|
+
- [ ] Heading-drift patch failures surfaced (not silently dropped)
|
|
246
|
+
- [ ] context-package.json generated with per-item `ref` traceability
|
|
157
247
|
- [ ] discoveries.ndjson append-only throughout
|
|
158
|
-
- [ ]
|
|
248
|
+
- [ ] context.md aggregates session results with next-step routing
|
|
159
249
|
</success_criteria>
|
|
@@ -125,7 +125,7 @@ If spec not found, use built-in fallback:
|
|
|
125
125
|
| `verify` | skill | `maestro-verify` |
|
|
126
126
|
| `refactor` | skill | `quality-refactor` |
|
|
127
127
|
| `debug` | skill | `quality-debug` |
|
|
128
|
-
| `spec` | skill | `maestro-
|
|
128
|
+
| `spec` | skill | `maestro-blueprint` |
|
|
129
129
|
| `checkpoint` | checkpoint | — |
|
|
130
130
|
|
|
131
131
|
**Step 2.1** — Load `intent.json`, map each step to executor.
|
|
@@ -206,12 +206,21 @@ If exit code is 1, present warnings and ask whether to proceed.
|
|
|
206
206
|
|
|
207
207
|
| Input | Resolution |
|
|
208
208
|
|-------|------------|
|
|
209
|
-
| `--dir <path>` | Use path directly (scratch plan dir) |
|
|
209
|
+
| `--dir <path>` | Use path directly (scratch plan dir); scope=standalone |
|
|
210
210
|
| No args | Find all pending plans for current milestone from state.json.artifacts[] |
|
|
211
|
-
| Number (e.g., `3`) | Find pending plans for phase N from state.json.artifacts[] |
|
|
211
|
+
| Number (e.g., `3`) | Find pending plans for phase N from state.json.artifacts[]; **resolve milestone via D-007 reverse lookup** |
|
|
212
212
|
|
|
213
213
|
For multi-plan: execute sequentially. Each plan is a full CSV session.
|
|
214
214
|
|
|
215
|
+
**D-007 milestone reverse lookup** (numeric arg only):
|
|
216
|
+
```
|
|
217
|
+
resolve_milestone(phase_number):
|
|
218
|
+
for ms in state.json.milestones[]:
|
|
219
|
+
if str(phase_number) in ms.phase_slugs: return ms.id
|
|
220
|
+
return state.json.current_milestone # fallback
|
|
221
|
+
```
|
|
222
|
+
Use the resolved milestone for EXC artifact registration (`milestone` field) and artifact filtering. NEVER read `current_milestone` directly for phase-scoped runs — phase N may belong to a milestone different from current.
|
|
223
|
+
|
|
215
224
|
2. **Load plan**: Read `{PLAN_DIR}/plan.json` for wave structure and task assignments
|
|
216
225
|
|
|
217
226
|
3. **Detect completed tasks (breakpoint resume)**: Read `.task/TASK-{NNN}.json` for each task; exclude completed ones from CSV. Log resume count.
|
|
@@ -279,7 +288,7 @@ Blocked/failed tasks cascade: mark all downstream dependents as `skipped` with e
|
|
|
279
288
|
- All task_refs completed -> `issue.status = "resolved"`; any failed -> `"in_progress"`
|
|
280
289
|
- Append history entry: `{ action: "executed", at: <ISO>, by: "maestro-execute", summary: "TASK-{NNN} {status}" }`
|
|
281
290
|
|
|
282
|
-
4. **Register EXC artifact in state.json**: Find matching plan artifact, create `{ id: "EXC-{next_id}", type: "execute", milestone, phase, scope, path, status: "completed", depends_on: plan_artifact.id, harvested: false, created_at, completed_at }`
|
|
291
|
+
4. **Register EXC artifact in state.json**: Find matching plan artifact, create `{ id: "EXC-{next_id}", type: "execute", milestone, phase, scope, path, status: "completed", depends_on: plan_artifact.id, harvested: false, created_at, completed_at }`. `milestone` MUST come from D-007 `phase_slugs` reverse lookup (numeric phase) — inherit from matching plan artifact if available, otherwise reverse-lookup directly.
|
|
283
292
|
|
|
284
293
|
5. **Extract incremental specs**: Read `.summaries/`, use `maestro spec add` CLI:
|
|
285
294
|
- Learnings/pitfalls → `maestro spec add learning "<title>" "<content>" --keywords ... --source execute:{PLAN_DIR}`
|
|
@@ -356,7 +365,7 @@ echo '{"ts":"<ISO>","worker":"TASK-001","type":"code_pattern","data":{"name":"Re
|
|
|
356
365
|
- [ ] All waves executed in order with cross-wave context propagation
|
|
357
366
|
- [ ] Completed tasks have .summaries/TASK-{NNN}-summary.md
|
|
358
367
|
- [ ] .task/TASK-*.json statuses updated to match execution results
|
|
359
|
-
- [ ] state.json updated with EXC artifact
|
|
368
|
+
- [ ] state.json updated with EXC artifact (numeric scope: milestone resolved via D-007 `phase_slugs` reverse lookup, NOT direct `current_milestone` read)
|
|
360
369
|
- [ ] Issue status synced for tasks with issue_id (all completed → resolved, any failed → in_progress)
|
|
361
370
|
- [ ] Incremental specs extracted from summaries (learnings, design rationale, root causes)
|
|
362
371
|
- [ ] Post-task knowledge inquiry triggered when applicable (deviation, retry>=2, design rationale)
|
|
@@ -42,13 +42,13 @@ $ARGUMENTS 匹配关键词 → 路由到对应模式:
|
|
|
42
42
|
|
|
43
43
|
| 字段 | 内容 |
|
|
44
44
|
|------|------|
|
|
45
|
-
| `commands[]` |
|
|
45
|
+
| `commands[]` | 56 个 slash 命令(name, command, category, description, source) |
|
|
46
46
|
| `skills[]` | 10 个 Skill(name, category, description, source) |
|
|
47
47
|
| `agents[]` | 22 个 Agent(name, category, description) |
|
|
48
48
|
| `cli_commands[]` | 21 个终端命令(command, description, category) |
|
|
49
49
|
| `guide_files[]` | 17 个 Guide 文档索引 |
|
|
50
50
|
| `essential_commands[]` | 10 个核心命令 |
|
|
51
|
-
| `workflows` |
|
|
51
|
+
| `workflows` | 拓扑 + 6 条合法路径 (Path A-F) + 3 个辅助流程 |
|
|
52
52
|
|
|
53
53
|
## Project State Detection
|
|
54
54
|
|
|
@@ -96,7 +96,7 @@ Mode 3 (Smart Recommendations) 需要检测项目状态:
|
|
|
96
96
|
|
|
97
97
|
Guide 映射:
|
|
98
98
|
- analyze/plan/execute/verify → `guide/command-usage-guide.md`
|
|
99
|
-
- init/roadmap → `guide/quick-start-guide.md`
|
|
99
|
+
- init/roadmap/blueprint → `guide/quick-start-guide.md`
|
|
100
100
|
- ralph → `guide/maestro-ralph-guide.md`
|
|
101
101
|
- maestro (协调器) → `guide/maestro-coordinator-guide.md`
|
|
102
102
|
- delegate → `guide/delegate-async-guide.md`
|
|
@@ -109,9 +109,11 @@ Guide 映射:
|
|
|
109
109
|
| 当前状态 | 推荐命令 | 原因 |
|
|
110
110
|
|---------|---------|------|
|
|
111
111
|
| 无 .workflow/ | `/maestro-init` | 项目未初始化 |
|
|
112
|
-
| init
|
|
113
|
-
|
|
|
114
|
-
| analyze
|
|
112
|
+
| init 完成,无上游 context | `/maestro-brainstorm` 或 `/maestro-analyze "topic"` | 先探索再规划;brainstorm 发散,analyze 宏观探索影响面 |
|
|
113
|
+
| analyze 完成,scope_verdict=large | `/maestro-roadmap --from analyze:ANL-xxx` | 大范围需求,需要 Milestone > Phase 分解 |
|
|
114
|
+
| analyze 完成,scope_verdict=medium/small | `/maestro-plan --from analyze:ANL-xxx` | 跳过 roadmap 直达规划(Path C) |
|
|
115
|
+
| roadmap 完成,phase=pending | `/maestro-analyze 1` | 微观分析:Phase 级深入探索 |
|
|
116
|
+
| analyze (微观) 完成 | `/maestro-plan 1` | Phase 级规划 |
|
|
115
117
|
| plan 完成 | `/maestro-execute` | 开始执行 |
|
|
116
118
|
| execute 完成 | `/maestro-verify` | 验证成果 |
|
|
117
119
|
| verify 有 gaps | `/maestro-analyze --gaps` | 重新分析 |
|
|
@@ -123,16 +125,24 @@ Guide 映射:
|
|
|
123
125
|
|
|
124
126
|
根据任务类型推荐工作流和命令序列:
|
|
125
127
|
|
|
126
|
-
|
|
127
|
-
-
|
|
128
|
-
- 头脑风暴: `/maestro-brainstorm "描述"` → `/maestro-init --from-brainstorm ANL-xxx`
|
|
129
|
-
- 完整规范: `/maestro-init` → `/maestro-spec-generate`
|
|
128
|
+
**Path A — 完整新项目**:
|
|
129
|
+
- `brainstorm` → `blueprint`(可选) → `analyze "topic"`(宏观) → `roadmap` → `analyze 1`(微观) → `plan 1` → `execute` → `verify`
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
-
|
|
131
|
+
**Path B — 旧项目大功能**:
|
|
132
|
+
- `analyze "feature X"`(宏观) → `roadmap` → `analyze 1`(微观) → `plan 1` → `execute` → `verify`
|
|
133
|
+
|
|
134
|
+
**Path C — 中等功能(跳过 roadmap)**:
|
|
135
|
+
- `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute` → `verify`
|
|
136
|
+
|
|
137
|
+
**Path D — 小改动**:
|
|
138
|
+
- `plan "fix auth bug"` → `execute` → `verify`
|
|
133
139
|
- 快速: `/maestro-quick "功能描述"`
|
|
134
140
|
- 全自动: `/maestro -y "功能描述"`
|
|
135
141
|
|
|
142
|
+
**Path E/F — 纯文档/纯探索**:
|
|
143
|
+
- `blueprint "project idea"` → (供人阅读)
|
|
144
|
+
- `brainstorm "idea"` → (供人决策)
|
|
145
|
+
|
|
136
146
|
**Bug 修复**:
|
|
137
147
|
- 快速: `/maestro-quick "Bug 描述"`
|
|
138
148
|
- Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute → close
|
|
@@ -149,14 +159,14 @@ Guide 映射:
|
|
|
149
159
|
|------|------|---------|
|
|
150
160
|
| `/maestro` | 智能协调器 | 不确定用哪个命令时 |
|
|
151
161
|
| `/maestro-init` | 初始化项目 | 首次使用 |
|
|
152
|
-
| `/maestro-
|
|
153
|
-
| `/maestro-
|
|
154
|
-
| `/maestro-
|
|
162
|
+
| `/maestro-brainstorm` | 头脑风暴 | 新项目发散探索、多角色创意 |
|
|
163
|
+
| `/maestro-blueprint` | 规格文档化 | 正式 7-phase 收敛规格链 |
|
|
164
|
+
| `/maestro-analyze` | 双层分析 | 宏观: `"topic"` 探索影响面;微观: `1` Phase 级深入 |
|
|
165
|
+
| `/maestro-roadmap` | 路线图编排 | scope_verdict=large 时,Milestone > Phase 分解 |
|
|
166
|
+
| `/maestro-plan` | 规划 | 分析完成后,支持 `--from analyze:ANL-xxx` 直达 |
|
|
155
167
|
| `/maestro-execute` | 执行 | 计划完成后 |
|
|
156
168
|
| `/maestro-verify` | 验证 | 执行完成后 |
|
|
157
169
|
| `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
158
|
-
| `/quality-review` | 代码审查 | 执行后质量检查 |
|
|
159
|
-
| `/manage-issue` | Issue 管理 | 追踪和解决 Bug |
|
|
160
170
|
|
|
161
171
|
快速上手路径:
|
|
162
172
|
1. `maestro install --force`
|
|
@@ -175,7 +185,7 @@ Guide 映射:
|
|
|
175
185
|
|
|
176
186
|
- **Workflow (15)**: analyzer, planner, executor, verifier, reviewer, debugger, research-agent, roadmapper, plan-checker, phase-researcher, project-researcher, research-synthesizer, codebase-mapper, nyquist-auditor, integration-checker, external-researcher, collab-planner
|
|
177
187
|
- **Team (2)**: supervisor, worker
|
|
178
|
-
- **
|
|
188
|
+
- **Brainstorm (2)**: role-design-author, cross-role-reviewer
|
|
179
189
|
- **CLI (1)**: cli-explore-agent
|
|
180
190
|
- **UI (1)**: ui-design-agent
|
|
181
191
|
|
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
"commands": [
|
|
8
8
|
{"name": "maestro", "command": "/maestro", "category": "core", "description": "智能协调器 — 根据意图和项目状态自动选择最优命令链", "source": "../../commands/maestro.md"},
|
|
9
9
|
{"name": "maestro-init", "command": "/maestro-init", "category": "core", "description": "项目初始化 — 创建 .workflow/ 目录结构和状态文件", "source": "../../commands/maestro-init.md"},
|
|
10
|
-
{"name": "maestro-roadmap", "command": "/maestro-roadmap", "category": "core", "description": "
|
|
11
|
-
{"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "
|
|
12
|
-
{"name": "maestro-
|
|
13
|
-
{"name": "maestro-
|
|
10
|
+
{"name": "maestro-roadmap", "command": "/maestro-roadmap", "category": "core", "description": "路线图编排 — 消费上游 context,纯 Milestone > Phase 分解(不做技术探索)", "source": "../../commands/maestro-roadmap.md"},
|
|
11
|
+
{"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "头脑风暴 — 发散探索,多角色创意,上游起源命令", "source": "../../commands/maestro-brainstorm.md"},
|
|
12
|
+
{"name": "maestro-blueprint", "command": "/maestro-blueprint", "category": "core", "description": "正式规格文档化 — 7-phase 收敛规格链,上游起源命令,产出 .workflow/blueprint/", "source": "../../commands/maestro-blueprint.md"},
|
|
13
|
+
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "双层分析 — 宏观(文本参数)探索影响面+scope_verdict / 微观(数字参数)Phase 级深入", "source": "../../commands/maestro-analyze.md"},
|
|
14
|
+
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 支持 --from analyze:ANL-xxx 直达、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
14
15
|
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
15
16
|
{"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
|
|
16
17
|
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
@@ -147,16 +148,33 @@
|
|
|
147
148
|
"essential_commands": [
|
|
148
149
|
"/maestro",
|
|
149
150
|
"/maestro-init",
|
|
150
|
-
"/maestro-
|
|
151
|
+
"/maestro-brainstorm",
|
|
152
|
+
"/maestro-blueprint",
|
|
151
153
|
"/maestro-analyze",
|
|
154
|
+
"/maestro-roadmap",
|
|
152
155
|
"/maestro-plan",
|
|
153
156
|
"/maestro-execute",
|
|
154
157
|
"/maestro-verify",
|
|
155
|
-
"/maestro-quick"
|
|
156
|
-
"/quality-review",
|
|
157
|
-
"/manage-issue"
|
|
158
|
+
"/maestro-quick"
|
|
158
159
|
],
|
|
159
160
|
"workflows": {
|
|
161
|
+
"topology": {
|
|
162
|
+
"hierarchy": "Roadmap > Milestone > Phase > Task",
|
|
163
|
+
"layers": {
|
|
164
|
+
"upstream_origin": ["brainstorm (发散/轻量)", "blueprint (收敛/重型)"],
|
|
165
|
+
"understanding": "analyze 双层: 宏观(文本参数) + 微观(数字参数)",
|
|
166
|
+
"orchestration": "roadmap (可选,消费上游 context)",
|
|
167
|
+
"execution": ["plan", "execute", "verify"]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"paths": {
|
|
171
|
+
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute → verify",
|
|
172
|
+
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute → verify",
|
|
173
|
+
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute → verify",
|
|
174
|
+
"D_small_fix": "plan → execute → verify",
|
|
175
|
+
"E_spec_only": "blueprint → (供人阅读)",
|
|
176
|
+
"F_explore_only": "brainstorm → (供人决策)"
|
|
177
|
+
},
|
|
160
178
|
"main_pipeline": {
|
|
161
179
|
"name": "主干管线",
|
|
162
180
|
"phases": ["analyze", "plan", "execute", "verify"],
|
|
@@ -174,9 +192,9 @@
|
|
|
174
192
|
},
|
|
175
193
|
"init_paths": {
|
|
176
194
|
"name": "初始化路径",
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
195
|
+
"from_brainstorm": "/maestro-brainstorm → /maestro-init --from brainstorm:<id> → /maestro-analyze 宏观",
|
|
196
|
+
"from_blueprint": "/maestro-blueprint → /maestro-init → /maestro-analyze 宏观",
|
|
197
|
+
"direct": "/maestro-init → /maestro-analyze 宏观"
|
|
180
198
|
}
|
|
181
199
|
}
|
|
182
200
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-init
|
|
3
3
|
description: Initialize project with auto state detection
|
|
4
|
-
argument-hint: "[-y] [--from
|
|
4
|
+
argument-hint: "[-y] [--from <source>]"
|
|
5
5
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -16,12 +16,12 @@ When `-y`: After config questions, run research without further interaction. Exp
|
|
|
16
16
|
```bash
|
|
17
17
|
$maestro-init ""
|
|
18
18
|
$maestro-init "-y"
|
|
19
|
-
$maestro-init "--from
|
|
19
|
+
$maestro-init "--from brainstorm:20260318-brainstorm-auth"
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
**Flags**:
|
|
23
23
|
- `-y`: Skip interactive questioning; extract from provided document
|
|
24
|
-
- `--from
|
|
24
|
+
- `--from <source>`: Load upstream context package (brainstorm:ID, @file, or path). Consumes context-package.json. Alias: `--from-brainstorm`
|
|
25
25
|
|
|
26
26
|
**Output**: `.workflow/` directory with project.md, state.json, config.json, specs/
|
|
27
27
|
|
|
@@ -41,7 +41,7 @@ $maestro-init "--from-brainstorm 20260318-brainstorm-auth"
|
|
|
41
41
|
|
|
42
42
|
Extract flags from arguments:
|
|
43
43
|
- `-y` flag presence
|
|
44
|
-
- `--from-brainstorm SESSION-ID`
|
|
44
|
+
- `--from <source>` value (or `--from-brainstorm SESSION-ID` alias)
|
|
45
45
|
- Remaining text as project description
|
|
46
46
|
|
|
47
47
|
### Step 2: Detect Project State
|
|
@@ -55,7 +55,7 @@ Classify as:
|
|
|
55
55
|
|
|
56
56
|
### Step 3: Gather Project Information
|
|
57
57
|
|
|
58
|
-
**If `--from-brainstorm
|
|
58
|
+
**If `--from` (or `--from-brainstorm`)**:
|
|
59
59
|
- Read `.workflow/.brainstorm/{SESSION-ID}/guidance-specification.md`
|
|
60
60
|
- Extract these fields from the document (match by heading or frontmatter key):
|
|
61
61
|
- `## Vision` or `vision:` → project.md Core Value Proposition
|
|
@@ -132,7 +132,7 @@ If project state is **empty** (greenfield, no source files found in Step 2):
|
|
|
132
132
|
|
|
133
133
|
### Step 10: Completion Report
|
|
134
134
|
|
|
135
|
-
Display created files and next steps: `$maestro-
|
|
135
|
+
Display created files and next steps: `$maestro-blueprint` (full spec), `$maestro-roadmap` (roadmap), `$manage-status`, `$maestro-brainstorm`, `$maestro-quick`.
|
|
136
136
|
|
|
137
137
|
</execution>
|
|
138
138
|
|
|
@@ -142,7 +142,7 @@ Display created files and next steps: `$maestro-roadmap --mode full` (full spec)
|
|
|
142
142
|
|------|----------|-------------|----------|
|
|
143
143
|
| E001 | error | No arguments when -y requires document | Ask user for document reference |
|
|
144
144
|
| E002 | error | .workflow/ already exists | Show status, suggest manage-status |
|
|
145
|
-
| E003 | error |
|
|
145
|
+
| E003 | error | Context source not found (--from / --from-brainstorm) | List available sessions |
|
|
146
146
|
| W001 | warning | Could not detect tech stack | Continue with manual input |
|
|
147
147
|
|
|
148
148
|
</error_codes>
|