maestro-flow 0.5.40 → 0.5.42

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.
Files changed (101) hide show
  1. package/.agents/skills/maestro-analyze/SKILL.md +0 -42
  2. package/.agents/skills/maestro-blueprint/SKILL.md +0 -22
  3. package/.agents/skills/maestro-brainstorm/SKILL.md +4 -24
  4. package/.agents/skills/maestro-execute/SKILL.md +1 -1
  5. package/.agents/skills/maestro-grill/SKILL.md +0 -16
  6. package/.agents/skills/maestro-milestone-audit/SKILL.md +0 -15
  7. package/.agents/skills/maestro-plan/SKILL.md +5 -62
  8. package/.agents/skills/maestro-roadmap/SKILL.md +0 -8
  9. package/.agents/skills/odyssey-debug/SKILL.md +109 -143
  10. package/.agents/skills/odyssey-improve/SKILL.md +127 -141
  11. package/.agents/skills/odyssey-planex/SKILL.md +140 -231
  12. package/.agents/skills/odyssey-review-test-fix/SKILL.md +136 -90
  13. package/.agents/skills/odyssey-ui/SKILL.md +123 -143
  14. package/.agents/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
  15. package/.agents/skills/team-coordinate/specs/role-spec-template.md +197 -198
  16. package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
  17. package/.agents/skills/team-roadmap-dev/specs/team-config.json +1 -1
  18. package/.agents/skills/team-swarm/roles/analyst/role.md +172 -176
  19. package/.agy/skills/maestro-analyze/SKILL.md +0 -42
  20. package/.agy/skills/maestro-blueprint/SKILL.md +0 -22
  21. package/.agy/skills/maestro-brainstorm/SKILL.md +4 -24
  22. package/.agy/skills/maestro-execute/SKILL.md +1 -1
  23. package/.agy/skills/maestro-grill/SKILL.md +0 -16
  24. package/.agy/skills/maestro-milestone-audit/SKILL.md +0 -15
  25. package/.agy/skills/maestro-plan/SKILL.md +5 -62
  26. package/.agy/skills/maestro-roadmap/SKILL.md +0 -8
  27. package/.agy/skills/odyssey-debug/SKILL.md +109 -143
  28. package/.agy/skills/odyssey-improve/SKILL.md +127 -141
  29. package/.agy/skills/odyssey-planex/SKILL.md +140 -231
  30. package/.agy/skills/odyssey-review-test-fix/SKILL.md +136 -90
  31. package/.agy/skills/odyssey-ui/SKILL.md +123 -143
  32. package/.agy/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
  33. package/.agy/skills/team-coordinate/specs/role-spec-template.md +197 -198
  34. package/.agy/skills/team-roadmap-dev/SKILL.md +141 -153
  35. package/.agy/skills/team-roadmap-dev/specs/team-config.json +1 -1
  36. package/.agy/skills/team-swarm/roles/analyst/role.md +172 -176
  37. package/.claude/commands/maestro-analyze.md +0 -42
  38. package/.claude/commands/maestro-blueprint.md +0 -22
  39. package/.claude/commands/maestro-brainstorm.md +4 -24
  40. package/.claude/commands/maestro-execute.md +1 -1
  41. package/.claude/commands/maestro-grill.md +0 -16
  42. package/.claude/commands/maestro-milestone-audit.md +0 -15
  43. package/.claude/commands/maestro-plan.md +5 -62
  44. package/.claude/commands/maestro-roadmap.md +0 -8
  45. package/.claude/commands/odyssey-debug.md +109 -143
  46. package/.claude/commands/odyssey-improve.md +127 -141
  47. package/.claude/commands/odyssey-planex.md +140 -231
  48. package/.claude/commands/odyssey-review-test-fix.md +136 -90
  49. package/.claude/commands/odyssey-ui.md +123 -143
  50. package/.claude/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
  51. package/.claude/skills/team-coordinate/specs/role-spec-template.md +197 -198
  52. package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
  53. package/.claude/skills/team-roadmap-dev/specs/team-config.json +1 -1
  54. package/.claude/skills/team-swarm/roles/analyst/role.md +181 -185
  55. package/.codex/skills/odyssey-debug/SKILL.md +114 -169
  56. package/.codex/skills/odyssey-improve/SKILL.md +144 -188
  57. package/.codex/skills/odyssey-planex/SKILL.md +162 -242
  58. package/.codex/skills/odyssey-review-test-fix/SKILL.md +96 -90
  59. package/.codex/skills/odyssey-ui/SKILL.md +128 -173
  60. package/dashboard/dist-server/src/commands/install-backend.js +31 -16
  61. package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
  62. package/dashboard/dist-server/src/core/component-defs.js +25 -0
  63. package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
  64. package/dashboard/dist-server/src/tools/spec-loader.js +32 -20
  65. package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
  66. package/dashboard/dist-server/src/tools/spec-seeds.d.ts +8 -0
  67. package/dashboard/dist-server/src/tools/spec-seeds.js +114 -0
  68. package/dashboard/dist-server/src/tools/spec-seeds.js.map +1 -1
  69. package/dist/src/commands/install-backend.d.ts.map +1 -1
  70. package/dist/src/commands/install-backend.js +31 -16
  71. package/dist/src/commands/install-backend.js.map +1 -1
  72. package/dist/src/commands/spec.d.ts.map +1 -1
  73. package/dist/src/commands/spec.js +13 -3
  74. package/dist/src/commands/spec.js.map +1 -1
  75. package/dist/src/core/component-defs.d.ts.map +1 -1
  76. package/dist/src/core/component-defs.js +25 -0
  77. package/dist/src/core/component-defs.js.map +1 -1
  78. package/dist/src/tools/spec-init.d.ts +4 -3
  79. package/dist/src/tools/spec-init.d.ts.map +1 -1
  80. package/dist/src/tools/spec-init.js +9 -5
  81. package/dist/src/tools/spec-init.js.map +1 -1
  82. package/dist/src/tools/spec-loader.d.ts.map +1 -1
  83. package/dist/src/tools/spec-loader.js +32 -20
  84. package/dist/src/tools/spec-loader.js.map +1 -1
  85. package/dist/src/tools/spec-seeds.d.ts +8 -0
  86. package/dist/src/tools/spec-seeds.d.ts.map +1 -1
  87. package/dist/src/tools/spec-seeds.js +114 -0
  88. package/dist/src/tools/spec-seeds.js.map +1 -1
  89. package/dist/src/utils/update-notices.js +11 -0
  90. package/dist/src/utils/update-notices.js.map +1 -1
  91. package/package.json +1 -1
  92. package/workflows/agy-instructions.md +147 -161
  93. package/workflows/claude-instructions.md +100 -48
  94. package/workflows/codex-instructions.md +147 -161
  95. package/workflows/execute.md +4 -3
  96. package/workflows/explore-usage.md +41 -81
  97. package/workflows/grill.md +11 -0
  98. package/workflows/milestone-audit.md +8 -0
  99. package/workflows/odyssey-base-codex.md +305 -0
  100. package/workflows/odyssey-base.md +89 -91
  101. package/workflows/plan.md +6 -0
@@ -1,198 +1,197 @@
1
- # Dynamic Role-Spec Template
2
-
3
- Template used by coordinator to generate lightweight worker role-spec files at runtime. Each generated role-spec is written to `<session>/role-specs/<role-name>.md`.
4
-
5
- **Key difference from v1**: Role-specs contain ONLY Phase 2-4 domain logic + YAML frontmatter. All shared behavior (Phase 1 Task Discovery, Phase 5 Report/Fast-Advance, Message Bus, Consensus, Inner Loop) is built into the `team-worker` agent.
6
-
7
- ## Template
8
-
9
- ```markdown
10
- ---
11
- role: <role_name>
12
- prefix: <PREFIX>
13
- inner_loop: <true|false>
14
- CLI tools: [<CLI tool-names>]
15
- message_types:
16
- success: <prefix>_complete
17
- error: error
18
- ---
19
-
20
- # <Role Name> — Phase 2-4
21
-
22
- ## Phase 2: <phase2_name>
23
-
24
- <phase2_content>
25
-
26
- ## Phase 3: <phase3_name>
27
-
28
- <phase3_content>
29
-
30
- ## Phase 4: <phase4_name>
31
-
32
- <phase4_content>
33
-
34
- ## Error Handling
35
-
36
- | Scenario | Resolution |
37
- |----------|------------|
38
- <error_entries>
39
- ```
40
-
41
- ## Frontmatter Fields
42
-
43
- | Field | Required | Description |
44
- |-------|----------|-------------|
45
- | `role` | Yes | Role name matching session registry |
46
- | `prefix` | Yes | Task prefix to filter (e.g., RESEARCH, DRAFT, IMPL) |
47
- | `inner_loop` | Yes | Whether team-worker loops through same-prefix tasks |
48
- | `CLI tools` | No | Array of CLI tool types this role may call |
49
- | `output_tag` | Yes | Output tag for all messages, e.g., `[researcher]` |
50
- | `message_types` | Yes | Message type mapping for team_msg |
51
- | `message_types.success` | Yes | Type string for successful completion |
52
- | `message_types.error` | Yes | Type string for errors (usually "error") |
53
-
54
- ## Design Rules
55
-
56
- | Rule | Description |
57
- |------|-------------|
58
- | Phase 2-4 only | No Phase 1 (Task Discovery) or Phase 5 (Report) — team-worker handles these |
59
- | No message bus code | No team_msg calls — team-worker handles logging |
60
- | No consensus handling | No consensus_reached/blocked logic — team-worker handles routing |
61
- | No inner loop logic | No Phase 5-L/5-F — team-worker handles looping |
62
- | ~80 lines target | Lightweight, domain-focused |
63
- | No pseudocode | Decision tables + text + tool calls only |
64
- | `<placeholder>` notation | Use angle brackets for variable substitution |
65
- | Reference CLI tools by name | team-worker resolves invocation from its delegation templates |
66
-
67
- ## Generated Role-Spec Structure
68
-
69
- Every generated role-spec MUST include these blocks:
70
-
71
- ### Identity Block (mandatory — first section of generated spec)
72
-
73
- ```
74
- Tag: [<role_name>] | Prefix: <PREFIX>-*
75
- Responsibility: <one-line from task analysis>
76
- ```
77
-
78
- ### Boundaries Block (mandatory — after Identity)
79
-
80
- ```
81
- ### MUST
82
- - <3-5 rules derived from task analysis>
83
-
84
- ### MUST NOT
85
- - Execute work outside assigned prefix
86
- - Modify artifacts from other roles
87
- - Skip Phase 4 verification
88
- ```
89
-
90
- ## Behavioral Traits
91
-
92
- All dynamically generated role-specs MUST embed these traits into Phase 4. Coordinator copies this section verbatim into every generated role-spec as a Phase 4 appendix.
93
-
94
- **Design principle**: Constrain behavioral characteristics (accuracy, feedback, quality gates), NOT specific actions (which tool, which CLI tool, which path). Tasks are diverse — the coordinator composes task-specific Phase 2-3 instructions, while these traits ensure execution quality regardless of task type.
95
-
96
- ### Accuracy — outputs must be verifiable
97
-
98
- - Files claimed as **created** → Read to confirm file exists and has content
99
- - Files claimed as **modified** → Read to confirm content actually changed
100
- - Analysis claimed as **complete** → artifact file exists in `<session>/artifacts/`
101
-
102
- ### Feedback Contract — completion report must include evidence
103
-
104
- Phase 4 must produce a verification summary with these fields:
105
-
106
- | Field | When Required | Content |
107
- |-------|---------------|---------|
108
- | `files_produced` | New files created | Path list |
109
- | `files_modified` | Existing files changed | Path + before/after line count |
110
- | `artifacts_written` | Always | Paths in `<session>/artifacts/` |
111
- | `verification_method` | Always | How verified: Read confirm / syntax check / diff |
112
-
113
- ### Quality Gate — verify before reporting complete
114
-
115
- - Phase 4 MUST verify Phase 3's **actual output** (not planned output)
116
- - Verification fails → retry Phase 3 (max 2 retries)
117
- - Still fails → report `partial_completion` with details, NOT `completed`
118
- - Update shared state via `team_msg(operation="log", type="state_update", data={...})` after verification passes
119
-
120
- Quality thresholds from [specs/quality-gates.md](quality-gates.md):
121
- - Pass >= 80%: report completed
122
- - Review 60-79%: report completed with warnings
123
- - Fail < 60%: retry Phase 3 (max 2)
124
-
125
- ### Tech Profile Injection
126
-
127
- When generating role-specs for analysis or exploration roles, append a Tech Profile Scan instruction after their Phase 3:
128
- - Instruct the role to scan analysis results for codebase signals relevant to its domain
129
- - Include `tech_profile` in state_update data for coordinator specialist injection evaluation
130
-
131
- ### Error Protocol
132
-
133
- - Primary approach fails → try alternative (different CLI tool / different tool)
134
- - 2 retries exhausted → escalate to coordinator with failure details
135
- - NEVER: skip verification and report completed
136
-
137
- ---
138
-
139
- ## Reference Patterns
140
-
141
- Coordinator MAY reference these patterns when composing Phase 2-4 content for a role-spec. These are **structural guidance, not mandatory templates**. The task description determines specific behavior — patterns only suggest common phase structures.
142
-
143
- ### Research / Exploration
144
-
145
- - Phase 2: Define exploration scope + load prior knowledge from shared state and wisdom
146
- - Phase 3: Explore via CLI tools, direct tool calls, or codebase search — approach chosen by agent
147
- - Phase 4: Verify findings documented (Behavioral Traits) + update shared state
148
-
149
- ### Document / Content
150
-
151
- - Phase 2: Load upstream artifacts + read target files (if modifying existing docs)
152
- - Phase 3: Create new documents OR modify existing documents — determined by task, not template
153
- - Phase 4: Verify documents exist with expected content (Behavioral Traits) + update shared state
154
-
155
- ### Code Implementation
156
-
157
- - Phase 2: Load design/spec artifacts from upstream
158
- - Phase 3: Implement code changes — CLI tool choice and approach determined by task complexity
159
- - Phase 4: Syntax check + file verification (Behavioral Traits) + update shared state
160
-
161
- ### Analysis / Audit
162
-
163
- - Phase 2: Load analysis targets (artifacts or source files)
164
- - Phase 3: Multi-dimension analysis — perspectives and depth determined by task
165
- - Phase 4: Verify report exists + severity classification (Behavioral Traits) + update shared state
166
-
167
- ### Validation / Testing
168
-
169
- - Phase 2: Detect test framework + identify changed files from upstream
170
- - Phase 3: Run test-fix cycle — iteration count and strategy determined by task
171
- - Phase 4: Verify pass rate + coverage (Behavioral Traits) + update shared state
172
-
173
- ---
174
-
175
- ## Knowledge Transfer Protocol
176
-
177
- Full protocol: [specs/knowledge-transfer.md](knowledge-transfer.md)
178
-
179
- Generated role-specs Phase 2 MUST declare which upstream sources to load.
180
- Generated role-specs Phase 4 MUST include state update and artifact publishing.
181
-
182
- ---
183
-
184
- ## Generated Role-Spec Validation
185
-
186
- Coordinator verifies before writing each role-spec:
187
-
188
- | Check | Criteria |
189
- |-------|----------|
190
- | Frontmatter complete | All required fields present (role, prefix, inner_loop, output_tag, message_types, CLI tools) |
191
- | Identity block | Tag, prefix, responsibility defined |
192
- | Boundaries | MUST and MUST NOT rules present |
193
- | Phase 2 | Context loading sources specified |
194
- | Phase 3 | Execution goal clear, not prescriptive about tools |
195
- | Phase 4 | Behavioral Traits copied verbatim |
196
- | Error Handling | Table with 3+ scenarios |
197
- | Line count | Target ~80 lines (max 120) |
198
- | No built-in overlap | No Phase 1/5, no message bus code, no consensus handling |
1
+ # Dynamic Role-Spec Template
2
+
3
+ Template used by coordinator to generate lightweight worker role-spec files at runtime. Each generated role-spec is written to `<session>/role-specs/<role-name>.md`.
4
+
5
+ **Key difference from v1**: Role-specs contain ONLY Phase 2-4 domain logic + YAML frontmatter. All shared behavior (Phase 1 Task Discovery, Phase 5 Report/Fast-Advance, Message Bus, Consensus, Inner Loop) is built into the `team-worker` agent.
6
+
7
+ ## Template
8
+
9
+ ```markdown
10
+ ---
11
+ role: <role_name>
12
+ prefix: <PREFIX>
13
+ inner_loop: <true|false>
14
+ CLI tools: [<CLI tool-names>]
15
+ message_types:
16
+ success: <prefix>_complete
17
+ error: error
18
+ ---
19
+
20
+ # <Role Name> — Phase 2-4
21
+
22
+ ## Phase 2: <phase2_name>
23
+
24
+ <phase2_content>
25
+
26
+ ## Phase 3: <phase3_name>
27
+
28
+ <phase3_content>
29
+
30
+ ## Phase 4: <phase4_name>
31
+
32
+ <phase4_content>
33
+
34
+ ## Error Handling
35
+
36
+ | Scenario | Resolution |
37
+ |----------|------------|
38
+ <error_entries>
39
+ ```
40
+
41
+ ## Frontmatter Fields
42
+
43
+ | Field | Required | Description |
44
+ |-------|----------|-------------|
45
+ | `role` | Yes | Role name matching session registry |
46
+ | `prefix` | Yes | Task prefix to filter (e.g., RESEARCH, DRAFT, IMPL) |
47
+ | `inner_loop` | Yes | Whether team-worker loops through same-prefix tasks |
48
+ | `CLI tools` | No | Array of CLI tool types this role may call |
49
+ | `output_tag` | Yes | Output tag for all messages, e.g., `[researcher]` |
50
+ | `message_types` | Yes | Message type mapping for team_msg |
51
+ | `message_types.success` | Yes | Type string for successful completion |
52
+ | `message_types.error` | Yes | Type string for errors (usually "error") |
53
+
54
+ ## Design Rules
55
+
56
+ | Rule | Description |
57
+ |------|-------------|
58
+ | Phase 2-4 only | No Phase 1 (Task Discovery) or Phase 5 (Report) — team-worker handles these |
59
+ | No message bus code | No team_msg calls — team-worker handles logging |
60
+ | No consensus handling | No consensus_reached/blocked logic — team-worker handles routing |
61
+ | No inner loop logic | No Phase 5-L/5-F — team-worker handles looping |
62
+ | Lightweight, domain-focused | No hard line cap; stay within Phase 2-4 domain logic |
63
+ | No pseudocode | Decision tables + text + tool calls only |
64
+ | `<placeholder>` notation | Use angle brackets for variable substitution |
65
+ | Reference CLI tools by name | team-worker resolves invocation from its delegation templates |
66
+
67
+ ## Generated Role-Spec Structure
68
+
69
+ Every generated role-spec MUST include these blocks:
70
+
71
+ ### Identity Block (mandatory — first section of generated spec)
72
+
73
+ ```
74
+ Tag: [<role_name>] | Prefix: <PREFIX>-*
75
+ Responsibility: <one-line from task analysis>
76
+ ```
77
+
78
+ ### Boundaries Block (mandatory — after Identity)
79
+
80
+ ```
81
+ ### MUST
82
+ - <3-5 rules derived from task analysis>
83
+
84
+ ### MUST NOT
85
+ - Execute work outside assigned prefix
86
+ - Modify artifacts from other roles
87
+ - Skip Phase 4 verification
88
+ ```
89
+
90
+ ## Behavioral Traits
91
+
92
+ All dynamically generated role-specs MUST embed these traits into Phase 4. Coordinator copies this section verbatim into every generated role-spec as a Phase 4 appendix.
93
+
94
+ **Design principle**: Constrain behavioral characteristics (accuracy, feedback, quality gates), NOT specific actions (which tool, which CLI tool, which path). Tasks are diverse — the coordinator composes task-specific Phase 2-3 instructions, while these traits ensure execution quality regardless of task type.
95
+
96
+ ### Accuracy — outputs must be verifiable
97
+
98
+ - Files claimed as **created** → Read to confirm file exists and has content
99
+ - Files claimed as **modified** → Read to confirm content actually changed
100
+ - Analysis claimed as **complete** → artifact file exists in `<session>/artifacts/`
101
+
102
+ ### Feedback Contract — completion report must include evidence
103
+
104
+ Phase 4 must produce a verification summary with these fields:
105
+
106
+ | Field | When Required | Content |
107
+ |-------|---------------|---------|
108
+ | `files_produced` | New files created | Path list |
109
+ | `files_modified` | Existing files changed | Path + before/after line count |
110
+ | `artifacts_written` | Always | Paths in `<session>/artifacts/` |
111
+ | `verification_method` | Always | How verified: Read confirm / syntax check / diff |
112
+
113
+ ### Quality Gate — verify before reporting complete
114
+
115
+ - Phase 4 MUST verify Phase 3's **actual output** (not planned output)
116
+ - Verification fails → retry Phase 3 (max 2 retries)
117
+ - Still fails → report `partial_completion` with details, NOT `completed`
118
+ - Update shared state via `team_msg(operation="log", type="state_update", data={...})` after verification passes
119
+
120
+ Quality thresholds from [specs/quality-gates.md](quality-gates.md):
121
+ - Pass >= 80%: report completed
122
+ - Review 60-79%: report completed with warnings
123
+ - Fail < 60%: retry Phase 3 (max 2)
124
+
125
+ ### Tech Profile Injection
126
+
127
+ When generating role-specs for analysis or exploration roles, append a Tech Profile Scan instruction after their Phase 3:
128
+ - Instruct the role to scan analysis results for codebase signals relevant to its domain
129
+ - Include `tech_profile` in state_update data for coordinator specialist injection evaluation
130
+
131
+ ### Error Protocol
132
+
133
+ - Primary approach fails → try alternative (different CLI tool / different tool)
134
+ - 2 retries exhausted → escalate to coordinator with failure details
135
+ - NEVER: skip verification and report completed
136
+
137
+ ---
138
+
139
+ ## Reference Patterns
140
+
141
+ Coordinator MAY reference these patterns when composing Phase 2-4 content for a role-spec. These are **structural guidance, not mandatory templates**. The task description determines specific behavior — patterns only suggest common phase structures.
142
+
143
+ ### Research / Exploration
144
+
145
+ - Phase 2: Define exploration scope + load prior knowledge from shared state and wisdom
146
+ - Phase 3: Explore via CLI tools, direct tool calls, or codebase search — approach chosen by agent
147
+ - Phase 4: Verify findings documented (Behavioral Traits) + update shared state
148
+
149
+ ### Document / Content
150
+
151
+ - Phase 2: Load upstream artifacts + read target files (if modifying existing docs)
152
+ - Phase 3: Create new documents OR modify existing documents — determined by task, not template
153
+ - Phase 4: Verify documents exist with expected content (Behavioral Traits) + update shared state
154
+
155
+ ### Code Implementation
156
+
157
+ - Phase 2: Load design/spec artifacts from upstream
158
+ - Phase 3: Implement code changes — CLI tool choice and approach determined by task complexity
159
+ - Phase 4: Syntax check + file verification (Behavioral Traits) + update shared state
160
+
161
+ ### Analysis / Audit
162
+
163
+ - Phase 2: Load analysis targets (artifacts or source files)
164
+ - Phase 3: Multi-dimension analysis — perspectives and depth determined by task
165
+ - Phase 4: Verify report exists + severity classification (Behavioral Traits) + update shared state
166
+
167
+ ### Validation / Testing
168
+
169
+ - Phase 2: Detect test framework + identify changed files from upstream
170
+ - Phase 3: Run test-fix cycle — iteration count and strategy determined by task
171
+ - Phase 4: Verify pass rate + coverage (Behavioral Traits) + update shared state
172
+
173
+ ---
174
+
175
+ ## Knowledge Transfer Protocol
176
+
177
+ Full protocol: [specs/knowledge-transfer.md](knowledge-transfer.md)
178
+
179
+ Generated role-specs Phase 2 MUST declare which upstream sources to load.
180
+ Generated role-specs Phase 4 MUST include state update and artifact publishing.
181
+
182
+ ---
183
+
184
+ ## Generated Role-Spec Validation
185
+
186
+ Coordinator verifies before writing each role-spec:
187
+
188
+ | Check | Criteria |
189
+ |-------|----------|
190
+ | Frontmatter complete | All required fields present (role, prefix, inner_loop, output_tag, message_types, CLI tools) |
191
+ | Identity block | Tag, prefix, responsibility defined |
192
+ | Boundaries | MUST and MUST NOT rules present |
193
+ | Phase 2 | Context loading sources specified |
194
+ | Phase 3 | Execution goal clear, not prescriptive about tools |
195
+ | Phase 4 | Behavioral Traits copied verbatim |
196
+ | Error Handling | Table with 3+ scenarios |
197
+ | No built-in overlap | No Phase 1/5, no message bus code, no consensus handling |