maestro-flow 0.3.19 → 0.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.claude/commands/learn-investigate.md +195 -195
  2. package/.claude/commands/learn-retro.md +303 -303
  3. package/.claude/commands/learn-second-opinion.md +167 -167
  4. package/.claude/commands/maestro-amend.md +300 -300
  5. package/.claude/commands/maestro-analyze.md +126 -126
  6. package/.claude/commands/maestro-composer.md +354 -354
  7. package/.claude/commands/maestro-execute.md +114 -114
  8. package/.claude/commands/maestro-learn.md +140 -140
  9. package/.claude/commands/maestro-milestone-audit.md +68 -68
  10. package/.claude/commands/maestro-milestone-complete.md +75 -75
  11. package/.claude/commands/maestro-milestone-release.md +96 -96
  12. package/.claude/commands/maestro-plan.md +138 -138
  13. package/.claude/commands/maestro-player.md +404 -404
  14. package/.claude/commands/maestro-update.md +176 -176
  15. package/.claude/commands/maestro-verify.md +90 -90
  16. package/.claude/commands/manage-codebase-rebuild.md +75 -75
  17. package/.claude/commands/manage-knowhow-capture.md +193 -193
  18. package/.claude/commands/manage-knowhow.md +77 -77
  19. package/.claude/commands/manage-learn.md +67 -67
  20. package/.claude/commands/manage-wiki.md +62 -62
  21. package/.claude/commands/quality-business-test.md +110 -110
  22. package/.claude/commands/quality-retrospective.md +78 -78
  23. package/.claude/commands/spec-add.md +49 -49
  24. package/.claude/commands/spec-load.md +51 -51
  25. package/.claude/commands/spec-remove.md +51 -51
  26. package/.claude/commands/wiki-connect.md +62 -62
  27. package/.claude/commands/wiki-digest.md +69 -69
  28. package/.codex/skills/maestro-link-coordinate/SKILL.md +5 -5
  29. package/.codex/skills/maestro-player/SKILL.md +5 -5
  30. package/dashboard/dist-server/dashboard/src/server/coordinator/workflow-coordinator.js +3 -3
  31. package/dashboard/dist-server/dashboard/src/server/coordinator/workflow-coordinator.js.map +1 -1
  32. package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js +1 -1
  33. package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js.map +1 -1
  34. package/dist/src/commands/coordinate.js +2 -2
  35. package/dist/src/commands/coordinate.js.map +1 -1
  36. package/dist/src/hooks/coordinator-tracker.d.ts +1 -1
  37. package/dist/src/hooks/coordinator-tracker.js +3 -3
  38. package/dist/src/hooks/coordinator-tracker.js.map +1 -1
  39. package/package.json +1 -1
  40. package/workflows/maestro-link-coordinate.md +3 -3
  41. package/workflows/maestro.codex.md +2 -2
  42. package/workflows/maestro-coordinate.codex.md +0 -281
@@ -1,126 +1,126 @@
1
- ---
2
- name: maestro-analyze
3
- description: Multi-dimensional analysis with CLI exploration, decision extraction, and intent tracking
4
- argument-hint: "[phase|topic] [-y] [-c] [-q] [--gaps [ISS-ID]]"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Edit
9
- - Bash
10
- - Glob
11
- - Grep
12
- - Agent
13
- - AskUserQuestion
14
- ---
15
- <purpose>
16
- Perform multi-dimensional analysis of a technical proposal, decision, or architecture choice through iterative CLI-assisted exploration and interactive discussion. Produces a discussion timeline (discussion.md) with evolving understanding, multi-perspective findings, Decision Recording Protocol, Intent Coverage tracking, and a final conclusions package with Go/No-Go recommendation.
17
-
18
- Combines structured 6-dimension scoring with iterative deepening and decision extraction. Replaces both analysis and decision-capture workflows — produces analysis.md (scoring) AND context.md (Locked/Free/Deferred decisions for plan).
19
-
20
- Use `-q` for quick decision extraction only (skip exploration + scoring).
21
-
22
- Use `--gaps` for issue-focused root cause analysis (replaces manage-issue-analyze). Loads issues from issues.jsonl, performs CLI exploration against issue context/location, synthesizes root cause into issue.analysis, and outputs context.md for downstream `plan --gaps`.
23
- </purpose>
24
-
25
- <required_reading>
26
- @~/.maestro/workflows/analyze.md
27
- </required_reading>
28
-
29
- <deferred_reading>
30
- - [state.json](~/.maestro/templates/state.json) — read when registering artifact
31
- - [issue-gaps-analyze.md](~/.maestro/workflows/issue-gaps-analyze.md) — read when --gaps is triggered
32
- </deferred_reading>
33
-
34
- <context>
35
- $ARGUMENTS -- phase number for milestone-scoped, topic text for adhoc/standalone mode, no args for milestone-wide.
36
-
37
- **Flags:**
38
- - `-y` / `--yes`: Auto mode — skip interactive scoping, use recommended defaults, auto-deepen
39
- - `-c` / `--continue`: Resume from existing session (auto-detect session folder + discussion.md)
40
- - `-q` / `--quick`: Quick mode — skip exploration + scoring, go straight to decision extraction (context.md only)
41
- - `--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.
42
-
43
- Scope routing, output directory format, artifact registration schema, and output artifact listing are defined in workflow analyze.md (Scope Routing and Output Structure sections).
44
- </context>
45
-
46
- <execution>
47
- Follow '~/.maestro/workflows/analyze.md' completely.
48
-
49
- ### --gaps Mode (Issue Root Cause Analysis)
50
-
51
- When `--gaps` flag is present, follow `~/.maestro/workflows/issue-gaps-analyze.md` instead of the standard analyze pipeline:
52
-
53
- ```
54
- Phase 1: Load issues from .workflow/issues/issues.jsonl
55
- - If ISS-ID provided: load single issue
56
- - If no ISS-ID: filter issues where status = open | registered
57
- - Validate: at least 1 issue loaded, else error E_NO_ISSUES
58
-
59
- Phase 2: CLI exploration per issue
60
- - For each issue: build exploration prompt from issue.title, description, context, related_files
61
- - Run maestro delegate --to gemini --mode analysis with codebase context
62
- - Gather affected files, call chains, root cause evidence
63
-
64
- Phase 3: Root cause synthesis → write issue.analysis
65
- - Parse CLI output into analysis record: { root_cause, affected_files, impact_scope, fix_direction, confidence, analyzed_at, tool, depth }
66
- - Write analysis record to issue in issues.jsonl
67
- - Append history entry: { action: "analyzed", at: <ISO>, by: "maestro-analyze --gaps" }
68
-
69
- Phase 4: Output context.md for downstream plan --gaps
70
- - Aggregate all analyzed issues into context.md with root causes and fix directions
71
- - Register ANL artifact in state.json
72
- ```
73
-
74
- **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.
75
-
76
- **Next-step routing on completion:**
77
-
78
- Phase/Milestone scope:
79
- - Go recommendation, UI work needed → `/maestro-ui-design {phase}`
80
- - Go recommendation, ready to plan → `/maestro-plan` or `/maestro-plan {phase}`
81
- - No-Go recommendation → revisit requirements or `/maestro-brainstorm {topic}`
82
-
83
- Adhoc/Standalone scope:
84
- - Ready to plan → `/maestro-plan --dir {scratch_dir}`
85
- - Need more exploration → `/maestro-analyze {topic} -c`
86
-
87
- Gaps scope:
88
- - Issues analyzed → `/maestro-plan --gaps` (plan fix tasks linked to issues)
89
- - Need more context → `/maestro-analyze --gaps {ISS-ID}` (re-analyze specific issue)
90
- </execution>
91
-
92
- <error_codes>
93
- | Code | Severity | Condition | Recovery |
94
- |------|----------|-----------|----------|
95
- | E001 | error | No args and no roadmap (cannot determine scope) | Prompt user for topic text or create roadmap first |
96
- | W001 | warning | CLI exploration failed | Continue with available context, note limitation |
97
- | W002 | warning | CLI analysis timeout | Retry with shorter prompt, or skip perspective |
98
- | W003 | warning | Insufficient evidence for scoring dimensions | Note low-confidence dimensions, proceed with available evidence |
99
- | W004 | warning | Max rounds reached (5) | Force synthesis, offer continuation option |
100
- | E_NO_ISSUES | error | --gaps but no open/registered issues found | Suggest `/manage-issue-discover` or `/manage-issue create` |
101
- | E_ISSUE_NOT_FOUND | error | --gaps with ISS-ID but issue not found | Suggest `/manage-issue list` to find valid IDs |
102
- </error_codes>
103
-
104
- <success_criteria>
105
- Full mode:
106
- - [ ] CLI exploration completed with code anchors and call chains
107
- - [ ] discussion.md created with full timeline, TOC, Current Understanding
108
- - [ ] analysis.md written with all 6 dimensions scored with evidence
109
- - [ ] conclusions.json created with recommendations and decision trail
110
- - [ ] Intent Coverage tracked and verified (no unresolved ❌ items)
111
-
112
- Gaps mode:
113
- - [ ] Issues loaded from issues.jsonl (all open/registered, or single ISS-ID)
114
- - [ ] CLI exploration executed per issue with codebase context
115
- - [ ] Analysis record attached to each issue in issues.jsonl
116
- - [ ] context.md written with aggregated root causes for plan --gaps
117
-
118
- Both modes (full + quick):
119
- - [ ] context.md written with all decisions classified as Locked/Free/Deferred
120
- - [ ] Gray areas identified through phase-specific analysis
121
- - [ ] Decision Recording Protocol applied to all decisions
122
- - [ ] Scope creep redirected to Deferred section
123
- - [ ] Deferred items auto-created as issues (if any)
124
- - [ ] Artifact registered in state.json with correct scope/milestone/phase
125
- - [ ] Next step routed (ui-design/plan for Go, brainstorm for No-Go)
126
- </success_criteria>
1
+ ---
2
+ name: maestro-analyze
3
+ description: Multi-dimensional analysis with CLI exploration, decision extraction, and intent tracking
4
+ argument-hint: "[phase|topic] [-y] [-c] [-q] [--gaps [ISS-ID]]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Agent
13
+ - AskUserQuestion
14
+ ---
15
+ <purpose>
16
+ Perform multi-dimensional analysis of a technical proposal, decision, or architecture choice through iterative CLI-assisted exploration and interactive discussion. Produces a discussion timeline (discussion.md) with evolving understanding, multi-perspective findings, Decision Recording Protocol, Intent Coverage tracking, and a final conclusions package with Go/No-Go recommendation.
17
+
18
+ Combines structured 6-dimension scoring with iterative deepening and decision extraction. Replaces both analysis and decision-capture workflows — produces analysis.md (scoring) AND context.md (Locked/Free/Deferred decisions for plan).
19
+
20
+ Use `-q` for quick decision extraction only (skip exploration + scoring).
21
+
22
+ Use `--gaps` for issue-focused root cause analysis (replaces manage-issue-analyze). Loads issues from issues.jsonl, performs CLI exploration against issue context/location, synthesizes root cause into issue.analysis, and outputs context.md for downstream `plan --gaps`.
23
+ </purpose>
24
+
25
+ <required_reading>
26
+ @~/.maestro/workflows/analyze.md
27
+ </required_reading>
28
+
29
+ <deferred_reading>
30
+ - [state.json](~/.maestro/templates/state.json) — read when registering artifact
31
+ - [issue-gaps-analyze.md](~/.maestro/workflows/issue-gaps-analyze.md) — read when --gaps is triggered
32
+ </deferred_reading>
33
+
34
+ <context>
35
+ $ARGUMENTS -- phase number for milestone-scoped, topic text for adhoc/standalone mode, no args for milestone-wide.
36
+
37
+ **Flags:**
38
+ - `-y` / `--yes`: Auto mode — skip interactive scoping, use recommended defaults, auto-deepen
39
+ - `-c` / `--continue`: Resume from existing session (auto-detect session folder + discussion.md)
40
+ - `-q` / `--quick`: Quick mode — skip exploration + scoring, go straight to decision extraction (context.md only)
41
+ - `--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.
42
+
43
+ Scope routing, output directory format, artifact registration schema, and output artifact listing are defined in workflow analyze.md (Scope Routing and Output Structure sections).
44
+ </context>
45
+
46
+ <execution>
47
+ Follow '~/.maestro/workflows/analyze.md' completely.
48
+
49
+ ### --gaps Mode (Issue Root Cause Analysis)
50
+
51
+ When `--gaps` flag is present, follow `~/.maestro/workflows/issue-gaps-analyze.md` instead of the standard analyze pipeline:
52
+
53
+ ```
54
+ Phase 1: Load issues from .workflow/issues/issues.jsonl
55
+ - If ISS-ID provided: load single issue
56
+ - If no ISS-ID: filter issues where status = open | registered
57
+ - Validate: at least 1 issue loaded, else error E_NO_ISSUES
58
+
59
+ Phase 2: CLI exploration per issue
60
+ - For each issue: build exploration prompt from issue.title, description, context, related_files
61
+ - Run maestro delegate --to gemini --mode analysis with codebase context
62
+ - Gather affected files, call chains, root cause evidence
63
+
64
+ Phase 3: Root cause synthesis → write issue.analysis
65
+ - Parse CLI output into analysis record: { root_cause, affected_files, impact_scope, fix_direction, confidence, analyzed_at, tool, depth }
66
+ - Write analysis record to issue in issues.jsonl
67
+ - Append history entry: { action: "analyzed", at: <ISO>, by: "maestro-analyze --gaps" }
68
+
69
+ Phase 4: Output context.md for downstream plan --gaps
70
+ - Aggregate all analyzed issues into context.md with root causes and fix directions
71
+ - Register ANL artifact in state.json
72
+ ```
73
+
74
+ **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.
75
+
76
+ **Next-step routing on completion:**
77
+
78
+ Phase/Milestone scope:
79
+ - Go recommendation, UI work needed → `/maestro-ui-design {phase}`
80
+ - Go recommendation, ready to plan → `/maestro-plan` or `/maestro-plan {phase}`
81
+ - No-Go recommendation → revisit requirements or `/maestro-brainstorm {topic}`
82
+
83
+ Adhoc/Standalone scope:
84
+ - Ready to plan → `/maestro-plan --dir {scratch_dir}`
85
+ - Need more exploration → `/maestro-analyze {topic} -c`
86
+
87
+ Gaps scope:
88
+ - Issues analyzed → `/maestro-plan --gaps` (plan fix tasks linked to issues)
89
+ - Need more context → `/maestro-analyze --gaps {ISS-ID}` (re-analyze specific issue)
90
+ </execution>
91
+
92
+ <error_codes>
93
+ | Code | Severity | Condition | Recovery |
94
+ |------|----------|-----------|----------|
95
+ | E001 | error | No args and no roadmap (cannot determine scope) | Prompt user for topic text or create roadmap first |
96
+ | W001 | warning | CLI exploration failed | Continue with available context, note limitation |
97
+ | W002 | warning | CLI analysis timeout | Retry with shorter prompt, or skip perspective |
98
+ | W003 | warning | Insufficient evidence for scoring dimensions | Note low-confidence dimensions, proceed with available evidence |
99
+ | W004 | warning | Max rounds reached (5) | Force synthesis, offer continuation option |
100
+ | E_NO_ISSUES | error | --gaps but no open/registered issues found | Suggest `/manage-issue-discover` or `/manage-issue create` |
101
+ | E_ISSUE_NOT_FOUND | error | --gaps with ISS-ID but issue not found | Suggest `/manage-issue list` to find valid IDs |
102
+ </error_codes>
103
+
104
+ <success_criteria>
105
+ Full mode:
106
+ - [ ] CLI exploration completed with code anchors and call chains
107
+ - [ ] discussion.md created with full timeline, TOC, Current Understanding
108
+ - [ ] analysis.md written with all 6 dimensions scored with evidence
109
+ - [ ] conclusions.json created with recommendations and decision trail
110
+ - [ ] Intent Coverage tracked and verified (no unresolved ❌ items)
111
+
112
+ Gaps mode:
113
+ - [ ] Issues loaded from issues.jsonl (all open/registered, or single ISS-ID)
114
+ - [ ] CLI exploration executed per issue with codebase context
115
+ - [ ] Analysis record attached to each issue in issues.jsonl
116
+ - [ ] context.md written with aggregated root causes for plan --gaps
117
+
118
+ Both modes (full + quick):
119
+ - [ ] context.md written with all decisions classified as Locked/Free/Deferred
120
+ - [ ] Gray areas identified through phase-specific analysis
121
+ - [ ] Decision Recording Protocol applied to all decisions
122
+ - [ ] Scope creep redirected to Deferred section
123
+ - [ ] Deferred items auto-created as issues (if any)
124
+ - [ ] Artifact registered in state.json with correct scope/milestone/phase
125
+ - [ ] Next step routed (ui-design/plan for Go, brainstorm for No-Go)
126
+ </success_criteria>