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,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-ui-codify
|
|
3
|
+
description: Extract design system from code, generate reference package, persist as knowledge assets
|
|
4
|
+
argument-hint: "<source-path> [--package-name <name>] [--output-dir <path>] [--overwrite]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- invoke_skill
|
|
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
|
+
Codify UI design system from existing source code. 4-phase pipeline:
|
|
19
|
+
|
|
20
|
+
1. **Validate** (inline): Parameter validation, workspace setup, file discovery
|
|
21
|
+
2. **Extract** (3 parallel agents): Style Agent + Animation Agent + Layout Agent produce design-tokens.json, animation-tokens.json, layout-templates.json
|
|
22
|
+
3. **Package** (agent): Copy tokens to package directory, generate preview.html + preview.css
|
|
23
|
+
4. **Knowhow** (manifest + skill): Build knowhow-manifest.json, call codify-to-knowhow to persist as knowledge assets
|
|
24
|
+
|
|
25
|
+
Position in pipeline: code -> **ui-codify** -> knowhow + specs
|
|
26
|
+
</purpose>
|
|
27
|
+
|
|
28
|
+
<deferred_reading>
|
|
29
|
+
- [ui-codify.md](~/.maestro/workflows/ui-codify.md) — read always (main workflow orchestrator)
|
|
30
|
+
- [ui-codify-extract.md](~/.maestro/workflows/ui-codify-extract.md) — read when Phase 2 starts (style extraction with 3 agents)
|
|
31
|
+
- [ui-codify-package.md](~/.maestro/workflows/ui-codify-package.md) — read when Phase 3 starts (reference package generation)
|
|
32
|
+
- [ui-codify-knowhow.md](~/.maestro/workflows/ui-codify-knowhow.md) — read when Phase 4 starts (knowledge asset generation)
|
|
33
|
+
</deferred_reading>
|
|
34
|
+
|
|
35
|
+
<context>
|
|
36
|
+
$ARGUMENTS — source path (required) with optional flags.
|
|
37
|
+
|
|
38
|
+
Flags:
|
|
39
|
+
- `<source-path>` (positional, required): Directory containing CSS/SCSS/JS/TS/HTML source files
|
|
40
|
+
- `--package-name <name>`: Package name for reference output (default: auto-generated from source directory)
|
|
41
|
+
- `--output-dir <path>`: Output directory for reference package (default: `.workflow/reference_style`)
|
|
42
|
+
- `--overwrite`: Allow overwriting existing package directory
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<execution>
|
|
46
|
+
## 1. Load UI Specs
|
|
47
|
+
|
|
48
|
+
Load project UI conventions before extracting design system:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
maestro spec load --category ui
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
If specs not initialized, continue without — the workflow still produces valid output.
|
|
55
|
+
|
|
56
|
+
## 2. Execute Workflow
|
|
57
|
+
|
|
58
|
+
Route to `~/.maestro/workflows/ui-codify.md` and follow completely.
|
|
59
|
+
|
|
60
|
+
The workflow orchestrates 4 phases with deferred loading of phase-specific workflow files. Each phase reads its workflow file only when execution reaches that phase.
|
|
61
|
+
</execution>
|
|
62
|
+
|
|
63
|
+
<error_codes>
|
|
64
|
+
| Code | Severity | Description | Stage |
|
|
65
|
+
|------|----------|-------------|-------|
|
|
66
|
+
| E001 | error | Source path argument required | parse_input |
|
|
67
|
+
| E002 | error | Source path not found or not a directory | validate |
|
|
68
|
+
| E003 | error | Package directory exists without --overwrite flag | validate |
|
|
69
|
+
| W001 | warning | animation-tokens.json not found (optional, extraction continues) | extract |
|
|
70
|
+
</error_codes>
|
|
71
|
+
|
|
72
|
+
<success_criteria>
|
|
73
|
+
- [ ] UI specs loaded via `spec load --category ui` (if available)
|
|
74
|
+
- [ ] Source path validated and file discovery completed
|
|
75
|
+
- [ ] design-tokens.json generated with color, typography, spacing tokens
|
|
76
|
+
- [ ] layout-templates.json generated with component patterns (universal/specialized)
|
|
77
|
+
- [ ] animation-tokens.json generated (optional, W001 if missing)
|
|
78
|
+
- [ ] preview.html + preview.css generated as interactive showcase
|
|
79
|
+
- [ ] knowhow-manifest.json created with AST/DCS assets and spec entries
|
|
80
|
+
- [ ] codify-to-knowhow called and completed successfully
|
|
81
|
+
- [ ] Temporary workspace cleaned up
|
|
82
|
+
</success_criteria>
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-update
|
|
3
|
+
description: Detect version, preview changes, apply workflow upgrades
|
|
4
|
+
argument-hint: "[--dry-run] [--force]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- ask_user
|
|
13
|
+
---
|
|
14
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
15
|
+
|
|
16
|
+
<purpose>
|
|
17
|
+
Detect the current `.workflow/` schema version, show available migrations, and interactively apply them step-by-step. Uses a migration registry that supports incremental version upgrades (e.g., 1.0 → 2.0 → 3.0).
|
|
18
|
+
|
|
19
|
+
Each migration step is previewed before execution. The user confirms each step in a loop.
|
|
20
|
+
</purpose>
|
|
21
|
+
|
|
22
|
+
<context>
|
|
23
|
+
$ARGUMENTS — optional flags.
|
|
24
|
+
|
|
25
|
+
**Flags:**
|
|
26
|
+
- `--dry-run` -- Preview migration plan without executing
|
|
27
|
+
- `--force` -- Skip confirmation prompts (apply all pending migrations)
|
|
28
|
+
|
|
29
|
+
**Migration registry:** `src/migrations/`
|
|
30
|
+
- Each migration is a standalone file (e.g., `v1-to-v2.ts`) exporting a `MigrationDef`
|
|
31
|
+
- All migrations are registered via `src/migrations/index.ts`
|
|
32
|
+
- Registry auto-chains: detects current version → walks chain → applies in order
|
|
33
|
+
- To add a new migration: create `src/migrations/v{N}-to-v{N+1}.ts`, register in `index.ts`
|
|
34
|
+
|
|
35
|
+
**CLI runner:** `src/migrations/run.ts`
|
|
36
|
+
- Executable entrypoint: `npx tsx src/migrations/run.ts [root] [--dry-run] [--force] [--json]`
|
|
37
|
+
- Outputs JSON (with `--json`) or human-readable text
|
|
38
|
+
|
|
39
|
+
**State version source:** `.workflow/state.json` → `version` field
|
|
40
|
+
</context>
|
|
41
|
+
|
|
42
|
+
<execution>
|
|
43
|
+
|
|
44
|
+
### Step 1: Detect Current State
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
1. Read .workflow/state.json
|
|
48
|
+
2. Extract version field (default "1.0" if missing)
|
|
49
|
+
3. Display:
|
|
50
|
+
|
|
51
|
+
=== Maestro Workflow Update ===
|
|
52
|
+
Project: {project_name}
|
|
53
|
+
Version: {version}
|
|
54
|
+
Location: {.workflow/ path}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Step 2: Dry-Run Preview
|
|
58
|
+
|
|
59
|
+
Run the migration CLI in dry-run + JSON mode to get the full plan:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npx tsx src/migrations/run.ts "$(pwd)" --dry-run --json
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Parse the JSON output. If status is `up-to-date`:
|
|
66
|
+
```
|
|
67
|
+
Already up to date (v{version})
|
|
68
|
+
```
|
|
69
|
+
→ EXIT
|
|
70
|
+
|
|
71
|
+
Otherwise display the migration plan:
|
|
72
|
+
```
|
|
73
|
+
Pending Migrations ({N} step(s)):
|
|
74
|
+
|
|
75
|
+
1. [v{from} → v{to}] {name}
|
|
76
|
+
{description}
|
|
77
|
+
|
|
78
|
+
2. [v{from} → v{to}] {name}
|
|
79
|
+
{description}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
If `--dry-run` flag was passed by user → display plan and EXIT.
|
|
83
|
+
|
|
84
|
+
### Step 3: Interactive Confirmation Loop
|
|
85
|
+
|
|
86
|
+
For each migration step (unless `--force`):
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
LOOP for step_index = 1 to N:
|
|
90
|
+
|
|
91
|
+
Display:
|
|
92
|
+
--- Step {step_index}/{N}: {name} ---
|
|
93
|
+
Version: v{from} → v{to}
|
|
94
|
+
|
|
95
|
+
Changes:
|
|
96
|
+
{description, indented}
|
|
97
|
+
|
|
98
|
+
IF NOT --force:
|
|
99
|
+
ask_user: "Apply this migration?"
|
|
100
|
+
Options: [yes / skip / abort]
|
|
101
|
+
|
|
102
|
+
- "yes" → proceed to Step 4 (execute)
|
|
103
|
+
- "skip" → WARN "Skipping may break the migration chain"
|
|
104
|
+
continue to next step
|
|
105
|
+
- "abort" → display summary of what was applied so far → EXIT
|
|
106
|
+
|
|
107
|
+
IF --force:
|
|
108
|
+
→ proceed to Step 4 (execute)
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Step 4: Execute Single Migration
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
1. Create backup:
|
|
115
|
+
Bash: cp .workflow/state.json .workflow/state.json.backup-v{from}-{timestamp}
|
|
116
|
+
|
|
117
|
+
2. Run migration:
|
|
118
|
+
Bash: npx tsx src/migrations/run.ts "$(pwd)" --json
|
|
119
|
+
|
|
120
|
+
NOTE: The runner executes ALL pending migrations. For step-by-step control,
|
|
121
|
+
read state.json, call the migration function directly, or use the runner
|
|
122
|
+
which stops on first failure.
|
|
123
|
+
|
|
124
|
+
3. Parse result JSON and display:
|
|
125
|
+
|
|
126
|
+
{status_icon} Step {N} completed: {name}
|
|
127
|
+
Summary: {summary}
|
|
128
|
+
Changes:
|
|
129
|
+
- {change_1}
|
|
130
|
+
- {change_2}
|
|
131
|
+
- ...
|
|
132
|
+
|
|
133
|
+
4. If failed:
|
|
134
|
+
Display: "Migration failed: {summary}"
|
|
135
|
+
Display: "Backup available at: {backup_path}"
|
|
136
|
+
Display: "Restore with: cp {backup_path} .workflow/state.json"
|
|
137
|
+
→ EXIT
|
|
138
|
+
|
|
139
|
+
5. Continue loop to next step
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Step 5: Summary
|
|
143
|
+
|
|
144
|
+
After all steps completed (or user aborted):
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
=== Migration Complete ===
|
|
148
|
+
Applied: {applied_count} / {total_count} migration(s)
|
|
149
|
+
Skipped: {skipped_count}
|
|
150
|
+
Version: v{original} → v{final}
|
|
151
|
+
Backup: .workflow/state.json.backup-v{original}-{timestamp}
|
|
152
|
+
|
|
153
|
+
Next steps:
|
|
154
|
+
/manage-status -- Verify project state
|
|
155
|
+
/maestro -- Continue workflow
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
</execution>
|
|
159
|
+
|
|
160
|
+
<error_codes>
|
|
161
|
+
| Code | Severity | Condition | Recovery |
|
|
162
|
+
|------|----------|-----------|----------|
|
|
163
|
+
| E001 | error | .workflow/state.json not found | Run /maestro-init first |
|
|
164
|
+
| E002 | error | state.json parse error | Check file for corruption |
|
|
165
|
+
| E003 | error | Migration function failed | Restore from backup |
|
|
166
|
+
| W001 | warning | Skipped migration may break version chain | Re-run /maestro-update later |
|
|
167
|
+
| W002 | warning | tsx not available | Install tsx: npm i -D tsx |
|
|
168
|
+
</error_codes>
|
|
169
|
+
|
|
170
|
+
<success_criteria>
|
|
171
|
+
- [ ] Current version detected from state.json
|
|
172
|
+
- [ ] Dry-run preview shows full migration plan without execution
|
|
173
|
+
- [ ] Each step confirmed interactively (unless --force)
|
|
174
|
+
- [ ] Backup created before each migration
|
|
175
|
+
- [ ] Migration executed and result displayed with change list
|
|
176
|
+
- [ ] Abort stops cleanly with partial summary
|
|
177
|
+
- [ ] Summary shows applied/skipped counts and version change
|
|
178
|
+
</success_criteria>
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-verify
|
|
3
|
+
description: Use after execution to verify goals are actually achieved with evidence-based structural checks
|
|
4
|
+
argument-hint: "[phase] [--skip-tests] [--skip-antipattern] [--dir <path>]"
|
|
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
|
+
Verify execution results through three complementary methods:
|
|
19
|
+
1. **Goal-Backward verification** — 3-layer check (Truths → Artifacts → Wiring) that validates goals are actually achieved
|
|
20
|
+
2. **Anti-pattern scan** — detect stubs, placeholders, TODO/FIXME, empty returns in modified files
|
|
21
|
+
3. **Nyquist test coverage validation** — requirement-to-test mapping with gap classification
|
|
22
|
+
|
|
23
|
+
Supports dual-level verification:
|
|
24
|
+
- **Single plan**: `verify --dir scratch/plan-xxx` — verifies one plan, writes `verification.json` into plan dir
|
|
25
|
+
- **Milestone**: `verify` (no args) — aggregates all execute artifacts for current milestone into `scratch/{YYYYMMDD}-verify-M{N}-{slug}/milestone-verification.json`
|
|
26
|
+
|
|
27
|
+
Registers VRF artifact in state.json on completion.
|
|
28
|
+
</purpose>
|
|
29
|
+
|
|
30
|
+
<required_reading>
|
|
31
|
+
@~/.maestro/workflows/verify.md
|
|
32
|
+
</required_reading>
|
|
33
|
+
|
|
34
|
+
<deferred_reading>
|
|
35
|
+
- [verification.json](~/.maestro/templates/verification.json) — read when generating output
|
|
36
|
+
- [validation.json](~/.maestro/templates/validation.json) — read when generating test output
|
|
37
|
+
</deferred_reading>
|
|
38
|
+
|
|
39
|
+
<context>
|
|
40
|
+
$ARGUMENTS — phase number or no args for milestone-wide, with optional flags.
|
|
41
|
+
|
|
42
|
+
Flags (`--skip-tests`, `--skip-antipattern`, `--dir`), scope routing, output paths, and VRF artifact registration schema are defined in workflow `verify.md`.
|
|
43
|
+
|
|
44
|
+
### Pre-load context (before verification)
|
|
45
|
+
|
|
46
|
+
1. **Codebase docs**: If `.workflow/codebase/` exists, read `ARCHITECTURE.md` for expected module wiring and `FEATURES.md` for component mapping. Use in Layer 3 (Connection) checks.
|
|
47
|
+
2. **Review specs**: Run `maestro spec load --category review` to load review standards. Use as quality baseline for anti-pattern scan and constraint checks.
|
|
48
|
+
3. **Wiki constraints**: Run `maestro wiki search "architecture constraint" --json 2>/dev/null`. If results found, include documented invariants as additional truth checks in Layer 1.
|
|
49
|
+
4. **Role Knowledge**:
|
|
50
|
+
- Browse: `maestro wiki list --category review`
|
|
51
|
+
- Load task-relevant entries: `maestro wiki load <id1> [id2...]`
|
|
52
|
+
5. All are optional — proceed without if unavailable.
|
|
53
|
+
</context>
|
|
54
|
+
|
|
55
|
+
<execution>
|
|
56
|
+
Follow '~/.maestro/workflows/verify.md' completely.
|
|
57
|
+
|
|
58
|
+
### Post-verify Knowledge Inquiry
|
|
59
|
+
|
|
60
|
+
| Condition | Ask | Route |
|
|
61
|
+
|-----------|-----|-------|
|
|
62
|
+
| Anti-pattern blockers found (TODO/FIXME/stubs) | "Update quality-rules.md?" | spec-add quality |
|
|
63
|
+
| Architecture constraint violations | "Update architecture-constraints.md?" | spec-add arch |
|
|
64
|
+
| Recurring test coverage gap (same module across tasks) | "Add to test-conventions.md?" | spec-add test |
|
|
65
|
+
|
|
66
|
+
On confirm → `invoke_skill("spec-add", "<category> <content>")`.
|
|
67
|
+
|
|
68
|
+
**Next-step routing on completion:**
|
|
69
|
+
- All checks pass, no gaps → /quality-review
|
|
70
|
+
- Gaps found (must-have failures or anti-pattern blockers) → /maestro-plan --gaps
|
|
71
|
+
- Low test coverage (Nyquist gaps) → /quality-auto-test
|
|
72
|
+
|
|
73
|
+
**Gap-fix closure loop:**
|
|
74
|
+
Gaps found → maestro-plan --gaps → maestro-execute → maestro-verify (re-run)
|
|
75
|
+
|
|
76
|
+
**Completion status:**
|
|
77
|
+
```
|
|
78
|
+
--- COMPLETION STATUS ---
|
|
79
|
+
STATUS: DONE|DONE_WITH_CONCERNS|NEEDS_RETRY
|
|
80
|
+
CONCERNS: {description if applicable}
|
|
81
|
+
NEXT: /quality-review
|
|
82
|
+
--- END STATUS ---
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Status mapping:
|
|
86
|
+
- **DONE** — All checks pass, no gaps → NEXT: /quality-review
|
|
87
|
+
- **DONE_WITH_CONCERNS** — Gaps found (must-have failures or anti-pattern blockers) → NEXT: /maestro-execute (after /maestro-plan --gaps)
|
|
88
|
+
- **NEEDS_RETRY** — Verification could not complete (missing artifacts, corrupt data)
|
|
89
|
+
</execution>
|
|
90
|
+
|
|
91
|
+
<error_codes>
|
|
92
|
+
| Code | Severity | Condition | Recovery |
|
|
93
|
+
|------|----------|-----------|----------|
|
|
94
|
+
| E001 | error | No executed plans found for verification | Run maestro-execute first |
|
|
95
|
+
| E002 | error | Plan directory not found | Check --dir path |
|
|
96
|
+
| E003 | error | No execution results found (missing summaries) | Run maestro-execute first |
|
|
97
|
+
| W001 | warning | Test coverage below configured threshold | Review coverage gaps |
|
|
98
|
+
| W002 | warning | Anti-pattern blockers found in modified files | Fix blockers before proceeding |
|
|
99
|
+
</error_codes>
|
|
100
|
+
|
|
101
|
+
<success_criteria>
|
|
102
|
+
- [ ] Must-haves established (from convergence.criteria in tasks)
|
|
103
|
+
- [ ] All truths verified with status and evidence (Layer 1)
|
|
104
|
+
- [ ] All artifacts checked at L1 (exists), L2 (substantive), L3 (wired) (Layer 2)
|
|
105
|
+
- [ ] All key links verified with evidence (Layer 3)
|
|
106
|
+
- [ ] Anti-patterns scanned and categorized (unless skipped)
|
|
107
|
+
- [ ] Nyquist test coverage assessed (unless skipped)
|
|
108
|
+
- [ ] Fix plans generated for identified gaps
|
|
109
|
+
- [ ] verification.json written to plan dir (single plan) or milestone verify dir
|
|
110
|
+
- [ ] VRF artifact registered in state.json
|
|
111
|
+
</success_criteria>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-codebase-rebuild
|
|
3
|
+
description: Rebuild all codebase documentation from scratch
|
|
4
|
+
argument-hint: "[--focus <area>] [--force] [--skip-commit]"
|
|
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
|
+
|
|
18
|
+
<purpose>
|
|
19
|
+
Perform a full rebuild of the .workflow/codebase/ documentation system from scratch. Scans the entire project source to identify components, features, requirements, and ADRs, then spawns parallel workflow-codebase-mapper agents to generate all documentation artifacts. This is a destructive operation that overwrites existing codebase docs.
|
|
20
|
+
|
|
21
|
+
Can run before or after `/maestro-init` -- works on any codebase with source files. Also serves the previous `spec-map` use case via `--focus <area>` for scoped dimension analysis.
|
|
22
|
+
</purpose>
|
|
23
|
+
|
|
24
|
+
<required_reading>
|
|
25
|
+
@~/.maestro/workflows/codebase-rebuild.md
|
|
26
|
+
</required_reading>
|
|
27
|
+
|
|
28
|
+
<context>
|
|
29
|
+
$ARGUMENTS -- optional flags.
|
|
30
|
+
|
|
31
|
+
**Flags:**
|
|
32
|
+
- `--focus <area>` -- Scope mapper agents to a single domain (e.g., `auth`, `api`, `database`). When omitted, all 4 mappers run on the full codebase.
|
|
33
|
+
- `--force` -- Skip confirmation prompt and proceed directly
|
|
34
|
+
- `--skip-commit` -- Do not auto-commit after rebuild
|
|
35
|
+
|
|
36
|
+
**Mapper agent assignments (when `--focus` omitted):**
|
|
37
|
+
| Agent | Focus | Output file |
|
|
38
|
+
|-------|-------|-------------|
|
|
39
|
+
| Mapper 1 | **Tech stack** -- languages, frameworks, dependencies, build system | `tech-stack.md` |
|
|
40
|
+
| Mapper 2 | **Architecture** -- layers, module boundaries, data flow, entry points | `architecture.md` |
|
|
41
|
+
| Mapper 3 | **Features** -- capabilities, API surface, user-facing functionality | `features.md` |
|
|
42
|
+
| Mapper 4 | **Cross-cutting concerns** -- error handling, logging, auth, config, testing | `concerns.md` |
|
|
43
|
+
|
|
44
|
+
**State files:**
|
|
45
|
+
- `.workflow/` -- must be initialized (project.md, state.json exist)
|
|
46
|
+
- `.workflow/codebase/` -- target directory (will be cleared and rebuilt)
|
|
47
|
+
- `.workflow/codebase/doc-index.json` -- generated documentation index
|
|
48
|
+
</context>
|
|
49
|
+
|
|
50
|
+
<execution>
|
|
51
|
+
Follow '~/.maestro/workflows/codebase-rebuild.md' completely.
|
|
52
|
+
|
|
53
|
+
**When `--focus <area>` is set:** pass the area string to each mapper agent as scoping context; only regenerate the docs relevant to that scope (leave others untouched unless missing).
|
|
54
|
+
|
|
55
|
+
**Next-step routing on completion:**
|
|
56
|
+
- View updated project state → `/manage-status`
|
|
57
|
+
- Incremental updates later → `/manage-codebase-refresh`
|
|
58
|
+
</execution>
|
|
59
|
+
|
|
60
|
+
<error_codes>
|
|
61
|
+
| Code | Severity | Condition | Recovery |
|
|
62
|
+
|------|----------|-----------|----------|
|
|
63
|
+
| E001 | error | .workflow/ not initialized | Run maestro-init first to create .workflow/ |
|
|
64
|
+
| W001 | warning | A mapper agent failed (partial results) | Retry failed mapper or accept partial results |
|
|
65
|
+
| W002 | warning | `.workflow/codebase/` already exists -- user prompted for rebuild/skip | check_existing |
|
|
66
|
+
</error_codes>
|
|
67
|
+
|
|
68
|
+
<success_criteria>
|
|
69
|
+
- [ ] User confirmed rebuild (or --force used)
|
|
70
|
+
- [ ] .workflow/codebase/ cleared and rebuilt from scratch (or scoped subset when --focus set)
|
|
71
|
+
- [ ] All 4 mapper agents spawned (failures logged as W001)
|
|
72
|
+
- [ ] doc-index.json generated and valid
|
|
73
|
+
- [ ] All documentation files regenerated
|
|
74
|
+
- [ ] state.json updated with rebuild timestamp
|
|
75
|
+
- [ ] project.md Tech Stack section updated if changes detected
|
|
76
|
+
- [ ] Next step routing: `/manage-status` or `/manage-codebase-refresh` for incremental updates later
|
|
77
|
+
</success_criteria>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-codebase-refresh
|
|
3
|
+
description: Refresh codebase docs from recent changes
|
|
4
|
+
argument-hint: "[--since <date>] [--deep]"
|
|
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
|
+
|
|
18
|
+
<purpose>
|
|
19
|
+
Incrementally refresh .workflow/codebase/ documentation based on changes since the last rebuild or refresh. Detects which files have changed (via git diff), identifies which codebase docs are affected, selectively re-runs mapper agents on those areas only, and updates timestamps. Much faster than a full rebuild for ongoing maintenance.
|
|
20
|
+
</purpose>
|
|
21
|
+
|
|
22
|
+
<required_reading>
|
|
23
|
+
@~/.maestro/workflows/codebase-refresh.md
|
|
24
|
+
</required_reading>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
$ARGUMENTS -- optional flags.
|
|
28
|
+
|
|
29
|
+
**Flags:**
|
|
30
|
+
- `--since <date>` -- Override change detection window (ISO date or relative like "3d")
|
|
31
|
+
- `--deep` -- Force deeper re-scan even for files with minor changes
|
|
32
|
+
|
|
33
|
+
**State files:**
|
|
34
|
+
- `.workflow/` -- must be initialized
|
|
35
|
+
- `.workflow/codebase/` -- must contain existing docs (from prior rebuild)
|
|
36
|
+
- `.workflow/codebase/doc-index.json` -- documentation index with timestamps
|
|
37
|
+
- `.workflow/state.json` -- contains `codebase_last_rebuilt` timestamp
|
|
38
|
+
</context>
|
|
39
|
+
|
|
40
|
+
<execution>
|
|
41
|
+
Follow '~/.maestro/workflows/codebase-refresh.md' completely.
|
|
42
|
+
</execution>
|
|
43
|
+
|
|
44
|
+
<error_codes>
|
|
45
|
+
| Code | Meaning |
|
|
46
|
+
|------|----------------------------------------------------------|
|
|
47
|
+
| E001 | .workflow/ not initialized |
|
|
48
|
+
| E002 | No codebase/ docs exist, use codebase-rebuild instead |
|
|
49
|
+
| W001 | No changes detected since last refresh |
|
|
50
|
+
</error_codes>
|
|
51
|
+
|
|
52
|
+
<success_criteria>
|
|
53
|
+
- [ ] Changed files detected via git diff since last refresh
|
|
54
|
+
- [ ] Affected documentation entries identified from doc-index.json
|
|
55
|
+
- [ ] Only affected docs refreshed (selective mapper re-run)
|
|
56
|
+
- [ ] doc-index.json timestamps updated per affected entry
|
|
57
|
+
- [ ] state.json updated with codebase_last_refreshed timestamp
|
|
58
|
+
- [ ] Next step routing: `/manage-status` or `/spec-load` to use updated docs
|
|
59
|
+
</success_criteria>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-harvest
|
|
3
|
+
description: Extract knowledge from artifacts into wiki/spec/issues
|
|
4
|
+
argument-hint: "[<session-id|path>] [--to wiki|spec|issue|auto] [--source <type>] [--recent N] [--dry-run] [-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
|
+
Extract knowledge fragments from workflow artifacts (analysis results, brainstorm outputs, debug sessions, lite-plan/fix results, scratchpad notes, completed sessions) and route them into the project's three knowledge stores: wiki entries, spec conventions, and trackable issues.
|
|
19
|
+
|
|
20
|
+
Complements `quality-retrospective` (which is phase-scoped) by harvesting from **any** workflow artifact. Prevents knowledge loss from completed analysis and planning sessions that would otherwise only exist as stale files.
|
|
21
|
+
|
|
22
|
+
**Closed-loop**: harvest extracts → wiki/spec/issue stores → downstream commands consume (wiki-digest, spec-load, maestro-plan --gaps).
|
|
23
|
+
</purpose>
|
|
24
|
+
|
|
25
|
+
<required_reading>
|
|
26
|
+
@~/.maestro/workflows/harvest.md
|
|
27
|
+
</required_reading>
|
|
28
|
+
|
|
29
|
+
<deferred_reading>
|
|
30
|
+
- @~/.maestro/workflows/issue.md (issues.jsonl schema for issue routing — read when creating issues in Stage 6c)
|
|
31
|
+
- @~/.maestro/workflows/specs-add.md (spec entry format — read when routing to spec in Stage 6b)
|
|
32
|
+
</deferred_reading>
|
|
33
|
+
|
|
34
|
+
<context>
|
|
35
|
+
Arguments: $ARGUMENTS
|
|
36
|
+
|
|
37
|
+
**Modes (auto-detected):**
|
|
38
|
+
- No arguments → `scan` mode: discover all harvestable artifacts, interactive selection
|
|
39
|
+
- `<session-id>` (e.g., `ANL-auth-20260410`, `WFS-xxx`) → `session` mode: harvest specific session
|
|
40
|
+
- `<path>` (e.g., `.workflow/.analysis/ANL-auth-20260410/`) → `path` mode: harvest from explicit directory
|
|
41
|
+
|
|
42
|
+
Flags, source registry (scan paths), and storage locations defined in workflow harvest.md.
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<execution>
|
|
46
|
+
Follow '~/.maestro/workflows/harvest.md' Stages 1-8 in order.
|
|
47
|
+
|
|
48
|
+
**Key invariants:**
|
|
49
|
+
1. **Read-only until Stage 6** — extraction and classification happen in-memory.
|
|
50
|
+
2. **Dedup before write** — check harvest-log.jsonl and existing stores before each write.
|
|
51
|
+
3. **Never modify source artifacts** — harvest is purely extractive.
|
|
52
|
+
|
|
53
|
+
Extraction patterns, classification rules, routing infrastructure, and fragment ID scheme defined in workflow harvest.md.
|
|
54
|
+
|
|
55
|
+
**Next-step routing on completion:**
|
|
56
|
+
- Review wiki entries → `maestro wiki list --type note`
|
|
57
|
+
- Connect wiki graph → `/wiki-connect --fix`
|
|
58
|
+
- Triage issues → `/manage-issue list --source harvest`
|
|
59
|
+
- View specs → `/spec-load --role implement`
|
|
60
|
+
- Full retrospective → `/quality-retrospective`
|
|
61
|
+
</execution>
|
|
62
|
+
|
|
63
|
+
<error_codes>
|
|
64
|
+
| Code | Severity | Condition | Recovery |
|
|
65
|
+
|------|----------|-----------|----------|
|
|
66
|
+
| E001 | error | `.workflow/` not initialized | Run `/maestro-init` first |
|
|
67
|
+
| E002 | error | Invalid `--to` target (must be: wiki, spec, issue, auto) | Display valid options |
|
|
68
|
+
| E003 | error | Invalid `--source` type | Display valid source types from registry |
|
|
69
|
+
| E004 | error | Session ID not found in any source path | Show available sessions with `--source all` |
|
|
70
|
+
| E005 | error | Path does not exist or contains no parseable artifacts | Verify path and file structure |
|
|
71
|
+
| W001 | warning | No harvestable artifacts found within `--recent` window | Widen time window or check `.workflow/` contents |
|
|
72
|
+
| W002 | warning | `maestro wiki create` failed — wiki entries saved to `.workflow/harvest/wiki-pending-*.md` | Apply pending entries manually or retry |
|
|
73
|
+
| W003 | warning | Some fragments below confidence threshold — logged but not routed | Lower `--min-confidence` to include |
|
|
74
|
+
| W004 | warning | Duplicate fragments skipped | Review harvest-log.jsonl for prior routing |
|
|
75
|
+
| W005 | warning | `.workflow/issues/` directory missing | Auto-create directory and empty issues.jsonl |
|
|
76
|
+
</error_codes>
|
|
77
|
+
|
|
78
|
+
<success_criteria>
|
|
79
|
+
- [ ] Mode correctly resolved (scan / session / path)
|
|
80
|
+
- [ ] Source artifacts discovered and listed with metadata
|
|
81
|
+
- [ ] User selected artifact(s) to harvest (or auto-selected via session/path mode)
|
|
82
|
+
- [ ] All files in selected artifacts loaded and parsed
|
|
83
|
+
- [ ] Knowledge fragments extracted with category, confidence, tags
|
|
84
|
+
- [ ] Fragments filtered by `--min-confidence`
|
|
85
|
+
- [ ] Routing classification applied (auto or forced by `--to`)
|
|
86
|
+
- [ ] Dedup check passed against harvest-log.jsonl and existing stores
|
|
87
|
+
- [ ] If `--dry-run`: preview displayed, no files written
|
|
88
|
+
- [ ] If not dry-run: all routed items written to target stores
|
|
89
|
+
- [ ] Wiki entries created via `maestro wiki create` (or fallback to pending files)
|
|
90
|
+
- [ ] Spec entries added via `spec-add` mechanism
|
|
91
|
+
- [ ] Issue entries appended to `issues.jsonl` with canonical schema
|
|
92
|
+
- [ ] `harvest-log.jsonl` updated with provenance for each routed item
|
|
93
|
+
- [ ] `harvest-report-{date}.md` written with full summary
|
|
94
|
+
- [ ] No source artifacts modified
|
|
95
|
+
- [ ] Summary displayed with counts and next-step routing
|
|
96
|
+
</success_criteria>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-issue
|
|
3
|
+
description: Create, query, update, close, and link issues
|
|
4
|
+
argument-hint: "<subcommand: create|list|status|update|close|link> [--title text] [--severity S] [--status S] [--resolution text]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- ask_user
|
|
13
|
+
---
|
|
14
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
15
|
+
|
|
16
|
+
<purpose>
|
|
17
|
+
Issue lifecycle management for the project issue tracker. Supports create, list, status, update, close, and link (bidirectional issue-task cross-reference). All issues stored in `.workflow/issues/issues.jsonl` using the issue.json schema.
|
|
18
|
+
|
|
19
|
+
For automated issue discovery, use `/manage-issue-discover`.
|
|
20
|
+
|
|
21
|
+
**Closed-loop workflow**: After creating an issue, use `/maestro-analyze --gaps <ISS-ID>` for root cause analysis, `/maestro-plan --gaps` for solution planning, and `/maestro-execute` for execution.
|
|
22
|
+
</purpose>
|
|
23
|
+
|
|
24
|
+
<required_reading>
|
|
25
|
+
@~/.maestro/workflows/issue.md
|
|
26
|
+
</required_reading>
|
|
27
|
+
|
|
28
|
+
<deferred_reading>
|
|
29
|
+
- [issue.json template](~/.maestro/templates/issue.json) — read when creating or updating issue records (create, update, close)
|
|
30
|
+
</deferred_reading>
|
|
31
|
+
|
|
32
|
+
<context>
|
|
33
|
+
$ARGUMENTS -- subcommand + options. Parse first token as subcommand.
|
|
34
|
+
|
|
35
|
+
**Valid subcommands:**
|
|
36
|
+
- `create` -- create a new issue (--title, --severity, --source, --phase, --description)
|
|
37
|
+
- `list` -- list issues with optional filters (--status, --phase, --severity, --source)
|
|
38
|
+
- `status` -- show full detail for a specific issue (ISS-XXXXXXXX-NNN)
|
|
39
|
+
- `update` -- update issue fields (ISS-XXXXXXXX-NNN --status, --priority, --severity, --tags, ...)
|
|
40
|
+
- `close` -- close an issue with resolution (ISS-XXXXXXXX-NNN --resolution)
|
|
41
|
+
- `link` -- link issue to a task (ISS-XXXXXXXX-NNN --task TASK-NNN)
|
|
42
|
+
|
|
43
|
+
**State files:**
|
|
44
|
+
- `.workflow/issues/issues.jsonl` -- active issues (one JSON per line)
|
|
45
|
+
- `.workflow/issues/issue-history.jsonl` -- archived/closed issues
|
|
46
|
+
</context>
|
|
47
|
+
|
|
48
|
+
<execution>
|
|
49
|
+
Parse subcommand from first token of $ARGUMENTS.
|
|
50
|
+
Follow '~/.maestro/workflows/issue.md' completely.
|
|
51
|
+
|
|
52
|
+
**Next-step routing on completion:**
|
|
53
|
+
- create → `/maestro-analyze --gaps <ISS-ID>` or `/maestro-plan --gaps`
|
|
54
|
+
- list → `/maestro-analyze --gaps <ISS-ID>` for any open issue
|
|
55
|
+
- close → `/manage-status`
|
|
56
|
+
</execution>
|
|
57
|
+
|
|
58
|
+
<error_codes>
|
|
59
|
+
| Code | Severity | Condition | Recovery |
|
|
60
|
+
|------|----------|-----------|----------|
|
|
61
|
+
| E_NO_SUBCOMMAND | error | No subcommand provided in $ARGUMENTS | Display valid subcommands, prompt user to select |
|
|
62
|
+
| E_INVALID_SUBCOMMAND | error | Unrecognized subcommand | Display valid subcommands with usage hints |
|
|
63
|
+
| E_ISSUES_DIR_MISSING | warning | `.workflow/issues/` directory does not exist | Auto-create directory and empty issues.jsonl |
|
|
64
|
+
</error_codes>
|
|
65
|
+
|
|
66
|
+
<success_criteria>
|
|
67
|
+
- [ ] Subcommand parsed and routed to correct handler
|
|
68
|
+
- [ ] Issue data read/written to correct JSONL file
|
|
69
|
+
- [ ] Output displayed in appropriate format (table for list, detail for status)
|
|
70
|
+
- [ ] Cross-references maintained (link creates bidirectional references)
|
|
71
|
+
- [ ] Next step routing by subcommand:
|
|
72
|
+
- create → `/maestro-analyze --gaps <ISS-ID>` or `/maestro-plan --gaps`
|
|
73
|
+
- list → `/maestro-analyze --gaps <ISS-ID>` for any open issue
|
|
74
|
+
- close → `/manage-status`
|
|
75
|
+
</success_criteria>
|