maestro-flow-one 0.2.5 → 0.2.6
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/maestro-flow/agents/ui-design-agent.md +1 -0
- package/maestro-flow/agents/workflow-executor.md +3 -0
- package/maestro-flow/commands/learn/decompose.md +91 -146
- package/maestro-flow/commands/learn/follow.md +102 -137
- package/maestro-flow/commands/learn/investigate.md +102 -167
- package/maestro-flow/commands/learn/retro.md +100 -243
- package/maestro-flow/commands/learn/second-opinion.md +95 -135
- package/maestro-flow/commands/lifecycle/amend.md +95 -232
- package/maestro-flow/commands/lifecycle/analyze.md +1 -6
- package/maestro-flow/commands/lifecycle/collab.md +104 -265
- package/maestro-flow/commands/lifecycle/composer.md +113 -293
- package/maestro-flow/commands/lifecycle/execute.md +10 -17
- package/maestro-flow/commands/lifecycle/impeccable.md +89 -0
- package/maestro-flow/commands/lifecycle/plan.md +1 -6
- package/maestro-flow/commands/lifecycle/player.md +111 -340
- package/maestro-flow/commands/lifecycle/quick.md +9 -0
- package/maestro-flow/commands/lifecycle/ui-codify.md +13 -0
- package/maestro-flow/commands/lifecycle/ui-craft.md +364 -0
- package/maestro-flow/commands/lifecycle/ui-design.md +12 -1
- package/maestro-flow/commands/lifecycle/verify.md +12 -13
- package/maestro-flow/commands/manage/knowhow-capture.md +45 -170
- package/maestro-flow/commands/quality/auto-test.md +9 -0
- package/maestro-flow/commands/quality/debug.md +11 -25
- package/maestro-flow/commands/quality/refactor.md +9 -0
- package/maestro-flow/commands/quality/review.md +5 -14
- package/maestro-flow/commands/spec/add.md +1 -1
- package/maestro-flow/commands/spec/load.md +3 -2
- package/package.json +1 -1
|
@@ -50,6 +50,15 @@ Phase or task: $ARGUMENTS (required — phase number)
|
|
|
50
50
|
| 5 | Default | code | quality-integration-test |
|
|
51
51
|
|
|
52
52
|
Flags, artifact context resolution, and output formats defined in workflow auto-test.md.
|
|
53
|
+
|
|
54
|
+
### Pre-load context (before test generation)
|
|
55
|
+
|
|
56
|
+
1. **Test specs + tools**: Run `maestro spec load --category test` to load test conventions (framework, patterns, naming). Apply to all generated tests.
|
|
57
|
+
2. **Coding specs**: Run `maestro spec load --category coding` to understand coding patterns for accurate test targeting.
|
|
58
|
+
3. **Role Knowledge**:
|
|
59
|
+
- Browse: `maestro wiki list --category test`
|
|
60
|
+
- Load task-relevant entries: `maestro wiki load <id1> [id2...]`
|
|
61
|
+
4. All are optional — proceed without if unavailable.
|
|
53
62
|
</context>
|
|
54
63
|
|
|
55
64
|
<execution>
|
|
@@ -43,20 +43,11 @@ Each artifact's type determines its outputs at `.workflow/{a.path}/`:
|
|
|
43
43
|
|
|
44
44
|
Extract conclusions from related artifacts that may affect this debug session — review findings guide investigation direction, prior debug avoids redundant work.
|
|
45
45
|
|
|
46
|
-
### Pre-load
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
4. All are optional — proceed without if unavailable.
|
|
52
|
-
|
|
53
|
-
### Role Knowledge
|
|
54
|
-
1. Browse accumulated knowledge for this role:
|
|
55
|
-
`maestro wiki list --category debug`
|
|
56
|
-
2. Analyze the index, identify entries relevant to the current task
|
|
57
|
-
3. Load selected documents:
|
|
58
|
-
`maestro wiki load <id1> [id2] [id3...]`
|
|
59
|
-
4. Review loaded knowledge before proceeding
|
|
46
|
+
### Pre-load (optional, proceed without)
|
|
47
|
+
- Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → module boundaries
|
|
48
|
+
- Wiki: `maestro wiki search "<symptom keywords>" --json` → prior investigations
|
|
49
|
+
- Specs: `maestro spec load --category debug --keyword "<symptom>"` → known issues/workarounds
|
|
50
|
+
- Role knowledge: `maestro wiki list --category debug` → select relevant → `maestro wiki load`
|
|
60
51
|
|
|
61
52
|
**Output**: `DEBUG_DIR = .workflow/scratch/{YYYYMMDD}-debug-P{N}-{slug}/` (P{N} = phase number when phase-scoped; omit for standalone). Output directory rules defined in workflow debug.md Step 4.
|
|
62
53
|
</context>
|
|
@@ -84,18 +75,13 @@ Append to state.json.artifacts[]:
|
|
|
84
75
|
|
|
85
76
|
### Post-debug Knowledge Inquiry
|
|
86
77
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
2. **Non-obvious fix**: If fix involved a non-obvious approach or workaround:
|
|
93
|
-
→ Ask: "This fix used a non-obvious strategy. Should it be recorded as a learning? (`/spec-add learning`)"
|
|
94
|
-
|
|
95
|
-
3. **Architectural gap**: If root cause traces to architectural boundary violation or missing constraint:
|
|
96
|
-
→ Ask: "Root cause points to an architectural gap. Should `architecture-constraints.md` be updated? (`/spec-add arch`)"
|
|
78
|
+
| Condition | Ask | Route |
|
|
79
|
+
|-----------|-----|-------|
|
|
80
|
+
| Recurring root cause pattern (seen in prior debug) | "Document in debug-notes.md?" | spec-add debug |
|
|
81
|
+
| Non-obvious fix / workaround | "Record as learning?" | spec-add learning |
|
|
82
|
+
| Root cause = architectural boundary violation | "Update architecture-constraints.md?" | spec-add arch |
|
|
97
83
|
|
|
98
|
-
|
|
84
|
+
On confirm → `Skill("spec-add", "<category> <content>")`.
|
|
99
85
|
|
|
100
86
|
**Next-step routing on completion:**
|
|
101
87
|
- Root cause found, fix needed → `/maestro-plan {phase} --gaps`
|
|
@@ -27,6 +27,15 @@ Scope: $ARGUMENTS (required)
|
|
|
27
27
|
- "all" - full codebase scan
|
|
28
28
|
|
|
29
29
|
If not provided, prompt user for scope.
|
|
30
|
+
|
|
31
|
+
### Pre-load context (before refactoring)
|
|
32
|
+
|
|
33
|
+
1. **Coding specs**: Run `maestro spec load --category coding` to load coding conventions. Apply conventions to all refactored code.
|
|
34
|
+
2. **Review specs**: Run `maestro spec load --category review` to load review standards. Use as quality gate for refactored code.
|
|
35
|
+
3. **Role Knowledge**:
|
|
36
|
+
- Browse: `maestro wiki list --category coding`
|
|
37
|
+
- Identify task-relevant entries, then load: `maestro wiki load <id1> [id2...]`
|
|
38
|
+
4. All are optional — proceed without if unavailable.
|
|
30
39
|
</context>
|
|
31
40
|
|
|
32
41
|
<execution>
|
|
@@ -48,20 +48,11 @@ Each artifact's type determines its outputs at `.workflow/{a.path}/`:
|
|
|
48
48
|
|
|
49
49
|
Extract conclusions from related artifacts that may affect this review. Pass as prior quality context to reviewer agents — avoid redundant work, focus on gaps and regressions.
|
|
50
50
|
|
|
51
|
-
### Pre-load
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
4. All are optional — proceed without if unavailable.
|
|
57
|
-
|
|
58
|
-
### Role Knowledge
|
|
59
|
-
1. Browse accumulated knowledge for this role:
|
|
60
|
-
`maestro wiki list --category review`
|
|
61
|
-
2. Analyze the index, identify entries relevant to the current task
|
|
62
|
-
3. Load selected documents:
|
|
63
|
-
`maestro wiki load <id1> [id2] [id3...]`
|
|
64
|
-
4. Review loaded knowledge before proceeding
|
|
51
|
+
### Pre-load (optional, proceed without)
|
|
52
|
+
- Codebase docs: `.workflow/codebase/ARCHITECTURE.md` → component boundaries, layer rules
|
|
53
|
+
- Wiki constraints: `maestro wiki search "architecture constraint" --json` → documented decisions
|
|
54
|
+
- Specs: `maestro spec load --category review` → review standards, checklists, knowhow tools
|
|
55
|
+
- Role knowledge: `maestro wiki list --category review` → select relevant → `maestro wiki load`
|
|
65
56
|
|
|
66
57
|
**Output**: `REVIEW_DIR = .workflow/scratch/{YYYYMMDD}-review-P{N}-{slug}/` (P{N} = phase number, enables directory-level identification as state.json fallback)
|
|
67
58
|
</context>
|
|
@@ -50,7 +50,7 @@ Follow '~/.maestro/workflows/specs-add.md' completely.
|
|
|
50
50
|
|------|----------|-------------|-------|
|
|
51
51
|
| E001 | fatal | Category and content are both required | parse_input |
|
|
52
52
|
| E002 | fatal | Specs directory not initialized -- run `maestro spec init --scope <scope>` | validate_entry |
|
|
53
|
-
| E003 | fatal | Invalid category -- must be one of: coding, arch, quality, debug, test, review, learning, tools | parse_input |
|
|
53
|
+
| E003 | fatal | Invalid category -- must be one of: coding, arch, quality, debug, test, review, learning, tools, ui | parse_input |
|
|
54
54
|
| E004 | fatal | Invalid scope -- must be one of: project, global, team, personal | parse_input |
|
|
55
55
|
| E005 | fatal | Personal scope requires uid -- use `--uid` or run `maestro collab join` first | parse_input |
|
|
56
56
|
</error_codes>
|
|
@@ -21,7 +21,7 @@ Category-based loading: loads the category's primary doc in full + matching entr
|
|
|
21
21
|
$ARGUMENTS -- optional flags and keyword
|
|
22
22
|
|
|
23
23
|
**Flags:**
|
|
24
|
-
- `--category <category>` — Load by category: primary category doc (full) + cross-file entries with matching category attr. Categories: coding, arch, test, review, debug,
|
|
24
|
+
- `--category <category>` — Load by category: primary category doc (full) + cross-file entries with matching category attr. Categories: coding, arch, test, review, debug, learning, ui.
|
|
25
25
|
- `--keyword <word>` — Filter by keyword within entries
|
|
26
26
|
|
|
27
27
|
**File → Primary Category mapping:**
|
|
@@ -32,7 +32,8 @@ $ARGUMENTS -- optional flags and keyword
|
|
|
32
32
|
| test-conventions.md | test |
|
|
33
33
|
| review-standards.md | review |
|
|
34
34
|
| debug-notes.md | debug |
|
|
35
|
-
|
|
|
35
|
+
| ui-conventions.md | ui |
|
|
36
|
+
| quality-rules.md | review |
|
|
36
37
|
| learnings.md | learning |
|
|
37
38
|
|
|
38
39
|
**Examples:**
|
package/package.json
CHANGED