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
|
@@ -34,12 +34,17 @@ Use `--gaps` for issue-focused root cause analysis (replaces manage-issue-analyz
|
|
|
34
34
|
</deferred_reading>
|
|
35
35
|
|
|
36
36
|
<context>
|
|
37
|
-
$ARGUMENTS -- phase number for
|
|
37
|
+
$ARGUMENTS -- phase number for micro mode, topic text for macro/adhoc mode, no args for milestone-wide.
|
|
38
|
+
|
|
39
|
+
**Dual-layer mode:**
|
|
40
|
+
- **Macro mode** (text argument): Explore impact surface of a topic/requirement. Produces coarse-grained context with `scope_verdict` to route next step. Use before roadmap or for standalone analysis.
|
|
41
|
+
- **Micro mode** (numeric argument): Phase-level deep analysis within an existing roadmap. Produces fine-grained context for plan consumption. `analyze 1` = Phase 1 of current milestone.
|
|
38
42
|
|
|
39
43
|
**Flags:**
|
|
40
44
|
- `-y` / `--yes`: Auto mode — skip interactive scoping, use recommended defaults, auto-deepen
|
|
41
45
|
- `-c` / `--continue`: Resume from existing session (auto-detect session folder + discussion.md)
|
|
42
46
|
- `-q` / `--quick`: Quick mode — skip exploration + scoring, go straight to decision extraction (context.md only)
|
|
47
|
+
- `--from <source>`: Load upstream context package (brainstorm:ID, blueprint:BLP-xxx, @file, or path)
|
|
43
48
|
- `--gaps [ISS-ID]`: Issue root cause analysis mode. If ISS-ID provided, analyze single issue. If omitted, analyze all open/registered issues from issues.jsonl.
|
|
44
49
|
|
|
45
50
|
Scope routing, output directory format, artifact registration schema, and output artifact listing are defined in workflow analyze.md (Scope Routing and Output Structure sections).
|
|
@@ -48,6 +53,20 @@ Scope routing, output directory format, artifact registration schema, and output
|
|
|
48
53
|
`maestro wiki list --category debug` → select relevant → `maestro wiki load`
|
|
49
54
|
</context>
|
|
50
55
|
|
|
56
|
+
<interview_protocol>
|
|
57
|
+
Interview the user relentlessly until shared understanding is reached. Active only in interactive mode; skip when `-y/--yes`, `-c/--continue`, or input is already specific (explicit phase number or unambiguous topic).
|
|
58
|
+
|
|
59
|
+
- One decision per turn via ask_user with 2–4 options + a (Recommended) default; every question must include a `Proceed now` option so the user can end the interview at any time.
|
|
60
|
+
- Never ask what code can verify — resolve via `state.json`, `roadmap.md`, `issues.jsonl`, `maestro spec load`, `maestro wiki search`, Grep, or Read.
|
|
61
|
+
- Walk the decision dependency tree strictly: scope → depth → dimensions → Go/No-Go threshold. Do not open the next branch until the current one is settled.
|
|
62
|
+
- Scope guard: only ask about decisions owned by `analyze`. Do not prejudge plan/execute concerns.
|
|
63
|
+
|
|
64
|
+
Decision points: scope (phase / topic / milestone-wide / adhoc / --gaps) → depth (quick / standard / deep) → dimensions (which of the 6 to keep) → Go/No-Go threshold.
|
|
65
|
+
|
|
66
|
+
Exit: on `Proceed now` or when all decision points are settled, write the table below to the top of `discussion.md` and mirror it into `context.md` under an `Interview Decisions` section:
|
|
67
|
+
`| # | Decision | Choice | Source (user / code / default) |`
|
|
68
|
+
</interview_protocol>
|
|
69
|
+
|
|
51
70
|
<execution>
|
|
52
71
|
Follow '~/.maestro/workflows/analyze.md' completely.
|
|
53
72
|
|
|
@@ -78,15 +97,21 @@ Phase 4: Output context.md for downstream plan --gaps
|
|
|
78
97
|
|
|
79
98
|
**Handoff:** context.md is consumed by maestro-plan (loads Locked/Free/Deferred decisions). In --gaps mode, context.md contains issue root causes for `plan --gaps` consumption.
|
|
80
99
|
|
|
100
|
+
**scope_verdict** (added to context.md in Step 6 Synthesis for macro/adhoc/standalone scopes):
|
|
101
|
+
- `large` (3+ independent subsystems or hard serial dependencies) → suggest `/maestro-roadmap --from analyze:ANL-xxx`
|
|
102
|
+
- `medium` (1-2 subsystems, parallelizable) → suggest `/maestro-plan --from analyze:ANL-xxx`
|
|
103
|
+
- `small` (single-file or few-file change) → suggest `/maestro-plan --from analyze:ANL-xxx`
|
|
104
|
+
|
|
81
105
|
**Next-step routing on completion:**
|
|
82
106
|
|
|
83
|
-
Phase/Milestone scope:
|
|
107
|
+
Phase/Milestone scope (micro mode):
|
|
84
108
|
- Go recommendation, UI work needed → `/maestro-impeccable build {target}`
|
|
85
109
|
- Go recommendation, ready to plan → `/maestro-plan` or `/maestro-plan {phase}`
|
|
86
110
|
- No-Go recommendation → revisit requirements or `/maestro-brainstorm {topic}`
|
|
87
111
|
|
|
88
|
-
Adhoc/Standalone scope:
|
|
89
|
-
-
|
|
112
|
+
Macro/Adhoc/Standalone scope:
|
|
113
|
+
- scope_verdict = large → `/maestro-roadmap --from analyze:ANL-xxx`
|
|
114
|
+
- scope_verdict = medium/small → `/maestro-plan --from analyze:ANL-xxx`
|
|
90
115
|
- Need more exploration → `/maestro-analyze {topic} -c`
|
|
91
116
|
|
|
92
117
|
Gaps scope:
|
|
@@ -125,6 +150,7 @@ Gaps mode:
|
|
|
125
150
|
- [ ] context.md written with aggregated root causes for plan --gaps
|
|
126
151
|
|
|
127
152
|
Both modes (full + quick):
|
|
153
|
+
- [ ] Interactive mode: interview decision table written to `discussion.md` and mirrored into `context.md` "Interview Decisions"
|
|
128
154
|
- [ ] context.md written with all decisions classified as Locked/Free/Deferred
|
|
129
155
|
- [ ] Gray areas identified through phase-specific analysis
|
|
130
156
|
- [ ] Decision Recording Protocol applied to all decisions
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-blueprint
|
|
3
|
+
description: Generate formal specification package (Product Brief, PRD, Architecture, Epics) through 6-phase document chain
|
|
4
|
+
argument-hint: "<idea or @file> [-y] [-c] [--from <source>]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- read_file
|
|
7
|
+
- write_file
|
|
8
|
+
- edit_file
|
|
9
|
+
- shell
|
|
10
|
+
- find_files
|
|
11
|
+
- search
|
|
12
|
+
- delegate_subagent
|
|
13
|
+
- ask_user
|
|
14
|
+
---
|
|
15
|
+
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
|
+
|
|
17
|
+
<purpose>
|
|
18
|
+
Formal specification document chain producing a complete specification package through 6 sequential phases with multi-CLI analysis and interactive refinement. Pure documentation — no code generation, no roadmap generation.
|
|
19
|
+
|
|
20
|
+
Parallel to `brainstorm` as an upstream origin command:
|
|
21
|
+
- **brainstorm** = divergent exploration (lightweight, multi-role creative)
|
|
22
|
+
- **blueprint** = convergent documentation (heavyweight, 6-phase formal spec chain)
|
|
23
|
+
|
|
24
|
+
Output: `.workflow/blueprint/BLP-{slug}-{date}/` containing Product Brief, PRD, Architecture, and Epics.
|
|
25
|
+
</purpose>
|
|
26
|
+
|
|
27
|
+
<required_reading>
|
|
28
|
+
@~/.maestro/workflows/blueprint.md
|
|
29
|
+
</required_reading>
|
|
30
|
+
|
|
31
|
+
<deferred_reading>
|
|
32
|
+
- [blueprint-config.json](~/.maestro/templates/blueprint-config.json) — read when initializing blueprint configuration
|
|
33
|
+
</deferred_reading>
|
|
34
|
+
|
|
35
|
+
<context>
|
|
36
|
+
$ARGUMENTS -- idea text, @file reference, or upstream context source.
|
|
37
|
+
|
|
38
|
+
**Flags:**
|
|
39
|
+
- `-y` / `--yes`: Auto mode — skip interactive questions, use recommended defaults
|
|
40
|
+
- `-c` / `--continue`: Resume from last checkpoint (reads blueprint-config.json)
|
|
41
|
+
- `--from <source>`: Load upstream context package (brainstorm:ID, @file, or path). Consumes context-package.json
|
|
42
|
+
- `--from-brainstorm SESSION-ID`: (backward compat alias for `--from brainstorm:ID`)
|
|
43
|
+
|
|
44
|
+
**Input types:**
|
|
45
|
+
- Direct text: `"Build a real-time collaboration platform with WebSocket"`
|
|
46
|
+
- File reference: `@requirements.md`
|
|
47
|
+
- Context import: `--from brainstorm:BRN-001` or `--from @requirements.md` or `--from path/`
|
|
48
|
+
- Resume: `-c` (resumes from first incomplete phase)
|
|
49
|
+
|
|
50
|
+
**Pipeline position:**
|
|
51
|
+
```
|
|
52
|
+
maestro-brainstorm (optional upstream)
|
|
53
|
+
↓ guidance-specification.md / context-package.json
|
|
54
|
+
maestro-blueprint
|
|
55
|
+
↓ .workflow/blueprint/BLP-{slug}-{date}/
|
|
56
|
+
maestro-analyze → maestro-roadmap → maestro-plan
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Output boundary**: ALL file writes MUST target `.workflow/blueprint/BLP-{slug}-{date}/` or `.workflow/state.json` only. NEVER modify source code or files outside these paths.
|
|
60
|
+
|
|
61
|
+
### Pre-load specs
|
|
62
|
+
1. **Architecture specs**: Run `maestro spec load --category arch` to load architecture constraints. Use as context for architecture decisions (Phase 4).
|
|
63
|
+
2. Optional — proceed without if unavailable.
|
|
64
|
+
</context>
|
|
65
|
+
|
|
66
|
+
<interview_protocol>
|
|
67
|
+
Interview the user relentlessly about every aspect of the spec until shared understanding is reached. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one; if a question can be answered by exploring the codebase, explore the codebase instead. Active only in interactive mode; skip when `-y/--yes`, `-c/--continue`, or input is already specific (clear idea + scope).
|
|
68
|
+
|
|
69
|
+
- Ask one question per turn via ask_user and wait for the user's feedback before continuing; every question must carry a recommended answer marked `(Recommended)`, 2–4 options total, and a `Proceed now` option.
|
|
70
|
+
- Never ask what code can verify — resolve via `state.json`, existing artifacts, `maestro spec load`, or direct codebase exploration (Glob/Grep/Read) instead of prompting.
|
|
71
|
+
- Walk the decision dependency tree depth-first: scope → spec type → focus areas → requirement priorities. Do not open the next branch until the current one is settled.
|
|
72
|
+
- Scope guard: only decide the shape of the specification. Do not pre-resolve roadmap phases or plan tasks — those belong to downstream commands.
|
|
73
|
+
|
|
74
|
+
Decision points: scope (full product / feature set / single feature) → spec type (service / api / library / platform) → focus areas → whether to run codebase exploration.
|
|
75
|
+
|
|
76
|
+
Exit: on consensus or `Proceed now`, persist decisions in blueprint-config.json and proceed to Phase 1.
|
|
77
|
+
</interview_protocol>
|
|
78
|
+
|
|
79
|
+
<execution>
|
|
80
|
+
Follow `~/.maestro/workflows/blueprint.md` completely.
|
|
81
|
+
|
|
82
|
+
### Phase chain
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
P0: Spec Study → P1: Discovery → P1.5: Req Expansion → P2: Product Brief → P3: PRD → P4: Architecture → P5: Epics → P6: Readiness Check
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
P6 gate: Pass (>=80%) → Handoff | Review (60-79%) → Handoff w/caveats | Fail (<60%) → P6.5 Auto-Fix (max 2 iter) → re-check
|
|
89
|
+
|
|
90
|
+
### Next-step routing on completion
|
|
91
|
+
|
|
92
|
+
| Condition | Suggestion |
|
|
93
|
+
|-----------|-----------|
|
|
94
|
+
| Need codebase analysis | /maestro-analyze {topic} --from blueprint:BLP-xxx |
|
|
95
|
+
| Ready for roadmap | /maestro-roadmap --from blueprint:BLP-xxx |
|
|
96
|
+
| Small scope, direct plan | /maestro-plan --from blueprint:BLP-xxx |
|
|
97
|
+
| Need project setup | /maestro-init |
|
|
98
|
+
</execution>
|
|
99
|
+
|
|
100
|
+
<error_codes>
|
|
101
|
+
| Code | Severity | Condition | Recovery |
|
|
102
|
+
|------|----------|-----------|----------|
|
|
103
|
+
| E001 | error | Idea text or @file required | Prompt user for input |
|
|
104
|
+
| E002 | error | Context source not found (--from) | Show available sessions/sources |
|
|
105
|
+
| E006 | error | `.workflow/` not initialized | Run maestro-init first |
|
|
106
|
+
| E007 | error | Phase 6 readiness Fail after 2 auto-fix iterations | Present manual fix options |
|
|
107
|
+
| W001 | warning | CLI analysis failed, using fallback | Continue with available data |
|
|
108
|
+
| W002 | warning | Codebase exploration failed | Continue without codebase context |
|
|
109
|
+
| W003 | warning | Glossary has < 5 terms | Note in readiness check |
|
|
110
|
+
| W004 | warning | Review-level readiness score (60-79%) | Proceed with caveats |
|
|
111
|
+
| W005 | warning | External research agent failed | Continue without apiResearchContext |
|
|
112
|
+
</error_codes>
|
|
113
|
+
|
|
114
|
+
<success_criteria>
|
|
115
|
+
- [ ] Interactive mode: interview decisions persisted in blueprint-config.json
|
|
116
|
+
- [ ] `blueprint-config.json` created with session metadata and phase tracking
|
|
117
|
+
- [ ] `product-brief.md` with vision, goals, scope, multi-perspective synthesis
|
|
118
|
+
- [ ] `glossary.json` with 5+ core terms for cross-document consistency
|
|
119
|
+
- [ ] `requirements/` directory with `_index.md` + individual `REQ-*.md` + `NFR-*.md` files
|
|
120
|
+
- [ ] All requirements have RFC 2119 keywords and acceptance criteria
|
|
121
|
+
- [ ] `architecture/` directory with `_index.md` + individual `ADR-*.md` files
|
|
122
|
+
- [ ] Architecture includes state machine, config model, error handling, observability (service type)
|
|
123
|
+
- [ ] `epics/` directory with `_index.md` + individual `EPIC-*.md` files
|
|
124
|
+
- [ ] Cross-Epic dependency map (Mermaid) and MVP subset tagged
|
|
125
|
+
- [ ] `readiness-report.md` with 4-dimension quality scores and traceability matrix
|
|
126
|
+
- [ ] `blueprint-summary.md` with one-page executive summary
|
|
127
|
+
- [ ] All documents have valid YAML frontmatter with session_id
|
|
128
|
+
- [ ] Glossary terms used consistently across all documents
|
|
129
|
+
- [ ] Readiness gate: Pass (>=80%) or Review (>=60%) with documented caveats
|
|
130
|
+
- [ ] Artifact registered in state.json (type=blueprint)
|
|
131
|
+
- [ ] context-package.json generated for downstream consumption
|
|
132
|
+
</success_criteria>
|
|
@@ -13,106 +13,122 @@ allowed-tools:
|
|
|
13
13
|
---
|
|
14
14
|
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
15
15
|
|
|
16
|
-
<purpose>
|
|
17
|
-
Unified brainstorming combining interactive framework generation, multi-role parallel analysis,
|
|
18
|
-
</purpose>
|
|
19
|
-
|
|
20
|
-
<required_reading>
|
|
21
|
-
@~/.maestro/workflows/brainstorm.md
|
|
22
|
-
</required_reading>
|
|
23
|
-
|
|
24
|
-
<deferred_reading>
|
|
25
|
-
- [scratch-index.json](~/.maestro/templates/scratch-index.json) — read when operating in scratch mode
|
|
26
|
-
- [index.json](~/.maestro/templates/index.json) — read when operating in phase mode
|
|
27
|
-
- [brainstorm-visualize.md](~/.maestro/workflows/brainstorm-visualize.md) — read when html-prototypes/ produced and user wants to browse them
|
|
28
|
-
</deferred_reading>
|
|
29
|
-
|
|
30
|
-
<context>
|
|
31
|
-
$ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
32
|
-
|
|
33
|
-
**Auto mode**: topic text (e.g., "Build real-time collaboration platform") triggers full pipeline.
|
|
34
|
-
**Single role mode**: valid role name (e.g., "system-architect") runs one role analysis.
|
|
35
|
-
**All output** goes to `.workflow/scratch/{YYYYMMDD}-brainstorm-{slug}/`.
|
|
36
|
-
**Artifact registration**: On completion, registers artifact (type=brainstorm) in state.json.
|
|
37
|
-
**Output boundary**: ALL file writes MUST target `{output_dir}/` or `.workflow/state.json` only. NEVER modify source code or files outside these paths.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- `--
|
|
44
|
-
- `--
|
|
45
|
-
- `--
|
|
46
|
-
- `--
|
|
47
|
-
- `--
|
|
48
|
-
- `--
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
**
|
|
114
|
-
- [ ]
|
|
115
|
-
- [ ]
|
|
116
|
-
- [ ]
|
|
117
|
-
- [ ]
|
|
118
|
-
|
|
16
|
+
<purpose>
|
|
17
|
+
Unified brainstorming combining interactive framework generation, multi-role parallel analysis, cross-role review, and resolution writeback. Two modes: Auto (full pipeline: guidance-specification → parallel {role}/ multi-file analysis → cross-role-reviewer compares Decision Digests for conflicts/gaps/synergies → user-confirmed resolutions patched into role files + logged in guidance §12) and Single Role (individual role analysis for an existing session). Outputs structured artifacts in `.workflow/scratch/brainstorm-{slug}-{date}/` ready for downstream planning (roadmap / analyze / blueprint consume `guidance-specification.md`).
|
|
18
|
+
</purpose>
|
|
19
|
+
|
|
20
|
+
<required_reading>
|
|
21
|
+
@~/.maestro/workflows/brainstorm.md
|
|
22
|
+
</required_reading>
|
|
23
|
+
|
|
24
|
+
<deferred_reading>
|
|
25
|
+
- [scratch-index.json](~/.maestro/templates/scratch-index.json) — read when operating in scratch mode
|
|
26
|
+
- [index.json](~/.maestro/templates/index.json) — read when operating in phase mode
|
|
27
|
+
- [brainstorm-visualize.md](~/.maestro/workflows/brainstorm-visualize.md) — read when html-prototypes/ produced and user wants to browse them
|
|
28
|
+
</deferred_reading>
|
|
29
|
+
|
|
30
|
+
<context>
|
|
31
|
+
$ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
32
|
+
|
|
33
|
+
**Auto mode**: topic text (e.g., "Build real-time collaboration platform") triggers full pipeline.
|
|
34
|
+
**Single role mode**: valid role name (e.g., "system-architect") runs one role analysis.
|
|
35
|
+
**All output** goes to `.workflow/scratch/{YYYYMMDD}-brainstorm-{slug}/`.
|
|
36
|
+
**Artifact registration**: On completion, registers artifact (type=brainstorm) in state.json.
|
|
37
|
+
**Output boundary**: ALL file writes MUST target `{output_dir}/` or `.workflow/state.json` only. NEVER modify source code or files outside these paths.
|
|
38
|
+
**Produced files**: `guidance-specification.md`, `design-research.md` (optional), `{role}/analysis.md` + `{role}/analysis-F-*.md` + `{role}/findings-*.md` (per selected role).
|
|
39
|
+
|
|
40
|
+
**Valid roles**: data-architect, product-manager, product-owner, scrum-master, subject-matter-expert, system-architect, test-strategist, ui-designer, ux-expert
|
|
41
|
+
|
|
42
|
+
**Flags**:
|
|
43
|
+
- `--yes` / `-y`: Auto mode, skip interactive questions, use defaults
|
|
44
|
+
- `--count N`: Number of roles to select (default 3, max 9)
|
|
45
|
+
- `--session ID`: Use existing session
|
|
46
|
+
- `--update`: Update existing analysis (single role)
|
|
47
|
+
- `--skip-questions`: Skip context gathering questions
|
|
48
|
+
- `--include-questions`: Force context gathering even if analysis exists
|
|
49
|
+
- `--style-skill PKG`: Style package for ui-designer role
|
|
50
|
+
|
|
51
|
+
### Pre-load specs
|
|
52
|
+
1. **Architecture specs**: Run `maestro spec load --category arch` to load architecture constraints. Use as context for multi-role analysis — ensures roles respect documented decisions.
|
|
53
|
+
2. Optional — proceed without if unavailable.
|
|
54
|
+
|
|
55
|
+
### Role Knowledge
|
|
56
|
+
1. Browse accumulated knowledge for this role:
|
|
57
|
+
`maestro wiki list --category arch`
|
|
58
|
+
2. Analyze the index, identify entries relevant to the current task
|
|
59
|
+
3. Load selected documents:
|
|
60
|
+
`maestro wiki load <id1> [id2] [id3...]`
|
|
61
|
+
4. Review loaded knowledge before proceeding
|
|
62
|
+
</context>
|
|
63
|
+
|
|
64
|
+
<interview_protocol>
|
|
65
|
+
Interview the user relentlessly until shared understanding is reached. Active only in interactive mode; skip when `--yes/-y`, `--skip-questions`, `--session` (existing session), or input is already specific.
|
|
66
|
+
|
|
67
|
+
- One decision per turn via ask_user with 2–4 options + a (Recommended) default; every question must include a `Proceed now` option.
|
|
68
|
+
- Never ask what code can verify — resolve via `state.json`, the session directory, `maestro spec load`, or `maestro wiki search`.
|
|
69
|
+
- Branch jumps allowed: the user may switch freely between mode / role / upstream / sub-pipeline branches; sequence is not enforced, but every decision point must end with a definite answer.
|
|
70
|
+
- Scope guard: only ask about decisions owned by `brainstorm`. Do not pre-resolve roadmap/plan choices.
|
|
71
|
+
|
|
72
|
+
Decision points: mode (auto / single-role / review-only) / role selection and `--count` / `--from` upstream source / whether to enable design-research and the DESIGN.md sub-pipeline.
|
|
73
|
+
|
|
74
|
+
Exit: on consensus or `Proceed now`, write the table below into `guidance-specification.md` §11 and session metadata:
|
|
75
|
+
`| # | Decision | Choice | Source (user / code / default) |`
|
|
76
|
+
</interview_protocol>
|
|
77
|
+
|
|
78
|
+
<execution>
|
|
79
|
+
Follow '~/.maestro/workflows/brainstorm.md' completely.
|
|
80
|
+
|
|
81
|
+
**Next-step routing on completion:**
|
|
82
|
+
|
|
83
|
+
Auto mode:
|
|
84
|
+
- Project not initialized → invoke_skill({ skill: "maestro-init" })
|
|
85
|
+
- Project initialized, need formal spec package → invoke_skill({ skill: "maestro-blueprint", args: "--from brainstorm:{artifact_id}" })
|
|
86
|
+
- Project initialized, quick roadmap → invoke_skill({ skill: "maestro-roadmap", args: "--from brainstorm:{artifact_id}" })
|
|
87
|
+
- Need deeper analysis first → invoke_skill({ skill: "maestro-analyze", args: "{topic} --from brainstorm:{artifact_id}" })
|
|
88
|
+
- `html-prototypes/` produced with 2+ files and user wants to browse → load `~/.maestro/workflows/brainstorm-visualize.md` and launch visualizer server (optional, user-triggered)
|
|
89
|
+
- DESIGN.md established during Step 3.5 → suggest: "Run `/maestro-impeccable build <feature-description>` to build with the established design system"
|
|
90
|
+
|
|
91
|
+
Single role mode:
|
|
92
|
+
- More roles needed → invoke_skill({ skill: "maestro-brainstorm", args: "{next_role} --session {session_id}" })
|
|
93
|
+
- All roles done, run synthesis → invoke_skill({ skill: "maestro-brainstorm", args: "{topic} --session {session_id}" })
|
|
94
|
+
</execution>
|
|
95
|
+
|
|
96
|
+
<error_codes>
|
|
97
|
+
| Code | Severity | Condition | Recovery |
|
|
98
|
+
|------|----------|-----------|----------|
|
|
99
|
+
| E001 | error | Topic or role argument required | Prompt user for topic text or role name |
|
|
100
|
+
| E002 | error | No active session for single role mode | Guide user to run auto mode first |
|
|
101
|
+
| E003 | error | Invalid role name | Show valid roles list |
|
|
102
|
+
| E006 | error | `--review-only` but no `{role}/analysis.md` found | Run auto or single-role mode first |
|
|
103
|
+
| E007 | error | `--review-only` but `guidance-specification.md` missing | Run auto mode to generate guidance first |
|
|
104
|
+
| W001 | warning | Fewer than 10 ideas in divergent phase | Proceed with available ideas |
|
|
105
|
+
| W002 | warning | Project context (.workflow/) not found | Continue without project context |
|
|
106
|
+
| W003 | warning | Role template not found | Use generic analysis structure |
|
|
107
|
+
| W004 | warning | Validation score < 60 | Log warning, suggest manual review |
|
|
108
|
+
| W005 | warning | External research agent failed | Continue without designResearchContext |
|
|
109
|
+
| W006 | warning | Reviewer patch_targets heading drift (no match) | Skip that patch; report in final summary |
|
|
110
|
+
</error_codes>
|
|
111
|
+
|
|
112
|
+
<success_criteria>
|
|
113
|
+
**Auto mode**:
|
|
114
|
+
- [ ] Interactive mode: interview decision table written to `guidance-specification.md` §11 and session metadata
|
|
115
|
+
- [ ] `guidance-specification.md` with RFC 2119 keywords, terminology, non-goals, feature decomposition (§10), decision tracking (§11), cross-role resolutions placeholder (§12)
|
|
116
|
+
- [ ] `design-research.md` persisted when Step 1.7 external research ran (fail-soft: absence not a failure)
|
|
117
|
+
- [ ] If `ui-designer` in selected_roles AND Step 3.5 ran: `.workflow/impeccable/DESIGN.md` exists (visual style established via impeccable explore)
|
|
118
|
+
- [ ] `{role}/analysis.md` written for each selected role, containing §2 Decision Digest (4 tables) + §3 Cross-Cutting Foundations + §4 File Index
|
|
119
|
+
- [ ] `{role}/analysis-F-{id}-{slug}.md` written per feature (one file per feature, < 2000 words)
|
|
120
|
+
- [ ] `system-architect/analysis.md` §3 includes Data Model + State Machine when system-architect is selected
|
|
121
|
+
- [ ] `ui-designer/analysis.md` references DESIGN.md visual constraints when ui-designer is selected
|
|
122
|
+
- [ ] Each `{role}/analysis.md` §2 Decisions table has ≥ 1 row per feature
|
|
123
|
+
- [ ] Cross-role review (Step 4.5) executed; reviewer compares §2 Decision Digests; output includes `patch_targets[]` for every finding
|
|
124
|
+
- [ ] If findings exist: each accepted resolution applied via edit_file(annotate / strikeout / append) AND logged in `guidance-specification.md` §12 "Cross-Role Resolutions"
|
|
125
|
+
- [ ] If zero findings: final report explicitly states "No cross-role issues detected"; guidance §12 unchanged
|
|
126
|
+
- [ ] Heading-drift patch failures surfaced in final report (if any)
|
|
127
|
+
- [ ] Session metadata updated with completion status (review_findings_count, resolutions_applied, patches_skipped)
|
|
128
|
+
|
|
129
|
+
**Single role mode**:
|
|
130
|
+
- [ ] `{role}/analysis.md` written with §2 Decision Digest + §4 File Index
|
|
131
|
+
- [ ] `{role}/analysis-F-*.md` written when guidance §10 feature list available
|
|
132
|
+
- [ ] §2 Decisions table references guidance decision IDs
|
|
133
|
+
- [ ] Session metadata updated
|
|
134
|
+
</success_criteria>
|
|
@@ -49,7 +49,7 @@ Single source of truth: **[index/catalog.json](index/catalog.json)**
|
|
|
49
49
|
|
|
50
50
|
| Field | Purpose |
|
|
51
51
|
|-------|---------|
|
|
52
|
-
| `commands[]` |
|
|
52
|
+
| `commands[]` | 56 个 slash 命令,含分类和描述 |
|
|
53
53
|
| `skills[]` | 10 个 Skill,含分类和描述 |
|
|
54
54
|
| `agents[]` | 22 个 Agent,含分类和描述 |
|
|
55
55
|
| `cli_commands[]` | 21 个终端命令 |
|
|
@@ -177,24 +177,25 @@ $ARGUMENTS → Parse:
|
|
|
177
177
|
|
|
178
178
|
## Command Catalog Quick Reference
|
|
179
179
|
|
|
180
|
-
###
|
|
180
|
+
### 上游起源 + 核心 (core)
|
|
181
181
|
|
|
182
182
|
| 命令 | 用途 |
|
|
183
183
|
|------|------|
|
|
184
184
|
| `/maestro` | 智能协调器,自动路由 |
|
|
185
185
|
| `/maestro-init` | 项目初始化 |
|
|
186
|
-
| `/maestro-
|
|
186
|
+
| `/maestro-brainstorm` | 头脑风暴 — 发散探索,多角色创意 |
|
|
187
|
+
| `/maestro-blueprint` | 正式规格文档化 — 7-phase 收敛规格链 |
|
|
188
|
+
| `/maestro-roadmap` | 路线图编排 — 消费上游 context,纯 Milestone > Phase 分解 |
|
|
187
189
|
| `/maestro-quick` | 快速任务 |
|
|
188
|
-
| `/maestro-brainstorm` | 头脑风暴 |
|
|
189
190
|
| `/maestro-overlay` | Overlay 管理 |
|
|
190
191
|
| `/maestro-amend` | 修正补丁 |
|
|
191
192
|
|
|
192
|
-
###
|
|
193
|
+
### 理解层 + 执行管线 (pipeline)
|
|
193
194
|
|
|
194
195
|
| 命令 | 用途 |
|
|
195
196
|
|------|------|
|
|
196
|
-
| `/maestro-analyze` |
|
|
197
|
-
| `/maestro-plan` | 任务规划 |
|
|
197
|
+
| `/maestro-analyze` | 双层分析 — 宏观(文本参数)探索影响面 / 微观(数字参数)Phase 级深入 |
|
|
198
|
+
| `/maestro-plan` | 任务规划 — 支持 `--from analyze:ANL-xxx` 直达 |
|
|
198
199
|
| `/maestro-execute` | 任务执行 |
|
|
199
200
|
| `/maestro-verify` | 验证确认 |
|
|
200
201
|
|
|
@@ -222,11 +223,44 @@ $ARGUMENTS → Parse:
|
|
|
222
223
|
|
|
223
224
|
## Workflow Mapping
|
|
224
225
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
226
|
+
### 层级模型
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
Roadmap > Milestone > Phase > Task
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
- **Roadmap** = 项目级常驻规划文档
|
|
233
|
+
- **Milestone** = 可独立交付的版本节点(v0.1.0-rc1, v0.2.0)
|
|
234
|
+
- **Phase** = Milestone 内的同步屏障执行阶段
|
|
235
|
+
- **Task** = Phase 内的具体代码修改单元(wave DAG 管理并行)
|
|
236
|
+
|
|
237
|
+
### 命令拓扑
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
上游起源层(并列,可选)
|
|
241
|
+
brainstorm(发散/轻量) | blueprint(收敛/重型)
|
|
242
|
+
|
|
243
|
+
理解层
|
|
244
|
+
analyze 双层: 宏观(文本参数) → scope_verdict | 微观(数字参数) → Phase 级决策
|
|
245
|
+
|
|
246
|
+
编排层(可选)
|
|
247
|
+
roadmap — 消费上游 context,纯 Milestone > Phase 分解
|
|
248
|
+
|
|
249
|
+
执行层
|
|
250
|
+
plan → execute → verify
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
### 合法路径
|
|
254
|
+
|
|
255
|
+
| 路径 | 场景 | 命令序列 |
|
|
256
|
+
|------|------|---------|
|
|
257
|
+
| Path A | 完整新项目 | `brainstorm` → `blueprint`(可选) → `analyze "topic"` → `roadmap` → `analyze 1` → `plan 1` → `execute` → `verify` |
|
|
258
|
+
| Path B | 旧项目大功能 | `analyze "feature X"` → `roadmap` → `analyze 1` → `plan 1` → `execute` → `verify` |
|
|
259
|
+
| Path C | 中等功能 | `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute` → `verify` |
|
|
260
|
+
| Path D | 小改动 | `plan "fix auth bug"` → `execute` → `verify` |
|
|
261
|
+
| Path E | 纯规格文档 | `blueprint "project idea"` → (供人阅读) |
|
|
262
|
+
| Path F | 纯探索 | `brainstorm "idea"` → (供人决策) |
|
|
263
|
+
| 快速修复 | 已知简单问题 | `/maestro-quick "修复描述"` |
|
|
230
264
|
| Bug 追踪 | Issue 闭环 | `/manage-issue-discover` → `/manage-issue create` → analyze/plan/execute → close |
|
|
231
265
|
| 全自动 | /maestro 入口 | `/maestro -y "任务描述"` |
|
|
232
266
|
| 代码审查 | 质量管线 | `/quality-review` → `/quality-auto-test` → `/quality-test` |
|
|
@@ -258,9 +292,9 @@ $ARGUMENTS → Parse:
|
|
|
258
292
|
|
|
259
293
|
## Statistics
|
|
260
294
|
|
|
261
|
-
- **Slash 命令**:
|
|
295
|
+
- **Slash 命令**: 56 个(7 个分类)
|
|
262
296
|
- **CLI 命令**: 21 个
|
|
263
297
|
- **Skills**: 10 个(3 个分类)
|
|
264
298
|
- **Agents**: 22 个(5 个分类)
|
|
265
299
|
- **Guide 文档**: 17 个
|
|
266
|
-
-
|
|
300
|
+
- **工作流路径**: 6 个合法路径 (Path A-F) + 3 个辅助流程
|
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
"commands": [
|
|
8
8
|
{"name": "maestro", "command": "/maestro", "category": "core", "description": "智能协调器 — 根据意图和项目状态自动选择最优命令链", "source": "../../commands/maestro.md"},
|
|
9
9
|
{"name": "maestro-init", "command": "/maestro-init", "category": "core", "description": "项目初始化 — 创建 .workflow/ 目录结构和状态文件", "source": "../../commands/maestro-init.md"},
|
|
10
|
-
{"name": "maestro-roadmap", "command": "/maestro-roadmap", "category": "core", "description": "
|
|
11
|
-
{"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "
|
|
12
|
-
{"name": "maestro-
|
|
13
|
-
{"name": "maestro-
|
|
10
|
+
{"name": "maestro-roadmap", "command": "/maestro-roadmap", "category": "core", "description": "路线图编排 — 消费上游 context,纯 Milestone > Phase 分解(不做技术探索)", "source": "../../commands/maestro-roadmap.md"},
|
|
11
|
+
{"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "头脑风暴 — 发散探索,多角色创意,上游起源命令", "source": "../../commands/maestro-brainstorm.md"},
|
|
12
|
+
{"name": "maestro-blueprint", "command": "/maestro-blueprint", "category": "core", "description": "正式规格文档化 — 7-phase 收敛规格链,上游起源命令,产出 .workflow/blueprint/", "source": "../../commands/maestro-blueprint.md"},
|
|
13
|
+
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "双层分析 — 宏观(文本参数)探索影响面+scope_verdict / 微观(数字参数)Phase 级深入", "source": "../../commands/maestro-analyze.md"},
|
|
14
|
+
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 支持 --from analyze:ANL-xxx 直达、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
14
15
|
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
15
16
|
{"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
|
|
16
17
|
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
@@ -149,16 +150,33 @@
|
|
|
149
150
|
"essential_commands": [
|
|
150
151
|
"/maestro",
|
|
151
152
|
"/maestro-init",
|
|
152
|
-
"/maestro-
|
|
153
|
+
"/maestro-brainstorm",
|
|
154
|
+
"/maestro-blueprint",
|
|
153
155
|
"/maestro-analyze",
|
|
156
|
+
"/maestro-roadmap",
|
|
154
157
|
"/maestro-plan",
|
|
155
158
|
"/maestro-execute",
|
|
156
159
|
"/maestro-verify",
|
|
157
|
-
"/maestro-quick"
|
|
158
|
-
"/quality-review",
|
|
159
|
-
"/manage-issue"
|
|
160
|
+
"/maestro-quick"
|
|
160
161
|
],
|
|
161
162
|
"workflows": {
|
|
163
|
+
"topology": {
|
|
164
|
+
"hierarchy": "Roadmap > Milestone > Phase > Task",
|
|
165
|
+
"layers": {
|
|
166
|
+
"upstream_origin": ["brainstorm (发散/轻量)", "blueprint (收敛/重型)"],
|
|
167
|
+
"understanding": "analyze 双层: 宏观(文本参数) + 微观(数字参数)",
|
|
168
|
+
"orchestration": "roadmap (可选,消费上游 context)",
|
|
169
|
+
"execution": ["plan", "execute", "verify"]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"paths": {
|
|
173
|
+
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute → verify",
|
|
174
|
+
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute → verify",
|
|
175
|
+
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute → verify",
|
|
176
|
+
"D_small_fix": "plan → execute → verify",
|
|
177
|
+
"E_spec_only": "blueprint → (供人阅读)",
|
|
178
|
+
"F_explore_only": "brainstorm → (供人决策)"
|
|
179
|
+
},
|
|
162
180
|
"main_pipeline": {
|
|
163
181
|
"name": "主干管线",
|
|
164
182
|
"phases": ["analyze", "plan", "execute", "verify"],
|
|
@@ -176,9 +194,9 @@
|
|
|
176
194
|
},
|
|
177
195
|
"init_paths": {
|
|
178
196
|
"name": "初始化路径",
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
197
|
+
"from_brainstorm": "/maestro-brainstorm → /maestro-init --from brainstorm:<id> → /maestro-analyze 宏观",
|
|
198
|
+
"from_blueprint": "/maestro-blueprint → /maestro-init → /maestro-analyze 宏观",
|
|
199
|
+
"direct": "/maestro-init → /maestro-analyze 宏观"
|
|
182
200
|
}
|
|
183
201
|
}
|
|
184
202
|
}
|
|
@@ -59,7 +59,7 @@ const commandPrefixes = ["/", "maestro-", "manage-", "quality-", "spec-", "learn
|
|
|
59
59
|
// Known command names from catalog (without prefix)
|
|
60
60
|
const knownCommands = [
|
|
61
61
|
"maestro", "analyze", "plan", "execute", "verify", "init", "roadmap",
|
|
62
|
-
"brainstorm", "quick", "overlay", "amend", "fork", "merge", "collab",
|
|
62
|
+
"brainstorm", "blueprint", "quick", "overlay", "amend", "fork", "merge", "collab",
|
|
63
63
|
"milestone-audit", "milestone-complete", "milestone-release",
|
|
64
64
|
"composer", "player", "ralph", "ralph-execute", "learn",
|
|
65
65
|
"impeccable", "ui-codify", "update",
|