maestro-flow 0.3.48 → 0.4.1
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/.claude/agents/impeccable-agent.md +99 -0
- package/.claude/commands/maestro-analyze.md +2 -2
- package/.claude/commands/maestro-brainstorm.md +116 -112
- package/.claude/commands/maestro-composer.md +5 -0
- package/.claude/commands/maestro-impeccable.md +231 -74
- package/.claude/commands/maestro-merge.md +3 -0
- package/.claude/commands/maestro-roadmap.md +5 -1
- package/.claude/commands/maestro.md +3 -3
- package/.claude/commands/manage-issue-discover.md +4 -0
- package/.claude/commands/quality-refactor.md +3 -0
- package/.claude/skills/maestro-help/index/catalog.json +1 -1
- package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.codex/skills/maestro/SKILL.md +70 -28
- package/.codex/skills/maestro-brainstorm/SKILL.md +19 -2
- package/.codex/skills/maestro-composer/SKILL.md +5 -0
- package/.codex/skills/maestro-help/catalog.json +1 -1
- package/.codex/skills/maestro-impeccable/SKILL.md +230 -97
- package/.codex/skills/maestro-merge/SKILL.md +3 -0
- package/.codex/skills/maestro-milestone-audit/SKILL.md +64 -7
- package/.codex/skills/maestro-quick/SKILL.md +1 -1
- package/.codex/skills/maestro-roadmap/SKILL.md +1 -1
- package/.codex/skills/maestro-tools-execute/SKILL.md +1 -1
- package/.codex/skills/maestro-tools-register/SKILL.md +1 -1
- package/.codex/skills/quality-refactor/SKILL.md +114 -22
- package/chains/_intent-map.json +1 -1
- package/chains/singles/ui-design.json +4 -4
- package/chains/{ui-design-driven.json → ui-craft-build.json} +8 -8
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +12 -7
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/impeccable.d.ts +2 -1
- package/dist/src/commands/impeccable.d.ts.map +1 -1
- package/dist/src/commands/impeccable.js +80 -1
- package/dist/src/commands/impeccable.js.map +1 -1
- package/package.json +1 -1
- package/templates/planning-roles/ui-designer.md +86 -99
- package/templates/workflows/specs/node-catalog.md +1 -1
- package/workflows/brainstorm.md +26 -0
- package/workflows/cli-tools-usage.md +9 -26
- package/workflows/delegate-usage.md +301 -343
- package/workflows/impeccable/design.md +462 -0
- package/workflows/impeccable/explore.md +157 -0
- package/workflows/impeccable/shape.md +4 -0
- package/workflows/impeccable/ui-search/__pycache__/core.cpython-313.pyc +0 -0
- package/workflows/impeccable/ui-search/__pycache__/design_system.cpython-313.pyc +0 -0
- package/workflows/impeccable/ui-search/core.py +262 -0
- package/workflows/impeccable/ui-search/data/app-interface.csv +31 -0
- package/workflows/impeccable/ui-search/data/charts.csv +26 -0
- package/workflows/impeccable/ui-search/data/colors.csv +162 -0
- package/workflows/impeccable/ui-search/data/design.csv +1776 -0
- package/workflows/impeccable/ui-search/data/draft.csv +1779 -0
- package/workflows/impeccable/ui-search/data/google-fonts.csv +1924 -0
- package/workflows/impeccable/ui-search/data/icons.csv +106 -0
- package/workflows/impeccable/ui-search/data/landing.csv +35 -0
- package/workflows/impeccable/ui-search/data/products.csv +162 -0
- package/workflows/impeccable/ui-search/data/react-performance.csv +45 -0
- package/workflows/impeccable/ui-search/data/stacks/angular.csv +51 -0
- package/workflows/impeccable/ui-search/data/stacks/astro.csv +54 -0
- package/workflows/impeccable/ui-search/data/stacks/flutter.csv +53 -0
- package/workflows/impeccable/ui-search/data/stacks/html-tailwind.csv +56 -0
- package/workflows/impeccable/ui-search/data/stacks/jetpack-compose.csv +53 -0
- package/workflows/impeccable/ui-search/data/stacks/laravel.csv +51 -0
- package/workflows/impeccable/ui-search/data/stacks/nextjs.csv +53 -0
- package/workflows/impeccable/ui-search/data/stacks/nuxt-ui.csv +51 -0
- package/workflows/impeccable/ui-search/data/stacks/nuxtjs.csv +59 -0
- package/workflows/impeccable/ui-search/data/stacks/react-native.csv +52 -0
- package/workflows/impeccable/ui-search/data/stacks/react.csv +54 -0
- package/workflows/impeccable/ui-search/data/stacks/shadcn.csv +61 -0
- package/workflows/impeccable/ui-search/data/stacks/svelte.csv +54 -0
- package/workflows/impeccable/ui-search/data/stacks/swiftui.csv +51 -0
- package/workflows/impeccable/ui-search/data/stacks/threejs.csv +54 -0
- package/workflows/impeccable/ui-search/data/stacks/vue.csv +50 -0
- package/workflows/impeccable/ui-search/data/styles.csv +85 -0
- package/workflows/impeccable/ui-search/data/typography.csv +74 -0
- package/workflows/impeccable/ui-search/data/ui-reasoning.csv +162 -0
- package/workflows/impeccable/ui-search/data/ux-guidelines.csv +100 -0
- package/workflows/impeccable/ui-search/design_system.py +1148 -0
- package/workflows/impeccable/ui-search/prototype-template.html +511 -0
- package/workflows/impeccable/ui-search/render-prototype.js +208 -0
- package/workflows/impeccable/ui-search/search.py +114 -0
- package/workflows/maestro-chain-execute.md +2 -2
- package/workflows/maestro.codex.md +3 -3
- package/workflows/maestro.md +107 -117
- package/workflows/plan.md +1 -1
- package/workflows/ui-design.md +1 -1
- package/workflows/ui-style.md +1 -1
- package/.claude/commands/maestro-ui-craft.md +0 -364
- package/.claude/commands/maestro-ui-design.md +0 -104
- package/.claude/skills/maestro-impeccable/SKILL.md +0 -169
- package/.codex/skills/maestro-ui-craft/SKILL.md +0 -341
- package/.codex/skills/maestro-ui-design/SKILL.md +0 -242
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: impeccable-agent
|
|
3
|
+
description: Autonomous executor for non-interactive impeccable commands. Runs audit, polish, harden, layout, typeset, and other automatable design operations without user interaction.
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Bash
|
|
11
|
+
- Skill
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Impeccable Agent
|
|
15
|
+
|
|
16
|
+
Autonomous design operations agent. Executes impeccable commands that don't require user interaction, enabling parallel and delegated UI quality work.
|
|
17
|
+
|
|
18
|
+
## Allowed Commands
|
|
19
|
+
|
|
20
|
+
Commands are classified by interaction level. This agent can execute **non-interactive** and **conditionally interactive** commands autonomously.
|
|
21
|
+
|
|
22
|
+
### Non-Interactive (always safe to execute)
|
|
23
|
+
|
|
24
|
+
| Command | Category | What it does |
|
|
25
|
+
|---------|----------|-------------|
|
|
26
|
+
| audit | Evaluate | Technical quality checks, produces score |
|
|
27
|
+
| critique | Evaluate | UX review with heuristic scoring, produces score + findings |
|
|
28
|
+
| polish | Refine | Final quality pass, applies fixes |
|
|
29
|
+
| harden | Refine | Production edge cases: errors, i18n, overflow |
|
|
30
|
+
| onboard | Refine | First-run flows, empty states |
|
|
31
|
+
| typeset | Enhance | Improve typography hierarchy |
|
|
32
|
+
| layout | Enhance | Fix spacing, rhythm, visual hierarchy |
|
|
33
|
+
| adapt | Fix | Responsive/device adaptations |
|
|
34
|
+
| optimize | Fix | UI performance fixes |
|
|
35
|
+
| clarify | Fix | Improve UX copy and labels |
|
|
36
|
+
| explore | Build | Multi-style comparison (auto-selects variant 1 in agent mode) |
|
|
37
|
+
|
|
38
|
+
### Conditionally Interactive (safe with sufficient context)
|
|
39
|
+
|
|
40
|
+
These commands ask questions only "if unclear from codebase". When PRODUCT.md and DESIGN.md exist, they typically run without interaction.
|
|
41
|
+
|
|
42
|
+
| Command | Category | Condition for autonomy |
|
|
43
|
+
|---------|----------|----------------------|
|
|
44
|
+
| bolder | Refine | PRODUCT.md exists (personality context available) |
|
|
45
|
+
| quieter | Refine | PRODUCT.md exists |
|
|
46
|
+
| distill | Refine | Target file exists and is readable |
|
|
47
|
+
| animate | Enhance | DESIGN.md exists (motion context available) |
|
|
48
|
+
| colorize | Enhance | DESIGN.md exists (color palette available) |
|
|
49
|
+
| delight | Enhance | PRODUCT.md exists (brand context available) |
|
|
50
|
+
| extract | Build | Design system directory exists |
|
|
51
|
+
|
|
52
|
+
### NEVER Execute (require user interaction)
|
|
53
|
+
|
|
54
|
+
| Command | Reason |
|
|
55
|
+
|---------|--------|
|
|
56
|
+
| teach | Interview to create PRODUCT.md |
|
|
57
|
+
| shape | Discovery interview + brief confirmation |
|
|
58
|
+
| craft | Multiple user gates |
|
|
59
|
+
| live | Interactive browser session |
|
|
60
|
+
| overdrive | Requires explicit user creative vision |
|
|
61
|
+
| document | Requires creative input for design system |
|
|
62
|
+
|
|
63
|
+
## Execution Protocol
|
|
64
|
+
|
|
65
|
+
1. **Load context**: Run `maestro impeccable load-context` to load PRODUCT.md and DESIGN.md
|
|
66
|
+
2. **Validate command**: Check the requested command is in the allowed list above
|
|
67
|
+
3. **Execute**: Read `~/.maestro/workflows/impeccable/{command}.md` → follow workflow instructions
|
|
68
|
+
- Pass `-y` to auto-confirm where the workflow allows
|
|
69
|
+
- Pass `--skip-harvest` — the caller handles harvest if needed
|
|
70
|
+
4. **Report**: Return the command output (scores, changes made, findings)
|
|
71
|
+
|
|
72
|
+
## Usage Pattern
|
|
73
|
+
|
|
74
|
+
The agent receives a prompt describing which impeccable command(s) to run and on what target:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
Run impeccable audit on src/pages/ then polish any P0 findings.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
Run critique on src/components/dashboard.html and report the score.
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
Run these commands sequentially on src/pages/landing.html:
|
|
86
|
+
1. layout
|
|
87
|
+
2. typeset
|
|
88
|
+
3. polish
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Multi-Command Sequences
|
|
92
|
+
|
|
93
|
+
When given multiple commands, execute sequentially. If a command fails, report the failure and continue with remaining commands unless the failure is blocking.
|
|
94
|
+
|
|
95
|
+
## Context Requirements
|
|
96
|
+
|
|
97
|
+
- `.workflow/impeccable/PRODUCT.md` should exist for conditionally interactive commands
|
|
98
|
+
- `.workflow/impeccable/DESIGN.md` should exist for color/typography-aware commands
|
|
99
|
+
- If either is missing, restrict to non-interactive commands only
|
|
@@ -79,7 +79,7 @@ Phase 4: Output context.md for downstream plan --gaps
|
|
|
79
79
|
**Next-step routing on completion:**
|
|
80
80
|
|
|
81
81
|
Phase/Milestone scope:
|
|
82
|
-
- Go recommendation, UI work needed → `/maestro-
|
|
82
|
+
- Go recommendation, UI work needed → `/maestro-impeccable build {target}`
|
|
83
83
|
- Go recommendation, ready to plan → `/maestro-plan` or `/maestro-plan {phase}`
|
|
84
84
|
- No-Go recommendation → revisit requirements or `/maestro-brainstorm {topic}`
|
|
85
85
|
|
|
@@ -129,5 +129,5 @@ Both modes (full + quick):
|
|
|
129
129
|
- [ ] Scope creep redirected to Deferred section
|
|
130
130
|
- [ ] Deferred items auto-created as issues (if any)
|
|
131
131
|
- [ ] Artifact registered in state.json with correct scope/milestone/phase
|
|
132
|
-
- [ ] Next step routed (
|
|
132
|
+
- [ ] Next step routed (impeccable/plan for Go, brainstorm for No-Go)
|
|
133
133
|
</success_criteria>
|
|
@@ -1,112 +1,116 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: maestro-brainstorm
|
|
3
|
-
description: Brainstorm with auto pipeline or single-role analysis
|
|
4
|
-
argument-hint: "[topic|role-name] [--yes] [--count N] [--session ID] [--update] [--skip-questions] [--include-questions] [--style-skill PKG]"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Write
|
|
8
|
-
- Bash
|
|
9
|
-
- Glob
|
|
10
|
-
- Grep
|
|
11
|
-
- Agent
|
|
12
|
-
- AskUserQuestion
|
|
13
|
-
---
|
|
14
|
-
<purpose>
|
|
15
|
-
Unified brainstorming combining interactive framework generation, multi-role parallel analysis, and cross-role synthesis. Two modes: Auto (full pipeline with guidance-specification → parallel role analysis → synthesis) and Single Role (individual role analysis for an existing session). Outputs structured artifacts in .brainstorming/ directory ready for downstream planning.
|
|
16
|
-
</purpose>
|
|
17
|
-
|
|
18
|
-
<required_reading>
|
|
19
|
-
@~/.maestro/workflows/brainstorm.md
|
|
20
|
-
</required_reading>
|
|
21
|
-
|
|
22
|
-
<deferred_reading>
|
|
23
|
-
- [scratch-index.json](~/.maestro/templates/scratch-index.json) — read when operating in scratch mode
|
|
24
|
-
- [index.json](~/.maestro/templates/index.json) — read when operating in phase mode
|
|
25
|
-
- [brainstorm-visualize.md](~/.maestro/workflows/brainstorm-visualize.md) — read when html-prototypes/ produced and user wants to browse them
|
|
26
|
-
</deferred_reading>
|
|
27
|
-
|
|
28
|
-
<context>
|
|
29
|
-
$ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
30
|
-
|
|
31
|
-
**Auto mode**: topic text (e.g., "Build real-time collaboration platform") triggers full pipeline.
|
|
32
|
-
**Single role mode**: valid role name (e.g., "system-architect") runs one role analysis.
|
|
33
|
-
**All output** goes to `.workflow/scratch/{YYYYMMDD}-brainstorm-{slug}/`.
|
|
34
|
-
**Artifact registration**: On completion, registers artifact (type=brainstorm) in state.json.
|
|
35
|
-
**Output boundary**: ALL file writes MUST target `{output_dir}/` or `.workflow/state.json` only. NEVER modify source code or files outside these paths.
|
|
36
|
-
|
|
37
|
-
**Valid roles**: data-architect, product-manager, product-owner, scrum-master, subject-matter-expert, system-architect, test-strategist, ui-designer, ux-expert
|
|
38
|
-
|
|
39
|
-
**Flags**:
|
|
40
|
-
- `--yes` / `-y`: Auto mode, skip interactive questions, use defaults
|
|
41
|
-
- `--count N`: Number of roles to select (default 3, max 9)
|
|
42
|
-
- `--session ID`: Use existing session
|
|
43
|
-
- `--update`: Update existing analysis (single role)
|
|
44
|
-
- `--skip-questions`: Skip context gathering questions
|
|
45
|
-
- `--include-questions`: Force context gathering even if analysis exists
|
|
46
|
-
- `--style-skill PKG`: Style package for ui-designer role
|
|
47
|
-
|
|
48
|
-
###
|
|
49
|
-
1.
|
|
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
|
-
|
|
1
|
+
---
|
|
2
|
+
name: maestro-brainstorm
|
|
3
|
+
description: Brainstorm with auto pipeline or single-role analysis
|
|
4
|
+
argument-hint: "[topic|role-name] [--yes] [--count N] [--session ID] [--update] [--skip-questions] [--include-questions] [--style-skill PKG]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- Agent
|
|
12
|
+
- AskUserQuestion
|
|
13
|
+
---
|
|
14
|
+
<purpose>
|
|
15
|
+
Unified brainstorming combining interactive framework generation, multi-role parallel analysis, and cross-role synthesis. Two modes: Auto (full pipeline with guidance-specification → parallel role analysis → synthesis) and Single Role (individual role analysis for an existing session). Outputs structured artifacts in .brainstorming/ directory ready for downstream planning.
|
|
16
|
+
</purpose>
|
|
17
|
+
|
|
18
|
+
<required_reading>
|
|
19
|
+
@~/.maestro/workflows/brainstorm.md
|
|
20
|
+
</required_reading>
|
|
21
|
+
|
|
22
|
+
<deferred_reading>
|
|
23
|
+
- [scratch-index.json](~/.maestro/templates/scratch-index.json) — read when operating in scratch mode
|
|
24
|
+
- [index.json](~/.maestro/templates/index.json) — read when operating in phase mode
|
|
25
|
+
- [brainstorm-visualize.md](~/.maestro/workflows/brainstorm-visualize.md) — read when html-prototypes/ produced and user wants to browse them
|
|
26
|
+
</deferred_reading>
|
|
27
|
+
|
|
28
|
+
<context>
|
|
29
|
+
$ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
30
|
+
|
|
31
|
+
**Auto mode**: topic text (e.g., "Build real-time collaboration platform") triggers full pipeline.
|
|
32
|
+
**Single role mode**: valid role name (e.g., "system-architect") runs one role analysis.
|
|
33
|
+
**All output** goes to `.workflow/scratch/{YYYYMMDD}-brainstorm-{slug}/`.
|
|
34
|
+
**Artifact registration**: On completion, registers artifact (type=brainstorm) in state.json.
|
|
35
|
+
**Output boundary**: ALL file writes MUST target `{output_dir}/` or `.workflow/state.json` only. NEVER modify source code or files outside these paths.
|
|
36
|
+
|
|
37
|
+
**Valid roles**: data-architect, product-manager, product-owner, scrum-master, subject-matter-expert, system-architect, test-strategist, ui-designer, ux-expert
|
|
38
|
+
|
|
39
|
+
**Flags**:
|
|
40
|
+
- `--yes` / `-y`: Auto mode, skip interactive questions, use defaults
|
|
41
|
+
- `--count N`: Number of roles to select (default 3, max 9)
|
|
42
|
+
- `--session ID`: Use existing session
|
|
43
|
+
- `--update`: Update existing analysis (single role)
|
|
44
|
+
- `--skip-questions`: Skip context gathering questions
|
|
45
|
+
- `--include-questions`: Force context gathering even if analysis exists
|
|
46
|
+
- `--style-skill PKG`: Style package for ui-designer role
|
|
47
|
+
|
|
48
|
+
### Pre-load specs
|
|
49
|
+
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.
|
|
50
|
+
2. Optional — proceed without if unavailable.
|
|
51
|
+
|
|
52
|
+
### Role Knowledge
|
|
53
|
+
1. Browse accumulated knowledge for this role:
|
|
54
|
+
`maestro wiki list --category arch`
|
|
55
|
+
2. Analyze the index, identify entries relevant to the current task
|
|
56
|
+
3. Load selected documents:
|
|
57
|
+
`maestro wiki load <id1> [id2] [id3...]`
|
|
58
|
+
4. Review loaded knowledge before proceeding
|
|
59
|
+
</context>
|
|
60
|
+
|
|
61
|
+
<execution>
|
|
62
|
+
Follow '~/.maestro/workflows/brainstorm.md' completely.
|
|
63
|
+
|
|
64
|
+
**Next-step routing on completion:**
|
|
65
|
+
|
|
66
|
+
Auto mode:
|
|
67
|
+
- Project not initialized → Skill({ skill: "maestro-init" })
|
|
68
|
+
- Project initialized, need spec package → Skill({ skill: "maestro-roadmap", args: "--mode full --from-brainstorm {session_id}" })
|
|
69
|
+
- Project initialized, quick roadmap → Skill({ skill: "maestro-roadmap", args: "--from-brainstorm {session_id}" })
|
|
70
|
+
- Need deeper analysis first → Skill({ skill: "maestro-analyze", args: "{topic}" })
|
|
71
|
+
- `html-prototypes/` produced with 2+ files and user wants to browse → load `~/.maestro/workflows/brainstorm-visualize.md` and launch visualizer server (optional, user-triggered)
|
|
72
|
+
- DESIGN.md established during Step 3.5 → suggest: "Run `/maestro-impeccable build <feature-description>` to build with the established design system"
|
|
73
|
+
|
|
74
|
+
Single role mode:
|
|
75
|
+
- More roles needed → Skill({ skill: "maestro-brainstorm", args: "{next_role} --session {session_id}" })
|
|
76
|
+
- All roles done, run synthesis → Skill({ skill: "maestro-brainstorm", args: "{topic} --session {session_id}" })
|
|
77
|
+
</execution>
|
|
78
|
+
|
|
79
|
+
<error_codes>
|
|
80
|
+
| Code | Severity | Condition | Recovery |
|
|
81
|
+
|------|----------|-----------|----------|
|
|
82
|
+
| E001 | error | Topic or role argument required | Prompt user for topic text or role name |
|
|
83
|
+
| E002 | error | No active session for single role mode | Guide user to run auto mode first |
|
|
84
|
+
| E003 | error | Invalid role name | Show valid roles list |
|
|
85
|
+
| W001 | warning | Fewer than 10 ideas in divergent phase | Proceed with available ideas |
|
|
86
|
+
| W002 | warning | Project context (.workflow/) not found | Continue without project context |
|
|
87
|
+
| W003 | warning | Role template not found | Use generic analysis structure |
|
|
88
|
+
| W004 | warning | Validation score < 60 | Log warning, suggest manual review |
|
|
89
|
+
| W005 | warning | External research agent failed | Continue without designResearchContext |
|
|
90
|
+
</error_codes>
|
|
91
|
+
|
|
92
|
+
<success_criteria>
|
|
93
|
+
**Auto mode**:
|
|
94
|
+
- [ ] guidance-specification.md with RFC 2119 keywords, terminology, non-goals, feature decomposition
|
|
95
|
+
- [ ] design-research.md persisted when Step 1.7 external research ran (fail-soft: absence not a failure)
|
|
96
|
+
- [ ] Spec Review Gate passed (Step 3.5) or `--yes` bypassed
|
|
97
|
+
- [ ] Role analysis files for each selected NON-UI role in `.brainstorming/{role}/`
|
|
98
|
+
- [ ] If `ui-designer` in selected_roles AND Step 3.5 ran: `.workflow/impeccable/DESIGN.md` exists (visual style established via impeccable explore)
|
|
99
|
+
- [ ] If `ui-designer` in selected_roles: `ui-designer/analysis.md` exists with UX analysis (interaction flows, state design, information architecture)
|
|
100
|
+
- [ ] Feature specs in `.brainstorming/feature-specs/` (or synthesis-specification.md)
|
|
101
|
+
- [ ] UI-bearing feature specs reference DESIGN.md for visual constraints in Section 3 (Interface Contract)
|
|
102
|
+
- [ ] feature-index.json and synthesis-changelog.md
|
|
103
|
+
- [ ] Final Output Gate passed (Step 5.5) or `--yes` bypassed
|
|
104
|
+
- [ ] All user decisions captured with Decision Recording Protocol
|
|
105
|
+
- [ ] Session metadata updated with completion status
|
|
106
|
+
- [ ] Confidence scored per role completion and after cross-role analysis
|
|
107
|
+
- [ ] Readiness gate checked before spec generation
|
|
108
|
+
- [ ] Pressure pass completed on at least 1 feature spec
|
|
109
|
+
- [ ] Confidence summary appended to synthesis-changelog.md
|
|
110
|
+
|
|
111
|
+
**Single role mode**:
|
|
112
|
+
- [ ] analysis.md written to `{output_dir}/{role}/`
|
|
113
|
+
- [ ] Feature-point organization used when feature list available
|
|
114
|
+
- [ ] Framework reference included when guidance-specification.md exists
|
|
115
|
+
- [ ] Session metadata updated
|
|
116
|
+
</success_criteria>
|
|
@@ -35,6 +35,11 @@ $ARGUMENTS — natural language description, or flags.
|
|
|
35
35
|
- Design drafts: `.workflow/templates/design-drafts/`
|
|
36
36
|
- Template ID: `wft-<slug>-<YYYYMMDD>`, Node ID: `N-<seq>`, Checkpoint: `CP-<seq>`
|
|
37
37
|
- Max nodes: 20
|
|
38
|
+
|
|
39
|
+
### Pre-load specs
|
|
40
|
+
1. **Architecture specs**: Run `maestro spec load --category arch` to load architecture constraints. Use as context for node resolution — ensures workflow design respects documented patterns.
|
|
41
|
+
2. **Coding specs**: Run `maestro spec load --category coding` to load coding conventions. Informs executor argument defaults and context injection.
|
|
42
|
+
3. Optional — proceed without if unavailable.
|
|
38
43
|
</context>
|
|
39
44
|
|
|
40
45
|
<state_machine>
|