maestro-flow 0.3.11 → 0.3.13
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/.claude/CLAUDE.md +7 -0
- package/.claude/agents/conceptual-planning-agent.md +1 -0
- package/.claude/agents/workflow-analyzer.md +113 -114
- package/.claude/agents/workflow-collab-planner.md +143 -144
- package/.claude/agents/workflow-debugger.md +101 -103
- package/.claude/agents/workflow-executor.md +127 -128
- package/.claude/agents/workflow-integration-checker.md +82 -82
- package/.claude/agents/workflow-nyquist-auditor.md +84 -84
- package/.claude/agents/workflow-phase-researcher.md +85 -85
- package/.claude/agents/workflow-plan-checker.md +90 -90
- package/.claude/agents/workflow-planner.md +177 -178
- package/.claude/agents/workflow-roadmapper.md +81 -83
- package/.claude/agents/workflow-verifier.md +118 -119
- package/.claude/commands/learn-retro.md +2 -2
- package/.claude/commands/learn-second-opinion.md +2 -2
- package/.claude/commands/maestro-analyze.md +10 -2
- package/.claude/commands/maestro-brainstorm.md +2 -1
- package/.claude/commands/maestro-execute.md +21 -4
- package/.claude/commands/maestro-fork.md +133 -111
- package/.claude/commands/maestro-merge.md +85 -77
- package/.claude/commands/maestro-milestone-complete.md +14 -0
- package/.claude/commands/maestro-plan.md +100 -8
- package/.claude/commands/maestro-roadmap.md +113 -2
- package/.claude/commands/maestro-ui-design.md +7 -7
- package/.claude/commands/maestro-update.md +176 -0
- package/.claude/commands/maestro-verify.md +18 -3
- package/.claude/commands/maestro.md +1 -0
- package/.claude/commands/manage-codebase-rebuild.md +0 -1
- package/.claude/commands/manage-harvest.md +1 -1
- package/.claude/commands/manage-learn.md +5 -5
- package/.claude/commands/manage-memory-capture.md +4 -4
- package/.claude/commands/manage-memory.md +1 -1
- package/.claude/commands/manage-wiki.md +62 -0
- package/.claude/commands/quality-business-test.md +5 -5
- package/.claude/commands/quality-debug.md +53 -6
- package/.claude/commands/quality-retrospective.md +9 -7
- package/.claude/commands/quality-review.md +39 -7
- package/.claude/commands/quality-sync.md +1 -1
- package/.claude/commands/quality-test-gen.md +5 -4
- package/.claude/commands/quality-test.md +45 -12
- package/.claude/commands/spec-remove.md +51 -0
- package/.claude/commands/spec-setup.md +1 -3
- package/.claude/commands/wiki-connect.md +9 -5
- package/.claude/commands/wiki-digest.md +6 -3
- package/.codex/skills/maestro/SKILL.md +2 -2
- package/.codex/skills/maestro-analyze/SKILL.md +4 -4
- package/.codex/skills/maestro-brainstorm/SKILL.md +4 -4
- package/.codex/skills/maestro-coordinate/SKILL.md +2 -2
- package/.codex/skills/maestro-execute/SKILL.md +15 -5
- package/.codex/skills/maestro-fork/SKILL.md +98 -68
- package/.codex/skills/maestro-init/SKILL.md +5 -4
- package/.codex/skills/maestro-merge/SKILL.md +69 -62
- package/.codex/skills/maestro-milestone-complete/SKILL.md +18 -1
- package/.codex/skills/maestro-plan/SKILL.md +6 -6
- package/.codex/skills/maestro-roadmap/SKILL.md +3 -4
- package/.codex/skills/maestro-spec-generate/SKILL.md +2 -2
- package/.codex/skills/maestro-ui-design/SKILL.md +6 -6
- package/.codex/skills/maestro-verify/SKILL.md +29 -20
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +4 -4
- package/.codex/skills/manage-harvest/SKILL.md +10 -1
- package/.codex/skills/manage-issue-discover/SKILL.md +3 -3
- package/.codex/skills/manage-learn/SKILL.md +3 -2
- package/.codex/skills/manage-memory/SKILL.md +3 -3
- package/.codex/skills/manage-memory-capture/SKILL.md +8 -14
- package/.codex/skills/manage-status/SKILL.md +9 -4
- package/.codex/skills/manage-wiki/SKILL.md +55 -0
- package/.codex/skills/quality-business-test/SKILL.md +8 -6
- package/.codex/skills/quality-debug/SKILL.md +22 -9
- package/.codex/skills/quality-integration-test/SKILL.md +11 -7
- package/.codex/skills/quality-retrospective/SKILL.md +48 -29
- package/.codex/skills/quality-review/SKILL.md +10 -7
- package/.codex/skills/quality-test/SKILL.md +10 -5
- package/.codex/skills/quality-test-gen/SKILL.md +13 -9
- package/.codex/skills/spec-add/SKILL.md +11 -3
- package/.codex/skills/spec-load/SKILL.md +7 -0
- package/.codex/skills/spec-map/SKILL.md +2 -2
- package/.codex/skills/spec-remove/SKILL.md +101 -0
- package/.codex/skills/spec-setup/SKILL.md +4 -8
- package/.codex/skills/wiki-connect/SKILL.md +6 -5
- package/.codex/skills/wiki-digest/SKILL.md +2 -2
- package/README.md +2 -0
- package/README.zh-CN.md +2 -0
- package/dashboard/dist/assets/{ArtifactsPage-DZNCi6tn.js → ArtifactsPage-CUrrDGgN.js} +1 -1
- package/dashboard/dist/assets/ChatInput-pUOLJIKE.js +49 -0
- package/dashboard/dist/assets/ChatPage-B8Xqkt0v.js +27 -0
- package/dashboard/dist/assets/{CollabPage-B4NAHXS2.js → CollabPage-DIUXeazv.js} +1 -1
- package/dashboard/dist/assets/{ExecutionPanel-CFt4LJyq.js → ExecutionPanel-VmYeADFj.js} +1 -1
- package/dashboard/dist/assets/KanbanPage-DLq8v7hg.js +21 -0
- package/dashboard/dist/assets/{MarkdownRenderer-X4af_WNb.js → MarkdownRenderer-D7AehrnR.js} +1 -1
- package/dashboard/dist/assets/{McpPage-BKfCVIyU.js → McpPage-BY0SjTgw.js} +2 -2
- package/dashboard/dist/assets/{OutputPanel-BlBQFJSW.js → OutputPanel-B-Rjwgmv.js} +1 -1
- package/dashboard/dist/assets/{ProblemsPanel-De3DLvoI.js → ProblemsPanel-GEpF-oi4.js} +1 -1
- package/dashboard/dist/assets/RequirementBoardPage-xs8uDM7I.js +6 -0
- package/dashboard/dist/assets/{RequirementPage-Bllxe2XI.js → RequirementPage-BKDSFwjA.js} +5 -10
- package/dashboard/dist/assets/SpecsPage-DLFb9ZH0.js +36 -0
- package/dashboard/dist/assets/SupervisorPage-SOki_kgz.js +6 -0
- package/dashboard/dist/assets/TeamsPage-BO2kP70F.js +11 -0
- package/dashboard/dist/assets/{TreeBrowser-Q12qobZs.js → TreeBrowser-B9DHdULE.js} +1 -1
- package/dashboard/dist/assets/{WorkflowPage-D_Fzdy3_.js → WorkflowPage-C8hWbYim.js} +1 -1
- package/dashboard/dist/assets/{check-u6fGOwQO.js → check-DJDk3A2a.js} +1 -1
- package/dashboard/dist/assets/{chevron-right-Csu22t58.js → chevron-right-C7bVDreZ.js} +1 -1
- package/dashboard/dist/assets/{circle-CMrkbRNg.js → circle-Qfgy4LB_.js} +1 -1
- package/dashboard/dist/assets/{circle-alert-c3tH1P4z.js → circle-alert-Na1vf6qQ.js} +1 -1
- package/dashboard/dist/assets/{circle-check-gYxxSYuH.js → circle-check-CEGgy3NV.js} +1 -1
- package/dashboard/dist/assets/{circle-check-big-TDSeWstm.js → circle-check-big-3JB8zRYj.js} +1 -1
- package/dashboard/dist/assets/{code-CFN2uX9V.js → code-Ble63Idz.js} +1 -1
- package/dashboard/dist/assets/{columns-3-38xIDlzy.js → columns-3-BUcKlxve.js} +1 -1
- package/dashboard/dist/assets/{download-DC7KkKyP.js → download-CMqkfn8x.js} +1 -1
- package/dashboard/dist/assets/{folder-CWq_lAnf.js → folder-B9ewx9LL.js} +1 -1
- package/dashboard/dist/assets/index-C2Mcb4TJ.js +231 -0
- package/dashboard/dist/assets/index-DyBbPc18.css +1 -0
- package/dashboard/dist/assets/{index-Do71weNR.js → index-JTmGteaT.js} +1 -1
- package/dashboard/dist/assets/{list-CgIP_2A-.js → list-DI8Wn2aT.js} +1 -1
- package/dashboard/dist/assets/loader-B5F6PzFT.js +11 -0
- package/dashboard/dist/assets/{minus-DYoN5UGk.js → minus-Lp_BfctG.js} +1 -1
- package/dashboard/dist/assets/{pen-line-Bh_WKYHm.js → pen-line-Ch7sphzZ.js} +1 -1
- package/dashboard/dist/assets/pencil-_yRMHmGT.js +6 -0
- package/dashboard/dist/assets/{proxy-BKxDAKTj.js → proxy-D72Y8a4Y.js} +1 -1
- package/dashboard/dist/assets/{search-SieXnOgr.js → search-BS6fI6Bg.js} +1 -1
- package/dashboard/dist/assets/{shallow-Bme1JY57.js → shallow-BXasQBvr.js} +1 -1
- package/dashboard/dist/assets/table-CeGlFjlP.js +6 -0
- package/dashboard/dist/assets/{terminal-BB3Xfuv5.js → terminal-BJic2yW-.js} +1 -1
- package/dashboard/dist/assets/{trash-2-C8f4vFFM.js → trash-2-Czz4X8Fb.js} +1 -1
- package/dashboard/dist/assets/{zap-4uwlzVm0.js → zap-C3H0jVFA.js} +1 -1
- package/dashboard/dist/index.html +2 -2
- package/dashboard/dist-server/dashboard/src/server/agents/agent-manager.js +16 -1
- package/dashboard/dist-server/dashboard/src/server/agents/agent-manager.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.d.ts +9 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +109 -9
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.test.js +49 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/delegate-broker-monitor.js +1 -2
- package/dashboard/dist-server/dashboard/src/server/agents/delegate-broker-monitor.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/commander/commander-prompts.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/server/commander/commander-prompts.js +2 -1
- package/dashboard/dist-server/dashboard/src/server/commander/commander-prompts.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/index.js +3 -0
- package/dashboard/dist-server/dashboard/src/server/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/collab.js +124 -0
- package/dashboard/dist-server/dashboard/src/server/routes/collab.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/index.js +5 -4
- package/dashboard/dist-server/dashboard/src/server/routes/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/specs.d.ts +5 -13
- package/dashboard/dist-server/dashboard/src/server/routes/specs.js +97 -155
- package/dashboard/dist-server/dashboard/src/server/routes/specs.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.d.ts +11 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js +27 -6
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js +25 -7
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/graph-analysis.js +8 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/graph-analysis.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.d.ts +29 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js +148 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js +4 -2
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +8 -2
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.d.ts +5 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +80 -38
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js +8 -6
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-types.d.ts +40 -5
- package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js +21 -23
- package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.d.ts +33 -3
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js +184 -12
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/team-handler.d.ts +10 -0
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/team-handler.js +73 -0
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/team-handler.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/shared/collab-types.d.ts +31 -0
- package/dashboard/dist-server/dashboard/src/shared/collab-types.js +28 -0
- package/dashboard/dist-server/dashboard/src/shared/collab-types.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/constants.js +5 -0
- package/dashboard/dist-server/dashboard/src/shared/constants.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/coordinate-types.d.ts +22 -0
- package/dashboard/dist-server/dashboard/src/shared/issue-types.d.ts +12 -0
- package/dashboard/dist-server/dashboard/src/shared/issue-types.js +12 -0
- package/dashboard/dist-server/dashboard/src/shared/issue-types.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/team-types.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/shared/team-types.js +7 -0
- package/dashboard/dist-server/dashboard/src/shared/team-types.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/ws-protocol.d.ts +27 -1
- package/dashboard/dist-server/dashboard/src/shared/ws-protocol.js.map +1 -1
- package/dashboard/dist-server/shared/agent-types.d.ts +4 -0
- package/dashboard/dist-server/src/commands/delegate.js +26 -0
- package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
- package/dashboard/dist-server/src/coordinator/graph-types.d.ts +11 -1
- package/dashboard/dist-server/src/coordinator/graph-walker.js +29 -2
- package/dashboard/dist-server/src/coordinator/graph-walker.js.map +1 -1
- package/dashboard/dist-server/src/coordinator/prompt-assembler.js +3 -2
- package/dashboard/dist-server/src/coordinator/prompt-assembler.js.map +1 -1
- package/dashboard/dist-server/src/hooks/constants.d.ts +29 -60
- package/dashboard/dist-server/src/hooks/constants.js +105 -82
- package/dashboard/dist-server/src/hooks/constants.js.map +1 -1
- package/dashboard/dist-server/src/types/index.d.ts +2 -1
- package/dist/shared/agent-types.d.ts +4 -0
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +26 -0
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/hooks.d.ts +2 -4
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +4 -7
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +29 -18
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.d.ts +2 -3
- package/dist/src/commands/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.js +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.js +1 -2
- package/dist/src/commands/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/commands/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallFlow.js +5 -7
- package/dist/src/commands/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/commands/install-ui/StatuslineConfig.d.ts +3 -6
- package/dist/src/commands/install-ui/StatuslineConfig.d.ts.map +1 -1
- package/dist/src/commands/install-ui/StatuslineConfig.js +21 -17
- package/dist/src/commands/install-ui/StatuslineConfig.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +95 -0
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +75 -11
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/coordinator/graph-types.d.ts +11 -1
- package/dist/src/coordinator/graph-types.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.js +29 -2
- package/dist/src/coordinator/graph-walker.js.map +1 -1
- package/dist/src/coordinator/prompt-assembler.d.ts.map +1 -1
- package/dist/src/coordinator/prompt-assembler.js +3 -2
- package/dist/src/coordinator/prompt-assembler.js.map +1 -1
- package/dist/src/hooks/__tests__/statusline-visual-test.d.ts +4 -1
- package/dist/src/hooks/__tests__/statusline-visual-test.d.ts.map +1 -1
- package/dist/src/hooks/__tests__/statusline-visual-test.js +55 -152
- package/dist/src/hooks/__tests__/statusline-visual-test.js.map +1 -1
- package/dist/src/hooks/constants.d.ts +29 -60
- package/dist/src/hooks/constants.d.ts.map +1 -1
- package/dist/src/hooks/constants.js +105 -82
- package/dist/src/hooks/constants.js.map +1 -1
- package/dist/src/hooks/skill-context.d.ts +3 -0
- package/dist/src/hooks/skill-context.d.ts.map +1 -1
- package/dist/src/hooks/skill-context.js +149 -15
- package/dist/src/hooks/skill-context.js.map +1 -1
- package/dist/src/hooks/statusline.d.ts +11 -8
- package/dist/src/hooks/statusline.d.ts.map +1 -1
- package/dist/src/hooks/statusline.js +284 -179
- package/dist/src/hooks/statusline.js.map +1 -1
- package/dist/src/hooks/workspace.d.ts.map +1 -1
- package/dist/src/hooks/workspace.js +2 -1
- package/dist/src/hooks/workspace.js.map +1 -1
- package/dist/src/migrations/_template.d.ts +12 -0
- package/dist/src/migrations/_template.d.ts.map +1 -0
- package/dist/src/migrations/_template.js +55 -0
- package/dist/src/migrations/_template.js.map +1 -0
- package/dist/src/migrations/index.d.ts +14 -0
- package/dist/src/migrations/index.d.ts.map +1 -0
- package/dist/src/migrations/index.js +20 -0
- package/dist/src/migrations/index.js.map +1 -0
- package/dist/src/migrations/run.d.ts +12 -0
- package/dist/src/migrations/run.d.ts.map +1 -0
- package/dist/src/migrations/run.js +119 -0
- package/dist/src/migrations/run.js.map +1 -0
- package/dist/src/migrations/v1-to-v2.d.ts +10 -0
- package/dist/src/migrations/v1-to-v2.d.ts.map +1 -0
- package/dist/src/migrations/v1-to-v2.js +71 -0
- package/dist/src/migrations/v1-to-v2.js.map +1 -0
- package/dist/src/tools/merge-validator.d.ts.map +1 -1
- package/dist/src/tools/merge-validator.js +114 -16
- package/dist/src/tools/merge-validator.js.map +1 -1
- package/dist/src/tools/team-activity.d.ts.map +1 -1
- package/dist/src/tools/team-activity.js +22 -0
- package/dist/src/tools/team-activity.js.map +1 -1
- package/dist/src/tools/transition-recorder.d.ts +2 -17
- package/dist/src/tools/transition-recorder.d.ts.map +1 -1
- package/dist/src/tools/transition-recorder.js +6 -3
- package/dist/src/tools/transition-recorder.js.map +1 -1
- package/dist/src/types/index.d.ts +2 -1
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/migration-registry.d.ts +65 -0
- package/dist/src/utils/migration-registry.d.ts.map +1 -0
- package/dist/src/utils/migration-registry.js +117 -0
- package/dist/src/utils/migration-registry.js.map +1 -0
- package/dist/src/utils/state-schema.d.ts +153 -0
- package/dist/src/utils/state-schema.d.ts.map +1 -0
- package/dist/src/utils/state-schema.js +329 -0
- package/dist/src/utils/state-schema.js.map +1 -0
- package/package.json +1 -1
- package/shared/agent-types.ts +4 -0
- package/templates/state.json +17 -39
- package/templates/worktree-scope.json +9 -10
- package/templates/worktrees.json +26 -27
- package/workflows/brainstorm.md +10 -1
- package/workflows/codebase-rebuild.md +2 -12
- package/workflows/debug.md +17 -8
- package/workflows/execute.md +18 -4
- package/workflows/fork.md +52 -37
- package/workflows/init.md +1 -4
- package/workflows/integration-test.md +13 -2
- package/workflows/issue.md +8 -4
- package/workflows/learn.md +25 -10
- package/workflows/maestro.codex.md +8 -1
- package/workflows/maestro.md +13 -3
- package/workflows/memory.md +26 -71
- package/workflows/merge.md +48 -52
- package/workflows/milestone-complete.md +24 -7
- package/workflows/retrospective.md +87 -80
- package/workflows/review.md +11 -5
- package/workflows/specs-remove.md +115 -0
- package/workflows/specs-setup.md +10 -32
- package/workflows/status.md +291 -290
- package/workflows/sync.md +5 -5
- package/workflows/test.md +11 -2
- package/workflows/ui-style.md +8 -2
- package/workflows/verify.md +2 -2
- package/workflows/wiki-connect.md +188 -0
- package/workflows/wiki-digest.md +221 -0
- package/workflows/wiki-manage.md +204 -0
- package/dashboard/dist/assets/ChatInput-Bvr-FeEq.js +0 -49
- package/dashboard/dist/assets/ChatPage-D9zTkJZo.js +0 -22
- package/dashboard/dist/assets/KanbanPage-C8USth6H.js +0 -21
- package/dashboard/dist/assets/RequirementBoardPage-Bf1trzqs.js +0 -11
- package/dashboard/dist/assets/SpecsPage-9lwxKT27.js +0 -36
- package/dashboard/dist/assets/SupervisorPage-SusdfHFq.js +0 -6
- package/dashboard/dist/assets/TeamsPage-DsuM6OwC.js +0 -6
- package/dashboard/dist/assets/arrow-left-Bqtb2hle.js +0 -6
- package/dashboard/dist/assets/index-DWG-WrzT.js +0 -231
- package/dashboard/dist/assets/index-GUNJodSR.css +0 -1
- package/dashboard/dist/assets/table-llyEtj-7.js +0 -6
|
@@ -1,103 +1,101 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: workflow-debugger
|
|
3
|
-
description: Hypothesis-driven debugging with structured evidence logging
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Write
|
|
7
|
-
- Edit
|
|
8
|
-
- Glob
|
|
9
|
-
- Grep
|
|
10
|
-
- Bash
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# Workflow Debugger
|
|
14
|
-
|
|
15
|
-
## Role
|
|
16
|
-
You perform hypothesis-driven debugging of issues identified by verification or testing. You form hypotheses, design experiments, execute them, and log structured evidence. You iterate until the root cause is found and a fix is implemented, or you reach a checkpoint requiring user input. Maximum 5 hypothesis cycles before checkpoint.
|
|
17
|
-
|
|
18
|
-
## Search Tools
|
|
19
|
-
@~/.maestro/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
20
|
-
|
|
21
|
-
## Process
|
|
22
|
-
|
|
23
|
-
1. **Understand gap** -- Read the verification gap or test failure to debug
|
|
24
|
-
2. **Form hypothesis** -- State a testable hypothesis about the root cause
|
|
25
|
-
3. **Design experiment** -- Define a specific action to test the hypothesis
|
|
26
|
-
4. **Execute** -- Run the experiment and capture results
|
|
27
|
-
5. **Log evidence** -- Append structured evidence to NDJSON log
|
|
28
|
-
6. **Evaluate** -- Did the evidence confirm or refute the hypothesis?
|
|
29
|
-
- Confirmed: implement fix, verify, log resolution
|
|
30
|
-
- Refuted: form new hypothesis, return to step 2
|
|
31
|
-
- Ambiguous: gather more evidence
|
|
32
|
-
7. **Update understanding** -- Maintain understanding.md with current mental model
|
|
33
|
-
8. **Checkpoint** -- If stuck after 5 hypothesis cycles or need user input, return `## CHECKPOINT REACHED`
|
|
34
|
-
|
|
35
|
-
### Evidence Format (NDJSON)
|
|
36
|
-
Each line in evidence.ndjson:
|
|
37
|
-
```json
|
|
38
|
-
{"timestamp": "ISO-8601", "hypothesis": "...", "action": "...", "result": "...", "conclusion": "confirmed|refuted|inconclusive"}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Cycle Tracking
|
|
42
|
-
- Track hypothesis count explicitly (cycle 1 of 5, cycle 2 of 5, etc.)
|
|
43
|
-
- At cycle 5 without resolution, mandatory checkpoint
|
|
44
|
-
- Each cycle must produce at least one evidence entry
|
|
45
|
-
|
|
46
|
-
## Input
|
|
47
|
-
- Verification gap from `verification.json` or test failure description
|
|
48
|
-
- Codebase access for investigation and fixing
|
|
49
|
-
- Prior debug sessions from `.debug/` (if any)
|
|
50
|
-
- **Project specs** — `maestro spec load --category debug`: known issues, root causes, workarounds. Check before forming hypotheses to avoid re-investigating known problems.
|
|
51
|
-
|
|
52
|
-
## Output
|
|
53
|
-
- Debug session directory with:
|
|
54
|
-
- `understanding.md` -- Current mental model of the issue:
|
|
55
|
-
```
|
|
56
|
-
# Debug: <Gap Description>
|
|
57
|
-
|
|
58
|
-
## Current Understanding
|
|
59
|
-
<What we know so far>
|
|
60
|
-
|
|
61
|
-
## Root Cause
|
|
62
|
-
<Identified root cause, or "Under investigation">
|
|
63
|
-
|
|
64
|
-
## Fix Applied
|
|
65
|
-
<Description of fix, or "Pending">
|
|
66
|
-
|
|
67
|
-
## Hypotheses Tested
|
|
68
|
-
1. <Hypothesis>: <confirmed|refuted> -- <evidence summary>
|
|
69
|
-
```
|
|
70
|
-
- `evidence.ndjson` -- Structured evidence log
|
|
71
|
-
- Code fix (if root cause found and fix implemented)
|
|
72
|
-
|
|
73
|
-
## Constraints
|
|
74
|
-
- Always form an explicit hypothesis before investigating
|
|
75
|
-
- Log every experiment, even failed ones
|
|
76
|
-
- Maximum 5 hypothesis cycles before checkpoint
|
|
77
|
-
- Return `## CHECKPOINT REACHED` when user input is needed
|
|
78
|
-
- Never apply speculative fixes; fix only after root cause is confirmed
|
|
79
|
-
- Preserve evidence trail for future reference
|
|
80
|
-
|
|
81
|
-
## Schema Reference
|
|
82
|
-
- No task/plan schema used directly by debugger
|
|
83
|
-
- Consumes `verification.json` output (from workflow-verifier) as input for gap descriptions
|
|
84
|
-
- Consumes `convergence.criteria` from task JSON indirectly via verification gaps
|
|
85
|
-
- Reference: `templates/verification.json` for understanding gap format
|
|
86
|
-
|
|
87
|
-
## Output Location
|
|
88
|
-
- **
|
|
89
|
-
- **
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
- **
|
|
95
|
-
- **
|
|
96
|
-
- **
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
- Request for user guidance
|
|
103
|
-
- **Prior debug session exists**: Read prior evidence.ndjson and understanding.md before starting; do not repeat already-refuted hypotheses
|
|
1
|
+
---
|
|
2
|
+
name: workflow-debugger
|
|
3
|
+
description: Hypothesis-driven debugging with structured evidence logging
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Bash
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Workflow Debugger
|
|
14
|
+
|
|
15
|
+
## Role
|
|
16
|
+
You perform hypothesis-driven debugging of issues identified by verification or testing. You form hypotheses, design experiments, execute them, and log structured evidence. You iterate until the root cause is found and a fix is implemented, or you reach a checkpoint requiring user input. Maximum 5 hypothesis cycles before checkpoint.
|
|
17
|
+
|
|
18
|
+
## Search Tools
|
|
19
|
+
@~/.maestro/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
|
|
23
|
+
1. **Understand gap** -- Read the verification gap or test failure to debug
|
|
24
|
+
2. **Form hypothesis** -- State a testable hypothesis about the root cause
|
|
25
|
+
3. **Design experiment** -- Define a specific action to test the hypothesis
|
|
26
|
+
4. **Execute** -- Run the experiment and capture results
|
|
27
|
+
5. **Log evidence** -- Append structured evidence to NDJSON log
|
|
28
|
+
6. **Evaluate** -- Did the evidence confirm or refute the hypothesis?
|
|
29
|
+
- Confirmed: implement fix, verify, log resolution
|
|
30
|
+
- Refuted: form new hypothesis, return to step 2
|
|
31
|
+
- Ambiguous: gather more evidence
|
|
32
|
+
7. **Update understanding** -- Maintain understanding.md with current mental model
|
|
33
|
+
8. **Checkpoint** -- If stuck after 5 hypothesis cycles or need user input, return `## CHECKPOINT REACHED`
|
|
34
|
+
|
|
35
|
+
### Evidence Format (NDJSON)
|
|
36
|
+
Each line in evidence.ndjson:
|
|
37
|
+
```json
|
|
38
|
+
{"timestamp": "ISO-8601", "hypothesis": "...", "action": "...", "result": "...", "conclusion": "confirmed|refuted|inconclusive"}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Cycle Tracking
|
|
42
|
+
- Track hypothesis count explicitly (cycle 1 of 5, cycle 2 of 5, etc.)
|
|
43
|
+
- At cycle 5 without resolution, mandatory checkpoint
|
|
44
|
+
- Each cycle must produce at least one evidence entry
|
|
45
|
+
|
|
46
|
+
## Input
|
|
47
|
+
- Verification gap from `verification.json` or test failure description
|
|
48
|
+
- Codebase access for investigation and fixing
|
|
49
|
+
- Prior debug sessions from `.debug/` (if any)
|
|
50
|
+
- **Project specs** — `maestro spec load --category debug`: known issues, root causes, workarounds. Check before forming hypotheses to avoid re-investigating known problems.
|
|
51
|
+
|
|
52
|
+
## Output
|
|
53
|
+
- Debug session directory with:
|
|
54
|
+
- `understanding.md` -- Current mental model of the issue:
|
|
55
|
+
```
|
|
56
|
+
# Debug: <Gap Description>
|
|
57
|
+
|
|
58
|
+
## Current Understanding
|
|
59
|
+
<What we know so far>
|
|
60
|
+
|
|
61
|
+
## Root Cause
|
|
62
|
+
<Identified root cause, or "Under investigation">
|
|
63
|
+
|
|
64
|
+
## Fix Applied
|
|
65
|
+
<Description of fix, or "Pending">
|
|
66
|
+
|
|
67
|
+
## Hypotheses Tested
|
|
68
|
+
1. <Hypothesis>: <confirmed|refuted> -- <evidence summary>
|
|
69
|
+
```
|
|
70
|
+
- `evidence.ndjson` -- Structured evidence log
|
|
71
|
+
- Code fix (if root cause found and fix implemented)
|
|
72
|
+
|
|
73
|
+
## Constraints
|
|
74
|
+
- Always form an explicit hypothesis before investigating
|
|
75
|
+
- Log every experiment, even failed ones
|
|
76
|
+
- Maximum 5 hypothesis cycles before checkpoint
|
|
77
|
+
- Return `## CHECKPOINT REACHED` when user input is needed
|
|
78
|
+
- Never apply speculative fixes; fix only after root cause is confirmed
|
|
79
|
+
- Preserve evidence trail for future reference
|
|
80
|
+
|
|
81
|
+
## Schema Reference
|
|
82
|
+
- No task/plan schema used directly by debugger
|
|
83
|
+
- Consumes `verification.json` output (from workflow-verifier) as input for gap descriptions
|
|
84
|
+
- Consumes `convergence.criteria` from task JSON indirectly via verification gaps
|
|
85
|
+
- Reference: `templates/verification.json` for understanding gap format
|
|
86
|
+
|
|
87
|
+
## Output Location
|
|
88
|
+
- **Scratch debugging**: `.workflow/scratch/debug-{slug}/understanding.md` and `.workflow/scratch/debug-{slug}/evidence.ndjson`
|
|
89
|
+
- **Code fixes**: Applied directly to project source files (not in .debug directory)
|
|
90
|
+
|
|
91
|
+
## Error Behavior
|
|
92
|
+
- **Gap description unclear**: Request clarification via `## CHECKPOINT REACHED` before forming hypotheses
|
|
93
|
+
- **Experiment produces no output**: Log as inconclusive evidence, note environment issue, try alternative experiment
|
|
94
|
+
- **Fix breaks other tests**: Revert fix, log as new evidence, form refined hypothesis about side effects
|
|
95
|
+
- **Cannot reproduce issue**: Log reproduction attempts as evidence, checkpoint with environment details
|
|
96
|
+
- **Cycle limit reached (5 hypotheses)**: Mandatory `## CHECKPOINT REACHED` with:
|
|
97
|
+
- Summary of all hypotheses tested
|
|
98
|
+
- Current best understanding
|
|
99
|
+
- Suggested next investigation directions
|
|
100
|
+
- Request for user guidance
|
|
101
|
+
- **Prior debug session exists**: Read prior evidence.ndjson and understanding.md before starting; do not repeat already-refuted hypotheses
|
|
@@ -1,128 +1,127 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: workflow-executor
|
|
3
|
-
description: Implements single tasks atomically with verification and commit discipline
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Write
|
|
7
|
-
- Edit
|
|
8
|
-
- Glob
|
|
9
|
-
- Grep
|
|
10
|
-
- Bash
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# Workflow Executor
|
|
14
|
-
|
|
15
|
-
## Role
|
|
16
|
-
You implement a single task from the execution plan. Each task is executed atomically: you make the code changes, verify the convergence criteria are met, run test commands if defined, create an atomic git commit, and write a completion summary. You never modify code outside the task's scope.
|
|
17
|
-
|
|
18
|
-
## Search Tools
|
|
19
|
-
@~/.maestro/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
20
|
-
|
|
21
|
-
## Process
|
|
22
|
-
|
|
23
|
-
1. **Load task** -- Read the assigned `.task/TASK-{NNN}.json` file
|
|
24
|
-
2. **Check dependencies** -- If `depends_on[]` is non-empty, verify each dependency task has `status: "completed"`; if any is incomplete, stop and report
|
|
25
|
-
3. **Read first** -- Read every file in `read_first[]` before touching anything (current state of files being modified + source of truth files)
|
|
26
|
-
4. **Understand context** -- Read `reference.files`, prior task summaries from `.summaries/`, and `action` field for concrete target state
|
|
27
|
-
5. **Read implementation steps** -- Review the `implementation` array for execution guidance and step ordering
|
|
28
|
-
6. **Plan approach** -- Determine implementation steps (internal, not written)
|
|
29
|
-
7. **Implement** -- Make the code changes within `scope`/`focus_paths`, following `implementation` steps order
|
|
30
|
-
8. **Verify** -- Check every `convergence.criteria` item:
|
|
31
|
-
- Run `test.commands` if defined
|
|
32
|
-
- Run tests if applicable
|
|
33
|
-
- Check file existence and content
|
|
34
|
-
- Validate compilation/build
|
|
35
|
-
9. **Commit** -- Create an atomic git commit with message referencing the task ID
|
|
36
|
-
10. **Write summary** -- Document what was done, files changed, and any deviations
|
|
37
|
-
11. **Update status** -- Set `status` to `"completed"` in the task JSON (top-level field)
|
|
38
|
-
|
|
39
|
-
## Input
|
|
40
|
-
- `.task/TASK-{NNN}.json` -- Task definition with:
|
|
41
|
-
- `action` -- Concrete action with exact values (the target state, not vague references)
|
|
42
|
-
- `description` -- What to implement
|
|
43
|
-
- `status` -- Top-level status field (`pending` → `completed`)
|
|
44
|
-
- `scope` -- Module path limiting modification area
|
|
45
|
-
- `focus_paths` -- Additional paths within scope
|
|
46
|
-
- `read_first` -- Files to read BEFORE any modification (current state + source of truth)
|
|
47
|
-
- `depends_on` -- Task IDs that must be completed first
|
|
48
|
-
- `convergence.criteria` -- Array of testable success conditions
|
|
49
|
-
- `convergence.verification` -- Verification command or steps
|
|
50
|
-
- `files` -- Array of `{path, action, target, change}` describing file operations
|
|
51
|
-
- `implementation` -- Ordered array of implementation steps
|
|
52
|
-
- `test.commands` -- Commands to run for validation
|
|
53
|
-
- `reference.files` -- Existing files to study for patterns
|
|
54
|
-
- `reference.pattern` -- Pattern to follow
|
|
55
|
-
- `issue_id` -- Linked issue ID (if from gap-fix planning, include in commit message)
|
|
56
|
-
- **Project specs** (MANDATORY) -- Loaded via `maestro spec load --category coding`:
|
|
57
|
-
- Coding conventions (formatting, naming, imports, patterns)
|
|
58
|
-
- Quality rules (enforcement criteria)
|
|
59
|
-
- All specs with `readMode: required` and `category: execution`
|
|
60
|
-
- **Must comply**: All generated code must follow loaded spec constraints
|
|
61
|
-
- Prior task summaries from `.summaries/` (for context on dependencies)
|
|
62
|
-
- `context.md` -- Phase context with Locked/Free/Deferred decisions (read to understand constraints before implementing)
|
|
63
|
-
- `analysis.md` -- Phase analysis with 6-dimension scores (reference for quality expectations)
|
|
64
|
-
- Codebase access for implementation
|
|
65
|
-
|
|
66
|
-
## Output
|
|
67
|
-
- Code changes (the actual implementation)
|
|
68
|
-
- `.summaries/TASK-{NNN}-summary.md`:
|
|
69
|
-
```
|
|
70
|
-
# TASK-{NNN}: <Title>
|
|
71
|
-
|
|
72
|
-
## Changes
|
|
73
|
-
- `<file>`: <what changed>
|
|
74
|
-
|
|
75
|
-
## Verification
|
|
76
|
-
- [x] <convergence.criteria[0]>: <how verified>
|
|
77
|
-
- [x] <convergence.criteria[1]>: <how verified>
|
|
78
|
-
|
|
79
|
-
## Tests
|
|
80
|
-
- [x] <test.commands[0]>: <pass/fail with output summary>
|
|
81
|
-
|
|
82
|
-
## Deviations
|
|
83
|
-
- <Any differences from plan, or "None">
|
|
84
|
-
|
|
85
|
-
## Notes
|
|
86
|
-
- <Anything the next task should know>
|
|
87
|
-
```
|
|
88
|
-
- Updated `.task/TASK-{NNN}.json` with `"status": "completed"` (top-level field)
|
|
89
|
-
|
|
90
|
-
## Constraints
|
|
91
|
-
- Never modify files outside `scope`/`focus_paths`; if a needed change is outside scope, report it as a deviation
|
|
92
|
-
- Always read `read_first[]` files before implementation; never assume file contents
|
|
93
|
-
- Never skip verification; if a convergence criterion cannot be met, report the deviation
|
|
94
|
-
- Must follow implementation steps order when `implementation` array is defined
|
|
95
|
-
- Must run test.commands if defined in the task; report results in summary
|
|
96
|
-
- One commit per task; commit message format: `TASK-{NNN}: <title>` (append `[{issue_id}]` if linked)
|
|
97
|
-
- If a dependency task (`depends_on[]`) is not completed, stop and report
|
|
98
|
-
- Do not refactor or improve code beyond what the task requires
|
|
99
|
-
- Report deviations honestly; never silently change scope
|
|
100
|
-
|
|
101
|
-
## Schema Reference
|
|
102
|
-
- **Task schema**: `templates/task.json` -- Canonical field definitions for task JSON
|
|
103
|
-
- Key fields used during execution:
|
|
104
|
-
- `action` -- Concrete target state with exact values
|
|
105
|
-
- `read_first[]` -- Mandatory pre-read files (current state + source of truth)
|
|
106
|
-
- `depends_on[]` -- Prerequisite task IDs
|
|
107
|
-
- `scope` / `focus_paths[]` -- Modification boundaries
|
|
108
|
-
- `convergence.criteria` -- Success conditions to verify (replaces deprecated `done_when`)
|
|
109
|
-
- `files[].{path, action, target, change}` -- File operations (replaces deprecated `files: ["path"]`)
|
|
110
|
-
- `implementation[]` -- Ordered implementation steps
|
|
111
|
-
- `test.commands[]` -- Validation commands to run
|
|
112
|
-
- `reference.{pattern, files}` -- Patterns and examples to follow
|
|
113
|
-
- `status` -- Top-level task status field to update on completion
|
|
114
|
-
- `issue_id` -- Linked issue for commit message annotation
|
|
115
|
-
|
|
116
|
-
## Output Location
|
|
117
|
-
- **
|
|
118
|
-
- **
|
|
119
|
-
- **
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
- **
|
|
124
|
-
- **
|
|
125
|
-
- **
|
|
126
|
-
- **
|
|
127
|
-
- **
|
|
128
|
-
- **Checkpoints**: Return `## CHECKPOINT REACHED` with specific blocker description when user input is needed
|
|
1
|
+
---
|
|
2
|
+
name: workflow-executor
|
|
3
|
+
description: Implements single tasks atomically with verification and commit discipline
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Bash
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Workflow Executor
|
|
14
|
+
|
|
15
|
+
## Role
|
|
16
|
+
You implement a single task from the execution plan. Each task is executed atomically: you make the code changes, verify the convergence criteria are met, run test commands if defined, create an atomic git commit, and write a completion summary. You never modify code outside the task's scope.
|
|
17
|
+
|
|
18
|
+
## Search Tools
|
|
19
|
+
@~/.maestro/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
|
|
23
|
+
1. **Load task** -- Read the assigned `.task/TASK-{NNN}.json` file
|
|
24
|
+
2. **Check dependencies** -- If `depends_on[]` is non-empty, verify each dependency task has `status: "completed"`; if any is incomplete, stop and report
|
|
25
|
+
3. **Read first** -- Read every file in `read_first[]` before touching anything (current state of files being modified + source of truth files)
|
|
26
|
+
4. **Understand context** -- Read `reference.files`, prior task summaries from `.summaries/`, and `action` field for concrete target state
|
|
27
|
+
5. **Read implementation steps** -- Review the `implementation` array for execution guidance and step ordering
|
|
28
|
+
6. **Plan approach** -- Determine implementation steps (internal, not written)
|
|
29
|
+
7. **Implement** -- Make the code changes within `scope`/`focus_paths`, following `implementation` steps order
|
|
30
|
+
8. **Verify** -- Check every `convergence.criteria` item:
|
|
31
|
+
- Run `test.commands` if defined
|
|
32
|
+
- Run tests if applicable
|
|
33
|
+
- Check file existence and content
|
|
34
|
+
- Validate compilation/build
|
|
35
|
+
9. **Commit** -- Create an atomic git commit with message referencing the task ID
|
|
36
|
+
10. **Write summary** -- Document what was done, files changed, and any deviations
|
|
37
|
+
11. **Update status** -- Set `status` to `"completed"` in the task JSON (top-level field)
|
|
38
|
+
|
|
39
|
+
## Input
|
|
40
|
+
- `.task/TASK-{NNN}.json` -- Task definition with:
|
|
41
|
+
- `action` -- Concrete action with exact values (the target state, not vague references)
|
|
42
|
+
- `description` -- What to implement
|
|
43
|
+
- `status` -- Top-level status field (`pending` → `completed`)
|
|
44
|
+
- `scope` -- Module path limiting modification area
|
|
45
|
+
- `focus_paths` -- Additional paths within scope
|
|
46
|
+
- `read_first` -- Files to read BEFORE any modification (current state + source of truth)
|
|
47
|
+
- `depends_on` -- Task IDs that must be completed first
|
|
48
|
+
- `convergence.criteria` -- Array of testable success conditions
|
|
49
|
+
- `convergence.verification` -- Verification command or steps
|
|
50
|
+
- `files` -- Array of `{path, action, target, change}` describing file operations
|
|
51
|
+
- `implementation` -- Ordered array of implementation steps
|
|
52
|
+
- `test.commands` -- Commands to run for validation
|
|
53
|
+
- `reference.files` -- Existing files to study for patterns
|
|
54
|
+
- `reference.pattern` -- Pattern to follow
|
|
55
|
+
- `issue_id` -- Linked issue ID (if from gap-fix planning, include in commit message)
|
|
56
|
+
- **Project specs** (MANDATORY) -- Loaded via `maestro spec load --category coding`:
|
|
57
|
+
- Coding conventions (formatting, naming, imports, patterns)
|
|
58
|
+
- Quality rules (enforcement criteria)
|
|
59
|
+
- All specs with `readMode: required` and `category: execution`
|
|
60
|
+
- **Must comply**: All generated code must follow loaded spec constraints
|
|
61
|
+
- Prior task summaries from `.summaries/` (for context on dependencies)
|
|
62
|
+
- `context.md` -- Phase context with Locked/Free/Deferred decisions (read to understand constraints before implementing)
|
|
63
|
+
- `analysis.md` -- Phase analysis with 6-dimension scores (reference for quality expectations)
|
|
64
|
+
- Codebase access for implementation
|
|
65
|
+
|
|
66
|
+
## Output
|
|
67
|
+
- Code changes (the actual implementation)
|
|
68
|
+
- `.summaries/TASK-{NNN}-summary.md`:
|
|
69
|
+
```
|
|
70
|
+
# TASK-{NNN}: <Title>
|
|
71
|
+
|
|
72
|
+
## Changes
|
|
73
|
+
- `<file>`: <what changed>
|
|
74
|
+
|
|
75
|
+
## Verification
|
|
76
|
+
- [x] <convergence.criteria[0]>: <how verified>
|
|
77
|
+
- [x] <convergence.criteria[1]>: <how verified>
|
|
78
|
+
|
|
79
|
+
## Tests
|
|
80
|
+
- [x] <test.commands[0]>: <pass/fail with output summary>
|
|
81
|
+
|
|
82
|
+
## Deviations
|
|
83
|
+
- <Any differences from plan, or "None">
|
|
84
|
+
|
|
85
|
+
## Notes
|
|
86
|
+
- <Anything the next task should know>
|
|
87
|
+
```
|
|
88
|
+
- Updated `.task/TASK-{NNN}.json` with `"status": "completed"` (top-level field)
|
|
89
|
+
|
|
90
|
+
## Constraints
|
|
91
|
+
- Never modify files outside `scope`/`focus_paths`; if a needed change is outside scope, report it as a deviation
|
|
92
|
+
- Always read `read_first[]` files before implementation; never assume file contents
|
|
93
|
+
- Never skip verification; if a convergence criterion cannot be met, report the deviation
|
|
94
|
+
- Must follow implementation steps order when `implementation` array is defined
|
|
95
|
+
- Must run test.commands if defined in the task; report results in summary
|
|
96
|
+
- One commit per task; commit message format: `TASK-{NNN}: <title>` (append `[{issue_id}]` if linked)
|
|
97
|
+
- If a dependency task (`depends_on[]`) is not completed, stop and report
|
|
98
|
+
- Do not refactor or improve code beyond what the task requires
|
|
99
|
+
- Report deviations honestly; never silently change scope
|
|
100
|
+
|
|
101
|
+
## Schema Reference
|
|
102
|
+
- **Task schema**: `templates/task.json` -- Canonical field definitions for task JSON
|
|
103
|
+
- Key fields used during execution:
|
|
104
|
+
- `action` -- Concrete target state with exact values
|
|
105
|
+
- `read_first[]` -- Mandatory pre-read files (current state + source of truth)
|
|
106
|
+
- `depends_on[]` -- Prerequisite task IDs
|
|
107
|
+
- `scope` / `focus_paths[]` -- Modification boundaries
|
|
108
|
+
- `convergence.criteria` -- Success conditions to verify (replaces deprecated `done_when`)
|
|
109
|
+
- `files[].{path, action, target, change}` -- File operations (replaces deprecated `files: ["path"]`)
|
|
110
|
+
- `implementation[]` -- Ordered implementation steps
|
|
111
|
+
- `test.commands[]` -- Validation commands to run
|
|
112
|
+
- `reference.{pattern, files}` -- Patterns and examples to follow
|
|
113
|
+
- `status` -- Top-level task status field to update on completion
|
|
114
|
+
- `issue_id` -- Linked issue for commit message annotation
|
|
115
|
+
|
|
116
|
+
## Output Location
|
|
117
|
+
- **Scratch execution**: `.workflow/scratch/{slug}/.summaries/TASK-{NNN}-summary.md`
|
|
118
|
+
- **Task status updates**: In-place update of `.task/TASK-{NNN}.json` (set top-level `status`)
|
|
119
|
+
- **Git commits**: One atomic commit per task in the project repository
|
|
120
|
+
|
|
121
|
+
## Error Behavior
|
|
122
|
+
- **Dependency not completed**: Stop immediately -- report which `depends_on[]` task is missing and its current status
|
|
123
|
+
- **Convergence criterion cannot be met**: Log deviation in summary, continue with remaining criteria, set `status` to `"completed_with_deviations"`
|
|
124
|
+
- **Build/compile failure**: Attempt fix within task scope (max 3 attempts); if unresolvable, checkpoint
|
|
125
|
+
- **Test failure**: Log failure details, attempt fix within scope; if test is outside scope, report deviation
|
|
126
|
+
- **File conflict (unexpected changes)**: Stop and report -- do not overwrite unrelated changes
|
|
127
|
+
- **Checkpoints**: Return `## CHECKPOINT REACHED` with specific blocker description when user input is needed
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: workflow-integration-checker
|
|
3
|
-
description: Cross-phase integration validation for milestone audits
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Glob
|
|
7
|
-
- Grep
|
|
8
|
-
- Bash
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Integration Checker
|
|
12
|
-
|
|
13
|
-
## Role
|
|
14
|
-
You validate cross-phase integration at milestone boundaries. You check that shared interfaces match across phases, data contracts are honored, and no cross-phase dependencies are broken. You are invoked during milestone audits to ensure phases compose correctly.
|
|
15
|
-
|
|
16
|
-
## Search Tools
|
|
17
|
-
@~/.maestro/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
18
|
-
|
|
19
|
-
## Schema Reference
|
|
20
|
-
N/A -- reads code artifacts, not task JSON.
|
|
21
|
-
|
|
22
|
-
## Process
|
|
23
|
-
|
|
24
|
-
1. **Identify interfaces** -- Scan for shared interfaces, types, APIs, and data contracts across phases
|
|
25
|
-
2. **Check contract compliance** -- Verify that producers and consumers of each interface agree on shape:
|
|
26
|
-
- Type definitions match usage
|
|
27
|
-
- API request/response schemas are consistent
|
|
28
|
-
- Event names and payloads align
|
|
29
|
-
3. **Check dependency health** -- Verify cross-phase imports resolve and function:
|
|
30
|
-
- Run import/require resolution
|
|
31
|
-
- Check for circular dependencies across phase boundaries
|
|
32
|
-
- Validate version compatibility of shared dependencies
|
|
33
|
-
4. **Check data flow** -- Trace data through phase boundaries:
|
|
34
|
-
- Input/output formats match
|
|
35
|
-
- Error propagation is handled
|
|
36
|
-
- Edge cases at boundaries are covered
|
|
37
|
-
5. **Write report** -- Output integration audit report
|
|
38
|
-
|
|
39
|
-
## Input
|
|
40
|
-
- Completed phase artifacts (code, configs, tests)
|
|
41
|
-
- Phase definitions
|
|
42
|
-
- Task summaries from `.summaries/`
|
|
43
|
-
|
|
44
|
-
## Output Location
|
|
45
|
-
`.workflow/
|
|
46
|
-
|
|
47
|
-
## Output
|
|
48
|
-
Integration audit report at the output location above:
|
|
49
|
-
```
|
|
50
|
-
# Integration Audit: <Milestone>
|
|
51
|
-
|
|
52
|
-
## Status: PASS | FAIL
|
|
53
|
-
|
|
54
|
-
## Interface Checks
|
|
55
|
-
| Interface | Producer | Consumer | Status | Issue |
|
|
56
|
-
|-----------|----------|----------|--------|-------|
|
|
57
|
-
| UserAPI | Phase 1 | Phase 2 | PASS | - |
|
|
58
|
-
| AuthToken | Phase 1 | Phase 3 | FAIL | Type mismatch at field `expires` |
|
|
59
|
-
|
|
60
|
-
## Dependency Health
|
|
61
|
-
- Cross-phase circular dependencies: <none | list>
|
|
62
|
-
- Shared dependency version conflicts: <none | list>
|
|
63
|
-
|
|
64
|
-
## Data Flow Issues
|
|
65
|
-
- <Issue description with file:line references>
|
|
66
|
-
|
|
67
|
-
## Recommendations
|
|
68
|
-
- <Specific fix for each FAIL item>
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## Error Behavior
|
|
72
|
-
- If import resolution fails for a module: note as "unresolvable" in the Interface Checks table with the error message
|
|
73
|
-
- If a phase directory is missing or empty: skip that phase, note "Phase {N} artifacts not found" in the report
|
|
74
|
-
- If Bash commands (e.g., tsc, dependency checks) fail to run: fall back to static analysis via Grep/Read and note "dynamic analysis unavailable" in the report
|
|
75
|
-
- If .summaries/ is empty: proceed with code-only analysis and note "no task summaries available for cross-reference"
|
|
76
|
-
|
|
77
|
-
## Constraints
|
|
78
|
-
- Read-only; never modify project files
|
|
79
|
-
- Every finding must include file:line evidence
|
|
80
|
-
- Check actual code, not just documentation
|
|
81
|
-
- Focus on boundaries between phases, not internal phase quality
|
|
82
|
-
- Report both failures and near-misses (things that work but are fragile)
|
|
1
|
+
---
|
|
2
|
+
name: workflow-integration-checker
|
|
3
|
+
description: Cross-phase integration validation for milestone audits
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Glob
|
|
7
|
+
- Grep
|
|
8
|
+
- Bash
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Integration Checker
|
|
12
|
+
|
|
13
|
+
## Role
|
|
14
|
+
You validate cross-phase integration at milestone boundaries. You check that shared interfaces match across phases, data contracts are honored, and no cross-phase dependencies are broken. You are invoked during milestone audits to ensure phases compose correctly.
|
|
15
|
+
|
|
16
|
+
## Search Tools
|
|
17
|
+
@~/.maestro/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
18
|
+
|
|
19
|
+
## Schema Reference
|
|
20
|
+
N/A -- reads code artifacts, not task JSON.
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. **Identify interfaces** -- Scan for shared interfaces, types, APIs, and data contracts across phases
|
|
25
|
+
2. **Check contract compliance** -- Verify that producers and consumers of each interface agree on shape:
|
|
26
|
+
- Type definitions match usage
|
|
27
|
+
- API request/response schemas are consistent
|
|
28
|
+
- Event names and payloads align
|
|
29
|
+
3. **Check dependency health** -- Verify cross-phase imports resolve and function:
|
|
30
|
+
- Run import/require resolution
|
|
31
|
+
- Check for circular dependencies across phase boundaries
|
|
32
|
+
- Validate version compatibility of shared dependencies
|
|
33
|
+
4. **Check data flow** -- Trace data through phase boundaries:
|
|
34
|
+
- Input/output formats match
|
|
35
|
+
- Error propagation is handled
|
|
36
|
+
- Edge cases at boundaries are covered
|
|
37
|
+
5. **Write report** -- Output integration audit report
|
|
38
|
+
|
|
39
|
+
## Input
|
|
40
|
+
- Completed phase artifacts (code, configs, tests)
|
|
41
|
+
- Phase/scratch definitions (resolved via state.json artifact registry)
|
|
42
|
+
- Task summaries from `.summaries/`
|
|
43
|
+
|
|
44
|
+
## Output Location
|
|
45
|
+
`.workflow/scratch/{milestone}/integration-audit.md`
|
|
46
|
+
|
|
47
|
+
## Output
|
|
48
|
+
Integration audit report at the output location above:
|
|
49
|
+
```
|
|
50
|
+
# Integration Audit: <Milestone>
|
|
51
|
+
|
|
52
|
+
## Status: PASS | FAIL
|
|
53
|
+
|
|
54
|
+
## Interface Checks
|
|
55
|
+
| Interface | Producer | Consumer | Status | Issue |
|
|
56
|
+
|-----------|----------|----------|--------|-------|
|
|
57
|
+
| UserAPI | Phase 1 | Phase 2 | PASS | - |
|
|
58
|
+
| AuthToken | Phase 1 | Phase 3 | FAIL | Type mismatch at field `expires` |
|
|
59
|
+
|
|
60
|
+
## Dependency Health
|
|
61
|
+
- Cross-phase circular dependencies: <none | list>
|
|
62
|
+
- Shared dependency version conflicts: <none | list>
|
|
63
|
+
|
|
64
|
+
## Data Flow Issues
|
|
65
|
+
- <Issue description with file:line references>
|
|
66
|
+
|
|
67
|
+
## Recommendations
|
|
68
|
+
- <Specific fix for each FAIL item>
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Error Behavior
|
|
72
|
+
- If import resolution fails for a module: note as "unresolvable" in the Interface Checks table with the error message
|
|
73
|
+
- If a phase directory is missing or empty: skip that phase, note "Phase {N} artifacts not found" in the report
|
|
74
|
+
- If Bash commands (e.g., tsc, dependency checks) fail to run: fall back to static analysis via Grep/Read and note "dynamic analysis unavailable" in the report
|
|
75
|
+
- If .summaries/ is empty: proceed with code-only analysis and note "no task summaries available for cross-reference"
|
|
76
|
+
|
|
77
|
+
## Constraints
|
|
78
|
+
- Read-only; never modify project files
|
|
79
|
+
- Every finding must include file:line evidence
|
|
80
|
+
- Check actual code, not just documentation
|
|
81
|
+
- Focus on boundaries between phases, not internal phase quality
|
|
82
|
+
- Report both failures and near-misses (things that work but are fragile)
|