pi-maestro-flow 0.2.0
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/README.md +124 -0
- package/agents/aggregator.md +27 -0
- package/agents/cli-explore-agent.md +188 -0
- package/agents/cross-role-reviewer.md +171 -0
- package/agents/delegate.md +19 -0
- package/agents/explorer.md +23 -0
- package/agents/impeccable-agent.md +99 -0
- package/agents/ralph-executor.md +81 -0
- package/agents/reference.md +24 -0
- package/agents/role-design-author.md +220 -0
- package/agents/team-supervisor.md +143 -0
- package/agents/team-worker.md +237 -0
- package/agents/ui-design-agent.md +270 -0
- package/agents/workflow-analyzer.md +116 -0
- package/agents/workflow-codebase-mapper.md +77 -0
- package/agents/workflow-collab-planner.md +147 -0
- package/agents/workflow-debugger.md +104 -0
- package/agents/workflow-executor.md +133 -0
- package/agents/workflow-external-researcher.md +86 -0
- package/agents/workflow-integration-checker.md +83 -0
- package/agents/workflow-nyquist-auditor.md +85 -0
- package/agents/workflow-phase-researcher.md +85 -0
- package/agents/workflow-plan-checker.md +100 -0
- package/agents/workflow-planner.md +200 -0
- package/agents/workflow-project-researcher.md +74 -0
- package/agents/workflow-research-synthesizer.md +70 -0
- package/agents/workflow-reviewer.md +82 -0
- package/agents/workflow-roadmapper.md +81 -0
- package/agents/workflow-verifier.md +120 -0
- package/package.json +58 -0
- package/skills/codify-to-knowhow/SKILL.md +167 -0
- package/skills/delegation-check/SKILL.md +297 -0
- package/skills/domain-add/SKILL.md +75 -0
- package/skills/insight-challenge/SKILL.md +226 -0
- package/skills/learn-decompose/SKILL.md +124 -0
- package/skills/learn-follow/SKILL.md +163 -0
- package/skills/learn-investigate/SKILL.md +160 -0
- package/skills/learn-second-opinion/SKILL.md +128 -0
- package/skills/maestro/SKILL.md +239 -0
- package/skills/maestro-amend/SKILL.md +169 -0
- package/skills/maestro-analyze/SKILL.md +173 -0
- package/skills/maestro-blueprint/SKILL.md +159 -0
- package/skills/maestro-brainstorm/SKILL.md +193 -0
- package/skills/maestro-collab/SKILL.md +181 -0
- package/skills/maestro-companion/SKILL.md +536 -0
- package/skills/maestro-composer/SKILL.md +192 -0
- package/skills/maestro-execute/SKILL.md +193 -0
- package/skills/maestro-fork/SKILL.md +104 -0
- package/skills/maestro-grill/SKILL.md +151 -0
- package/skills/maestro-guard/SKILL.md +124 -0
- package/skills/maestro-help/SKILL.md +328 -0
- package/skills/maestro-impeccable/SKILL.md +302 -0
- package/skills/maestro-init/SKILL.md +151 -0
- package/skills/maestro-merge/SKILL.md +90 -0
- package/skills/maestro-milestone-audit/SKILL.md +117 -0
- package/skills/maestro-milestone-complete/SKILL.md +133 -0
- package/skills/maestro-milestone-release/SKILL.md +131 -0
- package/skills/maestro-next/SKILL.md +269 -0
- package/skills/maestro-overlay/SKILL.md +203 -0
- package/skills/maestro-plan/SKILL.md +194 -0
- package/skills/maestro-player/SKILL.md +184 -0
- package/skills/maestro-quick/SKILL.md +117 -0
- package/skills/maestro-ralph/SKILL.md +905 -0
- package/skills/maestro-ralph-cli/SKILL.md +976 -0
- package/skills/maestro-ralph-cli-execute/SKILL.md +229 -0
- package/skills/maestro-ralph-execute/SKILL.md +409 -0
- package/skills/maestro-ralph-v2/SKILL.md +1198 -0
- package/skills/maestro-roadmap/SKILL.md +157 -0
- package/skills/maestro-swarm-workflow/SKILL.md +272 -0
- package/skills/maestro-tools-execute/SKILL.md +143 -0
- package/skills/maestro-tools-register/SKILL.md +192 -0
- package/skills/maestro-ui-codify/SKILL.md +127 -0
- package/skills/maestro-universal-workflow/SKILL.md +622 -0
- package/skills/maestro-update/SKILL.md +156 -0
- package/skills/manage-codebase-rebuild/SKILL.md +111 -0
- package/skills/manage-drift-realign/SKILL.md +159 -0
- package/skills/manage-harvest/SKILL.md +121 -0
- package/skills/manage-issue/SKILL.md +88 -0
- package/skills/manage-issue-discover/SKILL.md +104 -0
- package/skills/manage-kg-extractors/SKILL.md +147 -0
- package/skills/manage-knowhow/SKILL.md +102 -0
- package/skills/manage-knowhow-capture/SKILL.md +109 -0
- package/skills/manage-knowledge-audit/SKILL.md +147 -0
- package/skills/manage-status/SKILL.md +80 -0
- package/skills/manage-wiki/SKILL.md +104 -0
- package/skills/odyssey-debug/SKILL.md +344 -0
- package/skills/odyssey-improve/SKILL.md +423 -0
- package/skills/odyssey-planex/SKILL.md +542 -0
- package/skills/odyssey-review-test-fix/SKILL.md +392 -0
- package/skills/odyssey-ui/SKILL.md +388 -0
- package/skills/prompt-generator/SKILL.md +470 -0
- package/skills/quality-auto-test/SKILL.md +168 -0
- package/skills/quality-debug/SKILL.md +176 -0
- package/skills/quality-refactor/SKILL.md +108 -0
- package/skills/quality-retrospective/SKILL.md +134 -0
- package/skills/quality-review/SKILL.md +169 -0
- package/skills/quality-sync/SKILL.md +90 -0
- package/skills/quality-test/SKILL.md +183 -0
- package/skills/scholar-anti-ai-writing/SKILL.md +173 -0
- package/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -0
- package/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -0
- package/skills/scholar-citation-verify/SKILL.md +166 -0
- package/skills/scholar-citation-verify/references/api-usage.md +372 -0
- package/skills/scholar-citation-verify/references/common-errors.md +384 -0
- package/skills/scholar-citation-verify/references/verification-rules.md +399 -0
- package/skills/scholar-experiment/SKILL.md +321 -0
- package/skills/scholar-ideation/SKILL.md +288 -0
- package/skills/scholar-latex-organizer/SKILL.md +186 -0
- package/skills/scholar-publish/SKILL.md +220 -0
- package/skills/scholar-rebuttal-pro/README.md +313 -0
- package/skills/scholar-rebuttal-pro/SKILL.md +511 -0
- package/skills/scholar-review/SKILL.md +227 -0
- package/skills/scholar-thesis-docx/README.md +111 -0
- package/skills/scholar-thesis-docx/README_EN.md +108 -0
- package/skills/scholar-thesis-docx/SKILL.md +212 -0
- package/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -0
- package/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -0
- package/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -0
- package/skills/scholar-thesis-docx/references/script-usage.md +157 -0
- package/skills/scholar-thesis-docx/scripts/audit_docx_ooxml.py +429 -0
- package/skills/scholar-thesis-docx/scripts/check_word_com.ps1 +50 -0
- package/skills/scholar-thesis-docx/scripts/export_word_pdf.ps1 +62 -0
- package/skills/scholar-thesis-docx/scripts/normalize_word_styles.ps1 +498 -0
- package/skills/scholar-thesis-docx/scripts/render_mermaid_figure.ps1 +148 -0
- package/skills/scholar-writing/SKILL.md +296 -0
- package/skills/security-audit/SKILL.md +244 -0
- package/skills/skill-generator/SKILL.md +472 -0
- package/skills/skill-iter-tune/SKILL.md +382 -0
- package/skills/skill-simplify/SKILL.md +63 -0
- package/skills/skill-tuning/SKILL.md +174 -0
- package/skills/spec-add/SKILL.md +105 -0
- package/skills/spec-load/SKILL.md +98 -0
- package/skills/spec-remove/SKILL.md +74 -0
- package/skills/spec-setup/SKILL.md +75 -0
- package/skills/team-adversarial-swarm/SKILL.md +233 -0
- package/skills/team-adversarial-swarm/scripts/__pycache__/pheromone.cpython-313.pyc +0 -0
- package/skills/team-adversarial-swarm/scripts/__pycache__/scoring.cpython-313.pyc +0 -0
- package/skills/team-adversarial-swarm/scripts/aco.py +473 -0
- package/skills/team-adversarial-swarm/scripts/pheromone.py +144 -0
- package/skills/team-adversarial-swarm/scripts/scoring.py +92 -0
- package/skills/team-adversarial-swarm/scripts/test_aco.py +475 -0
- package/skills/team-arch-opt/SKILL.md +158 -0
- package/skills/team-brainstorm/SKILL.md +171 -0
- package/skills/team-coordinate/SKILL.md +266 -0
- package/skills/team-designer/SKILL.md +160 -0
- package/skills/team-executor/SKILL.md +189 -0
- package/skills/team-frontend/SKILL.md +136 -0
- package/skills/team-frontend-debug/SKILL.md +198 -0
- package/skills/team-interactive-craft/SKILL.md +141 -0
- package/skills/team-issue/SKILL.md +171 -0
- package/skills/team-lifecycle-v4/SKILL.md +209 -0
- package/skills/team-motion-design/SKILL.md +142 -0
- package/skills/team-perf-opt/SKILL.md +175 -0
- package/skills/team-planex/SKILL.md +137 -0
- package/skills/team-quality-assurance/SKILL.md +147 -0
- package/skills/team-review/SKILL.md +147 -0
- package/skills/team-roadmap-dev/SKILL.md +169 -0
- package/skills/team-swarm/SKILL.md +178 -0
- package/skills/team-swarm/scripts/aco.py +473 -0
- package/skills/team-swarm/scripts/pheromone.py +144 -0
- package/skills/team-swarm/scripts/scoring.py +92 -0
- package/skills/team-swarm/scripts/test_aco.py +475 -0
- package/skills/team-tech-debt/SKILL.md +128 -0
- package/skills/team-testing/SKILL.md +143 -0
- package/skills/team-ui-polish/SKILL.md +141 -0
- package/skills/team-uidesign/SKILL.md +144 -0
- package/skills/team-ultra-analyze/SKILL.md +173 -0
- package/skills/team-ux-improve/SKILL.md +151 -0
- package/skills/team-visual-a11y/SKILL.md +156 -0
- package/skills/workflow-skill-designer/SKILL.md +496 -0
- package/src/extension/index.ts +222 -0
- package/src/extension/schemas.ts +131 -0
- package/src/providers/cli-tools-loader.ts +74 -0
- package/src/providers/provider-registry.ts +130 -0
- package/src/tools/delegate.ts +85 -0
- package/src/tools/explore.ts +134 -0
- package/src/tools/moa.ts +213 -0
- package/src/tools/status.ts +99 -0
- package/src/tools/wait.ts +166 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: team-interactive-craft
|
|
3
|
+
description: "Unified team skill for interactive component crafting. Vanilla JS + CSS interactive components with zero dependencies. Research -> interaction design -> build -> a11y test. Uses team-worker agent architecture. Triggers on \"team interactive craft\", \"interactive component\"."
|
|
4
|
+
allowed-tools: Agent AskUserQuestion Read Write Edit Bash Glob Grep TaskList TaskGet TaskUpdate TaskCreate TeamCreate TeamDelete SendMessage mcp__maestro__read_file mcp__maestro__write_file mcp__maestro__edit_file mcp__maestro__team_msg
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Team Interactive Craft
|
|
8
|
+
|
|
9
|
+
Systematic interactive component pipeline: research -> interaction design -> build -> a11y test. Built on **team-worker agent architecture** -- all worker roles share a single agent definition with role-specific Phase 2-4 loaded from `roles/<role>/role.md`.
|
|
10
|
+
|
|
11
|
+
## Architecture
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Skill(skill="team-interactive-craft", args="task description")
|
|
15
|
+
|
|
|
16
|
+
SKILL.md (this file) = Router
|
|
17
|
+
|
|
|
18
|
+
+--------------+--------------+
|
|
19
|
+
| |
|
|
20
|
+
no --role flag --role <name>
|
|
21
|
+
| |
|
|
22
|
+
Coordinator Worker
|
|
23
|
+
roles/coordinator/role.md roles/<name>/role.md
|
|
24
|
+
|
|
|
25
|
+
+-- analyze -> dispatch -> spawn workers -> STOP
|
|
26
|
+
|
|
|
27
|
+
+-------+-------+-------+-------+
|
|
28
|
+
v v v v
|
|
29
|
+
[team-worker agents, each loads roles/<role>/role.md]
|
|
30
|
+
researcher interaction-designer builder a11y-tester
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Role Registry
|
|
34
|
+
|
|
35
|
+
| Role | Path | Prefix | Inner Loop |
|
|
36
|
+
|------|------|--------|------------|
|
|
37
|
+
| coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | -- | -- |
|
|
38
|
+
| researcher | [roles/researcher/role.md](roles/researcher/role.md) | RESEARCH-* | false |
|
|
39
|
+
| interaction-designer | [roles/interaction-designer/role.md](roles/interaction-designer/role.md) | INTERACT-* | false |
|
|
40
|
+
| builder | [roles/builder/role.md](roles/builder/role.md) | BUILD-* | true |
|
|
41
|
+
| a11y-tester | [roles/a11y-tester/role.md](roles/a11y-tester/role.md) | A11Y-* | false |
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Pre-load (coordinator, before dispatch)
|
|
45
|
+
|
|
46
|
+
1. **Codebase docs**: If `.workflow/codebase/ARCHITECTURE.md` exists, read for module boundaries
|
|
47
|
+
2. **Specs (coding)**: `maestro load --type spec --category coding` — load coding constraints as shared context
|
|
48
|
+
3. **Specs (ui)**: `maestro load --type spec --category ui` — load ui constraints as shared context
|
|
49
|
+
4. **Wiki knowledge**: `maestro search "interactive component animation" --json` — top 5 entries as prior context
|
|
50
|
+
5. All optional — proceed without if unavailable
|
|
51
|
+
## Role Router
|
|
52
|
+
|
|
53
|
+
Parse `$ARGUMENTS`:
|
|
54
|
+
- Has `--role <name>` -> Read `roles/<name>/role.md`, execute Phase 2-4
|
|
55
|
+
- No `--role` -> `@roles/coordinator/role.md`, execute entry router
|
|
56
|
+
|
|
57
|
+
## Shared Constants
|
|
58
|
+
|
|
59
|
+
- **Session prefix**: `IC`
|
|
60
|
+
- **Session path**: `.workflow/.team/IC-<slug>-<date>/`
|
|
61
|
+
- **CLI tools**: `maestro delegate --mode analysis` (read-only), `maestro delegate --mode write` (modifications)
|
|
62
|
+
- **Message bus**: `mcp__maestro__team_msg(session_id=<session-id>, ...)`
|
|
63
|
+
- **Max GC rounds**: 2
|
|
64
|
+
|
|
65
|
+
## Worker Spawn Template
|
|
66
|
+
|
|
67
|
+
Coordinator spawns workers using this template:
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
Agent({
|
|
71
|
+
subagent_type: "team-worker",
|
|
72
|
+
description: "Spawn <role> worker for <task-id>",
|
|
73
|
+
team_name: "interactive-craft",
|
|
74
|
+
name: "<role>",
|
|
75
|
+
run_in_background: true,
|
|
76
|
+
prompt: `## Role Assignment
|
|
77
|
+
role: <role>
|
|
78
|
+
role_spec: <skill_root>/roles/<role>/role.md
|
|
79
|
+
session: <session-folder>
|
|
80
|
+
session_id: <session-id>
|
|
81
|
+
team_name: interactive-craft
|
|
82
|
+
requirement: <task-description>
|
|
83
|
+
inner_loop: <true|false>
|
|
84
|
+
|
|
85
|
+
## Progress Milestones
|
|
86
|
+
session_id: <session-id>
|
|
87
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
88
|
+
Report blockers immediately via team_msg type="blocker".
|
|
89
|
+
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
90
|
+
|
|
91
|
+
Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
|
|
92
|
+
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).`
|
|
93
|
+
})
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## User Commands
|
|
97
|
+
|
|
98
|
+
| Command | Action |
|
|
99
|
+
|---------|--------|
|
|
100
|
+
| `check` / `status` | View execution status graph |
|
|
101
|
+
| `resume` / `continue` | Advance to next step |
|
|
102
|
+
|
|
103
|
+
## Specs Reference
|
|
104
|
+
|
|
105
|
+
- [specs/pipelines.md](specs/pipelines.md) -- Pipeline definitions and task registry
|
|
106
|
+
- [specs/interaction-patterns.md](specs/interaction-patterns.md) -- Interaction pattern catalog
|
|
107
|
+
- [specs/vanilla-constraints.md](specs/vanilla-constraints.md) -- Zero-dependency rules
|
|
108
|
+
|
|
109
|
+
## Session Directory
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
.workflow/.team/IC-<slug>-<date>/
|
|
113
|
+
+-- .msg/
|
|
114
|
+
| +-- messages.jsonl # Team message bus
|
|
115
|
+
| +-- meta.json # Pipeline config + GC state
|
|
116
|
+
+-- research/ # Researcher output
|
|
117
|
+
| +-- interaction-inventory.json
|
|
118
|
+
| +-- browser-api-audit.json
|
|
119
|
+
| +-- pattern-reference.json
|
|
120
|
+
+-- interaction/ # Interaction designer output
|
|
121
|
+
| +-- blueprints/
|
|
122
|
+
| +-- {component-name}.md
|
|
123
|
+
+-- build/ # Builder output
|
|
124
|
+
| +-- components/
|
|
125
|
+
| +-- {name}.js
|
|
126
|
+
| +-- {name}.css
|
|
127
|
+
+-- a11y/ # A11y tester output
|
|
128
|
+
| +-- a11y-audit-{NNN}.md
|
|
129
|
+
+-- wisdom/ # Cross-task knowledge
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Error Handling
|
|
133
|
+
|
|
134
|
+
| Scenario | Resolution |
|
|
135
|
+
|----------|------------|
|
|
136
|
+
| Unknown command | Error with available command list |
|
|
137
|
+
| Role not found | Error with role registry |
|
|
138
|
+
| Session corruption | Attempt recovery, fallback to manual |
|
|
139
|
+
| Fast-advance conflict | Coordinator reconciles on next callback |
|
|
140
|
+
| Completion action fails | Default to Keep Active |
|
|
141
|
+
| GC loop stuck > 2 rounds | Escalate to user: accept / retry / terminate |
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: team-issue
|
|
3
|
+
description: "Unified team skill for issue resolution. Uses team-worker agent architecture with role directories for domain logic. Coordinator orchestrates pipeline, workers are team-worker agents. Triggers on \"team issue\"."
|
|
4
|
+
allowed-tools: TeamCreate TeamDelete SendMessage TaskCreate TaskUpdate TaskList TaskGet Agent AskUserQuestion Read Write Edit Bash Glob Grep mcp__maestro__team_msg
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Team Issue Resolution
|
|
8
|
+
|
|
9
|
+
Orchestrate issue resolution pipeline: explore context -> plan solution -> review (optional) -> marshal queue -> implement. Supports Quick, Full, and Batch pipelines with review-fix cycle.
|
|
10
|
+
|
|
11
|
+
## Architecture
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Skill(skill="team-issue", args="<issue-ids> [--mode=<mode>]")
|
|
15
|
+
|
|
|
16
|
+
SKILL.md (this file) = Router
|
|
17
|
+
|
|
|
18
|
+
+--------------+--------------+
|
|
19
|
+
| |
|
|
20
|
+
no --role flag --role <name>
|
|
21
|
+
| |
|
|
22
|
+
Coordinator Worker
|
|
23
|
+
roles/coordinator/role.md roles/<name>/role.md
|
|
24
|
+
|
|
|
25
|
+
+-- clarify -> dispatch -> spawn workers -> STOP
|
|
26
|
+
|
|
|
27
|
+
+-------+-------+-------+-------+
|
|
28
|
+
v v v v v
|
|
29
|
+
[explor] [plann] [review] [integ] [imple]
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Role Registry
|
|
33
|
+
|
|
34
|
+
| Role | Path | Prefix | Inner Loop |
|
|
35
|
+
|------|------|--------|------------|
|
|
36
|
+
| coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | — | — |
|
|
37
|
+
| explorer | [roles/explorer/role.md](roles/explorer/role.md) | EXPLORE-* | false |
|
|
38
|
+
| planner | [roles/planner/role.md](roles/planner/role.md) | SOLVE-* | false |
|
|
39
|
+
| reviewer | [roles/reviewer/role.md](roles/reviewer/role.md) | AUDIT-* | false |
|
|
40
|
+
| integrator | [roles/integrator/role.md](roles/integrator/role.md) | MARSHAL-* | false |
|
|
41
|
+
| implementer | [roles/implementer/role.md](roles/implementer/role.md) | BUILD-* | false |
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Pre-load (coordinator, before dispatch)
|
|
45
|
+
|
|
46
|
+
1. **Codebase docs**: If `.workflow/codebase/ARCHITECTURE.md` exists, read for module boundaries
|
|
47
|
+
2. **Specs (coding)**: `maestro load --type spec --category coding` — load coding constraints as shared context
|
|
48
|
+
3. **Specs (debug)**: `maestro load --type spec --category debug` — load debug constraints as shared context
|
|
49
|
+
4. **Wiki knowledge**: `maestro search "issue resolution fix" --json` — top 5 entries as prior context
|
|
50
|
+
5. All optional — proceed without if unavailable
|
|
51
|
+
## Role Router
|
|
52
|
+
|
|
53
|
+
Parse `$ARGUMENTS`:
|
|
54
|
+
- Has `--role <name>` → Read `roles/<name>/role.md`, execute Phase 2-4
|
|
55
|
+
- No `--role` → `@roles/coordinator/role.md`, execute entry router
|
|
56
|
+
|
|
57
|
+
## Shared Constants
|
|
58
|
+
|
|
59
|
+
- **Session prefix**: `TISL`
|
|
60
|
+
- **Session path**: `.workflow/.team/TISL-<slug>-<date>/`
|
|
61
|
+
- **Team name**: `issue`
|
|
62
|
+
- **CLI tools**: `maestro delegate --mode analysis` (read-only), `maestro delegate --mode write` (modifications)
|
|
63
|
+
- **Message bus**: `mcp__maestro__team_msg(session_id=<session-id>, ...)`
|
|
64
|
+
|
|
65
|
+
## Worker Spawn Template
|
|
66
|
+
|
|
67
|
+
Coordinator spawns workers using this template:
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
Agent({
|
|
71
|
+
subagent_type: "team-worker",
|
|
72
|
+
description: "Spawn <role> worker",
|
|
73
|
+
team_name: "issue",
|
|
74
|
+
name: "<role>",
|
|
75
|
+
run_in_background: true,
|
|
76
|
+
prompt: `## Role Assignment
|
|
77
|
+
role: <role>
|
|
78
|
+
role_spec: <skill_root>/roles/<role>/role.md
|
|
79
|
+
session: <session-folder>
|
|
80
|
+
session_id: <session-id>
|
|
81
|
+
team_name: issue
|
|
82
|
+
requirement: <task-description>
|
|
83
|
+
inner_loop: false
|
|
84
|
+
|
|
85
|
+
## Progress Milestones
|
|
86
|
+
session_id: <session-id>
|
|
87
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
88
|
+
Report blockers immediately via team_msg type="blocker".
|
|
89
|
+
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
90
|
+
|
|
91
|
+
Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
|
|
92
|
+
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).`
|
|
93
|
+
})
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Parallel spawn** (Batch mode, N explorer or M implementer instances):
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Agent({
|
|
100
|
+
subagent_type: "team-worker",
|
|
101
|
+
name: "<role>-<N>",
|
|
102
|
+
team_name: "issue",
|
|
103
|
+
run_in_background: true,
|
|
104
|
+
prompt: `## Role Assignment
|
|
105
|
+
role: <role>
|
|
106
|
+
role_spec: <skill_root>/roles/<role>/role.md
|
|
107
|
+
session: <session-folder>
|
|
108
|
+
session_id: <session-id>
|
|
109
|
+
team_name: issue
|
|
110
|
+
requirement: <task-description>
|
|
111
|
+
agent_name: <role>-<N>
|
|
112
|
+
inner_loop: false
|
|
113
|
+
|
|
114
|
+
## Progress Milestones
|
|
115
|
+
session_id: <session-id>
|
|
116
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
117
|
+
Report blockers immediately via team_msg type="blocker".
|
|
118
|
+
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
119
|
+
|
|
120
|
+
Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
|
|
121
|
+
Execute built-in Phase 1 (task discovery, owner=<role>-<N>) -> role Phase 2-4 -> built-in Phase 5 (report).`
|
|
122
|
+
})
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## User Commands
|
|
126
|
+
|
|
127
|
+
| Command | Action |
|
|
128
|
+
|---------|--------|
|
|
129
|
+
| `check` / `status` | View execution status graph, no advancement |
|
|
130
|
+
| `resume` / `continue` | Check worker states, advance next step |
|
|
131
|
+
|
|
132
|
+
## Session Directory
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
.workflow/.team/TISL-<slug>-<date>/
|
|
136
|
+
├── session.json # Session metadata + pipeline + fix_cycles
|
|
137
|
+
├── task-analysis.json # Coordinator analyze output
|
|
138
|
+
├── .msg/
|
|
139
|
+
│ ├── messages.jsonl # Message bus log
|
|
140
|
+
│ └── meta.json # Session state + cross-role state
|
|
141
|
+
├── wisdom/ # Cross-task knowledge
|
|
142
|
+
│ ├── learnings.md
|
|
143
|
+
│ ├── decisions.md
|
|
144
|
+
│ ├── conventions.md
|
|
145
|
+
│ └── issues.md
|
|
146
|
+
├── explorations/ # Explorer output
|
|
147
|
+
│ └── context-<issueId>.json
|
|
148
|
+
├── solutions/ # Planner output
|
|
149
|
+
│ └── solution-<issueId>.json
|
|
150
|
+
├── audits/ # Reviewer output
|
|
151
|
+
│ └── audit-report.json
|
|
152
|
+
├── queue/ # Integrator output (also .workflow/issues/queue/)
|
|
153
|
+
└── builds/ # Implementer output
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Specs Reference
|
|
157
|
+
|
|
158
|
+
- [specs/pipelines.md](specs/pipelines.md) — Pipeline definitions and task registry
|
|
159
|
+
|
|
160
|
+
## Error Handling
|
|
161
|
+
|
|
162
|
+
| Scenario | Resolution |
|
|
163
|
+
|----------|------------|
|
|
164
|
+
| Unknown command | Error with available command list |
|
|
165
|
+
| Role not found | Error with role registry |
|
|
166
|
+
| CLI tool fails | Worker fallback to direct implementation |
|
|
167
|
+
| Fast-advance conflict | Coordinator reconciles on next callback |
|
|
168
|
+
| Completion action fails | Default to Keep Active |
|
|
169
|
+
| Review rejection exceeds 2 rounds | Force convergence to integrator |
|
|
170
|
+
| No issues found for given IDs | Coordinator reports error to user |
|
|
171
|
+
| Deferred BUILD count unknown | Defer to MARSHAL callback |
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: team-lifecycle-v4
|
|
3
|
+
description: "Full lifecycle team skill — plan, develop, test, review in one coordinated session. Role-based architecture with coordinator-driven beat model. Triggers on \"team lifecycle v4\"."
|
|
4
|
+
allowed-tools: TeamCreate TeamDelete SendMessage TaskCreate TaskUpdate TaskList TaskGet Agent AskUserQuestion Read Write Edit Bash Glob Grep mcp__maestro__team_msg
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Team Lifecycle v4
|
|
8
|
+
|
|
9
|
+
Orchestrate multi-agent software development: specification → planning → implementation → testing → review.
|
|
10
|
+
|
|
11
|
+
## Architecture
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Skill(skill="team-lifecycle-v4", args="task description")
|
|
15
|
+
|
|
|
16
|
+
SKILL.md (this file) = Router
|
|
17
|
+
|
|
|
18
|
+
+--------------+--------------+
|
|
19
|
+
| |
|
|
20
|
+
no --role flag --role <name>
|
|
21
|
+
| |
|
|
22
|
+
Coordinator Worker
|
|
23
|
+
roles/coordinator/role.md roles/<name>/role.md
|
|
24
|
+
|
|
|
25
|
+
+-- analyze → dispatch → spawn → STOP
|
|
26
|
+
|
|
|
27
|
+
+--------+---+--------+
|
|
28
|
+
v v v
|
|
29
|
+
[team-worker] ... [team-supervisor]
|
|
30
|
+
per-task resident agent
|
|
31
|
+
lifecycle message-driven
|
|
32
|
+
(woken via SendMessage)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Role Registry
|
|
36
|
+
|
|
37
|
+
| Role | Path | Prefix | Inner Loop |
|
|
38
|
+
|------|------|--------|------------|
|
|
39
|
+
| coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | — | — |
|
|
40
|
+
| analyst | [roles/analyst/role.md](roles/analyst/role.md) | RESEARCH-* | false |
|
|
41
|
+
| writer | [roles/writer/role.md](roles/writer/role.md) | DRAFT-* | true |
|
|
42
|
+
| planner | [roles/planner/role.md](roles/planner/role.md) | PLAN-* | true |
|
|
43
|
+
| executor | [roles/executor/role.md](roles/executor/role.md) | IMPL-* | true |
|
|
44
|
+
| tester | [roles/tester/role.md](roles/tester/role.md) | TEST-* | false |
|
|
45
|
+
| reviewer | [roles/reviewer/role.md](roles/reviewer/role.md) | REVIEW-*, QUALITY-*, IMPROVE-* | false |
|
|
46
|
+
| supervisor | [roles/supervisor/role.md](roles/supervisor/role.md) | CHECKPOINT-* | false |
|
|
47
|
+
|
|
48
|
+
## Role Router
|
|
49
|
+
|
|
50
|
+
Parse `$ARGUMENTS`:
|
|
51
|
+
- Has `--role <name>` → Read `roles/<name>/role.md`, execute Phase 2-4
|
|
52
|
+
- No `--role` → `@roles/coordinator/role.md`, execute entry router
|
|
53
|
+
|
|
54
|
+
## Shared Constants
|
|
55
|
+
|
|
56
|
+
- **Session prefix**: `TLV4`
|
|
57
|
+
- **Session path**: `.workflow/.team/TLV4-<slug>-<date>/`
|
|
58
|
+
- **CLI tools**: `maestro delegate --mode analysis` (read-only), `maestro delegate --mode write` (modifications)
|
|
59
|
+
- **Message bus**: `mcp__maestro__team_msg(session_id=<session-id>, ...)`
|
|
60
|
+
|
|
61
|
+
## Worker Spawn Template
|
|
62
|
+
|
|
63
|
+
Coordinator spawns workers using this template:
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
Agent({
|
|
67
|
+
subagent_type: "team-worker",
|
|
68
|
+
description: "Spawn <role> worker",
|
|
69
|
+
team_name: <team-name>,
|
|
70
|
+
name: "<role>",
|
|
71
|
+
run_in_background: true,
|
|
72
|
+
prompt: `## Role Assignment
|
|
73
|
+
role: <role>
|
|
74
|
+
role_spec: <skill_root>/roles/<role>/role.md
|
|
75
|
+
session: <session-folder>
|
|
76
|
+
session_id: <session-id>
|
|
77
|
+
team_name: <team-name>
|
|
78
|
+
requirement: <task-description>
|
|
79
|
+
inner_loop: <true|false>
|
|
80
|
+
|
|
81
|
+
## Progress Milestones
|
|
82
|
+
session_id: <session-id>
|
|
83
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
84
|
+
Report blockers immediately via team_msg type="blocker".
|
|
85
|
+
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
86
|
+
|
|
87
|
+
Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
|
|
88
|
+
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).`
|
|
89
|
+
})
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Supervisor Spawn Template
|
|
93
|
+
|
|
94
|
+
Supervisor is a **resident agent** (independent from team-worker). Spawned once during session init, woken via SendMessage for each CHECKPOINT task.
|
|
95
|
+
|
|
96
|
+
### Spawn (Phase 2 — once per session)
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Agent({
|
|
100
|
+
subagent_type: "team-supervisor",
|
|
101
|
+
description: "Spawn resident supervisor",
|
|
102
|
+
team_name: <team-name>,
|
|
103
|
+
name: "supervisor",
|
|
104
|
+
run_in_background: true,
|
|
105
|
+
prompt: `## Role Assignment
|
|
106
|
+
role: supervisor
|
|
107
|
+
role_spec: <skill_root>/roles/supervisor/role.md
|
|
108
|
+
session: <session-folder>
|
|
109
|
+
session_id: <session-id>
|
|
110
|
+
team_name: <team-name>
|
|
111
|
+
requirement: <task-description>
|
|
112
|
+
|
|
113
|
+
## Progress Milestones
|
|
114
|
+
session_id: <session-id>
|
|
115
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
116
|
+
Report blockers immediately via team_msg type="blocker".
|
|
117
|
+
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
118
|
+
|
|
119
|
+
Read role_spec file (@<skill_root>/roles/supervisor/role.md) to load checkpoint definitions.
|
|
120
|
+
Init: load baseline context, report ready, go idle.
|
|
121
|
+
Wake cycle: coordinator sends checkpoint requests via SendMessage.`
|
|
122
|
+
})
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Wake (handleSpawnNext — per CHECKPOINT task)
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
SendMessage({
|
|
129
|
+
type: "message",
|
|
130
|
+
recipient: "supervisor",
|
|
131
|
+
content: `## Checkpoint Request
|
|
132
|
+
task_id: <CHECKPOINT-NNN>
|
|
133
|
+
scope: [<upstream-task-ids>]
|
|
134
|
+
pipeline_progress: <done>/<total> tasks completed`,
|
|
135
|
+
summary: "Checkpoint request: <CHECKPOINT-NNN>"
|
|
136
|
+
})
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Shutdown (handleComplete)
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
SendMessage({
|
|
143
|
+
type: "shutdown_request",
|
|
144
|
+
recipient: "supervisor",
|
|
145
|
+
content: "Pipeline complete, shutting down supervisor"
|
|
146
|
+
})
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## User Commands
|
|
150
|
+
|
|
151
|
+
| Command | Action |
|
|
152
|
+
|---------|--------|
|
|
153
|
+
| `check` / `status` | View execution status graph |
|
|
154
|
+
| `resume` / `continue` | Advance to next step |
|
|
155
|
+
| `revise <TASK-ID> [feedback]` | Revise specific task |
|
|
156
|
+
| `feedback <text>` | Inject feedback for revision |
|
|
157
|
+
| `recheck` | Re-run quality check |
|
|
158
|
+
| `improve [dimension]` | Auto-improve weakest dimension |
|
|
159
|
+
|
|
160
|
+
## Completion Action
|
|
161
|
+
|
|
162
|
+
When pipeline completes, coordinator presents:
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
AskUserQuestion({
|
|
166
|
+
questions: [{
|
|
167
|
+
question: "Pipeline complete. What would you like to do?",
|
|
168
|
+
header: "Completion",
|
|
169
|
+
multiSelect: false,
|
|
170
|
+
options: [
|
|
171
|
+
{ label: "Archive & Clean (Recommended)", description: "Archive session, clean up team" },
|
|
172
|
+
{ label: "Keep Active", description: "Keep session for follow-up work" },
|
|
173
|
+
{ label: "Export Results", description: "Export deliverables to target directory" }
|
|
174
|
+
]
|
|
175
|
+
}]
|
|
176
|
+
})
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Specs Reference
|
|
180
|
+
|
|
181
|
+
- [specs/pipelines.md](specs/pipelines.md) — Pipeline definitions and task registry
|
|
182
|
+
- [specs/quality-gates.md](specs/quality-gates.md) — Quality gate criteria and scoring
|
|
183
|
+
- [specs/knowledge-transfer.md](specs/knowledge-transfer.md) — Artifact and state transfer protocols
|
|
184
|
+
|
|
185
|
+
## Session Directory
|
|
186
|
+
|
|
187
|
+
```
|
|
188
|
+
.workflow/.team/TLV4-<slug>-<date>/
|
|
189
|
+
├── team-session.json # Session state + role registry
|
|
190
|
+
├── spec/ # Spec phase outputs
|
|
191
|
+
├── plan/ # Implementation plan + TASK-*.json
|
|
192
|
+
├── artifacts/ # All deliverables
|
|
193
|
+
├── wisdom/ # Cross-task knowledge
|
|
194
|
+
├── explorations/ # Shared explore cache
|
|
195
|
+
├── discussions/ # Discuss round records
|
|
196
|
+
└── .msg/ # Team message bus
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
## Error Handling
|
|
200
|
+
|
|
201
|
+
| Scenario | Resolution |
|
|
202
|
+
|----------|------------|
|
|
203
|
+
| Unknown command | Error with available command list |
|
|
204
|
+
| Role not found | Error with role registry |
|
|
205
|
+
| CLI tool fails | Worker fallback to direct implementation |
|
|
206
|
+
| Fast-advance conflict | Coordinator reconciles on next callback |
|
|
207
|
+
| Supervisor crash | Respawn with `recovery: true`, auto-rebuilds from existing reports |
|
|
208
|
+
| Supervisor not ready for CHECKPOINT | Spawn/respawn supervisor, wait for ready, then wake |
|
|
209
|
+
| Completion action fails | Default to Keep Active |
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: team-motion-design
|
|
3
|
+
description: "Unified team skill for motion design. Animation token systems, scroll choreography, GPU-accelerated transforms, reduced-motion fallback. Uses team-worker agent architecture. Triggers on \"team motion design\", \"animation system\"."
|
|
4
|
+
allowed-tools: Agent AskUserQuestion Read Write Edit Bash Glob Grep TaskList TaskGet TaskUpdate TaskCreate TeamCreate TeamDelete SendMessage mcp__maestro__read_file mcp__maestro__write_file mcp__maestro__edit_file mcp__maestro__team_msg mcp__chrome-devtools__performance_start_trace mcp__chrome-devtools__performance_stop_trace mcp__chrome-devtools__performance_analyze_insight mcp__chrome-devtools__evaluate_script mcp__chrome-devtools__take_screenshot
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Team Motion Design
|
|
8
|
+
|
|
9
|
+
Systematic motion design pipeline: research -> choreography -> animation -> performance testing. Built on **team-worker agent architecture** -- all worker roles share a single agent definition with role-specific Phase 2-4 loaded from `roles/<role>/role.md`.
|
|
10
|
+
|
|
11
|
+
## Architecture
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Skill(skill="team-motion-design", args="task description")
|
|
15
|
+
|
|
|
16
|
+
SKILL.md (this file) = Router
|
|
17
|
+
|
|
|
18
|
+
+--------------+--------------+
|
|
19
|
+
| |
|
|
20
|
+
no --role flag --role <name>
|
|
21
|
+
| |
|
|
22
|
+
Coordinator Worker
|
|
23
|
+
roles/coordinator/role.md roles/<name>/role.md
|
|
24
|
+
|
|
|
25
|
+
+-- analyze -> dispatch -> spawn workers -> STOP
|
|
26
|
+
|
|
|
27
|
+
+-------+-------+-------+-------+
|
|
28
|
+
v v v v
|
|
29
|
+
[team-worker agents, each loads roles/<role>/role.md]
|
|
30
|
+
motion-researcher choreographer animator motion-tester
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Role Registry
|
|
34
|
+
|
|
35
|
+
| Role | Path | Prefix | Inner Loop |
|
|
36
|
+
|------|------|--------|------------|
|
|
37
|
+
| coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | -- | -- |
|
|
38
|
+
| motion-researcher | [roles/motion-researcher/role.md](roles/motion-researcher/role.md) | MRESEARCH-* | false |
|
|
39
|
+
| choreographer | [roles/choreographer/role.md](roles/choreographer/role.md) | CHOREO-* | false |
|
|
40
|
+
| animator | [roles/animator/role.md](roles/animator/role.md) | ANIM-* | true |
|
|
41
|
+
| motion-tester | [roles/motion-tester/role.md](roles/motion-tester/role.md) | MTEST-* | false |
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Pre-load (coordinator, before dispatch)
|
|
45
|
+
|
|
46
|
+
1. **Codebase docs**: If `.workflow/codebase/ARCHITECTURE.md` exists, read for module boundaries
|
|
47
|
+
2. **Specs (ui)**: `maestro load --type spec --category ui` — load ui constraints as shared context
|
|
48
|
+
3. **Wiki knowledge**: `maestro search "animation motion design tokens" --json` — top 5 entries as prior context
|
|
49
|
+
4. All optional — proceed without if unavailable
|
|
50
|
+
## Role Router
|
|
51
|
+
|
|
52
|
+
Parse `$ARGUMENTS`:
|
|
53
|
+
- Has `--role <name>` -> Read `roles/<name>/role.md`, execute Phase 2-4
|
|
54
|
+
- No `--role` -> `@roles/coordinator/role.md`, execute entry router
|
|
55
|
+
|
|
56
|
+
## Shared Constants
|
|
57
|
+
|
|
58
|
+
- **Session prefix**: `MD`
|
|
59
|
+
- **Session path**: `.workflow/.team/MD-<slug>-<date>/`
|
|
60
|
+
- **CLI tools**: `maestro delegate --mode analysis` (read-only), `maestro delegate --mode write` (modifications)
|
|
61
|
+
- **Message bus**: `mcp__maestro__team_msg(session_id=<session-id>, ...)`
|
|
62
|
+
- **Max GC rounds**: 2
|
|
63
|
+
|
|
64
|
+
## Worker Spawn Template
|
|
65
|
+
|
|
66
|
+
Coordinator spawns workers using this template:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Agent({
|
|
70
|
+
subagent_type: "team-worker",
|
|
71
|
+
description: "Spawn <role> worker for <task-id>",
|
|
72
|
+
team_name: "motion-design",
|
|
73
|
+
name: "<role>",
|
|
74
|
+
run_in_background: true,
|
|
75
|
+
prompt: `## Role Assignment
|
|
76
|
+
role: <role>
|
|
77
|
+
role_spec: <skill_root>/roles/<role>/role.md
|
|
78
|
+
session: <session-folder>
|
|
79
|
+
session_id: <session-id>
|
|
80
|
+
team_name: motion-design
|
|
81
|
+
requirement: <task-description>
|
|
82
|
+
inner_loop: <true|false>
|
|
83
|
+
|
|
84
|
+
## Progress Milestones
|
|
85
|
+
session_id: <session-id>
|
|
86
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
87
|
+
Report blockers immediately via team_msg type="blocker".
|
|
88
|
+
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
89
|
+
|
|
90
|
+
Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
|
|
91
|
+
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).`
|
|
92
|
+
})
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## User Commands
|
|
96
|
+
|
|
97
|
+
| Command | Action |
|
|
98
|
+
|---------|--------|
|
|
99
|
+
| `check` / `status` | View execution status graph |
|
|
100
|
+
| `resume` / `continue` | Advance to next step |
|
|
101
|
+
|
|
102
|
+
## Specs Reference
|
|
103
|
+
|
|
104
|
+
- [specs/pipelines.md](specs/pipelines.md) -- Pipeline definitions and task registry
|
|
105
|
+
- [specs/motion-tokens.md](specs/motion-tokens.md) -- Animation token schema
|
|
106
|
+
- [specs/gpu-constraints.md](specs/gpu-constraints.md) -- Compositor-only animation rules
|
|
107
|
+
- [specs/reduced-motion.md](specs/reduced-motion.md) -- Accessibility motion preferences
|
|
108
|
+
|
|
109
|
+
## Session Directory
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
.workflow/.team/MD-<slug>-<date>/
|
|
113
|
+
+-- .msg/
|
|
114
|
+
| +-- messages.jsonl # Team message bus
|
|
115
|
+
| +-- meta.json # Pipeline config + GC state
|
|
116
|
+
+-- research/ # Motion researcher output
|
|
117
|
+
| +-- perf-traces/ # Chrome DevTools performance traces
|
|
118
|
+
| +-- animation-inventory.json
|
|
119
|
+
| +-- performance-baseline.json
|
|
120
|
+
| +-- easing-catalog.json
|
|
121
|
+
+-- choreography/ # Choreographer output
|
|
122
|
+
| +-- motion-tokens.json
|
|
123
|
+
| +-- sequences/ # Scroll choreography sequences
|
|
124
|
+
+-- animations/ # Animator output
|
|
125
|
+
| +-- keyframes/ # CSS @keyframes files
|
|
126
|
+
| +-- orchestrators/ # JS animation orchestrators
|
|
127
|
+
+-- testing/ # Motion tester output
|
|
128
|
+
| +-- traces/ # Performance trace data
|
|
129
|
+
| +-- reports/ # Performance reports
|
|
130
|
+
+-- wisdom/ # Cross-task knowledge
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Error Handling
|
|
134
|
+
|
|
135
|
+
| Scenario | Resolution |
|
|
136
|
+
|----------|------------|
|
|
137
|
+
| Unknown command | Error with available command list |
|
|
138
|
+
| Role not found | Error with role registry |
|
|
139
|
+
| Session corruption | Attempt recovery, fallback to manual |
|
|
140
|
+
| Fast-advance conflict | Coordinator reconciles on next callback |
|
|
141
|
+
| Completion action fails | Default to Keep Active |
|
|
142
|
+
| GC loop stuck > 2 rounds | Escalate to user: accept / retry / terminate |
|