maestro-flow 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/cli-explore-agent.md +1 -3
- package/.agents/agents/cross-role-reviewer.md +173 -0
- package/.agents/agents/role-design-author.md +218 -0
- package/.agents/agents/ui-design-agent.md +1 -18
- package/.agents/agents/workflow-analyzer.md +1 -1
- package/.agents/agents/workflow-external-researcher.md +1 -1
- package/.agents/skills/maestro/SKILL.md +61 -27
- package/.agents/skills/maestro-analyze/SKILL.md +30 -4
- package/.agents/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agents/skills/maestro-brainstorm/SKILL.md +119 -103
- package/.agents/skills/maestro-help/SKILL.md +48 -14
- package/.agents/skills/maestro-help/index/catalog.json +29 -11
- package/.agents/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agents/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agents/skills/maestro-init/SKILL.md +3 -3
- package/.agents/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agents/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agents/skills/maestro-plan/SKILL.md +14 -4
- package/.agents/skills/maestro-ralph/SKILL.md +297 -226
- package/.agents/skills/maestro-ralph-execute/SKILL.md +81 -67
- package/.agents/skills/maestro-roadmap/SKILL.md +42 -81
- package/.agents/skills/quality-auto-test/SKILL.md +1 -1
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.agy/agents/cli-explore-agent.md +1 -3
- package/.agy/agents/cross-role-reviewer.md +170 -0
- package/.agy/agents/role-design-author.md +215 -0
- package/.agy/agents/ui-design-agent.md +1 -18
- package/.agy/agents/workflow-analyzer.md +1 -1
- package/.agy/agents/workflow-external-researcher.md +1 -1
- package/.agy/skills/maestro/SKILL.md +61 -27
- package/.agy/skills/maestro-analyze/SKILL.md +30 -4
- package/.agy/skills/maestro-blueprint/SKILL.md +132 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +119 -103
- package/.agy/skills/maestro-help/SKILL.md +48 -14
- package/.agy/skills/maestro-help/index/catalog.json +29 -11
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agy/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agy/skills/maestro-init/SKILL.md +3 -3
- package/.agy/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agy/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agy/skills/maestro-plan/SKILL.md +14 -4
- package/.agy/skills/maestro-ralph/SKILL.md +297 -226
- package/.agy/skills/maestro-ralph-execute/SKILL.md +81 -67
- package/.agy/skills/maestro-roadmap/SKILL.md +42 -81
- package/.agy/skills/quality-auto-test/SKILL.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.claude/agents/cli-explore-agent.md +1 -3
- package/.claude/agents/cross-role-reviewer.md +171 -0
- package/.claude/agents/role-design-author.md +216 -0
- package/.claude/agents/ui-design-agent.md +1 -18
- package/.claude/agents/workflow-analyzer.md +1 -1
- package/.claude/agents/workflow-external-researcher.md +1 -1
- package/.claude/commands/maestro-analyze.md +30 -4
- package/.claude/commands/maestro-blueprint.md +130 -0
- package/.claude/commands/maestro-brainstorm.md +132 -116
- package/.claude/commands/maestro-init.md +3 -3
- package/.claude/commands/maestro-milestone-audit.md +5 -3
- package/.claude/commands/maestro-milestone-complete.md +7 -5
- package/.claude/commands/maestro-plan.md +14 -4
- package/.claude/commands/maestro-ralph-execute.md +81 -67
- package/.claude/commands/maestro-ralph.md +297 -226
- package/.claude/commands/maestro-roadmap.md +42 -81
- package/.claude/commands/maestro.md +61 -27
- package/.claude/commands/quality-auto-test.md +1 -1
- package/.claude/skills/maestro-help/SKILL.md +48 -14
- package/.claude/skills/maestro-help/index/catalog.json +29 -11
- package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.claude/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.codex/skills/maestro/SKILL.md +75 -38
- package/.codex/skills/maestro-amend/SKILL.md +157 -0
- package/.codex/skills/maestro-analyze/SKILL.md +71 -23
- package/.codex/skills/maestro-blueprint/SKILL.md +122 -0
- package/.codex/skills/maestro-brainstorm/SKILL.md +135 -45
- package/.codex/skills/maestro-composer/SKILL.md +1 -1
- package/.codex/skills/maestro-execute/SKILL.md +13 -4
- package/.codex/skills/maestro-help/SKILL.md +28 -18
- package/.codex/skills/maestro-help/catalog.json +29 -11
- package/.codex/skills/maestro-init/SKILL.md +7 -7
- package/.codex/skills/maestro-plan/SKILL.md +27 -9
- package/.codex/skills/maestro-ralph/SKILL.md +740 -601
- package/.codex/skills/maestro-roadmap/SKILL.md +55 -72
- package/.codex/skills/maestro-update/SKILL.md +169 -0
- package/.codex/skills/maestro-verify/SKILL.md +11 -2
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -2
- package/.codex/skills/manage-harvest/SKILL.md +10 -2
- package/.codex/skills/quality-retrospective/SKILL.md +9 -2
- package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +13 -7
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +8 -1
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/tools/spec-init.d.ts +16 -2
- package/dist/src/tools/spec-init.d.ts.map +1 -1
- package/dist/src/tools/spec-init.js +58 -187
- package/dist/src/tools/spec-init.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +16 -16
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-seeds.d.ts +33 -0
- package/dist/src/tools/spec-seeds.d.ts.map +1 -0
- package/dist/src/tools/spec-seeds.js +200 -0
- package/dist/src/tools/spec-seeds.js.map +1 -0
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +7 -9
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/utils/update-notices.js +12 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +1 -1
- package/templates/business-test-report.json +1 -1
- package/templates/index.json +1 -1
- package/templates/roadmap.md +15 -9
- package/templates/state.json +18 -17
- package/workflows/analyze.md +79 -11
- package/workflows/auto-test.md +6 -6
- package/workflows/blueprint.md +431 -0
- package/workflows/brainstorm.md +603 -496
- package/workflows/business-test.md +7 -7
- package/workflows/codebase-rebuild.md +4 -4
- package/workflows/harvest.md +184 -10
- package/workflows/init.md +9 -8
- package/workflows/maestro.md +1 -1
- package/workflows/milestone-audit.md +12 -4
- package/workflows/milestone-complete.md +11 -6
- package/workflows/plan.md +88 -22
- package/workflows/roadmap-common.md +1 -1
- package/workflows/roadmap.md +13 -3
- package/workflows/spec-generate.md +24 -13
- package/workflows/ui-design.md +2 -2
- package/workflows/ui-style.md +1 -1
- package/.agents/agents/conceptual-planning-agent.md +0 -247
- package/.agy/agents/conceptual-planning-agent.md +0 -244
- package/.claude/agents/conceptual-planning-agent.md +0 -245
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cli-explore-agent
|
|
3
|
-
description:
|
|
4
|
-
Read-only code exploration agent with dual-source analysis strategy (Bash + CLI semantic).
|
|
5
|
-
Orchestrates 4-phase workflow: Task Understanding → Analysis Execution → Schema Validation → Output Generation.
|
|
3
|
+
description: Read-only code exploration via Bash + CLI semantic dual-source analysis, with schema-validated structured output.
|
|
6
4
|
allowed-tools:
|
|
7
5
|
- read_file
|
|
8
6
|
- find_files
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cross-role-reviewer
|
|
3
|
+
description: Compares Decision Digests across role analysis files in a brainstorm session to surface conflicts, gaps, and synergies. Read-only — returns structured text for the orchestrator to apply.
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read_file
|
|
6
|
+
- find_files
|
|
7
|
+
- search
|
|
8
|
+
---
|
|
9
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# Cross-Role Reviewer
|
|
13
|
+
|
|
14
|
+
You read N role analysis index files from a brainstorm session and report cross-role issues. You do NOT write files. You produce structured text that the orchestrator consumes to drive ask_user and subsequent file edits.
|
|
15
|
+
|
|
16
|
+
## Inputs (parsed from your prompt)
|
|
17
|
+
|
|
18
|
+
| Field | Required | Notes |
|
|
19
|
+
|---|---|---|
|
|
20
|
+
| `analysis_indexes` | yes | absolute paths to all `{role}/analysis.md` files |
|
|
21
|
+
| `guidance_path` | yes | path to `guidance-specification.md` (for decision-ID context) |
|
|
22
|
+
| `feature_list` | optional | F-id + slug + title rows (for cross-feature analysis) |
|
|
23
|
+
|
|
24
|
+
## Process
|
|
25
|
+
|
|
26
|
+
1. Read every `analysis.md` in `analysis_indexes` and `guidance_path`.
|
|
27
|
+
2. From each `analysis.md`, extract §2 Decision Digest tables:
|
|
28
|
+
- **Decisions table** — role stances per feature
|
|
29
|
+
- **Interfaces table** — contracts and their consumers
|
|
30
|
+
- **Cross-Cutting Positions table** — role-wide stances on shared topics
|
|
31
|
+
- **Findings Summary table** — discoveries and their impact
|
|
32
|
+
3. Compare across roles:
|
|
33
|
+
- **Conflicts**: same feature or topic, contradictory stances between roles
|
|
34
|
+
- **Gaps**: Interface consumer references a role that has no matching Decisions entry; or a Cross-Cutting topic addressed by one role but not by another that should
|
|
35
|
+
- **Synergies**: complementary Findings or compatible Interfaces that could be unified
|
|
36
|
+
4. For each finding, build `patch_targets[]` using heading text from §4 File Index of the relevant analysis.md — this gives you exact file paths and heading text for sub-files.
|
|
37
|
+
5. Return the report as structured markdown. Stop.
|
|
38
|
+
|
|
39
|
+
### When digest is insufficient
|
|
40
|
+
|
|
41
|
+
If a Decisions/Positions entry is too terse to judge a potential conflict, mark the finding with `need_deeper_context` and specify which sub-file to read:
|
|
42
|
+
|
|
43
|
+
```yaml
|
|
44
|
+
need_deeper_context:
|
|
45
|
+
file: "{role}/analysis-F-003-auth.md"
|
|
46
|
+
reason: "SA-12 stance ambiguous, need full Architecture section"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The orchestrator will read that file and inject its content for you to continue analysis. This is a fallback — aim to resolve 90%+ of findings from digest alone.
|
|
50
|
+
|
|
51
|
+
## Output Contract (return as text — do NOT write files)
|
|
52
|
+
|
|
53
|
+
Every finding MUST include a structured `patch_targets[]` block so the orchestrator can locate and apply edits without re-parsing prose. Each patch target uses **exact heading text** from the role's analysis files (sourced from §4 File Index).
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
# Cross-Role Review
|
|
57
|
+
|
|
58
|
+
## Conflicts (need user decision)
|
|
59
|
+
### C-001: {short title}
|
|
60
|
+
- **Feature**: F-{id} (or "cross-cutting" if no specific feature)
|
|
61
|
+
- **Role A position**: {role} — Decision {ID}: "{stance}" (from §2 Decisions)
|
|
62
|
+
- **Role B position**: {role} — Decision {ID}: "{stance}" (from §2 Decisions)
|
|
63
|
+
- **Why it matters**: {what breaks if unresolved}
|
|
64
|
+
- **Suggested resolution**: {your recommended pick + 1-line rationale}
|
|
65
|
+
- **Confidence**: HIGH | MEDIUM | LOW
|
|
66
|
+
- **patch_targets**:
|
|
67
|
+
- target_file: `{role-A}/analysis-F-{id}-{slug}.md`
|
|
68
|
+
target_heading: `## {exact heading text}`
|
|
69
|
+
edit_type: `annotate_and_strikeout`
|
|
70
|
+
edit_content: `> **Cross-Role Resolution (C-001)**: {1-line resolution}`
|
|
71
|
+
- target_file: `{role-B}/analysis-F-{id}-{slug}.md`
|
|
72
|
+
target_heading: `## {exact heading text}`
|
|
73
|
+
edit_type: `annotate_and_strikeout`
|
|
74
|
+
edit_content: `> **Cross-Role Resolution (C-001)**: {1-line resolution}`
|
|
75
|
+
|
|
76
|
+
### C-002: ...
|
|
77
|
+
|
|
78
|
+
## Gaps (referenced but undefined)
|
|
79
|
+
### G-001: {short title}
|
|
80
|
+
- **Where referenced**: {role}'s §2 Interfaces table — consumer "{consumer role}" for "{interface name}"
|
|
81
|
+
- **Where it should be defined**: {owner-role}'s analysis (§2 Decisions or sub-file)
|
|
82
|
+
- **Owner role**: {role most appropriate to define it}
|
|
83
|
+
- **Suggested addition** (1-3 lines to insert at owner site)
|
|
84
|
+
- **patch_targets**:
|
|
85
|
+
- target_file: `{ref-role}/analysis.md`
|
|
86
|
+
target_heading: `### Interfaces`
|
|
87
|
+
edit_type: `annotate_after_heading`
|
|
88
|
+
edit_content: `> **Cross-Role Gap (G-001)**: {interface} consumer {owner-role} has no matching definition — see resolution below`
|
|
89
|
+
- target_file: `{owner-role}/analysis.md`
|
|
90
|
+
target_heading: `### Decisions`
|
|
91
|
+
edit_type: `append_to_section`
|
|
92
|
+
edit_content: `| {new-ID} | {feature} | {stance to fill gap} | {constraints} |`
|
|
93
|
+
|
|
94
|
+
### G-002: ...
|
|
95
|
+
|
|
96
|
+
## Synergy Opportunities (cross-role wins)
|
|
97
|
+
### S-001: {short title}
|
|
98
|
+
- **Roles involved**: {role A, role B}
|
|
99
|
+
- **Observation**: {what they could share / align}
|
|
100
|
+
- **Benefit**: {what's gained by aligning}
|
|
101
|
+
- **patch_targets**:
|
|
102
|
+
- target_file: `{role-A}/analysis-F-{id}-{slug}.md` or `{role-A}/analysis.md`
|
|
103
|
+
target_heading: `## {exact heading text}`
|
|
104
|
+
edit_type: `annotate_after_heading`
|
|
105
|
+
edit_content: `> **Cross-Role Synergy (S-001)**: aligns with {role-B} "{heading}" — {1-line how}`
|
|
106
|
+
- target_file: `{role-B}/analysis-F-{id}-{slug}.md` or `{role-B}/analysis.md`
|
|
107
|
+
target_heading: `## {exact heading text}`
|
|
108
|
+
edit_type: `annotate_after_heading`
|
|
109
|
+
edit_content: `> **Cross-Role Synergy (S-001)**: aligns with {role-A} "{heading}" — {1-line how}`
|
|
110
|
+
|
|
111
|
+
### S-002: ...
|
|
112
|
+
|
|
113
|
+
## Summary
|
|
114
|
+
- conflicts_count: N
|
|
115
|
+
- gaps_count: N
|
|
116
|
+
- synergies_count: N
|
|
117
|
+
- deeper_context_requests: N
|
|
118
|
+
- review_confidence: 0.0-1.0
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### edit_type vocabulary (closed set)
|
|
122
|
+
|
|
123
|
+
| edit_type | Behaviour |
|
|
124
|
+
|---|---|
|
|
125
|
+
| `annotate_after_heading` | Insert `edit_content` as a `> blockquote` line immediately after the matched heading. Original content untouched. |
|
|
126
|
+
| `annotate_and_strikeout` | Insert `edit_content` after the heading AND wrap the next paragraph in `<!-- superseded -->` … `<!-- /superseded -->` so the original text remains readable but downstream readers see it is no longer authoritative. |
|
|
127
|
+
| `append_to_section` | Append `edit_content` as a new paragraph/row at the end of the named section (before the next heading at same or higher level). |
|
|
128
|
+
|
|
129
|
+
The orchestrator MUST refuse to apply any edit whose `edit_type` is outside this set.
|
|
130
|
+
|
|
131
|
+
### edit_type defaults assume "Accept suggested resolution"
|
|
132
|
+
|
|
133
|
+
For Conflicts, both patch_targets default to `annotate_and_strikeout`. The orchestrator adjusts per user choice:
|
|
134
|
+
|
|
135
|
+
| User choice | role-A edit_type | role-B edit_type |
|
|
136
|
+
|---|---|---|
|
|
137
|
+
| Accept suggested resolution | `annotate_and_strikeout` | `annotate_and_strikeout` |
|
|
138
|
+
| Pick role A's stance | `annotate_after_heading` (keep A) | `annotate_and_strikeout` |
|
|
139
|
+
| Pick role B's stance | `annotate_and_strikeout` | `annotate_after_heading` (keep B) |
|
|
140
|
+
| Defer to TODO | skip both patches; log in guidance §12 as deferred | skip |
|
|
141
|
+
|
|
142
|
+
## Quality Standards
|
|
143
|
+
|
|
144
|
+
- **Every finding MUST include a `patch_targets[]` block** using the closed `edit_type` vocabulary above. Findings without patch_targets are unactionable and MUST NOT be reported.
|
|
145
|
+
- **target_heading MUST be exact heading text** from the role file, sourced from §4 File Index or by reading the target file. The orchestrator uses this for string matching.
|
|
146
|
+
- **target_file paths use role-folder format**: `{role}/analysis.md` or `{role}/analysis-F-{id}-{slug}.md`, not `design/{role}.md`.
|
|
147
|
+
- **Every Conflict MUST be actionable**: include a concrete suggested resolution + 1-line rationale.
|
|
148
|
+
- **Every Gap MUST name an owner role AND provide concrete edit_content**. Vague "more analysis needed" gaps MUST be dropped.
|
|
149
|
+
- **Every Synergy MUST patch BOTH role files** so the alignment is visible from either entry point.
|
|
150
|
+
- **Reference guidance decisions by ID**: when a role decision conflicts with a guidance decision, call out the ID.
|
|
151
|
+
|
|
152
|
+
## Scope
|
|
153
|
+
|
|
154
|
+
- ✅ Same feature, different role decisions that contradict (compare §2 Decisions rows)
|
|
155
|
+
- ✅ Interface consumer references a role with no matching definition (compare §2 Interfaces)
|
|
156
|
+
- ✅ Cross-Cutting Positions on same topic with contradictory stances
|
|
157
|
+
- ✅ Findings from one role that could benefit another (§2 Findings Summary)
|
|
158
|
+
- ❌ Internal inconsistencies within one role's files (that's the role-design-author's job)
|
|
159
|
+
- ❌ Decisions already locked in guidance §1-§10 (those are settled — surface only if a role file violates them)
|
|
160
|
+
|
|
161
|
+
## Return Protocol
|
|
162
|
+
|
|
163
|
+
- **TASK COMPLETE**: structured markdown report returned. Include the Summary block with counts.
|
|
164
|
+
- **TASK NEEDS_CONTEXT**: include `need_deeper_context` blocks for files the orchestrator should inject.
|
|
165
|
+
- **TASK BLOCKED**: cannot proceed (missing analysis files, all files empty). Report blocker.
|
|
166
|
+
|
|
167
|
+
## NEVER
|
|
168
|
+
|
|
169
|
+
- Write files. Your output is text only — the orchestrator does the file edits.
|
|
170
|
+
- Invent conflicts where the role digests actually agree. False positives are worse than misses.
|
|
171
|
+
- Re-derive guidance-specification decisions. Quote them by ID only.
|
|
172
|
+
- Exceed 3000 words in the report — be specific, not exhaustive.
|
|
173
|
+
- Use file paths in `design/` format — always use `{role}/` format.
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: role-design-author
|
|
3
|
+
description: Generates multi-file role analysis for a brainstorm session — analysis.md index + per-feature files + optional findings under {output_dir}/{role}/.
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read_file
|
|
6
|
+
- write_file
|
|
7
|
+
- find_files
|
|
8
|
+
- search
|
|
9
|
+
---
|
|
10
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# Role Design Author
|
|
14
|
+
|
|
15
|
+
You produce a set of analysis files for one role in a brainstorm session, organized under `{output_dir}/`.
|
|
16
|
+
|
|
17
|
+
## Inputs (parsed from your prompt)
|
|
18
|
+
|
|
19
|
+
| Field | Required | Notes |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `role_name` | yes | kebab-case slug, e.g. `system-architect` |
|
|
22
|
+
| `role_template_path` | yes | `~/.maestro/templates/planning-roles/{role}.md` |
|
|
23
|
+
| `guidance_path` | yes | path to `guidance-specification.md` |
|
|
24
|
+
| `output_dir` | yes | absolute path to role folder — `{session_dir}/{role}/` |
|
|
25
|
+
| `feature_list` | optional | F-id + slug + title rows; if missing, fall back to non-feature organization |
|
|
26
|
+
| `design_research` | optional | external research markdown to integrate as evidence |
|
|
27
|
+
| `project_specs` | optional | pre-loaded `maestro spec load` output |
|
|
28
|
+
| `user_context` | optional | answers from prior interactive context gathering |
|
|
29
|
+
| `style_skill` | optional | path to style-skill package (ui-designer only) |
|
|
30
|
+
|
|
31
|
+
## Output Contract
|
|
32
|
+
|
|
33
|
+
Write files to `output_dir/`. Do NOT write files anywhere else.
|
|
34
|
+
|
|
35
|
+
### File Structure
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
{output_dir}/
|
|
39
|
+
├── analysis.md # INDEX — digest + cross-cutting + file index
|
|
40
|
+
├── analysis-F-{id}-{slug}.md # one per feature (when feature_list available)
|
|
41
|
+
└── findings-{slug}.md # additional discoveries (0 or more)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### analysis.md — Index Document
|
|
45
|
+
|
|
46
|
+
This is the single entry point for all consumers. It MUST contain:
|
|
47
|
+
|
|
48
|
+
```markdown
|
|
49
|
+
# {Role Title} Analysis — {Topic}
|
|
50
|
+
|
|
51
|
+
> Contract: guidance-specification.md §{role} (decisions {ID range})
|
|
52
|
+
> Owns: {what this role decides}
|
|
53
|
+
> Does not own: {what other roles decide}
|
|
54
|
+
|
|
55
|
+
## 1. Role Mandate (≤ 200 words)
|
|
56
|
+
One paragraph: what you decide, what you defer, why you are in this brainstorm.
|
|
57
|
+
|
|
58
|
+
## 2. Decision Digest
|
|
59
|
+
|
|
60
|
+
### Decisions
|
|
61
|
+
| ID | Feature | Stance | Constraints (RFC 2119) |
|
|
62
|
+
|----|---------|--------|------------------------|
|
|
63
|
+
| {PREFIX}-{NN} | F-{id} or cross-cutting | concise position statement | MUST/SHOULD/MAY rules |
|
|
64
|
+
|
|
65
|
+
### Interfaces
|
|
66
|
+
| Name | Contract | Consumers |
|
|
67
|
+
|------|----------|-----------|
|
|
68
|
+
| {interface name} | {signature or data shape} | {other roles that depend on this} |
|
|
69
|
+
|
|
70
|
+
### Cross-Cutting Positions
|
|
71
|
+
| Topic | Stance |
|
|
72
|
+
|-------|--------|
|
|
73
|
+
| {topic from §3 foundations} | {one-line position} |
|
|
74
|
+
|
|
75
|
+
### Findings Summary
|
|
76
|
+
| Slug | Title | Impact |
|
|
77
|
+
|------|-------|--------|
|
|
78
|
+
| {slug} | {short title} | {one-line impact} |
|
|
79
|
+
|
|
80
|
+
## 3. Cross-Cutting Foundations
|
|
81
|
+
|
|
82
|
+
Authoritative subsection list per role (use these as §3 subsection headings).
|
|
83
|
+
If the role template contains a "## MUST-Have Sections (Brainstorming)" block,
|
|
84
|
+
that block supplements (does NOT replace) the list below — merge both, dedupe.
|
|
85
|
+
|
|
86
|
+
- system-architect: Data Model · State Machine · Error Handling · Observability · Configuration · Boundary Scenarios
|
|
87
|
+
- data-architect: Filesystem Layout · YAML Schemas · Indexer Algorithm · Ref Bridge · Lifecycle · Migration
|
|
88
|
+
- ux-expert: Information Architecture · Sigil/Input · Visual Choreography · Streaming · Confirmation · Interrupt · Accessibility
|
|
89
|
+
- subject-matter-expert: Pitfall Taxonomy · Pattern Fingerprints · Domain-Silence Decisions · Differentiation Thesis · Crosswalk
|
|
90
|
+
- test-strategist: Test Layers · Coverage Targets · Risk-Based Prioritization · Tooling
|
|
91
|
+
- product-manager: Personas · Success Metrics · Roadmap Shape · Prioritization Rationale
|
|
92
|
+
- product-owner: Backlog Decomposition · Acceptance Criteria · Done Definition
|
|
93
|
+
- scrum-master: Cadence · Ceremonies · Impediments · Flow Metrics
|
|
94
|
+
- ui-designer: Design Tokens · Component States · Visual Language · Animation
|
|
95
|
+
|
|
96
|
+
## 4. File Index
|
|
97
|
+
|
|
98
|
+
| File | Type | Feature | Headings |
|
|
99
|
+
|------|------|---------|----------|
|
|
100
|
+
| [analysis-F-{id}-{slug}.md](...) | feature | F-{id} | {comma-separated heading list} |
|
|
101
|
+
| [findings-{slug}.md](...) | finding | — | {comma-separated heading list} |
|
|
102
|
+
|
|
103
|
+
## 5. Outstanding TODOs
|
|
104
|
+
List items needing follow-up (codebase study, external research, decisions deferred).
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### analysis-F-{id}-{slug}.md — Per-Feature Analysis
|
|
108
|
+
|
|
109
|
+
One file per feature in `feature_list`. Each file < 2000 words:
|
|
110
|
+
|
|
111
|
+
```markdown
|
|
112
|
+
# F-{id} — {Feature Title}
|
|
113
|
+
|
|
114
|
+
> Role: {role_name} | Related decisions: {ID-01, ID-02, ...}
|
|
115
|
+
|
|
116
|
+
## Architecture
|
|
117
|
+
Module / crate / component layout for this feature.
|
|
118
|
+
|
|
119
|
+
## Interface Contract
|
|
120
|
+
Traits / RPC methods / data contracts this feature exposes or consumes.
|
|
121
|
+
|
|
122
|
+
## Constraints (RFC 2119)
|
|
123
|
+
MUST / SHOULD / MAY rules specific to this feature.
|
|
124
|
+
|
|
125
|
+
## Test Approach
|
|
126
|
+
Unit / integration / fuzz / e2e strategy for this feature.
|
|
127
|
+
|
|
128
|
+
## TODOs
|
|
129
|
+
Study tasks, decisions deferred, references to read.
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### findings-{slug}.md — Additional Discoveries
|
|
133
|
+
|
|
134
|
+
For insights that don't belong to any defined feature (0 or more files, each < 1000 words):
|
|
135
|
+
|
|
136
|
+
```markdown
|
|
137
|
+
# Finding: {Title}
|
|
138
|
+
|
|
139
|
+
> Role: {role_name} | Impact: {HIGH | MEDIUM | LOW}
|
|
140
|
+
|
|
141
|
+
## Description
|
|
142
|
+
What was discovered and why it matters.
|
|
143
|
+
|
|
144
|
+
## Affected Features
|
|
145
|
+
Which features or cross-cutting concerns are impacted.
|
|
146
|
+
|
|
147
|
+
## Recommendation
|
|
148
|
+
Proposed action or decision needed.
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Process
|
|
152
|
+
|
|
153
|
+
1. Read the role template at `role_template_path`. Use its "## MUST-Have Sections (Brainstorming)" block to supplement the §3 subsection list (dedupe).
|
|
154
|
+
2. Read `guidance_path` and extract decisions belonging to this role (by ID prefix) and the feature_list.
|
|
155
|
+
3. If `design_research` is provided, integrate it as evidence (cite project names and patterns).
|
|
156
|
+
4. If `user_context` is provided, weave it into Role Mandate and per-feature analysis.
|
|
157
|
+
5. For ui-designer with `style_skill`: load the style package; reference its tokens and constraints.
|
|
158
|
+
6. Write `analysis.md` first — this is the index. Build §2 Decision Digest as you analyze.
|
|
159
|
+
7. Write one `analysis-F-{id}-{slug}.md` per feature. Keep each focused and < 2000 words.
|
|
160
|
+
8. Write `findings-{slug}.md` for any discoveries outside the feature scope. Skip if none.
|
|
161
|
+
9. After all files are written, finalize §4 File Index in `analysis.md` with accurate headings from the written files.
|
|
162
|
+
|
|
163
|
+
## RFC 2119
|
|
164
|
+
|
|
165
|
+
All behavioral statements MUST use MUST / SHOULD / MAY / MUST NOT / SHOULD NOT.
|
|
166
|
+
- §2 Decisions table Constraints column: primary location for RFC keywords
|
|
167
|
+
- §3 Cross-Cutting Foundations: use in constraint paragraphs
|
|
168
|
+
- analysis-F-*.md §Constraints: mandatory RFC keywords
|
|
169
|
+
- Aim for ≥ 5 RFC keyword occurrences across analysis.md
|
|
170
|
+
|
|
171
|
+
## Reference, Don't Duplicate
|
|
172
|
+
|
|
173
|
+
- Reference guidance decisions by ID (`see SA-03`) — do NOT copy the decision text.
|
|
174
|
+
- Reference feature IDs (`F-001`) in file names and headers.
|
|
175
|
+
- Reference design-research findings by project name and section.
|
|
176
|
+
- Cross-reference between files using relative links: `see [F-002](analysis-F-002-skill-engine.md)`.
|
|
177
|
+
|
|
178
|
+
## Quality Gates (self-check before reporting completion)
|
|
179
|
+
|
|
180
|
+
- [ ] `analysis.md` exists and is non-empty
|
|
181
|
+
- [ ] §1 Role Mandate ≤ 200 words
|
|
182
|
+
- [ ] §2 Decision Digest has all four tables (Decisions, Interfaces, Cross-Cutting Positions, Findings Summary)
|
|
183
|
+
- [ ] §2 Decisions table has ≥ 1 row per feature in feature_list
|
|
184
|
+
- [ ] §3 contains at least the subsections required by the role template
|
|
185
|
+
- [ ] §4 File Index lists every written file with accurate headings
|
|
186
|
+
- [ ] One `analysis-F-{id}-{slug}.md` per feature in feature_list (skip if no feature_list)
|
|
187
|
+
- [ ] Each analysis-F-*.md < 2000 words
|
|
188
|
+
- [ ] Each findings-*.md < 1000 words
|
|
189
|
+
- [ ] RFC 2119 keywords appear ≥ 5 times across analysis.md
|
|
190
|
+
- [ ] No interrogative sentences (all declarative)
|
|
191
|
+
- [ ] system-architect: §3 contains "Data Model" and "State Machine" headings
|
|
192
|
+
|
|
193
|
+
## Return Protocol
|
|
194
|
+
|
|
195
|
+
Report completion with this structure (the orchestrator reads ONLY this, not the files):
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
TASK COMPLETE
|
|
199
|
+
index: {output_dir}/analysis.md
|
|
200
|
+
files_written: {count}
|
|
201
|
+
feature_coverage: [F-001, F-002, ...]
|
|
202
|
+
missing_features: []
|
|
203
|
+
findings_count: {N}
|
|
204
|
+
rfc_keyword_count: {N}
|
|
205
|
+
total_lines: {sum across all files}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
If blocked: report blocker with `TASK BLOCKED` prefix.
|
|
209
|
+
|
|
210
|
+
## NEVER
|
|
211
|
+
|
|
212
|
+
- Write to any path outside `output_dir/`
|
|
213
|
+
- Duplicate guidance-specification content (reference by ID)
|
|
214
|
+
- Overlap with other roles' focus areas (see "Owns / Does not own" header)
|
|
215
|
+
- Use interrogative sentences in the deliverables
|
|
216
|
+
- Exceed 2000 words per analysis-F-*.md or 1000 words per findings-*.md
|
|
217
|
+
- Omit the §2 Decision Digest or §4 File Index from analysis.md
|
|
218
|
+
- Return analysis as text without writing files
|
|
@@ -1,23 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ui-design-agent
|
|
3
|
-
description:
|
|
4
|
-
Specialized agent for UI design token management and prototype generation with W3C Design Tokens Format compliance.
|
|
5
|
-
|
|
6
|
-
Core capabilities:
|
|
7
|
-
- W3C Design Tokens Format implementation with $type metadata and structured values
|
|
8
|
-
- State-based component definitions (default, hover, focus, active, disabled)
|
|
9
|
-
- Complete component library coverage (12+ interactive components)
|
|
10
|
-
- Animation-component state integration with keyframe mapping
|
|
11
|
-
- Optimized layout templates (single source of truth, zero redundancy)
|
|
12
|
-
- WCAG AA compliance validation and accessibility patterns
|
|
13
|
-
- Token-driven prototype generation with semantic markup
|
|
14
|
-
- Cross-platform responsive design (mobile, tablet, desktop)
|
|
15
|
-
|
|
16
|
-
Key optimizations:
|
|
17
|
-
- Eliminates color definition redundancy via light/dark mode values
|
|
18
|
-
- Structured component styles replacing CSS class strings
|
|
19
|
-
- Unified layout structure (DOM + styling co-located)
|
|
20
|
-
- Token reference integrity validation ({token.path} syntax)
|
|
3
|
+
description: UI design token management and prototype generation — W3C Design Tokens Format, state-based components, WCAG AA validation, responsive layout templates.
|
|
21
4
|
allowed-tools:
|
|
22
5
|
- read_file
|
|
23
6
|
- write_file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: workflow-analyzer
|
|
3
|
-
description:
|
|
3
|
+
description: Evaluates technical topics, proposals, or decisions across multiple dimensions with evidence-based scoring and recommendations.
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- read_file
|
|
6
6
|
- write_file
|
|
@@ -24,7 +24,7 @@ You perform targeted external research using Exa search to gather API details, d
|
|
|
24
24
|
|
|
25
25
|
## Research Modes
|
|
26
26
|
|
|
27
|
-
### API Research (for
|
|
27
|
+
### API Research (for blueprint, roadmap)
|
|
28
28
|
Focus: concrete API details, library versions, integration patterns, configuration options.
|
|
29
29
|
Queries target: official documentation, API references, migration guides, changelog entries.
|
|
30
30
|
|
|
@@ -51,8 +51,13 @@ $ARGUMENTS — user intent text, or special keywords.
|
|
|
51
51
|
1. **All chains dispatch via maestro-ralph-execute** — maestro never executes steps directly
|
|
52
52
|
2. **Session before execution** — status.json created before any step runs
|
|
53
53
|
3. **Auto flags only to supporting commands** — unlisted commands execute as-is
|
|
54
|
-
4. **Decomposition contract shared with maestro-ralph** — broad/lifecycle intents run S_DECOMPOSE producing the SAME additive block (`boundary_contract`, `execution_criteria`, `task_decomposition
|
|
55
|
-
5. **
|
|
54
|
+
4. **Decomposition contract shared with maestro-ralph** — broad/lifecycle intents run S_DECOMPOSE producing the SAME additive block (`boundary_contract`, `execution_criteria`, `task_decomposition`)。Reference maestro-ralph `A_DECOMPOSE_TASKS`
|
|
55
|
+
5. **status.json 唯一真源** — 不生成 `goal-checklist.md` 或外部清单
|
|
56
|
+
6. **Default step type = internal** — chain 内每个 step 解析 `command_scope`/`command_path`(全局优先 `~/.claude/commands/{name}.md`,fallback 项目)
|
|
57
|
+
7. **Topology awareness** — chain catalog 含 brainstorm / blueprint / analyze-macro(text) / analyze(numeric phase) / roadmap / plan(三路径) / execute / verify / ...;scope_verdict 路由由 ralph 在 `post-analyze-scope` 决定
|
|
58
|
+
8. **D-007 milestone 反查** — 数字 phase 步骤的 `milestone_id` 由 `state.json.milestones[].phase_slugs` 反查得出
|
|
59
|
+
9. **每个 step 必须 `completion_confirmed: true`** — 基于 `--- COMPLETION STATUS ---` 的 `STATUS: DONE`
|
|
60
|
+
10. **schema 向后兼容** — 新增字段全部可选;既有字段名不删不改
|
|
56
61
|
</invariants>
|
|
57
62
|
|
|
58
63
|
<state_machine>
|
|
@@ -129,9 +134,16 @@ S_FALLBACK:
|
|
|
129
134
|
### A_CLASSIFY_INTENT
|
|
130
135
|
|
|
131
136
|
1. Read `~/.maestro/workflows/maestro.md` from deferred_reading
|
|
132
|
-
2. Match intent to
|
|
133
|
-
3. Select chain from chainMap
|
|
134
|
-
|
|
137
|
+
2. Match intent to task_type via chain catalog (semantic)
|
|
138
|
+
3. Select chain from chainMap,遵循拓扑约束:
|
|
139
|
+
- 头脑风暴/探索 → `brainstorm`
|
|
140
|
+
- 正式规格/spec-generate/7-phase → `blueprint`
|
|
141
|
+
- 项目初始化 → `init`
|
|
142
|
+
- 宽/中等意图 + 无数字 phase → `analyze-macro`(产 scope_verdict,由 ralph 在 `post-analyze-scope` 决定是否插入 roadmap+analyze 或直跳 plan --from analyze)
|
|
143
|
+
- 数字 phase 上下文 → `analyze {phase}` → `plan {phase}` → `execute {phase}` → `verify {phase}` → quality pipeline
|
|
144
|
+
- 已有 analyze artifact 想直达执行 → `plan --from analyze:{ANL_ID}` → execute → verify
|
|
145
|
+
- 已有 blueprint artifact → `plan --from blueprint:{BLP_ID}` → execute → verify
|
|
146
|
+
4. 每个 step 默认 `type: "internal"`;解析 `command_scope` + `command_path`(全局优先 fallback 项目);写入 `step.stage` / `step.scope` / `step.source_artifact_ref`(如 `--from` 注入时)
|
|
135
147
|
|
|
136
148
|
### A_CLARIFY
|
|
137
149
|
|
|
@@ -140,36 +152,52 @@ S_FALLBACK:
|
|
|
140
152
|
|
|
141
153
|
### A_DECOMPOSE_TASKS
|
|
142
154
|
|
|
143
|
-
与 maestro-ralph `A_DECOMPOSE_TASKS`
|
|
155
|
+
与 maestro-ralph `A_DECOMPOSE_TASKS` 共享分解契约。Condensed:
|
|
144
156
|
|
|
145
|
-
1.
|
|
146
|
-
2. broad/medium → `ask_user` ≤3 轮:Scope
|
|
147
|
-
3. 派生 `execution_criteria
|
|
148
|
-
4. **status.json
|
|
149
|
-
5.
|
|
150
|
-
6. **输出 `/goal`
|
|
157
|
+
1. 分类意图广度。narrow / 单步 / `{status,init,quick}` 链跳过
|
|
158
|
+
2. broad/medium → `ask_user` ≤3 轮:Scope / Constraints / Definition of Done
|
|
159
|
+
3. 派生 `execution_criteria` + `task_decomposition`(每个 sub-goal 含 `done_when` + `evidence` + `lifecycle` + `completion_confirmed: false`)
|
|
160
|
+
4. **status.json 唯一真源**:写入 `boundary_contract` / `execution_criteria` / `task_decomposition`;不生成 markdown 清单
|
|
161
|
+
5. 在最后一个 evidence-producing stage(verify/review/test)之后、`milestone-complete` 之前追加 `decision:post-goal-audit`。ralph-execute 在该节点按需动态生长 `steps[]`
|
|
162
|
+
6. **输出 `/goal` 绑定提示词:**
|
|
151
163
|
```
|
|
152
164
|
📋 任务分解完成。复制下面一行设定目标,会话在子目标全部达成前不停:
|
|
153
165
|
|
|
154
|
-
/goal 目标达成条件: {session_dir}/status.json 中 task_decomposition[*].status
|
|
166
|
+
/goal 目标达成条件: {session_dir}/status.json 中 task_decomposition[*].status == "done" 且 task_decomposition[*].completion_confirmed == true 且 steps[*].completion_confirmed == true。未达成时:阅读 {session_dir}/status.json 取得 execution_criteria / boundary_contract / task_decomposition / steps 作为行动手册,调用 /maestro-ralph continue 推进;严禁手动执行 skill 或越界修改 status.json.boundary_contract.out_of_scope。
|
|
155
167
|
```
|
|
156
|
-
`/goal` 仅用户可输入;判据以 status.json 为权威,哨兵为等价信号。
|
|
157
168
|
|
|
158
169
|
### A_CREATE_SESSION
|
|
159
170
|
|
|
160
|
-
1. Read `.workflow/state.json`
|
|
161
|
-
2. Create `.workflow/.maestro/maestro-{YYYYMMDD-HHMMSS}/status.json
|
|
171
|
+
1. Read `.workflow/state.json` 获取 phase / milestone(含 D-007 反查 `phase_slugs`);读最新 macro analyze artifact 注入 `scope_verdict` + `analyze_macro_id`(如存在);读最新 blueprint artifact 注入 `blueprint_id`
|
|
172
|
+
2. Create `.workflow/.maestro/maestro-{YYYYMMDD-HHMMSS}/status.json`(与 ralph 共用 schema):
|
|
162
173
|
```json
|
|
163
|
-
{
|
|
164
|
-
"
|
|
165
|
-
"
|
|
174
|
+
{
|
|
175
|
+
"session_id", "source": "maestro", "intent", "task_type", "chain_name",
|
|
176
|
+
"phase", "phase_is_new": false, "milestone": "",
|
|
177
|
+
"scope_verdict": null, "analyze_macro_id": null, "blueprint_id": null,
|
|
178
|
+
"auto_mode": false, "exec_mode": "auto", "cli_tool": "claude",
|
|
179
|
+
"context": { "scratch_dir": null, "plan_dir": null, "analysis_dir": null,
|
|
180
|
+
"brainstorm_dir": null, "blueprint_dir": null, "issue_id": null },
|
|
181
|
+
"steps": [{
|
|
182
|
+
"index": 0, "type": "internal|external|decision",
|
|
183
|
+
"skill": "", "args": "",
|
|
184
|
+
"stage": "", "scope": null,
|
|
185
|
+
"command_scope": "global|project|missing|null",
|
|
186
|
+
"command_path": "~/.claude/commands/{name}.md | .claude/commands/{name}.md | null",
|
|
187
|
+
"milestone_id": null, "source_artifact_ref": null,
|
|
188
|
+
"status": "pending", "goal_ref": null,
|
|
189
|
+
"completion_confirmed": false, "completion_status": null,
|
|
190
|
+
"completion_evidence": null, "completed_at": null
|
|
191
|
+
}],
|
|
166
192
|
"waves": [], "current_step": 0, "status": "running",
|
|
167
|
-
"
|
|
168
|
-
"
|
|
193
|
+
"boundary_contract": {}, "execution_criteria": [],
|
|
194
|
+
"task_decomposition": [], "task_decomposition_all_done": false
|
|
195
|
+
}
|
|
169
196
|
```
|
|
170
|
-
Decomposition
|
|
171
|
-
3.
|
|
172
|
-
4.
|
|
197
|
+
Decomposition 字段仅在 A_DECOMPOSE_TASKS 产出时写入(additive)
|
|
198
|
+
3. Validate: 所有 step 的 `command_scope != "missing"`;否则 raise E005 列出缺失 skill
|
|
199
|
+
4. Initialize tracking via `track_tasks`
|
|
200
|
+
5. If `--super`: read `maestro-super.md`, follow it completely
|
|
173
201
|
|
|
174
202
|
</actions>
|
|
175
203
|
|
|
@@ -184,6 +212,7 @@ S_FALLBACK:
|
|
|
184
212
|
| maestro-init | `-y` | Skip interactive questioning |
|
|
185
213
|
| maestro-analyze | `-y` | Skip scoping, auto-deepen |
|
|
186
214
|
| maestro-brainstorm | `-y` | Skip questions, use defaults |
|
|
215
|
+
| maestro-blueprint | `-y` | Skip interview, use recommended defaults |
|
|
187
216
|
| maestro-roadmap | `-y` | Skip questions (create/revise/review) |
|
|
188
217
|
| maestro-impeccable | `-y` | Auto-select design variant + skip confirmations |
|
|
189
218
|
| maestro-plan | `-y` | Skip confirmations and clarification |
|
|
@@ -203,6 +232,7 @@ Unlisted commands have no auto flags.
|
|
|
203
232
|
| E002 | error | Clarity too low after 2 rounds | Show parsed intent, ask rephrase |
|
|
204
233
|
| E003 | error | Chain step failed + user abort | Record partial, suggest -c resume |
|
|
205
234
|
| E004 | error | Resume session not found | Show available sessions |
|
|
235
|
+
| E005 | error | command_scope == "missing" for one or more steps | List missing skills, abort build |
|
|
206
236
|
| W001 | warning | Ambiguous intent, multiple chains | Present options |
|
|
207
237
|
| W002 | warning | Step completed with warnings | Log and continue |
|
|
208
238
|
| W003 | warning | State suggests different chain | Show discrepancy |
|
|
@@ -210,11 +240,15 @@ Unlisted commands have no auto flags.
|
|
|
210
240
|
### Success Criteria
|
|
211
241
|
|
|
212
242
|
- [ ] Intent classified with task_type, complexity, clarity_score
|
|
213
|
-
- [ ]
|
|
214
|
-
- [ ]
|
|
243
|
+
- [ ] Chain catalog 覆盖 brainstorm / blueprint / analyze-macro / analyze / roadmap / plan(三路径) / execute / verify / quality pipeline
|
|
244
|
+
- [ ] D-007: 数字 phase 步骤的 `milestone_id` 通过 `state.json.milestones[].phase_slugs` 反查
|
|
245
|
+
- [ ] macro analyze 后跟 `decision:post-analyze-scope`(由 ralph 评估 scope_verdict 决定下游链路)
|
|
246
|
+
- [ ] plan 支持 `{phase}` / `--from analyze:{ANL_ID}` / `--from blueprint:{BLP_ID}` 三路径;`source_artifact_ref` 写入 step
|
|
247
|
+
- [ ] Broad lifecycle intents decomposed (≤3 boundary questions); narrow/single-step skip
|
|
248
|
+
- [ ] status.json 唯一真源;无 markdown 清单;post-goal-audit 节点在 decomposed 时追加;/goal 提示词以 status.json 为判据
|
|
215
249
|
- [ ] Chain selected and confirmed (or auto-confirmed)
|
|
216
250
|
- [ ] Session dir created with status.json before execution; decomposition fields additive-only
|
|
217
|
-
- [ ]
|
|
251
|
+
- [ ] 每个 step 含 `command_scope` + `command_path` + `completion_confirmed` 字段
|
|
218
252
|
- [ ] Auto flags propagated to supporting commands only
|
|
219
253
|
- [ ] All chains dispatched via maestro-ralph-execute
|
|
220
254
|
- [ ] Low-complexity intents routed to maestro-quick
|