maestro-flow-one 0.2.28 → 0.2.29
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/commands/lifecycle/impeccable.md +5 -1
- package/maestro-flow/commands/lifecycle/next.md +7 -1
- package/maestro-flow/commands/lifecycle/player.md +9 -2
- package/maestro-flow/commands/lifecycle/tools-execute.md +4 -4
- package/maestro-flow/commands/spec/load.md +11 -4
- package/package.json +1 -1
|
@@ -145,7 +145,11 @@ Layer 1 did not match. Check for chain-level keywords — even if the prompt als
|
|
|
145
145
|
| design system, tokens, design foundation, design infrastructure | foundation |
|
|
146
146
|
| real-time, live, browser | live |
|
|
147
147
|
|
|
148
|
-
Ambiguous + no `-y
|
|
148
|
+
Ambiguous + no `-y`:
|
|
149
|
+
|
|
150
|
+
AskUserQuestion (single-select, header: "意图确认"):
|
|
151
|
+
- Options: top 2-3 matched chains from Layer 2 table, each with label = chain name, description = matched keywords
|
|
152
|
+
- Last option: **"直接构建"** — skip chain, route to Layer 3 craft
|
|
149
153
|
|
|
150
154
|
### Layer 3: Concrete build task → Direct craft
|
|
151
155
|
|
|
@@ -218,7 +218,13 @@ brainstorm → blueprint → init → analyze-macro → roadmap
|
|
|
218
218
|
执行参数: <args>
|
|
219
219
|
```
|
|
220
220
|
|
|
221
|
-
`--dry-run` 展示后结束;`-y` 直接 S_EXECUTE
|
|
221
|
+
`--dry-run` 展示后结束;`-y` 直接 S_EXECUTE;否则:
|
|
222
|
+
|
|
223
|
+
AskUserQuestion (single-select, header: "执行确认"):
|
|
224
|
+
- **执行推荐** (Recommended) — run top pick with shown args
|
|
225
|
+
- **选择备选** — pick from alternative commands
|
|
226
|
+
- **修改参数** — adjust args before executing
|
|
227
|
+
- **取消** — do nothing
|
|
222
228
|
|
|
223
229
|
</presentation>
|
|
224
230
|
|
|
@@ -145,13 +145,20 @@ S_COMPLETE:
|
|
|
145
145
|
- **skill/command**: `Skill(skill, resolved_args)` → extract session_id, output_path, artifacts
|
|
146
146
|
- **cli**: `Bash(run_in_background: true)` → STOP, wait for callback → `maestro delegate output <id>`
|
|
147
147
|
- **agent**: `Agent(subagent_type, resolved_args)`
|
|
148
|
-
- **checkpoint**: write checkpoint snapshot. If auto_continue==false:
|
|
148
|
+
- **checkpoint**: write checkpoint snapshot. If auto_continue==false:
|
|
149
|
+
AskUserQuestion (single-select, header: "Checkpoint"):
|
|
150
|
+
- **Continue** — proceed to next step
|
|
151
|
+
- **Pause** — save progress, exit (resume with `-c`)
|
|
152
|
+
- **Abort** — stop workflow
|
|
149
153
|
4. Set step status="completed" (or "skipped"/"failed"), write status.json
|
|
150
154
|
|
|
151
155
|
### A_COMPLETE_SESSION
|
|
152
156
|
|
|
153
157
|
Set status="completed", completed_at. Display summary: session, template, steps completed, context, per-step results, artifacts, session dir.
|
|
154
|
-
AskUserQuestion
|
|
158
|
+
AskUserQuestion (single-select, header: "完成"):
|
|
159
|
+
- **Keep session** — preserve artifacts for reference
|
|
160
|
+
- **Run again** — re-execute with same template
|
|
161
|
+
- **Done** — clean up and exit
|
|
155
162
|
|
|
156
163
|
</actions>
|
|
157
164
|
|
|
@@ -71,10 +71,10 @@ maestro wiki load <knowhow-id>
|
|
|
71
71
|
|
|
72
72
|
### Step 3: Confirm Execution
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
- Execute
|
|
76
|
-
- Adjust parameters
|
|
77
|
-
- View only
|
|
74
|
+
AskUserQuestion (single-select, header: "执行方式"):
|
|
75
|
+
- **Execute as-is** (Recommended) — run all steps with current parameters
|
|
76
|
+
- **Adjust parameters** — modify scope or parameters before executing
|
|
77
|
+
- **View only** — display steps without executing
|
|
78
78
|
|
|
79
79
|
### Step 4: Step-by-Step Execution
|
|
80
80
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: spec-load
|
|
3
3
|
description: Load specs and lessons for current context
|
|
4
|
-
argument-hint: "[--category <category>] [--keyword <word>]"
|
|
4
|
+
argument-hint: "[--scope <scope>] [--category <category>] [--keyword <word>]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Bash
|
|
@@ -9,8 +9,9 @@ allowed-tools:
|
|
|
9
9
|
- Grep
|
|
10
10
|
---
|
|
11
11
|
<purpose>
|
|
12
|
-
Load relevant specs filtered by category (file-level) and/or keyword (entry-level).
|
|
12
|
+
Load relevant specs filtered by scope, category (file-level) and/or keyword (entry-level).
|
|
13
13
|
Category-based loading: loads the category's primary doc in full + matching entries from other files.
|
|
14
|
+
By default, loads from both global (~/.maestro/specs/) and project (.workflow/specs/) layers.
|
|
14
15
|
</purpose>
|
|
15
16
|
|
|
16
17
|
<required_reading>
|
|
@@ -21,6 +22,11 @@ Category-based loading: loads the category's primary doc in full + matching entr
|
|
|
21
22
|
$ARGUMENTS -- optional flags and keyword
|
|
22
23
|
|
|
23
24
|
**Flags:**
|
|
25
|
+
- `--scope <scope>` — Load scope (default: global + project merged):
|
|
26
|
+
- `project`: project baseline only (.workflow/specs/)
|
|
27
|
+
- `global`: global + project merged (~/.maestro/specs/ + .workflow/specs/)
|
|
28
|
+
- `team`: project + team shared (.workflow/collab/specs/)
|
|
29
|
+
- `personal`: project + team + personal (requires uid)
|
|
24
30
|
- `--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
31
|
- `--keyword <word>` — Filter by keyword within entries
|
|
26
32
|
|
|
@@ -38,7 +44,8 @@ $ARGUMENTS -- optional flags and keyword
|
|
|
38
44
|
|
|
39
45
|
**Examples:**
|
|
40
46
|
```
|
|
41
|
-
/spec-load --category coding # coding全文 + 跨文件coding条目
|
|
47
|
+
/spec-load --category coding # coding全文 + 跨文件coding条目 (global + project)
|
|
48
|
+
/spec-load --scope global --category arch # 明确包含全局 arch 规范
|
|
42
49
|
/spec-load --category review # review-standards + quality-rules + 跨文件review条目
|
|
43
50
|
/spec-load --category coding --keyword auth
|
|
44
51
|
/spec-load --keyword auth
|
|
@@ -57,7 +64,7 @@ Follow '~/.maestro/workflows/specs-load.md' completely.
|
|
|
57
64
|
<error_codes>
|
|
58
65
|
| Code | Severity | Description | Stage |
|
|
59
66
|
|------|----------|-------------|-------|
|
|
60
|
-
| E001 |
|
|
67
|
+
| E001 | warning | `.workflow/specs/` not initialized -- run `/spec-setup` first (global specs still available) | detect_context |
|
|
61
68
|
| W001 | warning | No matching specs found for keyword -- showing all specs in category instead | load_specs |
|
|
62
69
|
</error_codes>
|
|
63
70
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maestro-flow-one",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
4
4
|
"description": "All Maestro workflow commands as a single Claude Code skill — intent routing, decision gates, minimal closed-loop chains",
|
|
5
5
|
"bin": {
|
|
6
6
|
"maestro-flow": "bin/maestro-flow.js"
|