claude-code-workflow 7.2.27 → 7.2.29
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/.ccw/specs/architecture-constraints.md +5 -0
- package/.claude/skills/_shared/SKILL-DESIGN-SPEC.md +140 -0
- package/.claude/skills/investigate/SKILL.md +110 -0
- package/.claude/skills/investigate/phases/01-root-cause-investigation.md +132 -0
- package/.claude/skills/investigate/phases/02-pattern-analysis.md +126 -0
- package/.claude/skills/investigate/phases/03-hypothesis-testing.md +177 -0
- package/.claude/skills/investigate/phases/04-implementation.md +139 -0
- package/.claude/skills/investigate/phases/05-verification-report.md +153 -0
- package/.claude/skills/investigate/specs/debug-report-format.md +226 -0
- package/.claude/skills/investigate/specs/iron-law.md +101 -0
- package/.claude/skills/security-audit/SKILL.md +125 -0
- package/.claude/skills/security-audit/phases/01-supply-chain-scan.md +139 -0
- package/.claude/skills/security-audit/phases/02-owasp-review.md +156 -0
- package/.claude/skills/security-audit/phases/03-threat-modeling.md +180 -0
- package/.claude/skills/security-audit/phases/04-report-tracking.md +177 -0
- package/.claude/skills/security-audit/specs/owasp-checklist.md +442 -0
- package/.claude/skills/security-audit/specs/scoring-gates.md +141 -0
- package/.claude/skills/ship/SKILL.md +105 -0
- package/.claude/skills/ship/phases/01-preflight-checks.md +121 -0
- package/.claude/skills/ship/phases/02-code-review.md +137 -0
- package/.claude/skills/ship/phases/03-version-bump.md +171 -0
- package/.claude/skills/ship/phases/04-changelog-commit.md +167 -0
- package/.claude/skills/ship/phases/05-pr-creation.md +163 -0
- package/.claude/skills/skill-generator/templates/sequential-phase.md +10 -0
- package/.claude/skills/skill-generator/templates/skill-md.md +4 -0
- package/.claude/skills/team-interactive-craft/SKILL.md +127 -0
- package/.claude/skills/team-interactive-craft/roles/a11y-tester/role.md +159 -0
- package/.claude/skills/team-interactive-craft/roles/builder/role.md +216 -0
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -0
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -0
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +183 -0
- package/.claude/skills/team-interactive-craft/roles/coordinator/role.md +166 -0
- package/.claude/skills/team-interactive-craft/roles/interaction-designer/role.md +144 -0
- package/.claude/skills/team-interactive-craft/roles/researcher/role.md +131 -0
- package/.claude/skills/team-interactive-craft/specs/interaction-patterns.md +362 -0
- package/.claude/skills/team-interactive-craft/specs/pipelines.md +85 -0
- package/.claude/skills/team-interactive-craft/specs/team-config.json +105 -0
- package/.claude/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -0
- package/.claude/skills/team-motion-design/SKILL.md +129 -0
- package/.claude/skills/team-motion-design/roles/animator/role.md +194 -0
- package/.claude/skills/team-motion-design/roles/choreographer/role.md +164 -0
- package/.claude/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -0
- package/.claude/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -0
- package/.claude/skills/team-motion-design/roles/coordinator/commands/monitor.md +184 -0
- package/.claude/skills/team-motion-design/roles/coordinator/role.md +167 -0
- package/.claude/skills/team-motion-design/roles/motion-researcher/role.md +115 -0
- package/.claude/skills/team-motion-design/roles/motion-tester/role.md +175 -0
- package/.claude/skills/team-motion-design/specs/gpu-constraints.md +114 -0
- package/.claude/skills/team-motion-design/specs/motion-tokens.md +128 -0
- package/.claude/skills/team-motion-design/specs/pipelines.md +74 -0
- package/.claude/skills/team-motion-design/specs/reduced-motion.md +129 -0
- package/.claude/skills/team-motion-design/specs/team-config.json +99 -0
- package/.claude/skills/team-ui-polish/SKILL.md +127 -0
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -0
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -0
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/monitor.md +180 -0
- package/.claude/skills/team-ui-polish/roles/coordinator/role.md +170 -0
- package/.claude/skills/team-ui-polish/roles/diagnostician/role.md +160 -0
- package/.claude/skills/team-ui-polish/roles/optimizer/role.md +225 -0
- package/.claude/skills/team-ui-polish/roles/scanner/role.md +356 -0
- package/.claude/skills/team-ui-polish/roles/verifier/role.md +142 -0
- package/.claude/skills/team-ui-polish/specs/anti-patterns.md +141 -0
- package/.claude/skills/team-ui-polish/specs/design-standards.md +356 -0
- package/.claude/skills/team-ui-polish/specs/fix-strategies.md +235 -0
- package/.claude/skills/team-ui-polish/specs/pipelines.md +81 -0
- package/.claude/skills/team-ui-polish/specs/scoring-guide.md +162 -0
- package/.claude/skills/team-ui-polish/specs/team-config.json +73 -0
- package/.claude/skills/team-uidesign/SKILL.md +6 -1
- package/.claude/skills/team-uidesign/roles/designer/role.md +28 -4
- package/.claude/skills/team-uidesign/roles/implementer/role.md +25 -3
- package/.claude/skills/team-uidesign/roles/researcher/role.md +21 -2
- package/.claude/skills/team-uidesign/roles/reviewer/role.md +19 -17
- package/.claude/skills/team-uidesign/specs/anti-patterns.md +211 -0
- package/.claude/skills/team-uidesign/specs/design-standards.md +329 -0
- package/.claude/skills/team-uidesign/specs/scoring-guide.md +114 -0
- package/.claude/skills/team-uidesign/specs/team-config.json +1 -1
- package/.claude/skills/team-uidesign/specs/ux-writing.md +86 -0
- package/.claude/skills/team-ux-improve/SKILL.md +3 -0
- package/.claude/skills/team-ux-improve/roles/designer/role.md +30 -0
- package/.claude/skills/team-ux-improve/roles/diagnoser/role.md +16 -1
- package/.claude/skills/team-ux-improve/roles/scanner/role.md +43 -1
- package/.claude/skills/team-ux-improve/specs/anti-patterns.md +103 -0
- package/.claude/skills/team-ux-improve/specs/design-standards.md +54 -0
- package/.claude/skills/team-ux-improve/specs/heuristics.md +88 -0
- package/.claude/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +40 -8
- package/.claude/skills/team-ux-improve/wisdom/patterns/state-management.md +32 -12
- package/.claude/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +35 -11
- package/.claude/skills/team-ux-improve/wisdom/principles/general-ux.md +36 -9
- package/.claude/skills/team-visual-a11y/SKILL.md +143 -0
- package/.claude/skills/team-visual-a11y/roles/color-auditor/role.md +178 -0
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -0
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -0
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +204 -0
- package/.claude/skills/team-visual-a11y/roles/coordinator/role.md +169 -0
- package/.claude/skills/team-visual-a11y/roles/fix-implementer/role.md +246 -0
- package/.claude/skills/team-visual-a11y/roles/focus-auditor/role.md +222 -0
- package/.claude/skills/team-visual-a11y/roles/remediation-planner/role.md +206 -0
- package/.claude/skills/team-visual-a11y/roles/typo-auditor/role.md +185 -0
- package/.claude/skills/team-visual-a11y/specs/focus-patterns.md +325 -0
- package/.claude/skills/team-visual-a11y/specs/oklch-standards.md +130 -0
- package/.claude/skills/team-visual-a11y/specs/pipelines.md +98 -0
- package/.claude/skills/team-visual-a11y/specs/team-config.json +109 -0
- package/.claude/skills/team-visual-a11y/specs/typography-scale.md +165 -0
- package/.claude/skills/team-visual-a11y/specs/wcag-matrix.md +133 -0
- package/.codex/skills/brainstorm/SKILL.md +3 -3
- package/.codex/skills/clean/SKILL.md +3 -3
- package/.codex/skills/investigate/agents/investigator.md +392 -0
- package/.codex/skills/investigate/orchestrator.md +362 -0
- package/.codex/skills/investigate/phases/01-root-cause-investigation.md +212 -0
- package/.codex/skills/investigate/phases/02-pattern-analysis.md +181 -0
- package/.codex/skills/investigate/phases/03-hypothesis-testing.md +214 -0
- package/.codex/skills/investigate/phases/04-implementation.md +195 -0
- package/.codex/skills/investigate/phases/05-verification-report.md +240 -0
- package/.codex/skills/issue-discover/SKILL.md +13 -13
- package/.codex/skills/issue-discover/phases/02-discover.md +4 -4
- package/.codex/skills/issue-discover/phases/03-discover-by-prompt.md +3 -3
- package/.codex/skills/parallel-dev-cycle/SKILL.md +4 -4
- package/.codex/skills/parallel-dev-cycle/phases/02-agent-execution.md +6 -6
- package/.codex/skills/parallel-dev-cycle/phases/03-result-aggregation.md +10 -10
- package/.codex/skills/review-cycle/SKILL.md +10 -10
- package/.codex/skills/review-cycle/phases/02-parallel-review.md +6 -6
- package/.codex/skills/review-cycle/phases/04-iterative-deep-dive.md +4 -4
- package/.codex/skills/review-cycle/phases/07-fix-parallel-planning.md +4 -4
- package/.codex/skills/review-cycle/phases/08-fix-execution.md +2 -2
- package/.codex/skills/roadmap-with-file/SKILL.md +14 -14
- package/.codex/skills/security-audit/agents/security-auditor.md +341 -0
- package/.codex/skills/security-audit/orchestrator.md +384 -0
- package/.codex/skills/security-audit/phases/01-supply-chain-scan.md +226 -0
- package/.codex/skills/security-audit/phases/02-owasp-review.md +232 -0
- package/.codex/skills/security-audit/phases/03-threat-modeling.md +249 -0
- package/.codex/skills/security-audit/phases/04-report-tracking.md +300 -0
- package/.codex/skills/ship/agents/ship-operator.md +318 -0
- package/.codex/skills/ship/orchestrator.md +426 -0
- package/.codex/skills/ship/phases/01-preflight-checks.md +198 -0
- package/.codex/skills/ship/phases/02-code-review.md +228 -0
- package/.codex/skills/ship/phases/03-version-bump.md +259 -0
- package/.codex/skills/ship/phases/04-changelog-commit.md +263 -0
- package/.codex/skills/ship/phases/05-pr-creation.md +280 -0
- package/.codex/skills/spec-generator/README.md +1 -1
- package/.codex/skills/spec-generator/SKILL.md +184 -88
- package/.codex/skills/spec-generator/phases/01-5-requirement-clarification.md +4 -7
- package/.codex/skills/spec-generator/phases/01-discovery.md +30 -11
- package/.codex/skills/spec-generator/phases/02-product-brief.md +2 -5
- package/.codex/skills/spec-generator/phases/03-requirements.md +4 -6
- package/.codex/skills/spec-generator/phases/04-architecture.md +4 -6
- package/.codex/skills/spec-generator/phases/05-epics-stories.md +4 -6
- package/.codex/skills/spec-generator/phases/06-5-auto-fix.md +4 -5
- package/.codex/skills/spec-generator/phases/06-readiness-check.md +8 -8
- package/.codex/skills/spec-generator/phases/07-issue-export.md +2 -2
- package/.codex/skills/spec-setup/SKILL.md +4 -4
- package/.codex/skills/team-interactive-craft/SKILL.md +220 -0
- package/.codex/skills/team-interactive-craft/roles/a11y-tester/role.md +159 -0
- package/.codex/skills/team-interactive-craft/roles/builder/role.md +216 -0
- package/.codex/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -0
- package/.codex/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +162 -0
- package/.codex/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +233 -0
- package/.codex/skills/team-interactive-craft/roles/coordinator/role.md +209 -0
- package/.codex/skills/team-interactive-craft/roles/interaction-designer/role.md +144 -0
- package/.codex/skills/team-interactive-craft/roles/researcher/role.md +131 -0
- package/.codex/skills/team-interactive-craft/specs/interaction-patterns.md +362 -0
- package/.codex/skills/team-interactive-craft/specs/pipelines.md +85 -0
- package/.codex/skills/team-interactive-craft/specs/team-config.json +105 -0
- package/.codex/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -0
- package/.codex/skills/team-motion-design/SKILL.md +222 -0
- package/.codex/skills/team-motion-design/roles/animator/role.md +194 -0
- package/.codex/skills/team-motion-design/roles/choreographer/role.md +164 -0
- package/.codex/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -0
- package/.codex/skills/team-motion-design/roles/coordinator/commands/dispatch.md +168 -0
- package/.codex/skills/team-motion-design/roles/coordinator/commands/monitor.md +242 -0
- package/.codex/skills/team-motion-design/roles/coordinator/role.md +210 -0
- package/.codex/skills/team-motion-design/roles/motion-researcher/role.md +115 -0
- package/.codex/skills/team-motion-design/roles/motion-tester/role.md +175 -0
- package/.codex/skills/team-motion-design/specs/gpu-constraints.md +114 -0
- package/.codex/skills/team-motion-design/specs/motion-tokens.md +128 -0
- package/.codex/skills/team-motion-design/specs/pipelines.md +74 -0
- package/.codex/skills/team-motion-design/specs/reduced-motion.md +129 -0
- package/.codex/skills/team-motion-design/specs/team-config.json +99 -0
- package/.codex/skills/team-ui-polish/SKILL.md +218 -0
- package/.codex/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -0
- package/.codex/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +167 -0
- package/.codex/skills/team-ui-polish/roles/coordinator/commands/monitor.md +230 -0
- package/.codex/skills/team-ui-polish/roles/coordinator/role.md +213 -0
- package/.codex/skills/team-ui-polish/roles/diagnostician/role.md +164 -0
- package/.codex/skills/team-ui-polish/roles/optimizer/role.md +229 -0
- package/.codex/skills/team-ui-polish/roles/scanner/role.md +360 -0
- package/.codex/skills/team-ui-polish/roles/verifier/role.md +142 -0
- package/.codex/skills/team-ui-polish/specs/anti-patterns.md +141 -0
- package/.codex/skills/team-ui-polish/specs/design-standards.md +356 -0
- package/.codex/skills/team-ui-polish/specs/fix-strategies.md +235 -0
- package/.codex/skills/team-ui-polish/specs/pipelines.md +81 -0
- package/.codex/skills/team-ui-polish/specs/scoring-guide.md +162 -0
- package/.codex/skills/team-ui-polish/specs/team-config.json +73 -0
- package/.codex/skills/team-visual-a11y/SKILL.md +319 -0
- package/.codex/skills/team-visual-a11y/roles/color-auditor/role.md +178 -0
- package/.codex/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -0
- package/.codex/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +188 -0
- package/.codex/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +281 -0
- package/.codex/skills/team-visual-a11y/roles/coordinator/role.md +213 -0
- package/.codex/skills/team-visual-a11y/roles/fix-implementer/role.md +246 -0
- package/.codex/skills/team-visual-a11y/roles/focus-auditor/role.md +222 -0
- package/.codex/skills/team-visual-a11y/roles/remediation-planner/role.md +206 -0
- package/.codex/skills/team-visual-a11y/roles/typo-auditor/role.md +185 -0
- package/.codex/skills/team-visual-a11y/specs/focus-patterns.md +325 -0
- package/.codex/skills/team-visual-a11y/specs/oklch-standards.md +130 -0
- package/.codex/skills/team-visual-a11y/specs/pipelines.md +98 -0
- package/.codex/skills/team-visual-a11y/specs/team-config.json +109 -0
- package/.codex/skills/team-visual-a11y/specs/typography-scale.md +165 -0
- package/.codex/skills/team-visual-a11y/specs/wcag-matrix.md +133 -0
- package/.codex/skills/workflow-plan/SKILL.md +6 -6
- package/.codex/skills/workflow-tdd-plan/SKILL.md +5 -5
- package/.codex/skills/workflow-test-fix-cycle/SKILL.md +19 -19
- package/.codex/skills/workflow-test-fix-cycle/phases/01-test-fix-gen.md +5 -5
- package/.codex/skills/workflow-test-fix-cycle/phases/02-test-cycle-execute.md +5 -5
- package/README.md +8 -0
- package/ccw/dist/core/hooks/hook-templates.d.ts.map +1 -1
- package/ccw/dist/core/hooks/hook-templates.js +114 -1
- package/ccw/dist/core/hooks/hook-templates.js.map +1 -1
- package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/cli-routes.js +34 -0
- package/ccw/dist/core/routes/cli-routes.js.map +1 -1
- package/ccw/dist/core/routes/system-routes.js +2 -2
- package/ccw/dist/core/routes/system-routes.js.map +1 -1
- package/ccw/frontend/dist/assets/{AlertDialog-Bf1jdqax.js → AlertDialog-exlTDW81.js} +3 -3
- package/ccw/frontend/dist/assets/{AlertDialog-Bf1jdqax.js.map → AlertDialog-exlTDW81.js.map} +1 -1
- package/ccw/frontend/dist/assets/{AnalysisPage-C8niKdp4.js → AnalysisPage-cgV9LfAI.js} +2 -2
- package/ccw/frontend/dist/assets/{AnalysisPage-C8niKdp4.js.map → AnalysisPage-cgV9LfAI.js.map} +1 -1
- package/ccw/frontend/dist/assets/{ApiSettingsPage-BL2c3UNS.js → ApiSettingsPage-Dk5jJdWt.js} +2 -2
- package/ccw/frontend/dist/assets/{ApiSettingsPage-BL2c3UNS.js.map → ApiSettingsPage-Dk5jJdWt.js.map} +1 -1
- package/ccw/frontend/dist/assets/{CliModeToggle-BePBFynD.js → CliModeToggle-Be9xsPiv.js} +2 -2
- package/ccw/frontend/dist/assets/{CliModeToggle-BePBFynD.js.map → CliModeToggle-Be9xsPiv.js.map} +1 -1
- package/ccw/frontend/dist/assets/{CliSessionSharePage-7cYtX6FT.js → CliSessionSharePage-Bh9jBtPI.js} +2 -2
- package/ccw/frontend/dist/assets/{CliSessionSharePage-7cYtX6FT.js.map → CliSessionSharePage-Bh9jBtPI.js.map} +1 -1
- package/ccw/frontend/dist/assets/{CliViewerPage-CBwg1mPL.js → CliViewerPage-BrE-oyEq.js} +2 -2
- package/ccw/frontend/dist/assets/{CliViewerPage-CBwg1mPL.js.map → CliViewerPage-BrE-oyEq.js.map} +1 -1
- package/ccw/frontend/dist/assets/{CodexLensPage-Bt74xORP.js → CodexLensPage-Cd3nrC93.js} +2 -2
- package/ccw/frontend/dist/assets/{CodexLensPage-Bt74xORP.js.map → CodexLensPage-Cd3nrC93.js.map} +1 -1
- package/ccw/frontend/dist/assets/{Collapsible-Wrs87QT7.js → Collapsible-DXFl3VKF.js} +2 -2
- package/ccw/frontend/dist/assets/{Collapsible-Wrs87QT7.js.map → Collapsible-DXFl3VKF.js.map} +1 -1
- package/ccw/frontend/dist/assets/{CommandsManagerPage-ChQjmPWZ.js → CommandsManagerPage-IV8zpjgX.js} +2 -2
- package/ccw/frontend/dist/assets/{CommandsManagerPage-ChQjmPWZ.js.map → CommandsManagerPage-IV8zpjgX.js.map} +1 -1
- package/ccw/frontend/dist/assets/{DeepWikiPage-dEO5wi6X.js → DeepWikiPage-CpDxtmRX.js} +2 -2
- package/ccw/frontend/dist/assets/{DeepWikiPage-dEO5wi6X.js.map → DeepWikiPage-CpDxtmRX.js.map} +1 -1
- package/ccw/frontend/dist/assets/{EndpointsPage-4zq269xY.js → EndpointsPage-BchjWe7s.js} +2 -2
- package/ccw/frontend/dist/assets/{EndpointsPage-4zq269xY.js.map → EndpointsPage-BchjWe7s.js.map} +1 -1
- package/ccw/frontend/dist/assets/{ExplorerPage-B0YTENhA.js → ExplorerPage-CbWvaJ0y.js} +2 -2
- package/ccw/frontend/dist/assets/{ExplorerPage-B0YTENhA.js.map → ExplorerPage-CbWvaJ0y.js.map} +1 -1
- package/ccw/frontend/dist/assets/{FixSessionPage-CwGs6dhz.js → FixSessionPage-YMjVRiCk.js} +2 -2
- package/ccw/frontend/dist/assets/{FixSessionPage-CwGs6dhz.js.map → FixSessionPage-YMjVRiCk.js.map} +1 -1
- package/ccw/frontend/dist/assets/{FloatingFileBrowser-COZRBslc.js → FloatingFileBrowser-JW2ehYY_.js} +2 -2
- package/ccw/frontend/dist/assets/{FloatingFileBrowser-COZRBslc.js.map → FloatingFileBrowser-JW2ehYY_.js.map} +1 -1
- package/ccw/frontend/dist/assets/{FloatingPanel-DYvgQZRD.js → FloatingPanel-BtqzqDVq.js} +2 -2
- package/ccw/frontend/dist/assets/{FloatingPanel-DYvgQZRD.js.map → FloatingPanel-BtqzqDVq.js.map} +1 -1
- package/ccw/frontend/dist/assets/{GraphExplorerPage-ewMHQGem.js → GraphExplorerPage-BsJL_W4d.js} +3 -3
- package/ccw/frontend/dist/assets/{GraphExplorerPage-ewMHQGem.js.map → GraphExplorerPage-BsJL_W4d.js.map} +1 -1
- package/ccw/frontend/dist/assets/{HistoryPage-BMeR0PrK.js → HistoryPage-BuWpQ7k5.js} +2 -2
- package/ccw/frontend/dist/assets/{HistoryPage-BMeR0PrK.js.map → HistoryPage-BuWpQ7k5.js.map} +1 -1
- package/ccw/frontend/dist/assets/{HookManagerPage-DBW2LnRm.js → HookManagerPage-D0BtMIWy.js} +2 -2
- package/ccw/frontend/dist/assets/{HookManagerPage-DBW2LnRm.js.map → HookManagerPage-D0BtMIWy.js.map} +1 -1
- package/ccw/frontend/dist/assets/{InstallationsPage--pMj0QEH.js → InstallationsPage-C7dwsAKG.js} +2 -2
- package/ccw/frontend/dist/assets/{InstallationsPage--pMj0QEH.js.map → InstallationsPage-C7dwsAKG.js.map} +1 -1
- package/ccw/frontend/dist/assets/{IssueHubPage-C_QMpQSR.js → IssueHubPage-D0nCNaeB.js} +2 -2
- package/ccw/frontend/dist/assets/{IssueHubPage-C_QMpQSR.js.map → IssueHubPage-D0nCNaeB.js.map} +1 -1
- package/ccw/frontend/dist/assets/{LiteTasksPage-CSWFdQ2-.js → LiteTasksPage-B5c2Kb9r.js} +3 -3
- package/ccw/frontend/dist/assets/{LiteTasksPage-CSWFdQ2-.js.map → LiteTasksPage-B5c2Kb9r.js.map} +1 -1
- package/ccw/frontend/dist/assets/{McpManagerPage-Dvv8NtGy.js → McpManagerPage-C-S5CehM.js} +2 -2
- package/ccw/frontend/dist/assets/{McpManagerPage-Dvv8NtGy.js.map → McpManagerPage-C-S5CehM.js.map} +1 -1
- package/ccw/frontend/dist/assets/{MemoryPage-YO8WZzZO.js → MemoryPage-P_B0JVUQ.js} +2 -2
- package/ccw/frontend/dist/assets/{MemoryPage-YO8WZzZO.js.map → MemoryPage-P_B0JVUQ.js.map} +1 -1
- package/ccw/frontend/dist/assets/{NotFoundPage-quUJw0CD.js → NotFoundPage-S4Jn9LUE.js} +2 -2
- package/ccw/frontend/dist/assets/{NotFoundPage-quUJw0CD.js.map → NotFoundPage-S4Jn9LUE.js.map} +1 -1
- package/ccw/frontend/dist/assets/{OrchestratorPage-tuThWPID.js → OrchestratorPage-C2Zlr7AC.js} +2 -2
- package/ccw/frontend/dist/assets/{OrchestratorPage-tuThWPID.js.map → OrchestratorPage-C2Zlr7AC.js.map} +1 -1
- package/ccw/frontend/dist/assets/{ProjectOverviewPage-shTilwiT.js → ProjectOverviewPage-CMVfz8s5.js} +2 -2
- package/ccw/frontend/dist/assets/{ProjectOverviewPage-shTilwiT.js.map → ProjectOverviewPage-CMVfz8s5.js.map} +1 -1
- package/ccw/frontend/dist/assets/{PromptHistoryPage-6rQnsI8l.js → PromptHistoryPage-YEMjFARX.js} +3 -3
- package/ccw/frontend/dist/assets/{PromptHistoryPage-6rQnsI8l.js.map → PromptHistoryPage-YEMjFARX.js.map} +1 -1
- package/ccw/frontend/dist/assets/{ReviewSessionPage-JOmzjVbT.js → ReviewSessionPage-DnTm55nG.js} +2 -2
- package/ccw/frontend/dist/assets/{ReviewSessionPage-JOmzjVbT.js.map → ReviewSessionPage-DnTm55nG.js.map} +1 -1
- package/ccw/frontend/dist/assets/{RulesManagerPage-Cayfywqi.js → RulesManagerPage-CUwebtO2.js} +2 -2
- package/ccw/frontend/dist/assets/{RulesManagerPage-Cayfywqi.js.map → RulesManagerPage-CUwebtO2.js.map} +1 -1
- package/ccw/frontend/dist/assets/{SessionDetailPage-iMn0k84i.js → SessionDetailPage-0qyH1Z5P.js} +2 -2
- package/ccw/frontend/dist/assets/{SessionDetailPage-iMn0k84i.js.map → SessionDetailPage-0qyH1Z5P.js.map} +1 -1
- package/ccw/frontend/dist/assets/{SessionsPage-Ciqjy9kz.js → SessionsPage-BpgP4087.js} +2 -2
- package/ccw/frontend/dist/assets/{SessionsPage-Ciqjy9kz.js.map → SessionsPage-BpgP4087.js.map} +1 -1
- package/ccw/frontend/dist/assets/SettingsPage-C3SJajeT.js +150 -0
- package/ccw/frontend/dist/assets/SettingsPage-C3SJajeT.js.map +1 -0
- package/ccw/frontend/dist/assets/SkillsManagerPage-vD9PTsmy.js +7 -0
- package/ccw/frontend/dist/assets/SkillsManagerPage-vD9PTsmy.js.map +1 -0
- package/ccw/frontend/dist/assets/{SpecsSettingsPage-BpkJctzo.js → SpecsSettingsPage-DT-yTVkD.js} +4 -4
- package/ccw/frontend/dist/assets/{SpecsSettingsPage-BpkJctzo.js.map → SpecsSettingsPage-DT-yTVkD.js.map} +1 -1
- package/ccw/frontend/dist/assets/{Switch-BpB9h__9.js → Switch-CYSPdqWk.js} +2 -2
- package/ccw/frontend/dist/assets/{Switch-BpB9h__9.js.map → Switch-CYSPdqWk.js.map} +1 -1
- package/ccw/frontend/dist/assets/{TabsNavigation-BGsKy7DO.js → TabsNavigation-CPh6Zor1.js} +2 -2
- package/ccw/frontend/dist/assets/{TabsNavigation-BGsKy7DO.js.map → TabsNavigation-CPh6Zor1.js.map} +1 -1
- package/ccw/frontend/dist/assets/{TaskDrawer-bYIlbM0Q.js → TaskDrawer-Ds-8830B.js} +2 -2
- package/ccw/frontend/dist/assets/{TaskDrawer-bYIlbM0Q.js.map → TaskDrawer-Ds-8830B.js.map} +1 -1
- package/ccw/frontend/dist/assets/{TeamPage-CihtQ6LQ.js → TeamPage-CJODUxBk.js} +2 -2
- package/ccw/frontend/dist/assets/{TeamPage-CihtQ6LQ.js.map → TeamPage-CJODUxBk.js.map} +1 -1
- package/ccw/frontend/dist/assets/{TerminalDashboardPage-BDnNF_ud.js → TerminalDashboardPage-Cn3fGUuO.js} +3 -3
- package/ccw/frontend/dist/assets/{TerminalDashboardPage-BDnNF_ud.js.map → TerminalDashboardPage-Cn3fGUuO.js.map} +1 -1
- package/ccw/frontend/dist/assets/{archive-CQJ86bQp.js → archive-CjwVpw6k.js} +2 -2
- package/ccw/frontend/dist/assets/{archive-CQJ86bQp.js.map → archive-CjwVpw6k.js.map} +1 -1
- package/ccw/frontend/dist/assets/{archive-restore-BhTfDbPU.js → archive-restore-2vZa9Ic3.js} +2 -2
- package/ccw/frontend/dist/assets/{archive-restore-BhTfDbPU.js.map → archive-restore-2vZa9Ic3.js.map} +1 -1
- package/ccw/frontend/dist/assets/{arrow-right-eUAZnT9C.js → arrow-right-CUU5XDgT.js} +2 -2
- package/ccw/frontend/dist/assets/{arrow-right-eUAZnT9C.js.map → arrow-right-CUU5XDgT.js.map} +1 -1
- package/ccw/frontend/dist/assets/{bookmark-plus-ilF5-V-k.js → bookmark-plus-Cc3nKRZ5.js} +2 -2
- package/ccw/frontend/dist/assets/{bookmark-plus-ilF5-V-k.js.map → bookmark-plus-Cc3nKRZ5.js.map} +1 -1
- package/ccw/frontend/dist/assets/{bot-BLkaQscs.js → bot-BwpSRDUa.js} +2 -2
- package/ccw/frontend/dist/assets/{bot-BLkaQscs.js.map → bot-BwpSRDUa.js.map} +1 -1
- package/ccw/frontend/dist/assets/{braces-D9HdgsO6.js → braces-DBzUW1XC.js} +2 -2
- package/ccw/frontend/dist/assets/{braces-D9HdgsO6.js.map → braces-DBzUW1XC.js.map} +1 -1
- package/ccw/frontend/dist/assets/{circle-stop-C3ZF1okQ.js → circle-stop-CGNNsjvE.js} +2 -2
- package/ccw/frontend/dist/assets/{circle-stop-C3ZF1okQ.js.map → circle-stop-CGNNsjvE.js.map} +1 -1
- package/ccw/frontend/dist/assets/{cpu-B-QjaSjm.js → cpu-D27G86Ul.js} +2 -2
- package/ccw/frontend/dist/assets/{cpu-B-QjaSjm.js.map → cpu-D27G86Ul.js.map} +1 -1
- package/ccw/frontend/dist/assets/{ellipsis-vertical-CbNlw2gS.js → ellipsis-vertical-C1Ij47Yz.js} +2 -2
- package/ccw/frontend/dist/assets/{ellipsis-vertical-CbNlw2gS.js.map → ellipsis-vertical-C1Ij47Yz.js.map} +1 -1
- package/ccw/frontend/dist/assets/{eye-yAy69Cnn.js → eye-C6MOB7Au.js} +2 -2
- package/ccw/frontend/dist/assets/{eye-yAy69Cnn.js.map → eye-C6MOB7Au.js.map} +1 -1
- package/ccw/frontend/dist/assets/{eye-off-D5uzLZyP.js → eye-off-BxfBlZ26.js} +2 -2
- package/ccw/frontend/dist/assets/{eye-off-D5uzLZyP.js.map → eye-off-BxfBlZ26.js.map} +1 -1
- package/ccw/frontend/dist/assets/{file-json-rwo1NowL.js → file-json-NI237wA-.js} +2 -2
- package/ccw/frontend/dist/assets/{file-json-rwo1NowL.js.map → file-json-NI237wA-.js.map} +1 -1
- package/ccw/frontend/dist/assets/{file-text-DRkrjie9.js → file-text-Byn2_2v6.js} +2 -2
- package/ccw/frontend/dist/assets/{file-text-DRkrjie9.js.map → file-text-Byn2_2v6.js.map} +1 -1
- package/ccw/frontend/dist/assets/{filter-BOe-OTu1.js → filter-D-7PhZjx.js} +2 -2
- package/ccw/frontend/dist/assets/{filter-BOe-OTu1.js.map → filter-D-7PhZjx.js.map} +1 -1
- package/ccw/frontend/dist/assets/{folder-BaWZWn_r.js → folder-BoAsK_FL.js} +2 -2
- package/ccw/frontend/dist/assets/{folder-BaWZWn_r.js.map → folder-BoAsK_FL.js.map} +1 -1
- package/ccw/frontend/dist/assets/{gauge-kazFexTr.js → gauge-DCSxJIS4.js} +2 -2
- package/ccw/frontend/dist/assets/{gauge-kazFexTr.js.map → gauge-DCSxJIS4.js.map} +1 -1
- package/ccw/frontend/dist/assets/{globe-BuHeEjxd.js → globe-CHS3prza.js} +2 -2
- package/ccw/frontend/dist/assets/{globe-BuHeEjxd.js.map → globe-CHS3prza.js.map} +1 -1
- package/ccw/frontend/dist/assets/{grid-3x3-DbhuUu4V.js → grid-3x3-D7K35U7S.js} +2 -2
- package/ccw/frontend/dist/assets/{grid-3x3-DbhuUu4V.js.map → grid-3x3-D7K35U7S.js.map} +1 -1
- package/ccw/frontend/dist/assets/{hard-drive-AoLGL0z4.js → hard-drive-eq9xE07G.js} +2 -2
- package/ccw/frontend/dist/assets/{hard-drive-AoLGL0z4.js.map → hard-drive-eq9xE07G.js.map} +1 -1
- package/ccw/frontend/dist/assets/{hash-Dpo1exMB.js → hash-C1DMpBua.js} +2 -2
- package/ccw/frontend/dist/assets/{hash-Dpo1exMB.js.map → hash-C1DMpBua.js.map} +1 -1
- package/ccw/frontend/dist/assets/{history-ujQnmMC9.js → history-Di5SBCY-.js} +2 -2
- package/ccw/frontend/dist/assets/{history-ujQnmMC9.js.map → history-Di5SBCY-.js.map} +1 -1
- package/ccw/frontend/dist/assets/{index-C_Yf5fZ4.js → index--_R7COnA.js} +2 -2
- package/ccw/frontend/dist/assets/{index-C_Yf5fZ4.js.map → index--_R7COnA.js.map} +1 -1
- package/ccw/frontend/dist/assets/{index-Dff4bg3u.js → index-BUol9HDD.js} +3 -3
- package/ccw/frontend/dist/assets/{index-Dff4bg3u.js.map → index-BUol9HDD.js.map} +1 -1
- package/ccw/frontend/dist/assets/{index-B76AGix5.js → index-CT9oykfw.js} +2 -2
- package/ccw/frontend/dist/assets/{index-B76AGix5.js.map → index-CT9oykfw.js.map} +1 -1
- package/ccw/frontend/dist/assets/{index-CxzXz6o1.js → index-Ddwvf87H.js} +2 -2
- package/ccw/frontend/dist/assets/{index-CxzXz6o1.js.map → index-Ddwvf87H.js.map} +1 -1
- package/ccw/frontend/dist/assets/{layout-grid-CBdE4K8h.js → layout-grid-LiX0qZbN.js} +2 -2
- package/ccw/frontend/dist/assets/{layout-grid-CBdE4K8h.js.map → layout-grid-LiX0qZbN.js.map} +1 -1
- package/ccw/frontend/dist/assets/{lightbulb-B9K6ZgRp.js → lightbulb-CL3DVEwb.js} +2 -2
- package/ccw/frontend/dist/assets/{lightbulb-B9K6ZgRp.js.map → lightbulb-CL3DVEwb.js.map} +1 -1
- package/ccw/frontend/dist/assets/{link-2-Oea4xHJl.js → link-2-CC5cFeq6.js} +2 -2
- package/ccw/frontend/dist/assets/{link-2-Oea4xHJl.js.map → link-2-CC5cFeq6.js.map} +1 -1
- package/ccw/frontend/dist/assets/{link-5yXdZBch.js → link-ngFQ9bs0.js} +2 -2
- package/ccw/frontend/dist/assets/{link-5yXdZBch.js.map → link-ngFQ9bs0.js.map} +1 -1
- package/ccw/frontend/dist/assets/{list-9lHhC_U_.js → list-BEU6I0KK.js} +2 -2
- package/ccw/frontend/dist/assets/{list-9lHhC_U_.js.map → list-BEU6I0KK.js.map} +1 -1
- package/ccw/frontend/dist/assets/{map-pin-B6Io5kmB.js → map-pin-BWZdLA6y.js} +2 -2
- package/ccw/frontend/dist/assets/{map-pin-B6Io5kmB.js.map → map-pin-BWZdLA6y.js.map} +1 -1
- package/ccw/frontend/dist/assets/{messages-square-BT000aD3.js → messages-square-K6_Chm7n.js} +2 -2
- package/ccw/frontend/dist/assets/{messages-square-BT000aD3.js.map → messages-square-K6_Chm7n.js.map} +1 -1
- package/ccw/frontend/dist/assets/{minimize-2-DO-zbT3a.js → minimize-2-CWkphauf.js} +2 -2
- package/ccw/frontend/dist/assets/{minimize-2-DO-zbT3a.js.map → minimize-2-CWkphauf.js.map} +1 -1
- package/ccw/frontend/dist/assets/{package-BjOw1ldU.js → package-DrNgkamn.js} +2 -2
- package/ccw/frontend/dist/assets/{package-BjOw1ldU.js.map → package-DrNgkamn.js.map} +1 -1
- package/ccw/frontend/dist/assets/{plug-9dAARpE1.js → plug-CMo3sw5_.js} +2 -2
- package/ccw/frontend/dist/assets/{plug-9dAARpE1.js.map → plug-CMo3sw5_.js.map} +1 -1
- package/ccw/frontend/dist/assets/{power-K2S39x7f.js → power-DppNTW5e.js} +2 -2
- package/ccw/frontend/dist/assets/{power-K2S39x7f.js.map → power-DppNTW5e.js.map} +1 -1
- package/ccw/frontend/dist/assets/{save-D9-CoT3x.js → save-CD8aPMbZ.js} +2 -2
- package/ccw/frontend/dist/assets/{save-D9-CoT3x.js.map → save-CD8aPMbZ.js.map} +1 -1
- package/ccw/frontend/dist/assets/{send-Bunw9NtC.js → send-B4z90fQD.js} +2 -2
- package/ccw/frontend/dist/assets/{send-Bunw9NtC.js.map → send-B4z90fQD.js.map} +1 -1
- package/ccw/frontend/dist/assets/{settings-2-osl4EXFf.js → settings-2-CAKRU_QC.js} +2 -2
- package/ccw/frontend/dist/assets/{settings-2-osl4EXFf.js.map → settings-2-CAKRU_QC.js.map} +1 -1
- package/ccw/frontend/dist/assets/{square-check-big-Dl5gYkjR.js → square-check-big-KhI3HrzX.js} +2 -2
- package/ccw/frontend/dist/assets/{square-check-big-Dl5gYkjR.js.map → square-check-big-KhI3HrzX.js.map} +1 -1
- package/ccw/frontend/dist/assets/{square-pen-Bue1chJR.js → square-pen-BtdGIpuq.js} +2 -2
- package/ccw/frontend/dist/assets/{square-pen-Bue1chJR.js.map → square-pen-BtdGIpuq.js.map} +1 -1
- package/ccw/frontend/dist/assets/{star-Bk7EC7FB.js → star-ZoBUkXoD.js} +2 -2
- package/ccw/frontend/dist/assets/{star-Bk7EC7FB.js.map → star-ZoBUkXoD.js.map} +1 -1
- package/ccw/frontend/dist/assets/{style-BbREPmRj.js → style-CltxQP-P.js} +2 -2
- package/ccw/frontend/dist/assets/{style-BbREPmRj.js.map → style-CltxQP-P.js.map} +1 -1
- package/ccw/frontend/dist/assets/{target-CElrCVhR.js → target-C32OUSGf.js} +2 -2
- package/ccw/frontend/dist/assets/{target-CElrCVhR.js.map → target-C32OUSGf.js.map} +1 -1
- package/ccw/frontend/dist/assets/{test-tube-wciJaoas.js → test-tube-0IxoyAVZ.js} +2 -2
- package/ccw/frontend/dist/assets/{test-tube-wciJaoas.js.map → test-tube-0IxoyAVZ.js.map} +1 -1
- package/ccw/frontend/dist/assets/{upload-BD1F07wG.js → upload-4eKCkyBn.js} +2 -2
- package/ccw/frontend/dist/assets/{upload-BD1F07wG.js.map → upload-4eKCkyBn.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useApiSettings-D23HVEt8.js → useApiSettings-zLTUWqhi.js} +2 -2
- package/ccw/frontend/dist/assets/{useApiSettings-D23HVEt8.js.map → useApiSettings-zLTUWqhi.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useCli-BGDd_lXD.js → useCli-BtN2vpOX.js} +2 -2
- package/ccw/frontend/dist/assets/{useCli-BGDd_lXD.js.map → useCli-BtN2vpOX.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useCommands-B-m_HxPB.js → useCommands-_spj49qL.js} +2 -2
- package/ccw/frontend/dist/assets/{useCommands-B-m_HxPB.js.map → useCommands-_spj49qL.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useDebounce-Z18-PHZr.js → useDebounce-Bm9KFZvd.js} +2 -2
- package/ccw/frontend/dist/assets/{useDebounce-Z18-PHZr.js.map → useDebounce-Bm9KFZvd.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useFileExplorer-D4gPp-LB.js → useFileExplorer-DOmpm6v9.js} +2 -2
- package/ccw/frontend/dist/assets/{useFileExplorer-D4gPp-LB.js.map → useFileExplorer-DOmpm6v9.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useLocale-DJ62jjFa.js → useLocale-D2rj4rea.js} +2 -2
- package/ccw/frontend/dist/assets/{useLocale-DJ62jjFa.js.map → useLocale-D2rj4rea.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useSkills-B8NPs9__.js → useSkills-OskEpomF.js} +3 -3
- package/ccw/frontend/dist/assets/{useSkills-B8NPs9__.js.map → useSkills-OskEpomF.js.map} +1 -1
- package/ccw/frontend/dist/assets/{useSystemSettings-CVi7nKGJ.js → useSystemSettings-BjMgsNSF.js} +2 -2
- package/ccw/frontend/dist/assets/{useSystemSettings-CVi7nKGJ.js.map → useSystemSettings-BjMgsNSF.js.map} +1 -1
- package/ccw/frontend/dist/assets/{wand-sparkles-CLjPiU5w.js → wand-sparkles-CLhyYWa7.js} +2 -2
- package/ccw/frontend/dist/assets/{wand-sparkles-CLjPiU5w.js.map → wand-sparkles-CLhyYWa7.js.map} +1 -1
- package/ccw/frontend/dist/index.html +1 -1
- package/package.json +105 -105
- package/ccw/frontend/dist/assets/SettingsPage-BPDbXPSM.js +0 -150
- package/ccw/frontend/dist/assets/SettingsPage-BPDbXPSM.js.map +0 -1
- package/ccw/frontend/dist/assets/SkillsManagerPage-D3LzbpJY.js +0 -7
- package/ccw/frontend/dist/assets/SkillsManagerPage-D3LzbpJY.js.map +0 -1
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Command: Dispatch
|
|
2
|
+
|
|
3
|
+
Create the motion design task chain with correct dependencies and structured task descriptions. Supports tokens, component, and page pipeline modes.
|
|
4
|
+
|
|
5
|
+
## Phase 2: Context Loading
|
|
6
|
+
|
|
7
|
+
| Input | Source | Required |
|
|
8
|
+
|-------|--------|----------|
|
|
9
|
+
| User requirement | From coordinator Phase 1 | Yes |
|
|
10
|
+
| Session folder | From coordinator Phase 2 | Yes |
|
|
11
|
+
| Pipeline mode | From tasks.json `pipeline_mode` | Yes |
|
|
12
|
+
| Framework config | From tasks.json `framework` | Yes |
|
|
13
|
+
|
|
14
|
+
1. Load user requirement and motion scope from tasks.json
|
|
15
|
+
2. Load pipeline stage definitions from specs/pipelines.md
|
|
16
|
+
3. Read `pipeline_mode` and `framework` from tasks.json
|
|
17
|
+
|
|
18
|
+
## Phase 3: Task Chain Creation (Mode-Branched)
|
|
19
|
+
|
|
20
|
+
### Task Description Template
|
|
21
|
+
|
|
22
|
+
Every task is added to tasks.json with structured format:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"<TASK-ID>": {
|
|
27
|
+
"title": "<task title>",
|
|
28
|
+
"description": "PURPOSE: <what this task achieves> | Success: <measurable completion criteria>\nTASK:\n - <step 1: specific action>\n - <step 2: specific action>\n - <step 3: specific action>\nCONTEXT:\n - Session: <session-folder>\n - Scope: <motion-scope>\n - Framework: <framework>\n - Upstream artifacts: <artifact-1>, <artifact-2>\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <deliverable path> + <quality criteria>\nCONSTRAINTS: <scope limits, focus areas>",
|
|
29
|
+
"role": "<role>",
|
|
30
|
+
"prefix": "<PREFIX>",
|
|
31
|
+
"deps": ["<dependency-list>"],
|
|
32
|
+
"status": "pending",
|
|
33
|
+
"findings": "",
|
|
34
|
+
"error": ""
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Mode Router
|
|
40
|
+
|
|
41
|
+
| Mode | Action |
|
|
42
|
+
|------|--------|
|
|
43
|
+
| `tokens` | Create 4 tasks: MRESEARCH -> CHOREO -> ANIM -> MTEST |
|
|
44
|
+
| `component` | Create 4 tasks: MRESEARCH -> CHOREO -> ANIM -> MTEST (GC loop) |
|
|
45
|
+
| `page` | Create 4+ tasks: MRESEARCH -> CHOREO -> [ANIM-001..N parallel] -> MTEST |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
### Tokens Pipeline Task Chain
|
|
50
|
+
|
|
51
|
+
**MRESEARCH-001** (motion-researcher):
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"MRESEARCH-001": {
|
|
55
|
+
"title": "Audit existing animations and measure performance baseline",
|
|
56
|
+
"description": "PURPOSE: Audit existing animations, measure performance baseline, catalog easing patterns | Success: 3 research artifacts produced with valid data\nTASK:\n - Scan codebase for existing CSS @keyframes, transitions, JS animation code\n - Measure paint/composite costs via Chrome DevTools performance traces (if available)\n - Catalog existing easing functions and timing patterns\n - Identify properties being animated (safe vs unsafe for compositor)\nCONTEXT:\n - Session: <session-folder>\n - Scope: <motion-scope>\n - Framework: <framework>\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <session>/research/*.json | All 3 research files with valid JSON\nCONSTRAINTS: Read-only analysis | Focus on existing animation patterns",
|
|
57
|
+
"role": "motion-researcher",
|
|
58
|
+
"prefix": "MRESEARCH",
|
|
59
|
+
"deps": [],
|
|
60
|
+
"status": "pending",
|
|
61
|
+
"findings": "",
|
|
62
|
+
"error": ""
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**CHOREO-001** (choreographer):
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"CHOREO-001": {
|
|
71
|
+
"title": "Design animation token system",
|
|
72
|
+
"description": "PURPOSE: Design animation token system with easing functions, duration scale, stagger formulas | Success: Complete motion-tokens.json with all token categories\nTASK:\n - Define easing functions (ease-out, ease-in-out, ease-spring) as cubic-bezier values\n - Define duration scale (fast, base, slow, slower, slowest)\n - Define stagger formula with base delay and increment\n - Define reduced-motion fallback tokens\n - Reference specs/motion-tokens.md for token schema\nCONTEXT:\n - Session: <session-folder>\n - Scope: <motion-scope>\n - Framework: <framework>\n - Upstream artifacts: research/*.json\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <session>/choreography/motion-tokens.json | Complete token system\nCONSTRAINTS: Follow motion-tokens.md schema | All tokens must have reduced-motion fallback",
|
|
73
|
+
"role": "choreographer",
|
|
74
|
+
"prefix": "CHOREO",
|
|
75
|
+
"deps": ["MRESEARCH-001"],
|
|
76
|
+
"status": "pending",
|
|
77
|
+
"findings": "",
|
|
78
|
+
"error": ""
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**ANIM-001** (animator):
|
|
84
|
+
```json
|
|
85
|
+
{
|
|
86
|
+
"ANIM-001": {
|
|
87
|
+
"title": "Implement CSS custom properties and utility classes from motion tokens",
|
|
88
|
+
"description": "PURPOSE: Implement CSS custom properties and utility classes from motion tokens | Success: Production-ready CSS with token consumption and reduced-motion overrides\nTASK:\n - Generate CSS custom properties from motion-tokens.json\n - Create utility animation classes consuming tokens\n - Add prefers-reduced-motion media query overrides\n - Ensure compositor-only properties (transform, opacity) per specs/gpu-constraints.md\nCONTEXT:\n - Session: <session-folder>\n - Scope: <motion-scope>\n - Framework: <framework>\n - Upstream artifacts: choreography/motion-tokens.json\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <session>/animations/keyframes/*.css | Token CSS + utility classes + reduced-motion\nCONSTRAINTS: Compositor-only animations | No layout-triggering properties | will-change budget",
|
|
89
|
+
"role": "animator",
|
|
90
|
+
"prefix": "ANIM",
|
|
91
|
+
"deps": ["CHOREO-001"],
|
|
92
|
+
"status": "pending",
|
|
93
|
+
"findings": "",
|
|
94
|
+
"error": ""
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**MTEST-001** (motion-tester):
|
|
100
|
+
```json
|
|
101
|
+
{
|
|
102
|
+
"MTEST-001": {
|
|
103
|
+
"title": "Verify animation performance and accessibility compliance",
|
|
104
|
+
"description": "PURPOSE: Verify animation performance and accessibility compliance | Success: 60fps confirmed, no layout thrashing, reduced-motion present\nTASK:\n - Start Chrome DevTools performance trace (if available)\n - Verify compositor-only animations (no paint/layout triggers)\n - Check will-change usage (not excessive, max 3-4 elements)\n - Validate prefers-reduced-motion @media query presence\n - Static code analysis as fallback if Chrome DevTools unavailable\nCONTEXT:\n - Session: <session-folder>\n - Scope: <motion-scope>\n - Framework: <framework>\n - Upstream artifacts: animations/keyframes/*.css, choreography/motion-tokens.json\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <session>/testing/reports/perf-report-001.md | Performance validation report\nCONSTRAINTS: Target 60fps | Flag any layout-triggering properties",
|
|
105
|
+
"role": "motion-tester",
|
|
106
|
+
"prefix": "MTEST",
|
|
107
|
+
"deps": ["ANIM-001"],
|
|
108
|
+
"status": "pending",
|
|
109
|
+
"findings": "",
|
|
110
|
+
"error": ""
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
### Component Pipeline Task Chain
|
|
118
|
+
|
|
119
|
+
Same as Tokens pipeline with enhanced task descriptions:
|
|
120
|
+
|
|
121
|
+
- **MRESEARCH-001**: Same as tokens, plus focus on target component(s) existing animation
|
|
122
|
+
- **CHOREO-001**: Same token design, plus transition state diagrams (entry/exit/hover/focus/loading) and scroll-triggered reveal sequences for the component(s)
|
|
123
|
+
- **ANIM-001**: Implement component-specific animations: @keyframes, IntersectionObserver triggers, rAF coordination, staggered orchestration
|
|
124
|
+
- **MTEST-001**: Same as tokens, plus GC loop -- if FPS < 60 or layout thrashing, send `fix_required` signal
|
|
125
|
+
|
|
126
|
+
GC loop between animator and motion-tester (max 2 rounds).
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
### Page Pipeline Task Chain
|
|
131
|
+
|
|
132
|
+
**MRESEARCH-001** and **CHOREO-001**: Same as component, but scope is full page with multiple scroll sections.
|
|
133
|
+
|
|
134
|
+
**CHOREO-001** additionally defines scroll section boundaries, parallax depths, and staggered entry sequences per section.
|
|
135
|
+
|
|
136
|
+
**ANIM-001..N** (parallel): One ANIM task per scroll section or page area:
|
|
137
|
+
```json
|
|
138
|
+
{
|
|
139
|
+
"ANIM-<NNN>": {
|
|
140
|
+
"title": "Implement animations for <section-name>",
|
|
141
|
+
"description": "PURPOSE: Implement animations for <section-name> | Success: Scroll-triggered reveals with 60fps performance\nTASK:\n - Implement IntersectionObserver-based scroll triggers for <section-name>\n - Apply staggered entry animations with calculated delays\n - Add scroll-linked parallax (if specified in choreography)\n - Ensure prefers-reduced-motion fallback\nCONTEXT:\n - Session: <session-folder>\n - Section: <section-name>\n - Upstream artifacts: choreography/sequences/<section>.md, choreography/motion-tokens.json\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <session>/animations/keyframes/<section>.css + orchestrators/<section>.js\nCONSTRAINTS: Compositor-only | will-change budget | Follow motion-tokens",
|
|
142
|
+
"role": "animator",
|
|
143
|
+
"prefix": "ANIM",
|
|
144
|
+
"deps": ["CHOREO-001"],
|
|
145
|
+
"status": "pending",
|
|
146
|
+
"findings": "",
|
|
147
|
+
"error": ""
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**MTEST-001**: Blocked by all ANIM tasks. Full page performance validation.
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Phase 4: Validation
|
|
157
|
+
|
|
158
|
+
Verify task chain integrity:
|
|
159
|
+
|
|
160
|
+
| Check | Method | Expected |
|
|
161
|
+
|-------|--------|----------|
|
|
162
|
+
| Task count correct | tasks.json count | tokens: 4, component: 4, page: 4+N |
|
|
163
|
+
| Dependencies correct | Trace dependency graph | Acyclic, correct deps |
|
|
164
|
+
| No circular dependencies | Trace dependency graph | Acyclic |
|
|
165
|
+
| Task IDs use correct prefixes | Pattern check | MRESEARCH/CHOREO/ANIM/MTEST |
|
|
166
|
+
| Structured descriptions complete | Each has PURPOSE/TASK/CONTEXT/EXPECTED/CONSTRAINTS | All present |
|
|
167
|
+
|
|
168
|
+
If validation fails, fix the specific task and re-validate.
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
# Monitor Pipeline
|
|
2
|
+
|
|
3
|
+
Synchronous pipeline coordination using spawn_agent + wait_agent.
|
|
4
|
+
|
|
5
|
+
## Constants
|
|
6
|
+
|
|
7
|
+
- WORKER_AGENT: team_worker
|
|
8
|
+
- MAX_GC_ROUNDS: 2
|
|
9
|
+
|
|
10
|
+
## Handler Router
|
|
11
|
+
|
|
12
|
+
| Source | Handler |
|
|
13
|
+
|--------|---------|
|
|
14
|
+
| "capability_gap" | handleAdapt |
|
|
15
|
+
| "check" or "status" | handleCheck |
|
|
16
|
+
| "resume" or "continue" | handleResume |
|
|
17
|
+
| All tasks completed | handleComplete |
|
|
18
|
+
| Default | handleSpawnNext |
|
|
19
|
+
|
|
20
|
+
## handleCallback
|
|
21
|
+
|
|
22
|
+
Worker completed (wait_agent returns). Process and advance.
|
|
23
|
+
|
|
24
|
+
1. Determine role from completed task prefix:
|
|
25
|
+
|
|
26
|
+
| Task Prefix | Role |
|
|
27
|
+
|-------------|------|
|
|
28
|
+
| `MRESEARCH-*` | motion-researcher |
|
|
29
|
+
| `CHOREO-*` | choreographer |
|
|
30
|
+
| `ANIM-*` | animator |
|
|
31
|
+
| `MTEST-*` | motion-tester |
|
|
32
|
+
|
|
33
|
+
2. Mark task completed in tasks.json: `state.tasks[taskId].status = 'completed'`
|
|
34
|
+
3. Record completion in session state
|
|
35
|
+
|
|
36
|
+
4. Check checkpoint for completed task:
|
|
37
|
+
|
|
38
|
+
| Completed Task | Checkpoint | Action |
|
|
39
|
+
|---------------|------------|--------|
|
|
40
|
+
| MRESEARCH-001 | - | Notify user: research complete |
|
|
41
|
+
| CHOREO-001 | - | Proceed to ANIM task(s) |
|
|
42
|
+
| ANIM-* (single) | - | Proceed to MTEST-001 |
|
|
43
|
+
| ANIM-* (page mode) | - | Check if all ANIM tasks complete, then unblock MTEST-001 |
|
|
44
|
+
| MTEST-001 | PERF-001: Performance Gate | Check perf signal -> GC loop or complete |
|
|
45
|
+
|
|
46
|
+
5. **Performance Gate handling** (MTEST task completed):
|
|
47
|
+
Read performance signal from result: `perf_passed`, `perf_warning`, or `fix_required`
|
|
48
|
+
|
|
49
|
+
| Signal | Condition | Action |
|
|
50
|
+
|--------|-----------|--------|
|
|
51
|
+
| `perf_passed` | FPS >= 60, no layout thrashing, reduced-motion present | Performance gate passed -> pipeline complete |
|
|
52
|
+
| `perf_warning` | Minor issues (will-change count high, near 60fps) | gc_rounds < max -> create ANIM-fix task |
|
|
53
|
+
| `fix_required` | FPS < 60 or layout thrashing detected | gc_rounds < max -> create ANIM-fix task (CRITICAL) |
|
|
54
|
+
| Any | gc_rounds >= max | Escalate to user |
|
|
55
|
+
|
|
56
|
+
**GC Fix Task Creation** (add to tasks.json):
|
|
57
|
+
```json
|
|
58
|
+
{
|
|
59
|
+
"ANIM-fix-<round>": {
|
|
60
|
+
"title": "Address performance issues from motion-tester report",
|
|
61
|
+
"description": "PURPOSE: Address performance issues from motion-tester report | Success: All critical perf issues resolved\nTASK:\n - Parse performance report for specific issues (layout thrashing, unsafe properties, excessive will-change)\n - Replace layout-triggering properties with compositor-only alternatives\n - Optimize will-change usage\n - Verify reduced-motion fallback completeness\nCONTEXT:\n - Session: <session-folder>\n - Upstream artifacts: testing/reports/perf-report-<NNN>.md",
|
|
62
|
+
"role": "animator",
|
|
63
|
+
"prefix": "ANIM",
|
|
64
|
+
"deps": [],
|
|
65
|
+
"status": "pending",
|
|
66
|
+
"findings": "",
|
|
67
|
+
"error": ""
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
Then create new MTEST task in tasks.json with deps on fix. Increment gc_state.round.
|
|
72
|
+
|
|
73
|
+
**GC Escalation Options** (when max rounds exceeded):
|
|
74
|
+
1. Accept current animations - skip performance review, continue
|
|
75
|
+
2. Try one more round
|
|
76
|
+
3. Terminate
|
|
77
|
+
|
|
78
|
+
6. -> handleSpawnNext
|
|
79
|
+
|
|
80
|
+
## handleCheck
|
|
81
|
+
|
|
82
|
+
Read-only status report from tasks.json, then STOP.
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
Pipeline Status (<pipeline-mode>):
|
|
86
|
+
[DONE] MRESEARCH-001 (motion-researcher) -> research/*.json
|
|
87
|
+
[DONE] CHOREO-001 (choreographer) -> motion-tokens.json + sequences/
|
|
88
|
+
[RUN] ANIM-001 (animator) -> implementing animations...
|
|
89
|
+
[WAIT] MTEST-001 (motion-tester) -> blocked by ANIM-001
|
|
90
|
+
|
|
91
|
+
GC Rounds: 0/2
|
|
92
|
+
Performance Gate: pending
|
|
93
|
+
Session: <session-id>
|
|
94
|
+
Commands: 'resume' to advance | 'check' to refresh
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Output status -- do NOT advance pipeline.
|
|
98
|
+
|
|
99
|
+
## handleResume
|
|
100
|
+
|
|
101
|
+
**Agent Health Check** (v4):
|
|
102
|
+
```
|
|
103
|
+
// Verify actual running agents match session state
|
|
104
|
+
const runningAgents = list_agents({})
|
|
105
|
+
// For each active_agent in tasks.json:
|
|
106
|
+
// - If agent NOT in runningAgents -> agent crashed
|
|
107
|
+
// - Reset that task to pending, remove from active_agents
|
|
108
|
+
// This prevents stale agent references from blocking the pipeline
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
1. Audit tasks.json for inconsistencies:
|
|
112
|
+
- Tasks stuck in "in_progress" -> reset to "pending"
|
|
113
|
+
- Tasks with completed deps but still "pending" -> include in spawn list
|
|
114
|
+
2. -> handleSpawnNext
|
|
115
|
+
|
|
116
|
+
## handleSpawnNext
|
|
117
|
+
|
|
118
|
+
Find ready tasks, spawn workers, wait for results.
|
|
119
|
+
|
|
120
|
+
1. Read tasks.json: completedTasks, inProgressTasks, readyTasks (pending + all deps completed)
|
|
121
|
+
2. No ready + work in progress -> report waiting, STOP
|
|
122
|
+
3. No ready + nothing in progress -> handleComplete
|
|
123
|
+
4. Has ready -> for each:
|
|
124
|
+
a. Check inner loop role with active worker -> skip (worker picks up)
|
|
125
|
+
b. Update task status to in_progress in tasks.json
|
|
126
|
+
c. team_msg log -> task_unblocked
|
|
127
|
+
d. Spawn team_worker:
|
|
128
|
+
|
|
129
|
+
```javascript
|
|
130
|
+
// 1) Update status in tasks.json
|
|
131
|
+
state.tasks[taskId].status = 'in_progress'
|
|
132
|
+
|
|
133
|
+
// 2) Spawn worker
|
|
134
|
+
const agentId = spawn_agent({
|
|
135
|
+
agent_type: "team_worker",
|
|
136
|
+
task_name: taskId, // e.g., "ANIM-001" -- enables named targeting
|
|
137
|
+
fork_context: false,
|
|
138
|
+
items: [
|
|
139
|
+
{ type: "text", text: `## Role Assignment
|
|
140
|
+
role: ${role}
|
|
141
|
+
role_spec: ${skillRoot}/roles/${role}/role.md
|
|
142
|
+
session: ${sessionFolder}
|
|
143
|
+
session_id: ${sessionId}
|
|
144
|
+
requirement: ${taskDescription}
|
|
145
|
+
inner_loop: ${innerLoop}
|
|
146
|
+
|
|
147
|
+
Read role_spec file to load Phase 2-4 domain instructions.
|
|
148
|
+
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).` },
|
|
149
|
+
|
|
150
|
+
{ type: "text", text: `## Task Context
|
|
151
|
+
task_id: ${taskId}
|
|
152
|
+
title: ${taskTitle}
|
|
153
|
+
description: ${taskDescription}
|
|
154
|
+
pipeline_phase: ${pipelinePhase}` },
|
|
155
|
+
|
|
156
|
+
{ type: "text", text: `## Upstream Context
|
|
157
|
+
${prevContext}` }
|
|
158
|
+
]
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
// 3) Track agent
|
|
162
|
+
state.active_agents[taskId] = { agentId, role, started_at: now }
|
|
163
|
+
|
|
164
|
+
// 4) Wait for completion -- use task_name for stable targeting (v4)
|
|
165
|
+
const waitResult = wait_agent({ targets: [taskId], timeout_ms: 900000 })
|
|
166
|
+
if (waitResult.timed_out) {
|
|
167
|
+
state.tasks[taskId].status = 'timed_out'
|
|
168
|
+
close_agent({ target: taskId })
|
|
169
|
+
delete state.active_agents[taskId]
|
|
170
|
+
} else {
|
|
171
|
+
// 5) Collect results and update tasks.json
|
|
172
|
+
state.tasks[taskId].status = 'completed'
|
|
173
|
+
close_agent({ target: taskId }) // Use task_name, not agentId
|
|
174
|
+
delete state.active_agents[taskId]
|
|
175
|
+
}
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**Parallel spawn rules by mode**:
|
|
179
|
+
|
|
180
|
+
| Mode | Scenario | Spawn Behavior |
|
|
181
|
+
|------|----------|---------------|
|
|
182
|
+
| tokens | Sequential | One task at a time |
|
|
183
|
+
| component | Sequential | One task at a time, GC loop on MTEST |
|
|
184
|
+
| page | After CHOREO-001 | Spawn ANIM-001..N in parallel, wait_agent for all |
|
|
185
|
+
| page | After all ANIM complete | Spawn MTEST-001 |
|
|
186
|
+
|
|
187
|
+
**Cross-Agent Supplementary Context** (v4):
|
|
188
|
+
|
|
189
|
+
When spawning workers in a later pipeline phase, send upstream results as supplementary context to already-running workers:
|
|
190
|
+
|
|
191
|
+
```
|
|
192
|
+
// Example: Send research results to running choreographer
|
|
193
|
+
send_message({
|
|
194
|
+
target: "<running-agent-task-name>",
|
|
195
|
+
items: [{ type: "text", text: `## Supplementary Context\n${upstreamFindings}` }]
|
|
196
|
+
})
|
|
197
|
+
// Note: send_message queues info without interrupting the agent's current work
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Use `send_message` (not `assign_task`) for supplementary info that enriches but doesn't redirect the agent's current task.
|
|
201
|
+
|
|
202
|
+
5. Update tasks.json, output summary, STOP
|
|
203
|
+
|
|
204
|
+
## handleComplete
|
|
205
|
+
|
|
206
|
+
**Cleanup Verification** (v4):
|
|
207
|
+
```
|
|
208
|
+
// Verify all agents are properly closed
|
|
209
|
+
const remaining = list_agents({})
|
|
210
|
+
// If any team agents still running -> close_agent each
|
|
211
|
+
// Ensures clean session shutdown
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
Pipeline done. Generate report and completion action.
|
|
215
|
+
|
|
216
|
+
**Completion check by mode**:
|
|
217
|
+
|
|
218
|
+
| Mode | Completion Condition |
|
|
219
|
+
|------|---------------------|
|
|
220
|
+
| tokens | All 4 tasks (+ fix tasks) completed |
|
|
221
|
+
| component | All 4 tasks (+ fix tasks) completed |
|
|
222
|
+
| page | All 4+N tasks (+ fix tasks) completed |
|
|
223
|
+
|
|
224
|
+
1. If any tasks not completed -> handleSpawnNext
|
|
225
|
+
2. If all completed -> transition to coordinator Phase 5
|
|
226
|
+
|
|
227
|
+
## handleAdapt
|
|
228
|
+
|
|
229
|
+
Capability gap reported mid-pipeline.
|
|
230
|
+
|
|
231
|
+
1. Parse gap description
|
|
232
|
+
2. Check if existing role covers it -> redirect
|
|
233
|
+
3. Role count < 5 -> generate dynamic role spec
|
|
234
|
+
4. Create new task in tasks.json, spawn worker
|
|
235
|
+
5. Role count >= 5 -> merge or pause
|
|
236
|
+
|
|
237
|
+
## Fast-Advance Reconciliation
|
|
238
|
+
|
|
239
|
+
On every coordinator wake:
|
|
240
|
+
1. Read tasks.json for completed tasks
|
|
241
|
+
2. Sync active_agents with actual state
|
|
242
|
+
3. No duplicate spawns
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
# Coordinator Role
|
|
2
|
+
|
|
3
|
+
Motion Design Team coordinator. Orchestrate pipeline: analyze -> dispatch -> spawn -> monitor -> report. Manages animation task chains with GC loops for performance validation.
|
|
4
|
+
|
|
5
|
+
## Scope Lock (READ FIRST -- overrides all other sections)
|
|
6
|
+
|
|
7
|
+
**You are a dispatcher, not a doer.** Your ONLY outputs are:
|
|
8
|
+
- Session state files (`.workflow/.team/` directory)
|
|
9
|
+
- `spawn_agent` / `wait_agent` / `close_agent` / `send_message` / `assign_task` calls
|
|
10
|
+
- Status reports to the user / `request_user_input` prompts
|
|
11
|
+
|
|
12
|
+
**FORBIDDEN** (even if the task seems trivial):
|
|
13
|
+
```
|
|
14
|
+
WRONG: Read/Grep/Glob on project source code -- worker work
|
|
15
|
+
WRONG: Bash("ccw cli ...") -- worker work
|
|
16
|
+
WRONG: Edit/Write on project source files -- worker work
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**Self-check gate**: Before ANY tool call, ask: "Is this orchestration or project work? If project work -> STOP -> spawn worker."
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Identity
|
|
24
|
+
- **Name**: coordinator | **Tag**: [coordinator]
|
|
25
|
+
- **Responsibility**: Analyze task -> Create session -> Dispatch tasks -> Monitor progress -> Report results
|
|
26
|
+
|
|
27
|
+
## Boundaries
|
|
28
|
+
|
|
29
|
+
### MUST
|
|
30
|
+
- All output (team_msg, logs) must carry `[coordinator]` identifier
|
|
31
|
+
- Use `team_worker` agent type for all worker spawns (NOT `general-purpose`)
|
|
32
|
+
- Dispatch tasks with proper dependency chains and deps in tasks.json
|
|
33
|
+
- Monitor worker progress via wait_agent and process results
|
|
34
|
+
- Handle Generator-Critic loops with max 2 iterations
|
|
35
|
+
- Maintain session state persistence (tasks.json)
|
|
36
|
+
- **Always proceed through full Phase 1-5 workflow, never skip to direct execution**
|
|
37
|
+
- Use `send_message` for supplementary context (non-interrupting) and `assign_task` for triggering new work
|
|
38
|
+
- Use `list_agents` for session resume health checks and cleanup verification
|
|
39
|
+
|
|
40
|
+
### MUST NOT
|
|
41
|
+
- Implement domain logic (researching, choreographing, animating, testing) -- workers handle this
|
|
42
|
+
- Spawn workers without creating tasks first
|
|
43
|
+
- Skip sync points when configured
|
|
44
|
+
- Force-advance pipeline past failed performance test
|
|
45
|
+
- Modify source code or animation artifacts directly -- delegate to workers
|
|
46
|
+
- Omit `[coordinator]` identifier in any output
|
|
47
|
+
- Call CLI tools (ccw cli) -- only workers use CLI
|
|
48
|
+
|
|
49
|
+
## Command Execution Protocol
|
|
50
|
+
|
|
51
|
+
When coordinator needs to execute a command (analyze, dispatch, monitor):
|
|
52
|
+
|
|
53
|
+
1. Read `commands/<command>.md`
|
|
54
|
+
2. Follow the workflow defined in the command
|
|
55
|
+
3. Commands are inline execution guides, NOT separate agents
|
|
56
|
+
4. Execute synchronously, complete before proceeding
|
|
57
|
+
|
|
58
|
+
## Entry Router
|
|
59
|
+
|
|
60
|
+
| Detection | Condition | Handler |
|
|
61
|
+
|-----------|-----------|---------|
|
|
62
|
+
| Status check | Args contain "check" or "status" | -> handleCheck (monitor.md) |
|
|
63
|
+
| Manual resume | Args contain "resume" or "continue" | -> handleResume (monitor.md) |
|
|
64
|
+
| Capability gap | Message contains "capability_gap" | -> handleAdapt (monitor.md) |
|
|
65
|
+
| Pipeline complete | All tasks have status "completed" | -> handleComplete (monitor.md) |
|
|
66
|
+
| Interrupted session | Active/paused session exists in .workflow/.team/MD-* | -> Phase 0 |
|
|
67
|
+
| New session | None of above | -> Phase 1 |
|
|
68
|
+
|
|
69
|
+
For check/resume/adapt/complete: load `@commands/monitor.md`, execute matched handler, STOP.
|
|
70
|
+
|
|
71
|
+
## Phase 0: Session Resume Check
|
|
72
|
+
|
|
73
|
+
1. Scan `.workflow/.team/MD-*/tasks.json` for active/paused sessions
|
|
74
|
+
2. No sessions -> Phase 1
|
|
75
|
+
3. Single session -> reconcile (read tasks.json, reset in_progress->pending, kick first ready task)
|
|
76
|
+
4. Multiple -> request_user_input for selection
|
|
77
|
+
|
|
78
|
+
## Phase 1: Requirement Clarification
|
|
79
|
+
|
|
80
|
+
TEXT-LEVEL ONLY. No source code reading.
|
|
81
|
+
|
|
82
|
+
1. Parse task description from arguments
|
|
83
|
+
2. Detect motion scope:
|
|
84
|
+
|
|
85
|
+
| Signal | Pipeline Mode |
|
|
86
|
+
|--------|---------------|
|
|
87
|
+
| Token, easing, duration system, motion tokens | tokens |
|
|
88
|
+
| Animate specific component(s), single element | component |
|
|
89
|
+
| Full page scroll choreography, page transitions | page |
|
|
90
|
+
| Unclear | ask user |
|
|
91
|
+
|
|
92
|
+
3. Ask for missing parameters if scope unclear:
|
|
93
|
+
```
|
|
94
|
+
request_user_input({
|
|
95
|
+
questions: [
|
|
96
|
+
{ question: "Motion design scope?", header: "Scope", options: [
|
|
97
|
+
{ label: "Animation token system", description: "Easing functions, duration scale, stagger formulas" },
|
|
98
|
+
{ label: "Component animation", description: "Animate specific component(s) with transitions" },
|
|
99
|
+
{ label: "Page scroll choreography", description: "Full page scroll-triggered reveals and transitions" }
|
|
100
|
+
]},
|
|
101
|
+
{ question: "Target framework?", header: "Framework", options: [
|
|
102
|
+
{ label: "CSS-only" }, { label: "React" },
|
|
103
|
+
{ label: "Vue" }, { label: "Vanilla JS" }, { label: "Other" }
|
|
104
|
+
]}
|
|
105
|
+
]
|
|
106
|
+
})
|
|
107
|
+
```
|
|
108
|
+
4. Delegate to `@commands/analyze.md` -> output scope context
|
|
109
|
+
5. Record: pipeline_mode, framework, complexity
|
|
110
|
+
|
|
111
|
+
## Phase 2: Create Session + Initialize
|
|
112
|
+
|
|
113
|
+
1. Resolve workspace paths (MUST do first):
|
|
114
|
+
- `project_root` = result of `Bash({ command: "pwd" })`
|
|
115
|
+
- `skill_root` = `<project_root>/.codex/skills/team-motion-design`
|
|
116
|
+
2. Generate session ID: `MD-<slug>-<YYYY-MM-DD>`
|
|
117
|
+
3. Create session folder structure:
|
|
118
|
+
```
|
|
119
|
+
.workflow/.team/MD-<slug>-<date>/research/perf-traces/
|
|
120
|
+
.workflow/.team/MD-<slug>-<date>/choreography/sequences/
|
|
121
|
+
.workflow/.team/MD-<slug>-<date>/animations/keyframes/
|
|
122
|
+
.workflow/.team/MD-<slug>-<date>/animations/orchestrators/
|
|
123
|
+
.workflow/.team/MD-<slug>-<date>/testing/traces/
|
|
124
|
+
.workflow/.team/MD-<slug>-<date>/testing/reports/
|
|
125
|
+
.workflow/.team/MD-<slug>-<date>/wisdom/
|
|
126
|
+
.workflow/.team/MD-<slug>-<date>/.msg/
|
|
127
|
+
```
|
|
128
|
+
4. Initialize `.msg/meta.json` via team_msg state_update with pipeline metadata
|
|
129
|
+
5. Write initial tasks.json:
|
|
130
|
+
```json
|
|
131
|
+
{
|
|
132
|
+
"session_id": "<id>",
|
|
133
|
+
"pipeline_mode": "<tokens|component|page>",
|
|
134
|
+
"framework": "<framework>",
|
|
135
|
+
"created_at": "<ISO timestamp>",
|
|
136
|
+
"gc_rounds": 0,
|
|
137
|
+
"max_gc_rounds": 2,
|
|
138
|
+
"active_agents": {},
|
|
139
|
+
"tasks": {}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
6. Do NOT spawn workers yet - deferred to Phase 4
|
|
143
|
+
|
|
144
|
+
## Phase 3: Create Task Chain
|
|
145
|
+
|
|
146
|
+
Delegate to `@commands/dispatch.md`. Task chains by mode:
|
|
147
|
+
|
|
148
|
+
| Mode | Task Chain |
|
|
149
|
+
|------|------------|
|
|
150
|
+
| tokens | MRESEARCH-001 -> CHOREO-001 -> ANIM-001 -> MTEST-001 |
|
|
151
|
+
| component | MRESEARCH-001 -> CHOREO-001 -> ANIM-001 -> MTEST-001 (GC loop) |
|
|
152
|
+
| page | MRESEARCH-001 -> CHOREO-001 -> [ANIM-001..N parallel] -> MTEST-001 |
|
|
153
|
+
|
|
154
|
+
## Phase 4: Spawn-and-Wait
|
|
155
|
+
|
|
156
|
+
Delegate to `@commands/monitor.md#handleSpawnNext`:
|
|
157
|
+
1. Find ready tasks (pending + deps resolved)
|
|
158
|
+
2. Spawn team_worker agents via spawn_agent, wait_agent for results
|
|
159
|
+
3. Output status summary
|
|
160
|
+
4. STOP
|
|
161
|
+
|
|
162
|
+
## Phase 5: Report + Completion Action
|
|
163
|
+
|
|
164
|
+
1. Read session state -> collect all results
|
|
165
|
+
2. List deliverables:
|
|
166
|
+
|
|
167
|
+
| Deliverable | Path |
|
|
168
|
+
|-------------|------|
|
|
169
|
+
| Animation Inventory | <session>/research/animation-inventory.json |
|
|
170
|
+
| Performance Baseline | <session>/research/performance-baseline.json |
|
|
171
|
+
| Easing Catalog | <session>/research/easing-catalog.json |
|
|
172
|
+
| Motion Tokens | <session>/choreography/motion-tokens.json |
|
|
173
|
+
| Choreography Sequences | <session>/choreography/sequences/*.md |
|
|
174
|
+
| CSS Keyframes | <session>/animations/keyframes/*.css |
|
|
175
|
+
| JS Orchestrators | <session>/animations/orchestrators/*.js |
|
|
176
|
+
| Performance Reports | <session>/testing/reports/perf-report-*.md |
|
|
177
|
+
|
|
178
|
+
3. Calculate: completed_tasks, gc_rounds, perf_score, final_fps
|
|
179
|
+
4. Output pipeline summary with [coordinator] prefix
|
|
180
|
+
5. Execute completion action:
|
|
181
|
+
```
|
|
182
|
+
request_user_input({
|
|
183
|
+
questions: [{ question: "Pipeline complete. What next?", header: "Completion", options: [
|
|
184
|
+
{ label: "Archive & Clean", description: "Archive session and clean up resources" },
|
|
185
|
+
{ label: "Keep Active", description: "Keep session for follow-up work" },
|
|
186
|
+
{ label: "Export Results", description: "Export deliverables to specified location" }
|
|
187
|
+
]}]
|
|
188
|
+
})
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## v4 Coordination Patterns
|
|
192
|
+
|
|
193
|
+
### Message Semantics
|
|
194
|
+
- **send_message**: Queue supplementary info to a running agent. Does NOT interrupt current processing. Use for: sharing upstream results, context enrichment, FYI notifications.
|
|
195
|
+
- **assign_task**: Assign new work and trigger processing. Use for: waking idle agents, redirecting work, requesting new output.
|
|
196
|
+
|
|
197
|
+
### Agent Lifecycle Management
|
|
198
|
+
- **list_agents({})**: Returns all running agents. Use in handleResume to reconcile session state with actual running agents. Use in handleComplete to verify clean shutdown.
|
|
199
|
+
- **Named targeting**: Workers spawned with `task_name: "<task-id>"` can be addressed by name in send_message, assign_task, and close_agent calls.
|
|
200
|
+
|
|
201
|
+
## Error Handling
|
|
202
|
+
|
|
203
|
+
| Error | Resolution |
|
|
204
|
+
|-------|------------|
|
|
205
|
+
| Task timeout | Log, mark failed, ask user to retry or skip |
|
|
206
|
+
| Worker crash | Reset task to pending, respawn worker |
|
|
207
|
+
| Dependency cycle | Detect, report to user, halt |
|
|
208
|
+
| Invalid scope | Reject with error, ask to clarify |
|
|
209
|
+
| Session corruption | Attempt recovery, fallback to manual reconciliation |
|
|
210
|
+
| GC loop stuck > 2 rounds | Escalate to user: accept / try one more / terminate |
|