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,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-add
|
|
3
|
+
description: Add spec entry by category with role tagging
|
|
4
|
+
argument-hint: "[--scope project|global|team|personal] <category> <content>"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- shell
|
|
9
|
+
- find_files
|
|
10
|
+
- search
|
|
11
|
+
---
|
|
12
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
13
|
+
|
|
14
|
+
<purpose>
|
|
15
|
+
Add a knowledge entry to the specs system using `<spec-entry>` closed-tag format.
|
|
16
|
+
Each category maps 1:1 to a single target file — no dual-write.
|
|
17
|
+
Supports 4 scopes: project (default), global, team, personal.
|
|
18
|
+
Entries use `category` attribute to declare which category they belong to.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/specs-add.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
$ARGUMENTS -- expects `[--scope <scope>] [--uid <uid>] <category> <content>`
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
- `--ref <path>` — Create as index entry referencing a knowhow document. If the path exists, only creates the spec index entry. If path doesn't exist, also creates the knowhow file.
|
|
30
|
+
- `--knowhow-type <type>` — Knowhow document type when creating with --ref (asset, blueprint, document, template, recipe, reference, decision)
|
|
31
|
+
|
|
32
|
+
Scope-to-directory mapping, category-to-file mapping, and entry format defined in workflow specs-add.md.
|
|
33
|
+
|
|
34
|
+
**Examples:**
|
|
35
|
+
```bash
|
|
36
|
+
# English content → English keywords
|
|
37
|
+
/spec-add coding "Named exports" "Always use named exports" --keywords "exports,naming"
|
|
38
|
+
|
|
39
|
+
# Chinese content → Chinese keywords (匹配中文 prompt)
|
|
40
|
+
/spec-add coding "命名导出规范" "始终使用命名导出" --keywords "导出,命名,模块"
|
|
41
|
+
|
|
42
|
+
# Mixed → bilingual keywords
|
|
43
|
+
/spec-add coding "OAuth PKCE Flow" "完整 PKCE 集成流程" --ref knowhow/RCP-oauth-pkce.md --keywords "oauth,pkce,认证,授权"
|
|
44
|
+
|
|
45
|
+
/spec-add arch "OAuth PKCE 集成" "完整流程设计" --ref knowhow/AST-oauth-flow.md
|
|
46
|
+
```
|
|
47
|
+
</context>
|
|
48
|
+
|
|
49
|
+
<execution>
|
|
50
|
+
Follow '~/.maestro/workflows/specs-add.md' completely.
|
|
51
|
+
</execution>
|
|
52
|
+
|
|
53
|
+
<error_codes>
|
|
54
|
+
| Code | Severity | Description | Stage |
|
|
55
|
+
|------|----------|-------------|-------|
|
|
56
|
+
| E001 | fatal | Category and content are both required | parse_input |
|
|
57
|
+
| E002 | fatal | Specs directory not initialized -- run `maestro spec init --scope <scope>` | validate_entry |
|
|
58
|
+
| E003 | fatal | Invalid category -- must be one of: coding, arch, quality, debug, test, review, learning, tools, ui | parse_input |
|
|
59
|
+
| E004 | fatal | Invalid scope -- must be one of: project, global, team, personal | parse_input |
|
|
60
|
+
| E005 | fatal | Personal scope requires uid -- use `--uid` or run `maestro collab join` first | parse_input |
|
|
61
|
+
</error_codes>
|
|
62
|
+
|
|
63
|
+
<success_criteria>
|
|
64
|
+
- [ ] Scope and category parsed and validated
|
|
65
|
+
- [ ] Keywords auto-extracted from content (3-5 relevant terms)
|
|
66
|
+
- [ ] Entry written in `<spec-entry>` closed-tag format
|
|
67
|
+
- [ ] Entry appended to correct target file for scope
|
|
68
|
+
- [ ] Confirmation report displayed with scope, path, keywords
|
|
69
|
+
- [ ] Next step: `maestro spec load --scope <scope> --keyword {keyword}` to verify
|
|
70
|
+
</success_criteria>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-load
|
|
3
|
+
description: Load specs and lessons for current context
|
|
4
|
+
argument-hint: "[--category <category>] [--keyword <word>]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- shell
|
|
8
|
+
- find_files
|
|
9
|
+
- search
|
|
10
|
+
---
|
|
11
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
12
|
+
|
|
13
|
+
<purpose>
|
|
14
|
+
Load relevant specs filtered by category (file-level) and/or keyword (entry-level).
|
|
15
|
+
Category-based loading: loads the category's primary doc in full + matching entries from other files.
|
|
16
|
+
</purpose>
|
|
17
|
+
|
|
18
|
+
<required_reading>
|
|
19
|
+
@~/.maestro/workflows/specs-load.md
|
|
20
|
+
</required_reading>
|
|
21
|
+
|
|
22
|
+
<context>
|
|
23
|
+
$ARGUMENTS -- optional flags and keyword
|
|
24
|
+
|
|
25
|
+
**Flags:**
|
|
26
|
+
- `--category <category>` — Load by category: primary category doc (full) + cross-file entries with matching category attr. Categories: coding, arch, test, review, debug, learning, ui.
|
|
27
|
+
- `--keyword <word>` — Filter by keyword within entries
|
|
28
|
+
|
|
29
|
+
**File → Primary Category mapping:**
|
|
30
|
+
| File | Category |
|
|
31
|
+
|------|----------|
|
|
32
|
+
| coding-conventions.md | coding |
|
|
33
|
+
| architecture-constraints.md | arch |
|
|
34
|
+
| test-conventions.md | test |
|
|
35
|
+
| review-standards.md | review |
|
|
36
|
+
| debug-notes.md | debug |
|
|
37
|
+
| ui-conventions.md | ui |
|
|
38
|
+
| quality-rules.md | review |
|
|
39
|
+
| learnings.md | learning |
|
|
40
|
+
|
|
41
|
+
**Examples:**
|
|
42
|
+
```
|
|
43
|
+
/spec-load --category coding # coding全文 + 跨文件coding条目
|
|
44
|
+
/spec-load --category review # review-standards + quality-rules + 跨文件review条目
|
|
45
|
+
/spec-load --category coding --keyword auth
|
|
46
|
+
/spec-load --keyword auth
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Ref entries:**
|
|
50
|
+
When loading entries with `ref` attribute, only the summary is shown with a load command:
|
|
51
|
+
→ Detail: maestro wiki load <knowhow-id>
|
|
52
|
+
Use the load command to read the full referenced document.
|
|
53
|
+
</context>
|
|
54
|
+
|
|
55
|
+
<execution>
|
|
56
|
+
Follow '~/.maestro/workflows/specs-load.md' completely.
|
|
57
|
+
</execution>
|
|
58
|
+
|
|
59
|
+
<error_codes>
|
|
60
|
+
| Code | Severity | Description | Stage |
|
|
61
|
+
|------|----------|-------------|-------|
|
|
62
|
+
| E001 | fatal | `.workflow/specs/` not initialized -- run `/spec-setup` first | detect_context |
|
|
63
|
+
| W001 | warning | No matching specs found for keyword -- showing all specs in category instead | load_specs |
|
|
64
|
+
</error_codes>
|
|
65
|
+
|
|
66
|
+
<success_criteria>
|
|
67
|
+
- [ ] Category and/or keyword parsed from arguments
|
|
68
|
+
- [ ] Spec files loaded per category mapping
|
|
69
|
+
- [ ] Keyword filtering applied at entry level (via `<spec-entry>` keywords attribute)
|
|
70
|
+
- [ ] Legacy entries filtered by text grep fallback
|
|
71
|
+
- [ ] Results displayed with file:category references
|
|
72
|
+
</success_criteria>
|
|
73
|
+
</output>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-remove
|
|
3
|
+
description: Remove spec entry by ID
|
|
4
|
+
argument-hint: "<entry-id>"
|
|
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
|
+
Remove a `<spec-entry>` from a specs file. Symmetric with `/spec-add`.
|
|
18
|
+
Uses `maestro wiki remove-entry` for atomic removal with index auto-update.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/specs-remove.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
$ARGUMENTS -- expects `<entry-id>` (e.g., `spec-learnings-003`, `spec-coding-conventions-001`)
|
|
27
|
+
|
|
28
|
+
**Entry ID format**: `spec-{file-stem}-{NNN}` — the sub-node ID assigned by WikiIndexer when indexing `<spec-entry>` blocks.
|
|
29
|
+
|
|
30
|
+
**Discovery**: Use `maestro wiki list --type spec --json` or `/spec-load --keyword <term>` to find entry IDs.
|
|
31
|
+
</context>
|
|
32
|
+
|
|
33
|
+
<execution>
|
|
34
|
+
Follow '~/.maestro/workflows/specs-remove.md' completely.
|
|
35
|
+
</execution>
|
|
36
|
+
|
|
37
|
+
<error_codes>
|
|
38
|
+
| Code | Severity | Description | Stage |
|
|
39
|
+
|------|----------|-------------|-------|
|
|
40
|
+
| E001 | fatal | Entry ID is required -- usage: `/spec-remove <entry-id>` | parse_input |
|
|
41
|
+
| E002 | fatal | `.workflow/specs/` not initialized -- run `/spec-setup` first | validate |
|
|
42
|
+
| E003 | fatal | Entry ID not found in wiki index | lookup |
|
|
43
|
+
| E004 | fatal | Entry is not a spec sub-node (wrong type) | validate |
|
|
44
|
+
</error_codes>
|
|
45
|
+
|
|
46
|
+
<success_criteria>
|
|
47
|
+
- [ ] Entry ID parsed and validated
|
|
48
|
+
- [ ] Entry found in wiki index (type=spec, is sub-node)
|
|
49
|
+
- [ ] User confirmed removal (unless -y flag)
|
|
50
|
+
- [ ] Entry removed from container file via `maestro wiki remove-entry`
|
|
51
|
+
- [ ] Wiki index auto-updated
|
|
52
|
+
- [ ] Confirmation displayed with removed entry details
|
|
53
|
+
</success_criteria>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-setup
|
|
3
|
+
description: Initialize specs from project structure
|
|
4
|
+
argument-hint: ""
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- shell
|
|
9
|
+
- find_files
|
|
10
|
+
- search
|
|
11
|
+
---
|
|
12
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
13
|
+
|
|
14
|
+
<purpose>
|
|
15
|
+
Initialize the project-level specs directory by scanning the codebase for conventions, patterns, and tech stack.
|
|
16
|
+
Core files (coding, arch, knowhow) are always created. Optional files (quality, debug, test, review) are created only when relevant signals are detected.
|
|
17
|
+
All output lands in `.workflow/specs/`.
|
|
18
|
+
</purpose>
|
|
19
|
+
|
|
20
|
+
<required_reading>
|
|
21
|
+
@~/.maestro/workflows/specs-setup.md
|
|
22
|
+
</required_reading>
|
|
23
|
+
|
|
24
|
+
<context>
|
|
25
|
+
$ARGUMENTS (no arguments expected)
|
|
26
|
+
|
|
27
|
+
**Preconditions:**
|
|
28
|
+
- `.workflow/` directory must exist (created by `/maestro-init`) # (see code: E001)
|
|
29
|
+
- Project must contain source files to scan # (see code: E002)
|
|
30
|
+
</context>
|
|
31
|
+
|
|
32
|
+
<execution>
|
|
33
|
+
Follow '~/.maestro/workflows/specs-setup.md' completely.
|
|
34
|
+
</execution>
|
|
35
|
+
|
|
36
|
+
<error_codes>
|
|
37
|
+
| Code | Severity | Description | Stage |
|
|
38
|
+
|------|----------|-------------|-------|
|
|
39
|
+
| E001 | fatal | `.workflow/` directory not initialized -- run `/maestro-init` first | parse_input |
|
|
40
|
+
| E002 | fatal | No source files found in project -- nothing to scan | scan_codebase |
|
|
41
|
+
| W001 | warning | Convention detection uncertain for one or more categories -- marked `[UNCERTAIN]` | generate_specs |
|
|
42
|
+
</error_codes>
|
|
43
|
+
|
|
44
|
+
<success_criteria>
|
|
45
|
+
- [ ] `.workflow/specs/` directory created
|
|
46
|
+
- [ ] Core files always created: `coding-conventions.md`, `architecture-constraints.md`, `knowhow.md`
|
|
47
|
+
- [ ] Optional files created when detected: `quality-rules.md` (linter/CI), `test-conventions.md` (test framework), `debug-notes.md` (on demand), `review-standards.md` (on demand)
|
|
48
|
+
- [ ] Report displayed with summary and next steps
|
|
49
|
+
</success_criteria>
|
|
50
|
+
</output>
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: team-coordinate
|
|
3
|
+
description: Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on "Team Coordinate ".
|
|
4
|
+
allowed-tools: team_create(*), team_delete(*), send_message(*), task_create(*), task_update(*), task_list(*), task_get(*), agent(*), ask_user_question(*), read(*), write(*), edit(*), bash(*), glob(*), grep(*), mcp__ccw-tools__team_msg(*)
|
|
5
|
+
---
|
|
6
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# Team Coordinate
|
|
10
|
+
|
|
11
|
+
Universal team coordination skill: analyze task -> generate role-specs -> dispatch -> execute -> deliver. Only the **coordinator** is built-in. All worker roles are **dynamically generated** as lightweight role-spec files and spawned via the `team-worker` agent.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Architecture
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
+---------------------------------------------------+
|
|
18
|
+
| invoke_skill(skill="team-coordinate") |
|
|
19
|
+
| args="task description" |
|
|
20
|
+
+-------------------+-------------------------------+
|
|
21
|
+
|
|
|
22
|
+
Orchestration Mode (auto -> coordinator)
|
|
23
|
+
|
|
|
24
|
+
Coordinator (built-in)
|
|
25
|
+
Phase 0-5 orchestration
|
|
26
|
+
|
|
|
27
|
+
+-------+-------+-------+-------+
|
|
28
|
+
v v v v v
|
|
29
|
+
[team-worker agents, each loaded with a dynamic role-spec]
|
|
30
|
+
(roles generated at runtime from task analysis)
|
|
31
|
+
|
|
32
|
+
CLI Tools (callable by any worker):
|
|
33
|
+
maestro delegate --mode analysis - analysis and exploration
|
|
34
|
+
maestro delegate --mode write - code generation and modification
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Shared Constants
|
|
38
|
+
|
|
39
|
+
| Constant | Value |
|
|
40
|
+
|----------|-------|
|
|
41
|
+
| Session prefix | `TC` |
|
|
42
|
+
| Session path | `.workflow/.team/TC-<slug>-<date>/` |
|
|
43
|
+
| Worker agent | `team-worker` |
|
|
44
|
+
| Message bus | `mcp__ccw-tools__team_msg(session_id=<session-id>, ...)` |
|
|
45
|
+
| CLI analysis | `maestro delegate --mode analysis` |
|
|
46
|
+
| CLI write | `maestro delegate --mode write` |
|
|
47
|
+
| Max roles | 5 |
|
|
48
|
+
|
|
49
|
+
## Role Router
|
|
50
|
+
|
|
51
|
+
This skill is **coordinator-only**. Workers do NOT invoke this skill -- they are spawned as `team-worker` agents directly.
|
|
52
|
+
|
|
53
|
+
### Input Parsing
|
|
54
|
+
|
|
55
|
+
Parse `$ARGUMENTS`. No `--role` needed -- always routes to coordinator.
|
|
56
|
+
|
|
57
|
+
### Role Registry
|
|
58
|
+
|
|
59
|
+
Only coordinator is statically registered. All other roles are dynamic, stored as role-specs in session.
|
|
60
|
+
|
|
61
|
+
| Role | File | Type |
|
|
62
|
+
|------|------|------|
|
|
63
|
+
| coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | built-in orchestrator |
|
|
64
|
+
| (dynamic) | `<session>/role-specs/<role-name>.md` | runtime-generated role-spec |
|
|
65
|
+
|
|
66
|
+
### CLI Tool Usage
|
|
67
|
+
|
|
68
|
+
Workers can use CLI tools for analysis and code operations:
|
|
69
|
+
|
|
70
|
+
| Tool | Purpose |
|
|
71
|
+
|------|---------|
|
|
72
|
+
| maestro delegate --mode analysis | Analysis, exploration, pattern discovery |
|
|
73
|
+
| maestro delegate --mode write | Code generation, modification, refactoring |
|
|
74
|
+
|
|
75
|
+
### Dispatch
|
|
76
|
+
|
|
77
|
+
Always route to coordinator. Coordinator reads `roles/coordinator/role.md` and executes its phases.
|
|
78
|
+
|
|
79
|
+
### Orchestration Mode
|
|
80
|
+
|
|
81
|
+
User just provides task description.
|
|
82
|
+
|
|
83
|
+
**Invocation**: `invoke_skill(skill="team-coordinate", args="task description")`
|
|
84
|
+
|
|
85
|
+
**Lifecycle**:
|
|
86
|
+
```
|
|
87
|
+
User provides task description
|
|
88
|
+
-> coordinator Phase 1: task analysis (detect capabilities, build dependency graph)
|
|
89
|
+
-> coordinator Phase 2: generate role-specs + initialize session
|
|
90
|
+
-> coordinator Phase 3: create task chain from dependency graph
|
|
91
|
+
-> coordinator Phase 4: spawn first batch workers (background) -> STOP
|
|
92
|
+
-> Worker executes -> send_message callback -> coordinator advances next step
|
|
93
|
+
-> Loop until pipeline complete -> Phase 5 report + completion action
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**User Commands** (wake paused coordinator):
|
|
97
|
+
|
|
98
|
+
| Command | Action |
|
|
99
|
+
|---------|--------|
|
|
100
|
+
| `check` / `status` | Output execution status graph, no advancement |
|
|
101
|
+
| `resume` / `continue` | Check worker states, advance next step |
|
|
102
|
+
| `revise <TASK-ID> [feedback]` | Revise specific task with optional feedback |
|
|
103
|
+
| `feedback <text>` | Inject feedback into active pipeline |
|
|
104
|
+
| `improve [dimension]` | Auto-improve weakest quality dimension |
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Coordinator Spawn Template
|
|
109
|
+
|
|
110
|
+
### v2 Worker Spawn (all roles)
|
|
111
|
+
|
|
112
|
+
When coordinator spawns workers, use `team-worker` agent with role-spec path:
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
delegate_subagent({
|
|
116
|
+
subagent_type: "team-worker",
|
|
117
|
+
description: "Spawn <role> worker",
|
|
118
|
+
team_name: <team-name>,
|
|
119
|
+
name: "<role>",
|
|
120
|
+
run_in_background: true,
|
|
121
|
+
prompt: `## Role Assignment
|
|
122
|
+
role: <role>
|
|
123
|
+
role_spec: <session-folder>/role-specs/<role>.md
|
|
124
|
+
session: <session-folder>
|
|
125
|
+
session_id: <session-id>
|
|
126
|
+
team_name: <team-name>
|
|
127
|
+
requirement: <task-description>
|
|
128
|
+
inner_loop: <true|false>
|
|
129
|
+
|
|
130
|
+
## Progress Milestones
|
|
131
|
+
session_id: <session-id>
|
|
132
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
133
|
+
Report blockers immediately via team_msg type="blocker".
|
|
134
|
+
Report completion via team_msg type="task_complete" after final send_message.
|
|
135
|
+
|
|
136
|
+
Read role_spec file to load Phase 2-4 domain instructions.
|
|
137
|
+
Execute built-in Phase 1 (task discovery) -> role-spec Phase 2-4 -> built-in Phase 5 (report).`
|
|
138
|
+
})
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Inner Loop roles** (role has 2+ serial same-prefix tasks): Set `inner_loop: true`. The team-worker agent handles the loop internally.
|
|
142
|
+
|
|
143
|
+
**Single-task roles**: Set `inner_loop: false`.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Completion Action
|
|
148
|
+
|
|
149
|
+
When pipeline completes (all tasks done), coordinator presents an interactive choice:
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
ask_user({
|
|
153
|
+
questions: [{
|
|
154
|
+
question: "Team pipeline complete. What would you like to do?",
|
|
155
|
+
header: "Completion",
|
|
156
|
+
multiSelect: false,
|
|
157
|
+
options: [
|
|
158
|
+
{ label: "Archive & Clean (Recommended)", description: "Archive session, clean up team" },
|
|
159
|
+
{ label: "Keep Active", description: "Keep session for follow-up work" },
|
|
160
|
+
{ label: "Export Results", description: "Export deliverables to target directory, then clean" }
|
|
161
|
+
]
|
|
162
|
+
}]
|
|
163
|
+
})
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Action Handlers
|
|
167
|
+
|
|
168
|
+
| Choice | Steps |
|
|
169
|
+
|--------|-------|
|
|
170
|
+
| Archive & Clean | Update session status="completed" -> delete_team -> output final summary with artifact paths |
|
|
171
|
+
| Keep Active | Update session status="paused" -> output: "Resume with: invoke_skill(skill='team-coordinate', args='resume')" |
|
|
172
|
+
| Export Results | ask_user(target path) -> copy artifacts to target -> Archive & Clean |
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Specs Reference
|
|
177
|
+
|
|
178
|
+
| Spec | Purpose |
|
|
179
|
+
|------|---------|
|
|
180
|
+
| [specs/pipelines.md](specs/pipelines.md) | Dynamic pipeline model, task naming, dependency graph |
|
|
181
|
+
| [specs/role-spec-template.md](specs/role-spec-template.md) | Template for dynamic role-spec generation |
|
|
182
|
+
| [specs/quality-gates.md](specs/quality-gates.md) | Quality thresholds and scoring dimensions |
|
|
183
|
+
| [specs/knowledge-transfer.md](specs/knowledge-transfer.md) | Context transfer protocols between roles |
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## Session Directory
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
.workflow/.team/TC-<slug>-<date>/
|
|
191
|
+
+-- team-session.json # Session state + dynamic role registry
|
|
192
|
+
+-- task-analysis.json # Phase 1 output: capabilities, dependency graph
|
|
193
|
+
+-- role-specs/ # Dynamic role-spec definitions (generated Phase 2)
|
|
194
|
+
| +-- <role-1>.md # Lightweight: frontmatter + Phase 2-4 only
|
|
195
|
+
| +-- <role-2>.md
|
|
196
|
+
+-- artifacts/ # All MD deliverables from workers
|
|
197
|
+
| +-- <artifact>.md
|
|
198
|
+
+-- .msg/ # Team message bus + state
|
|
199
|
+
| +-- messages.jsonl # Message log
|
|
200
|
+
| +-- meta.json # Session metadata + cross-role state
|
|
201
|
+
+-- wisdom/ # Cross-task knowledge
|
|
202
|
+
| +-- learnings.md
|
|
203
|
+
| +-- decisions.md
|
|
204
|
+
| +-- issues.md
|
|
205
|
+
+-- explorations/ # Shared explore cache
|
|
206
|
+
| +-- cache-index.json
|
|
207
|
+
| +-- explore-<angle>.json
|
|
208
|
+
+-- discussions/ # Inline discuss records
|
|
209
|
+
| +-- <round>.md
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### team-session.json Schema
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
{
|
|
216
|
+
"session_id": "TC-<slug>-<date>",
|
|
217
|
+
"task_description": "<original user input>",
|
|
218
|
+
"status": "active | paused | completed",
|
|
219
|
+
"team_name": "<team-name>",
|
|
220
|
+
"roles": [
|
|
221
|
+
{
|
|
222
|
+
"name": "<role-name>",
|
|
223
|
+
"prefix": "<PREFIX>",
|
|
224
|
+
"responsibility_type": "<type>",
|
|
225
|
+
"inner_loop": false,
|
|
226
|
+
"role_spec": "role-specs/<role-name>.md"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"pipeline": {
|
|
230
|
+
"dependency_graph": {},
|
|
231
|
+
"tasks_total": 0,
|
|
232
|
+
"tasks_completed": 0
|
|
233
|
+
},
|
|
234
|
+
"active_workers": [],
|
|
235
|
+
"completed_tasks": [],
|
|
236
|
+
"completion_action": "interactive",
|
|
237
|
+
"created_at": "<timestamp>"
|
|
238
|
+
}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Session Resume
|
|
244
|
+
|
|
245
|
+
Coordinator supports `resume` / `continue` for interrupted sessions:
|
|
246
|
+
|
|
247
|
+
1. Scan `.workflow/.team/TC-*/team-session.json` for active/paused sessions
|
|
248
|
+
2. Multiple matches -> ask_user for selection
|
|
249
|
+
3. Audit list_tasks -> reconcile session state <-> task status
|
|
250
|
+
4. Reset in_progress -> pending (interrupted tasks)
|
|
251
|
+
5. Rebuild team and spawn needed workers only
|
|
252
|
+
6. Create missing tasks, set dependencies via update_task({ addBlockedBy })
|
|
253
|
+
7. Kick first executable task -> Phase 4 coordination loop
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
## Error Handling
|
|
258
|
+
|
|
259
|
+
| Scenario | Resolution |
|
|
260
|
+
|----------|------------|
|
|
261
|
+
| Unknown command | Error with available command list |
|
|
262
|
+
| Dynamic role-spec not found | Error, coordinator may need to regenerate |
|
|
263
|
+
| Command file not found | Fallback to inline execution |
|
|
264
|
+
| CLI tool fails | Worker proceeds with direct implementation, logs warning |
|
|
265
|
+
| Explore cache corrupt | Clear cache, re-explore |
|
|
266
|
+
| Fast-advance spawns wrong task | Coordinator reconciles on next callback |
|
|
267
|
+
| capability_gap reported | Coordinator generates new role-spec via handleAdapt |
|
|
268
|
+
| Completion action fails | Default to Keep Active, log warning |
|