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
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality-debug
|
|
3
|
+
description: Use when bugs, test failures, or unexpected behavior need systematic root cause investigation
|
|
4
|
+
argument-hint: "[issue description] [--from-uat <phase>] [--parallel]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- ask_user
|
|
14
|
+
---
|
|
15
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
|
+
|
|
17
|
+
<purpose>
|
|
18
|
+
Debug issues using scientific method with subagent isolation and persistent debug state. Three entry modes (standalone, from-UAT, parallel) and structured root cause collection with UAT feedback loop. Full algorithm defined in workflow debug.md.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/debug.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
User's issue: $ARGUMENTS
|
|
27
|
+
|
|
28
|
+
**Flags:**
|
|
29
|
+
- `--from-uat <phase>` -- Read gaps from phase's uat.md as pre-filled symptoms
|
|
30
|
+
- `--parallel` -- Spawn parallel debug agents (one per gap cluster)
|
|
31
|
+
|
|
32
|
+
**All context via state.json.artifacts[]:**
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
related = artifacts.filter(a =>
|
|
36
|
+
a.phase === target_phase && a.milestone === current_milestone
|
|
37
|
+
).sort_by(completed_at asc)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Each artifact's type determines its outputs at `.workflow/{a.path}/`:
|
|
41
|
+
- **execute** → .summaries/, .task/ (source of code changes)
|
|
42
|
+
- **review** → review.json (findings guide hypothesis formation)
|
|
43
|
+
- **debug** → understanding.md, evidence.ndjson (prior investigations, avoid re-investigation)
|
|
44
|
+
- **test** → uat.md (--from-uat gap source), .tests/
|
|
45
|
+
|
|
46
|
+
Extract conclusions from related artifacts that may affect this debug session — review findings guide investigation direction, prior debug avoids redundant work.
|
|
47
|
+
|
|
48
|
+
### Pre-load (optional, proceed without)
|
|
49
|
+
- Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → module boundaries
|
|
50
|
+
- Wiki: `maestro wiki search "<symptom keywords>" --json` → prior investigations
|
|
51
|
+
- Specs: `maestro spec load --category debug --keyword "<symptom>"` → known issues/workarounds
|
|
52
|
+
- Role knowledge: `maestro wiki list --category debug` → select relevant → `maestro wiki load`
|
|
53
|
+
|
|
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
|
+
</context>
|
|
56
|
+
|
|
57
|
+
<execution>
|
|
58
|
+
Follow '~/.maestro/workflows/debug.md' completely.
|
|
59
|
+
|
|
60
|
+
**Register artifact on completion (phase-scoped only):**
|
|
61
|
+
```
|
|
62
|
+
Append to state.json.artifacts[]:
|
|
63
|
+
{
|
|
64
|
+
id: nextArtifactId(artifacts, "debug"), // DBG-001
|
|
65
|
+
type: "debug",
|
|
66
|
+
milestone: current_milestone,
|
|
67
|
+
phase: target_phase,
|
|
68
|
+
scope: "phase",
|
|
69
|
+
path: "scratch/{YYYYMMDD}-debug-P{N}-{slug}",
|
|
70
|
+
status: all_diagnosed ? "completed" : "failed",
|
|
71
|
+
depends_on: triggering_review_id || exec_art.id,
|
|
72
|
+
harvested: false,
|
|
73
|
+
created_at: start_time,
|
|
74
|
+
completed_at: now()
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Post-debug Knowledge Inquiry
|
|
79
|
+
|
|
80
|
+
| Condition | Ask | Route |
|
|
81
|
+
|-----------|-----|-------|
|
|
82
|
+
| Recurring root cause pattern (seen in prior debug) | "Document in debug-notes.md?" | spec-add debug |
|
|
83
|
+
| Non-obvious fix / workaround | "Record as learning?" | spec-add learning |
|
|
84
|
+
| Root cause = architectural boundary violation | "Update architecture-constraints.md?" | spec-add arch |
|
|
85
|
+
|
|
86
|
+
On confirm → `invoke_skill("spec-add", "<category> <content>")`.
|
|
87
|
+
|
|
88
|
+
**Next-step routing on completion:**
|
|
89
|
+
- Root cause found, fix needed → `/maestro-plan {phase} --gaps`
|
|
90
|
+
- Root cause found (from UAT), auto-fix → `/quality-test {phase} --auto-fix`
|
|
91
|
+
- Inconclusive, need more info → `/quality-debug {issue} -c` (resume session)
|
|
92
|
+
- Standalone fix already applied → `/maestro-verify {phase}`
|
|
93
|
+
</execution>
|
|
94
|
+
|
|
95
|
+
<error_codes>
|
|
96
|
+
| Code | Severity | Condition | Recovery |
|
|
97
|
+
|------|----------|-----------|----------|
|
|
98
|
+
| E001 | error | Issue description required (no arguments, no active sessions) | Check arguments format, re-run with correct input |
|
|
99
|
+
| E002 | error | UAT file not found for --from-uat phase | Verify UAT file exists for specified phase |
|
|
100
|
+
| W001 | warning | Existing debug session found, offer resume | Review existing sessions, choose resume or new |
|
|
101
|
+
| W002 | warning | Checkpoint reached, user input needed | Provide requested input to continue |
|
|
102
|
+
| W003 | warning | Some gaps inconclusive, partial diagnosis | Review partial results, retry inconclusive gaps |
|
|
103
|
+
</error_codes>
|
|
104
|
+
|
|
105
|
+
<success_criteria>
|
|
106
|
+
- [ ] Input parsed: standalone, --from-uat, or --parallel mode determined
|
|
107
|
+
- [ ] Active sessions checked and resume offered if applicable
|
|
108
|
+
- [ ] Symptoms gathered (interactive) or loaded from UAT (pre-filled)
|
|
109
|
+
- [ ] Debug output directory created (phase .debug/ or scratch/)
|
|
110
|
+
- [ ] Debug agent(s) spawned with full symptom context
|
|
111
|
+
- [ ] If --parallel: one agent per gap cluster, all concurrent
|
|
112
|
+
- [ ] evidence.ndjson written with structured NDJSON entries
|
|
113
|
+
- [ ] understanding.md tracks evolving understanding per cluster
|
|
114
|
+
- [ ] Root causes collected with fix_direction and affected_files
|
|
115
|
+
- [ ] Multi-factor confidence scored per gap (Step 7.0) replacing simple high/medium/low
|
|
116
|
+
- [ ] Readiness gate checked before ROOT CAUSE declaration
|
|
117
|
+
- [ ] Pressure pass completed on confirmed hypothesis
|
|
118
|
+
- [ ] Confidence table appended to understanding.md
|
|
119
|
+
- [ ] If --from-uat: uat.md gaps updated with diagnosis artifacts
|
|
120
|
+
- [ ] Results unified into diagnosis summary with confidence section
|
|
121
|
+
- [ ] Next step routed (plan --gaps + execute if fix needed, verify if fix applied, resume if inconclusive)
|
|
122
|
+
</success_criteria>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality-refactor
|
|
3
|
+
description: Use when accumulated tech debt needs systematic identification and safe reduction
|
|
4
|
+
argument-hint: "[<scope>]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- ask_user
|
|
14
|
+
---
|
|
15
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
|
+
|
|
17
|
+
<purpose>
|
|
18
|
+
Plan and execute targeted refactoring with safety guarantees through analysis, planning, and reflection-driven iteration. Identifies affected files and dependencies, creates a refactoring plan, confirms with the user before execution, then applies changes with test verification after every modification to ensure zero regressions. Each refactoring round records strategy, outcome, and adjustments in reflection-log.md.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/refactor.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
Scope: $ARGUMENTS (required)
|
|
27
|
+
- Module path: "src/auth" - specific directory
|
|
28
|
+
- Feature area: "authentication" - conceptual scope
|
|
29
|
+
- "all" - full codebase scan
|
|
30
|
+
|
|
31
|
+
If not provided, prompt user for scope.
|
|
32
|
+
|
|
33
|
+
### Pre-load context (before refactoring)
|
|
34
|
+
|
|
35
|
+
1. **Coding specs**: Run `maestro spec load --category coding` to load coding conventions. Apply conventions to all refactored code.
|
|
36
|
+
2. **Review specs**: Run `maestro spec load --category review` to load review standards. Use as quality gate for refactored code.
|
|
37
|
+
3. **Role Knowledge**:
|
|
38
|
+
- Browse: `maestro wiki list --category coding`
|
|
39
|
+
- Identify task-relevant entries, then load: `maestro wiki load <id1> [id2...]`
|
|
40
|
+
4. All are optional — proceed without if unavailable.
|
|
41
|
+
</context>
|
|
42
|
+
|
|
43
|
+
<execution>
|
|
44
|
+
Follow '~/.maestro/workflows/refactor.md' completely.
|
|
45
|
+
|
|
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>")`.
|
|
48
|
+
|
|
49
|
+
**Next-step routing on completion:**
|
|
50
|
+
- All tests pass → `/quality-sync` (update codebase docs)
|
|
51
|
+
- Test failures after refactor → `/quality-debug {scope}`
|
|
52
|
+
- No test suite available → `/quality-auto-test {phase}`
|
|
53
|
+
</execution>
|
|
54
|
+
|
|
55
|
+
<error_codes>
|
|
56
|
+
| Code | Severity | Condition | Recovery |
|
|
57
|
+
|------|----------|-----------|----------|
|
|
58
|
+
| E001 | error | Refactoring scope/description required | Prompt user for module path, feature area, or "all" |
|
|
59
|
+
| E002 | error | Test suite not available for affected area | Suggest creating tests first, or proceed with manual verification |
|
|
60
|
+
| W001 | warning | Partial test coverage for affected area | Note uncovered areas, proceed with extra caution |
|
|
61
|
+
</error_codes>
|
|
62
|
+
|
|
63
|
+
<success_criteria>
|
|
64
|
+
- [ ] Refactoring plan created and confirmed by user
|
|
65
|
+
- [ ] Changes implemented according to plan
|
|
66
|
+
- [ ] All tests pass after refactoring
|
|
67
|
+
- [ ] No regressions introduced
|
|
68
|
+
- [ ] reflection-log.md written with strategy and outcomes
|
|
69
|
+
</success_criteria>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality-retrospective
|
|
3
|
+
description: Use after completing a phase to extract lessons, patterns, and improvement opportunities
|
|
4
|
+
argument-hint: "[phase|N..M] [--lens technical|process|quality|decision] [--all] [--no-route] [--compare N] [-y]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- ask_user
|
|
14
|
+
---
|
|
15
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
|
+
|
|
17
|
+
<purpose>
|
|
18
|
+
Post-execution multi-perspective retrospective (复盘) for completed phases. Consumes existing execution artifacts (verification.json, review.json, issues.jsonl, plan.json, .summaries/, uat.md, state.json) and runs four parallel lenses — technical, process, quality, decision — to distill reusable insights. Routes each insight into the appropriate store: spec stub for reusable patterns, memory tip for process notes, issue for recurring gaps. Auto-scans for unreviewed completed phases and reports the backlog. Every insight is also persisted to `.workflow/knowhow/specs/learnings.md` as `<spec-entry>` blocks for cross-phase queryability.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/retrospective.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<deferred_reading>
|
|
26
|
+
- @~/.maestro/workflows/issue.md (issues.jsonl schema for auto-creation)
|
|
27
|
+
- @~/.maestro/workflows/learn.md (tip routing via manage-learn tip)
|
|
28
|
+
- @~/.maestro/workflows/verify.md (verification.json schema for quality lens parsing)
|
|
29
|
+
- @~/.maestro/workflows/review.md (review.json schema for quality lens parsing)
|
|
30
|
+
</deferred_reading>
|
|
31
|
+
|
|
32
|
+
<context>
|
|
33
|
+
Arguments: $ARGUMENTS
|
|
34
|
+
|
|
35
|
+
Modes (scan/single/range/all), flags (--lens, --no-route, --compare, -y), and storage paths defined in workflow retrospective.md Argument Shape and Stages 1-7.
|
|
36
|
+
</context>
|
|
37
|
+
|
|
38
|
+
<execution>
|
|
39
|
+
Follow `~/.maestro/workflows/retrospective.md` Stages 1–8 in order. Key invariants:
|
|
40
|
+
|
|
41
|
+
1. **Read-only until Stage 6** — Stages 1–5 must not write anything except the in-memory retrospective record.
|
|
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
|
+
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-learn tip` for note routing** — do not duplicate the learning pipeline; invoke via `invoke_skill({ skill: "manage-learn", args: "tip ..." })`.
|
|
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
|
+
6. **Stable insight IDs** — `INS-{8 hex}` from `hash(phase_num + lens + title)` so re-runs do not duplicate.
|
|
47
|
+
7. **Archive before overwrite** — if existing `retrospective.{md,json}` are being replaced, move them to `{artifact_dir}/.history/` with a timestamp suffix first.
|
|
48
|
+
</execution>
|
|
49
|
+
|
|
50
|
+
<error_codes>
|
|
51
|
+
| Code | Severity | Description | Stage |
|
|
52
|
+
|------|----------|-------------|-------|
|
|
53
|
+
| E001 | error | `.workflow/` not initialized — run `/maestro-init` first | parse_input |
|
|
54
|
+
| E002 | error | Unknown `--lens` name (allowed: technical, process, quality, decision) | parse_input |
|
|
55
|
+
| E003 | error | `--compare` requires a single phase argument | parse_input |
|
|
56
|
+
| E004 | error | Phase has not executed yet — no `.task/` or `.summaries/` artifacts | load_artifacts |
|
|
57
|
+
| E005 | error | Phase argument out of range / phase directory not found | scan_unreviewed |
|
|
58
|
+
| W001 | warning | One or more lens agents failed — proceeding with partial coverage | multi_lens_analysis |
|
|
59
|
+
| W002 | warning | Existing retrospective.json found and not `--all` — prompted user to overwrite | scan_unreviewed |
|
|
60
|
+
| W003 | warning | `manage-learn tip` did not return parseable INS id; fell back to direct write | route_outputs |
|
|
61
|
+
| W004 | warning | `--compare` target phase has no retrospective.json; delta omitted | load_artifacts |
|
|
62
|
+
</error_codes>
|
|
63
|
+
|
|
64
|
+
<success_criteria>
|
|
65
|
+
- [ ] Mode correctly resolved (scan / single / range / all)
|
|
66
|
+
- [ ] At least one phase selected and validated (status == "completed", artifacts exist)
|
|
67
|
+
- [ ] All requested lens agents returned valid JSON, or W001 logged for partial coverage
|
|
68
|
+
- [ ] `retrospective.json` written with metrics, findings_by_lens, distilled_insights, routing_recommendations
|
|
69
|
+
- [ ] `retrospective.md` written and human-readable (tweetable, metrics table, per-lens findings, insights, routing table)
|
|
70
|
+
- [ ] Each insight has a stable `INS-{8hex}` id
|
|
71
|
+
- [ ] If routing enabled (default): every recommendation either created an artifact or was explicitly skipped by user
|
|
72
|
+
- [ ] Spec entries (if any) appended as `<spec-entry>` to matching `.workflow/specs/{category-file}.md`
|
|
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-learn", args: "tip ..." })`
|
|
75
|
+
- [ ] `specs/learnings.md` appended with one `<spec-entry>` per insight regardless of routing target
|
|
76
|
+
- [ ] No existing phase artifacts modified (verification.json, review.json, plan.json untouched)
|
|
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-learn list` to browse the knowhow library
|
|
79
|
+
</success_criteria>
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality-review
|
|
3
|
+
description: Use after execution to evaluate code quality across correctness, security, performance, and architecture
|
|
4
|
+
argument-hint: "<phase> [--level quick|standard|deep] [--dimensions security,architecture,...] [--skip-specs]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- ask_user
|
|
14
|
+
---
|
|
15
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
|
+
|
|
17
|
+
<purpose>
|
|
18
|
+
Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?" -- complementing maestro-verify ("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
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/review.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<deferred_reading>
|
|
26
|
+
- [index.json](~/.maestro/templates/index.json) — read when updating phase index after review
|
|
27
|
+
</deferred_reading>
|
|
28
|
+
|
|
29
|
+
<context>
|
|
30
|
+
Phase: $ARGUMENTS (required — phase number or slug)
|
|
31
|
+
|
|
32
|
+
**Flags:**
|
|
33
|
+
- `--level quick|standard|deep` — Explicit review level (default: auto-detect from file count)
|
|
34
|
+
- `--dimensions <list>` — Comma-separated subset of dimensions to review (overrides level defaults)
|
|
35
|
+
- `--skip-specs` — Skip loading project specs as review context
|
|
36
|
+
|
|
37
|
+
**All context via state.json.artifacts[]:**
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
related = artifacts.filter(a =>
|
|
41
|
+
a.phase === target_phase && a.milestone === current_milestone
|
|
42
|
+
).sort_by(completed_at asc)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Each artifact's type determines its outputs at `.workflow/{a.path}/`:
|
|
46
|
+
- **execute** → .summaries/, .task/, verification.json, plan.json (source of files to review)
|
|
47
|
+
- **review** → review.json (prior verdict, findings — for delta comparison)
|
|
48
|
+
- **debug** → understanding.md, evidence.ndjson (confirmed root causes)
|
|
49
|
+
- **test** → uat.md, .tests/ (user-observable gaps)
|
|
50
|
+
|
|
51
|
+
Extract conclusions from related artifacts that may affect this review. Pass as prior quality context to reviewer agents — avoid redundant work, focus on gaps and regressions.
|
|
52
|
+
|
|
53
|
+
### Pre-load (optional, proceed without)
|
|
54
|
+
- Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → component boundaries, layer rules
|
|
55
|
+
- Wiki constraints: `maestro wiki search "architecture constraint" --json` → documented decisions
|
|
56
|
+
- Specs: `maestro spec load --category review` → review standards, checklists, knowhow tools
|
|
57
|
+
- Role knowledge: `maestro wiki list --category review` → select relevant → `maestro wiki load`
|
|
58
|
+
|
|
59
|
+
**Output**: `REVIEW_DIR = .workflow/scratch/{YYYYMMDD}-review-P{N}-{slug}/` (P{N} = phase number, enables directory-level identification as state.json fallback)
|
|
60
|
+
</context>
|
|
61
|
+
|
|
62
|
+
<execution>
|
|
63
|
+
Follow '~/.maestro/workflows/review.md' completely.
|
|
64
|
+
|
|
65
|
+
**Output writes to REVIEW_DIR** (not EXEC_DIR):
|
|
66
|
+
- `REVIEW_DIR/review.json` — findings, severity distribution, verdict
|
|
67
|
+
|
|
68
|
+
**Register artifact on completion:**
|
|
69
|
+
```
|
|
70
|
+
Append to state.json.artifacts[]:
|
|
71
|
+
{
|
|
72
|
+
id: nextArtifactId(artifacts, "review"), // REV-001
|
|
73
|
+
type: "review",
|
|
74
|
+
milestone: current_milestone,
|
|
75
|
+
phase: target_phase,
|
|
76
|
+
scope: "phase",
|
|
77
|
+
path: "scratch/{YYYYMMDD}-review-P{N}-{slug}", // relative to .workflow/
|
|
78
|
+
status: "completed",
|
|
79
|
+
depends_on: exec_art.id, // or prior debug/review if re-review
|
|
80
|
+
harvested: false,
|
|
81
|
+
created_at: start_time,
|
|
82
|
+
completed_at: now()
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Report format and next-step routing by verdict defined in workflow review.md Report Format and Next Step Routing sections.
|
|
87
|
+
|
|
88
|
+
**Next-step routing summary:**
|
|
89
|
+
- PASS → `/quality-test {phase}`
|
|
90
|
+
- WARN → `/quality-test {phase}` (proceed with caveats)
|
|
91
|
+
- BLOCK → `/maestro-plan {phase} --gaps` (fix critical findings first)
|
|
92
|
+
|
|
93
|
+
**Completion status:**
|
|
94
|
+
```
|
|
95
|
+
--- COMPLETION STATUS ---
|
|
96
|
+
STATUS: DONE|DONE_WITH_CONCERNS|NEEDS_RETRY
|
|
97
|
+
CONCERNS: {description if applicable}
|
|
98
|
+
NEXT: /quality-refactor
|
|
99
|
+
--- END STATUS ---
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Status mapping:
|
|
103
|
+
- **DONE** — PASS verdict, no critical findings → NEXT: /quality-refactor
|
|
104
|
+
- **DONE_WITH_CONCERNS** — WARN verdict, issues found but non-blocking → NEXT: /maestro-verify
|
|
105
|
+
- **NEEDS_RETRY** — BLOCK verdict, critical findings require fix first
|
|
106
|
+
</execution>
|
|
107
|
+
|
|
108
|
+
<error_codes>
|
|
109
|
+
| Code | Severity | Condition | Recovery |
|
|
110
|
+
|------|----------|-----------|----------|
|
|
111
|
+
| E001 | error | Phase argument required | Check arguments format, re-run with correct input |
|
|
112
|
+
| E002 | error | Phase directory not found | Check arguments format, re-run with correct input |
|
|
113
|
+
| E003 | error | No execution results found (no task summaries) | Verify execution completed with task summaries |
|
|
114
|
+
| E004 | error | No changed files detected in phase | Verify execution completed with task summaries |
|
|
115
|
+
| W001 | warning | Some dimension agents failed, partial results | Retry failed dimensions or accept partial results |
|
|
116
|
+
| W002 | warning | Deep-dive iteration limit reached with unresolved criticals | Accept current findings or escalate manually |
|
|
117
|
+
</error_codes>
|
|
118
|
+
|
|
119
|
+
<success_criteria>
|
|
120
|
+
- [ ] Phase resolved and changed files collected from task summaries
|
|
121
|
+
- [ ] Review level determined (explicit flag or auto-detected)
|
|
122
|
+
- [ ] Project specs loaded as review context (unless --skip-specs)
|
|
123
|
+
- [ ] Dimension reviews executed (inline for quick, parallel agents for standard/deep)
|
|
124
|
+
- [ ] All dimension results aggregated with severity classification
|
|
125
|
+
- [ ] Deep-dive completed if triggered (standard: auto, deep: forced)
|
|
126
|
+
- [ ] review.json written with complete findings, severity distribution, verdict
|
|
127
|
+
- [ ] Issues auto-created based on level thresholds
|
|
128
|
+
- [ ] index.json updated with review status
|
|
129
|
+
- [ ] Next step routed by verdict (PASS→test, WARN→test with caveats, BLOCK→plan --gaps)
|
|
130
|
+
</success_criteria>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality-sync
|
|
3
|
+
description: Sync codebase docs by tracing git diff impact
|
|
4
|
+
argument-hint: "[--full] [--since <commit|HEAD~N>] [--dry-run]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- ask_user
|
|
14
|
+
---
|
|
15
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
|
+
|
|
17
|
+
<purpose>
|
|
18
|
+
Synchronize project state after manual code changes or to refresh codebase documentation. Detects changes via git diff, traces impact through doc-index.json (file -> component -> feature -> requirement), updates state.json and index.json, and refreshes affected `.workflow/codebase/` documentation. Use --full flag for a complete resync of all tracked files regardless of git diff.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/sync.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
$ARGUMENTS -- optional flags:
|
|
27
|
+
- `--full` -- Complete resync of all tracked files (ignores git diff, rebuilds all docs)
|
|
28
|
+
- `--since <commit|HEAD~N>` -- Diff since specific commit (default: last sync timestamp)
|
|
29
|
+
- `--dry-run` -- Show what would be updated without writing changes
|
|
30
|
+
</context>
|
|
31
|
+
|
|
32
|
+
<execution>
|
|
33
|
+
Follow '~/.maestro/workflows/sync.md' completely.
|
|
34
|
+
|
|
35
|
+
**Next-step routing on completion:**
|
|
36
|
+
- Docs refreshed → `/manage-status`
|
|
37
|
+
- Major structural changes detected → `/manage-codebase-rebuild` (full rebuild recommended)
|
|
38
|
+
</execution>
|
|
39
|
+
|
|
40
|
+
<error_codes>
|
|
41
|
+
| Code | Severity | Condition | Recovery |
|
|
42
|
+
|------|----------|-----------|----------|
|
|
43
|
+
| E001 | error | .workflow/ not initialized | Suggest running `/maestro-init` first|
|
|
44
|
+
| W001 | warning | No changes detected since last sync | Report clean state, skip updates |
|
|
45
|
+
</error_codes>
|
|
46
|
+
|
|
47
|
+
<success_criteria>
|
|
48
|
+
- [ ] state.json updated with current sync timestamp
|
|
49
|
+
- [ ] Codebase docs refreshed for all affected components
|
|
50
|
+
- [ ] doc-index.json reflects current file state
|
|
51
|
+
- [ ] Changes tracked and logged
|
|
52
|
+
- [ ] project.md Tech Stack section refreshed if dependency manifests changed
|
|
53
|
+
</success_criteria>
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality-test
|
|
3
|
+
description: Use when implementation needs user acceptance testing with interactive verification and gap closure
|
|
4
|
+
argument-hint: "[phase] [--smoke] [--auto-fix]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- ask_user
|
|
14
|
+
---
|
|
15
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
|
+
|
|
17
|
+
<purpose>
|
|
18
|
+
Run UAT-style conversational testing for a completed phase. Designs test scenarios from verification criteria, walks through each scenario interactively one at a time with plain text responses, and records pass/fail results with severity inference.
|
|
19
|
+
|
|
20
|
+
When issues are found, spawns parallel debug agents (one per gap cluster) to diagnose root causes, then optionally triggers the gap-fix loop (plan --gaps -> execute -> re-verify) to auto-close gaps.
|
|
21
|
+
|
|
22
|
+
Key mechanisms from GSD verify-work:
|
|
23
|
+
- **Session persistence**: uat.md survives context resets, resume from any point
|
|
24
|
+
- **Severity inference**: Natural language -> blocker/major/minor/cosmetic (never ask)
|
|
25
|
+
- **Cold-start smoke tests**: --smoke flag injects basic sanity tests before UAT
|
|
26
|
+
- **Parallel auto-diagnosis**: Spawn debug agents per gap cluster with pre-filled symptoms
|
|
27
|
+
- **Gap-plan closure loop**: --auto-fix triggers verify -> plan --gaps -> execute -> re-verify
|
|
28
|
+
</purpose>
|
|
29
|
+
|
|
30
|
+
<required_reading>
|
|
31
|
+
@~/.maestro/workflows/test.md
|
|
32
|
+
</required_reading>
|
|
33
|
+
|
|
34
|
+
<context>
|
|
35
|
+
Phase or task: $ARGUMENTS (optional)
|
|
36
|
+
|
|
37
|
+
Flags, artifact context resolution, and output directory format defined in workflow test.md.
|
|
38
|
+
</context>
|
|
39
|
+
|
|
40
|
+
<execution>
|
|
41
|
+
Follow '~/.maestro/workflows/test.md' completely.
|
|
42
|
+
|
|
43
|
+
**Command-specific extensions (not in workflow):**
|
|
44
|
+
|
|
45
|
+
**Knowledge context loading** (before test design):
|
|
46
|
+
- Wiki search: `maestro wiki search "<phase/feature keywords>" --json` → prior test strategies, recipes, decisions
|
|
47
|
+
- Role knowledge: `maestro wiki list --category test` → select relevant → `maestro wiki load <id>`
|
|
48
|
+
- Specs + tools: `maestro spec load --category test` → test conventions + discoverable knowhow tools
|
|
49
|
+
|
|
50
|
+
**Test tool discovery** (knowhow tools as scenario source):
|
|
51
|
+
- Load registered test tools: `maestro spec load --category test --keyword <feature>`
|
|
52
|
+
- If tools found, extract their steps as additional test scenarios marked `source: "tool"`
|
|
53
|
+
- Each numbered step in a tool becomes a UAT test with its assertion as `expected` behavior
|
|
54
|
+
|
|
55
|
+
**Review findings integration** (from related review artifacts):
|
|
56
|
+
- Extract critical/high findings as additional test scenarios, marked `source: "review_finding"`
|
|
57
|
+
- When review verdict is "BLOCK" and review-finding tests fail, auto-enter gap-fix loop
|
|
58
|
+
|
|
59
|
+
**Debug root cause integration** (from related debug artifacts):
|
|
60
|
+
- Generate regression test scenarios from confirmed root causes, marked `source: "debug_root_cause"`
|
|
61
|
+
|
|
62
|
+
**Register artifact on completion:**
|
|
63
|
+
```
|
|
64
|
+
Append to state.json.artifacts[]:
|
|
65
|
+
{
|
|
66
|
+
id: nextArtifactId(artifacts, "test"), // TST-001
|
|
67
|
+
type: "test",
|
|
68
|
+
milestone: current_milestone,
|
|
69
|
+
phase: target_phase,
|
|
70
|
+
scope: "phase",
|
|
71
|
+
path: "scratch/{YYYYMMDD}-test-P{N}-{slug}",
|
|
72
|
+
status: issues == 0 ? "completed" : "failed",
|
|
73
|
+
depends_on: exec_art.id,
|
|
74
|
+
harvested: false,
|
|
75
|
+
created_at: start_time,
|
|
76
|
+
completed_at: now()
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Next-step routing on completion:**
|
|
81
|
+
- All tests pass → `/maestro-milestone-audit`
|
|
82
|
+
- Issues found, --auto-fix ran and succeeded → `/maestro-verify {phase}`
|
|
83
|
+
- Issues found, --auto-fix ran but gaps remain → `/quality-debug --from-uat {phase}`
|
|
84
|
+
- Issues found, manual fix needed → `/quality-debug --from-uat {phase}`
|
|
85
|
+
- Coverage below threshold → `/quality-auto-test {phase}`
|
|
86
|
+
- Need integration tests → `/quality-auto-test {phase}`
|
|
87
|
+
</execution>
|
|
88
|
+
|
|
89
|
+
<error_codes>
|
|
90
|
+
| Code | Severity | Condition | Recovery |
|
|
91
|
+
|------|----------|-----------|----------|
|
|
92
|
+
| E001 | error | Phase or task target required (no active sessions) | Prompt user for phase number |
|
|
93
|
+
| E002 | error | Phase not verified yet (no verification.json) | Suggest `/maestro-verify` first |
|
|
94
|
+
| E003 | error | Smoke test failed (app won't start) | Suggest `/quality-debug` |
|
|
95
|
+
| W001 | warning | One or more test scenarios failed | Auto-diagnose, suggest fix options |
|
|
96
|
+
| W002 | warning | Coverage below threshold | Suggest `/quality-auto-test` |
|
|
97
|
+
</error_codes>
|
|
98
|
+
|
|
99
|
+
<success_criteria>
|
|
100
|
+
- [ ] Target resolved (phase or scratch task)
|
|
101
|
+
- [ ] Active sessions checked, resume offered if applicable
|
|
102
|
+
- [ ] Smoke tests run if --smoke flag set
|
|
103
|
+
- [ ] test-plan.json generated with categorized tests mapped to requirements
|
|
104
|
+
- [ ] uat.md created/resumed with all tests
|
|
105
|
+
- [ ] Tests presented one at a time with expected behavior
|
|
106
|
+
- [ ] User responses processed as pass/issue/skip
|
|
107
|
+
- [ ] Severity inferred from natural language (never asked)
|
|
108
|
+
- [ ] Batched writes: on issue, every 5 passes, or completion
|
|
109
|
+
- [ ] test-results.json and coverage-report.json written
|
|
110
|
+
- [ ] UAT confidence scored with 4-dimension factor model
|
|
111
|
+
- [ ] Readiness gate checked before final report
|
|
112
|
+
- [ ] Pressure pass completed if > 80% pass rate
|
|
113
|
+
- [ ] Confidence summary appended to uat.md
|
|
114
|
+
- [ ] index.json uat fields updated
|
|
115
|
+
- [ ] If issues: parallel debug agents spawned per gap cluster
|
|
116
|
+
- [ ] Gaps updated with root_cause, fix_direction, affected_files
|
|
117
|
+
- [ ] Gap-fix loop triggered if --auto-fix (max 2 iterations)
|
|
118
|
+
- [ ] Next step routed (phase-transition if pass, verify if auto-fix success, debug --from-uat if issues, test-gen if low coverage)
|
|
119
|
+
</success_criteria>
|