maestro-flow-one 0.2.33 → 0.2.35
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/learn/investigate.md +151 -152
- package/maestro-flow/commands/learn/second-opinion.md +118 -122
- package/maestro-flow/commands/lifecycle/analyze.md +215 -266
- package/maestro-flow/commands/lifecycle/blueprint.md +189 -204
- package/maestro-flow/commands/lifecycle/brainstorm.md +209 -213
- package/maestro-flow/commands/lifecycle/companion.md +531 -531
- package/maestro-flow/commands/lifecycle/composer.md +188 -179
- package/maestro-flow/commands/lifecycle/execute.md +183 -184
- package/maestro-flow/commands/lifecycle/fork.md +111 -110
- package/maestro-flow/commands/lifecycle/grill.md +175 -176
- package/maestro-flow/commands/lifecycle/guard.md +103 -102
- package/maestro-flow/commands/lifecycle/impeccable.md +311 -268
- package/maestro-flow/commands/lifecycle/init.md +130 -131
- package/maestro-flow/commands/lifecycle/merge.md +87 -80
- package/maestro-flow/commands/lifecycle/next.md +253 -257
- package/maestro-flow/commands/lifecycle/overlay.md +188 -178
- package/maestro-flow/commands/lifecycle/plan.md +225 -211
- package/maestro-flow/commands/lifecycle/quick.md +83 -77
- package/maestro-flow/commands/lifecycle/roadmap.md +173 -186
- package/maestro-flow/commands/lifecycle/swarm-workflow.md +243 -264
- package/maestro-flow/commands/lifecycle/tools-execute.md +122 -117
- package/maestro-flow/commands/lifecycle/tools-register.md +162 -157
- package/maestro-flow/commands/lifecycle/ui-codify.md +117 -100
- package/maestro-flow/commands/lifecycle/universal-workflow.md +548 -561
- package/maestro-flow/commands/lifecycle/update.md +122 -119
- package/maestro-flow/commands/manage/codebase-rebuild.md +87 -85
- package/maestro-flow/commands/manage/harvest.md +97 -95
- package/maestro-flow/commands/manage/issue-discover.md +83 -81
- package/maestro-flow/commands/manage/issue.md +72 -73
- package/maestro-flow/commands/manage/kg-extractors.md +128 -0
- package/maestro-flow/commands/manage/knowhow-capture.md +92 -82
- package/maestro-flow/commands/manage/knowhow.md +83 -79
- package/maestro-flow/commands/manage/knowledge-audit.md +105 -88
- package/maestro-flow/commands/manage/status.md +62 -52
- package/maestro-flow/commands/manage/wiki.md +82 -71
- package/maestro-flow/commands/milestone/audit.md +4 -10
- package/maestro-flow/commands/milestone/complete.md +6 -7
- package/maestro-flow/commands/milestone/release.md +136 -145
- package/maestro-flow/commands/quality/auto-test.md +153 -136
- package/maestro-flow/commands/quality/debug.md +159 -120
- package/maestro-flow/commands/quality/refactor.md +105 -67
- package/maestro-flow/commands/quality/retrospective.md +123 -77
- package/maestro-flow/commands/quality/review.md +155 -128
- package/maestro-flow/commands/quality/sync.md +88 -52
- package/maestro-flow/commands/quality/test.md +147 -117
- package/maestro-flow/commands/spec/add.md +77 -70
- package/maestro-flow/commands/spec/setup.md +49 -52
- package/package.json +1 -1
|
@@ -13,16 +13,8 @@ allowed-tools:
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
<purpose>
|
|
16
|
-
Audit milestone
|
|
17
|
-
|
|
18
|
-
2. Ad-hoc completeness — all adhoc artifacts are completed (or explicitly skipped)
|
|
19
|
-
3. Execution completeness — all tasks in executed plans are completed
|
|
20
|
-
4. Cross-artifact integration — interfaces, data contracts, configuration consistency
|
|
21
|
-
|
|
22
|
-
Data source: `state.json.artifacts[]` filtered by current milestone.
|
|
23
|
-
Produces audit report at `.workflow/milestones/{milestone}/audit-report.md`.
|
|
24
|
-
|
|
25
|
-
Pipeline position: downstream of maestro-execute (which includes verification), upstream of maestro-milestone-complete.
|
|
16
|
+
Audit milestone for phase coverage, execution completeness, and integration gaps.
|
|
17
|
+
Produces audit-report.md with PASS/FAIL verdict.
|
|
26
18
|
</purpose>
|
|
27
19
|
|
|
28
20
|
<required_reading>
|
|
@@ -69,11 +61,13 @@ Audit checklist steps (phase coverage, ad-hoc completeness, execution completene
|
|
|
69
61
|
**GATE 2: Phase Coverage → Integration Check**
|
|
70
62
|
- REQUIRED: Every phase checked for artifact chain completeness (ANL→PLN→EXC for standard, PLN→EXC for adhoc).
|
|
71
63
|
- REQUIRED: Execution completeness verified — all tasks in executed plans checked for status.
|
|
64
|
+
- BLOCKED if missing: phase coverage check incomplete — do not proceed to integration check with unchecked phases.
|
|
72
65
|
- Do NOT skip incomplete chains — each gap MUST be logged in audit report.
|
|
73
66
|
|
|
74
67
|
**GATE 3: Integration Check → Report**
|
|
75
68
|
- REQUIRED: Cross-artifact integration check completed (shared interfaces, data contracts, configuration consistency).
|
|
76
69
|
- REQUIRED: Clear PASS/FAIL verdict determined with evidence for each check.
|
|
70
|
+
- BLOCKED if missing: integration check not completed — do not write report without cross-artifact verification.
|
|
77
71
|
|
|
78
72
|
### Artifact Verification (before completion)
|
|
79
73
|
|
|
@@ -13,13 +13,8 @@ allowed-tools:
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
<purpose>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Produces `milestones/{M}/artifacts/` archive and `specs/learnings.md` knowhow entries.
|
|
20
|
-
Supports two milestone types: standard (advances to next milestone) and adhoc (self-contained, sets idle).
|
|
21
|
-
|
|
22
|
-
Pipeline position: downstream of `maestro-milestone-audit` (requires PASS verdict). Upstream of `maestro-milestone-release` (cut a release) or next milestone planning (`maestro-analyze` / `maestro-plan`).
|
|
16
|
+
Archive passed milestone: validate, archive artifacts, extract knowhow, advance state.
|
|
17
|
+
Requires audit PASS; produces milestone archive and learnings.
|
|
23
18
|
</purpose>
|
|
24
19
|
|
|
25
20
|
<required_reading>
|
|
@@ -51,18 +46,22 @@ Archive flow steps (validation, directory archival, artifact history, knowhow ex
|
|
|
51
46
|
**GATE 1: Validation → Archival**
|
|
52
47
|
- REQUIRED: Audit report verified as PASS (E002 if not).
|
|
53
48
|
- REQUIRED: No incomplete artifacts remain (E003 if any).
|
|
49
|
+
- BLOCKED if: audit not passed (E002) or incomplete artifacts remain (E003) — cannot archive unvalidated milestone.
|
|
54
50
|
|
|
55
51
|
**GATE 2: Archival → Knowhow Extraction**
|
|
56
52
|
- REQUIRED: Scratch artifacts moved to `milestones/{M}/artifacts/`.
|
|
57
53
|
- REQUIRED: Artifact entries archived to milestone_history in state.json.
|
|
54
|
+
- BLOCKED if missing: artifacts not moved or history not updated — knowhow extraction needs archived artifacts as input.
|
|
58
55
|
|
|
59
56
|
**GATE 3: Knowhow Extraction → State Advancement**
|
|
60
57
|
- REQUIRED: Knowhow extraction attempted (may produce 0 entries — W001).
|
|
61
58
|
- REQUIRED: `project.md` Context updated with milestone summary.
|
|
59
|
+
- BLOCKED if missing: knowhow extraction not attempted or project.md not updated — state advancement requires completed knowledge capture.
|
|
62
60
|
|
|
63
61
|
**GATE 4: State Advancement → Completion**
|
|
64
62
|
- REQUIRED: state.json updated — next milestone as current (standard) or current_milestone=null (adhoc).
|
|
65
63
|
- REQUIRED: Roadmap snapshot saved (standard only).
|
|
64
|
+
- BLOCKED if missing: state.json not advanced — project remains stuck on completed milestone.
|
|
66
65
|
|
|
67
66
|
### Knowledge Promotion Inquiry
|
|
68
67
|
|
|
@@ -1,145 +1,136 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: maestro-milestone-release
|
|
3
|
-
description: Bump version, generate changelog, tag milestone
|
|
4
|
-
argument-hint: "[<version>] [--bump patch|minor|major] [--dry-run] [--no-tag] [--no-push]"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Write
|
|
8
|
-
- Edit
|
|
9
|
-
- Bash
|
|
10
|
-
- Glob
|
|
11
|
-
- Grep
|
|
12
|
-
- Agent
|
|
13
|
-
- AskUserQuestion
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
<purpose>
|
|
17
|
-
Package a completed milestone into a releasable version
|
|
18
|
-
|
|
19
|
-
Pipeline position: downstream of `/maestro-milestone-complete
|
|
20
|
-
</purpose>
|
|
21
|
-
|
|
22
|
-
<required_reading>
|
|
23
|
-
@~/.maestro/workflows/milestone-release.md
|
|
24
|
-
</required_reading>
|
|
25
|
-
|
|
26
|
-
<context>
|
|
27
|
-
$ARGUMENTS -- optional explicit version string and flags.
|
|
28
|
-
|
|
29
|
-
**Flags:**
|
|
30
|
-
|
|
31
|
-
| Flag | Effect | Default |
|
|
32
|
-
|------|--------|---------|
|
|
33
|
-
| `<version>` | Explicit version (e.g. `1.2.0`). If omitted, version is derived from `--bump` or prompted | — |
|
|
34
|
-
| `--bump patch\|minor\|major` | Semver bump relative to the current version | `minor` |
|
|
35
|
-
| `--dry-run` | Compute the next version, changelog diff, and tag name without writing files or creating tags | `false` |
|
|
36
|
-
| `--no-tag` | Skip git tag creation (version bump + changelog only) | `false` |
|
|
37
|
-
| `--no-push` | Skip `git push --follow-tags` after tagging | `false` |
|
|
38
|
-
|
|
39
|
-
**State files:**
|
|
40
|
-
- `.workflow/state.json` -- current_milestone, previous release version
|
|
41
|
-
- `.workflow/milestones/{milestone}/summary.md` -- milestone summary (from `maestro-milestone-complete`)
|
|
42
|
-
- `.workflow/milestones/{milestone}/audit-report.md` -- audit verdict (must be PASS)
|
|
43
|
-
- `CHANGELOG.md` -- release notes file (created if missing)
|
|
44
|
-
- Version manifest -- `package.json` / `pyproject.toml` / `Cargo.toml` / etc. (auto-detected)
|
|
45
|
-
|
|
46
|
-
**Preconditions:**
|
|
47
|
-
- Current milestone must be completed (audit PASS + `/maestro-milestone-complete` run)
|
|
48
|
-
- Working tree must be clean (no uncommitted changes) unless `--dry-run`
|
|
49
|
-
</context>
|
|
50
|
-
|
|
51
|
-
<interview_protocol>
|
|
52
|
-
Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
53
|
-
|
|
54
|
-
**Decision points**: version bump type (major / minor / patch / custom), changelog review and confirmation
|
|
55
|
-
**Scope guard**: only release decisions; do not prejudge next milestone scope
|
|
56
|
-
</interview_protocol>
|
|
57
|
-
|
|
58
|
-
<execution>
|
|
59
|
-
Follow '~/.maestro/workflows/milestone-release.md' completely.
|
|
60
|
-
|
|
61
|
-
### Phase Gates (MANDATORY, BLOCKING)
|
|
62
|
-
|
|
63
|
-
**GATE 1: Validation → Version Bump**
|
|
64
|
-
- REQUIRED: Current milestone completed (audit PASS + milestone-complete run). E001 if not.
|
|
65
|
-
- REQUIRED: Working tree clean (no uncommitted changes). E003 if dirty.
|
|
66
|
-
|
|
67
|
-
**GATE 2: Version Bump → Changelog**
|
|
68
|
-
- REQUIRED: Target version computed and greater than previous (E005 if not).
|
|
69
|
-
- REQUIRED: Version manifest file(s) identified and accessible.
|
|
70
|
-
|
|
71
|
-
**GATE 3: Changelog → Tag/Push**
|
|
72
|
-
- REQUIRED: CHANGELOG.md entry written with milestone summary + grouped changes.
|
|
73
|
-
- REQUIRED: Release commit created with conventional message.
|
|
74
|
-
|
|
75
|
-
**GATE 4: Tag → Completion**
|
|
76
|
-
- REQUIRED: Annotated git tag created (unless --no-tag).
|
|
77
|
-
- REQUIRED: state.json updated with last_release_version + last_release_at.
|
|
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
|
-
|
|
|
119
|
-
|
|
120
|
-
|
|
|
121
|
-
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
- [ ] Preconditions validated (milestone complete, audit PASS, clean tree)
|
|
138
|
-
- [ ] Target version computed and greater than previous
|
|
139
|
-
- [ ] Version manifest(s) updated with new version
|
|
140
|
-
- [ ] CHANGELOG.md contains new entry with milestone summary + grouped changes
|
|
141
|
-
- [ ] Release commit created with conventional message
|
|
142
|
-
- [ ] Annotated git tag created (unless `--no-tag`)
|
|
143
|
-
- [ ] Commit + tag pushed to remote (unless `--no-push` or push failed → W002)
|
|
144
|
-
- [ ] state.json updated with last_release_version + last_release_at timestamp
|
|
145
|
-
</success_criteria>
|
|
1
|
+
---
|
|
2
|
+
name: maestro-milestone-release
|
|
3
|
+
description: Bump version, generate changelog, tag milestone
|
|
4
|
+
argument-hint: "[<version>] [--bump patch|minor|major] [--dry-run] [--no-tag] [--no-push]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Edit
|
|
9
|
+
- Bash
|
|
10
|
+
- Glob
|
|
11
|
+
- Grep
|
|
12
|
+
- Agent
|
|
13
|
+
- AskUserQuestion
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
<purpose>
|
|
17
|
+
Package a completed milestone into a releasable version: version bump → changelog → tag → push.
|
|
18
|
+
|
|
19
|
+
Pipeline position: downstream of `/maestro-milestone-complete`. Terminal command.
|
|
20
|
+
</purpose>
|
|
21
|
+
|
|
22
|
+
<required_reading>
|
|
23
|
+
@~/.maestro/workflows/milestone-release.md
|
|
24
|
+
</required_reading>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
$ARGUMENTS -- optional explicit version string and flags.
|
|
28
|
+
|
|
29
|
+
**Flags:**
|
|
30
|
+
|
|
31
|
+
| Flag | Effect | Default |
|
|
32
|
+
|------|--------|---------|
|
|
33
|
+
| `<version>` | Explicit version (e.g. `1.2.0`). If omitted, version is derived from `--bump` or prompted | — |
|
|
34
|
+
| `--bump patch\|minor\|major` | Semver bump relative to the current version | `minor` |
|
|
35
|
+
| `--dry-run` | Compute the next version, changelog diff, and tag name without writing files or creating tags | `false` |
|
|
36
|
+
| `--no-tag` | Skip git tag creation (version bump + changelog only) | `false` |
|
|
37
|
+
| `--no-push` | Skip `git push --follow-tags` after tagging | `false` |
|
|
38
|
+
|
|
39
|
+
**State files:**
|
|
40
|
+
- `.workflow/state.json` -- current_milestone, previous release version
|
|
41
|
+
- `.workflow/milestones/{milestone}/summary.md` -- milestone summary (from `maestro-milestone-complete`)
|
|
42
|
+
- `.workflow/milestones/{milestone}/audit-report.md` -- audit verdict (must be PASS)
|
|
43
|
+
- `CHANGELOG.md` -- release notes file (created if missing)
|
|
44
|
+
- Version manifest -- `package.json` / `pyproject.toml` / `Cargo.toml` / etc. (auto-detected)
|
|
45
|
+
|
|
46
|
+
**Preconditions:**
|
|
47
|
+
- Current milestone must be completed (audit PASS + `/maestro-milestone-complete` run)
|
|
48
|
+
- Working tree must be clean (no uncommitted changes) unless `--dry-run`
|
|
49
|
+
</context>
|
|
50
|
+
|
|
51
|
+
<interview_protocol>
|
|
52
|
+
Follows @~/.maestro/workflows/interview-mechanics.md standard.
|
|
53
|
+
|
|
54
|
+
**Decision points**: version bump type (major / minor / patch / custom), changelog review and confirmation
|
|
55
|
+
**Scope guard**: only release decisions; do not prejudge next milestone scope
|
|
56
|
+
</interview_protocol>
|
|
57
|
+
|
|
58
|
+
<execution>
|
|
59
|
+
Follow '~/.maestro/workflows/milestone-release.md' completely.
|
|
60
|
+
|
|
61
|
+
### Phase Gates (MANDATORY, BLOCKING)
|
|
62
|
+
|
|
63
|
+
**GATE 1: Validation → Version Bump**
|
|
64
|
+
- REQUIRED: Current milestone completed (audit PASS + milestone-complete run). E001 if not.
|
|
65
|
+
- REQUIRED: Working tree clean (no uncommitted changes). E003 if dirty.
|
|
66
|
+
|
|
67
|
+
**GATE 2: Version Bump → Changelog**
|
|
68
|
+
- REQUIRED: Target version computed and greater than previous (E005 if not).
|
|
69
|
+
- REQUIRED: Version manifest file(s) identified and accessible.
|
|
70
|
+
|
|
71
|
+
**GATE 3: Changelog → Tag/Push**
|
|
72
|
+
- REQUIRED: CHANGELOG.md entry written with milestone summary + grouped changes.
|
|
73
|
+
- REQUIRED: Release commit created with conventional message.
|
|
74
|
+
|
|
75
|
+
**GATE 4: Tag → Completion**
|
|
76
|
+
- REQUIRED: Annotated git tag created (unless --no-tag).
|
|
77
|
+
- REQUIRED: state.json updated with last_release_version + last_release_at.
|
|
78
|
+
|
|
79
|
+
For `--dry-run`: print computed version, changelog diff, and tag name without side effects.
|
|
80
|
+
</execution>
|
|
81
|
+
|
|
82
|
+
<completion>
|
|
83
|
+
### Standalone report
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
=== RELEASE COMPLETE ===
|
|
87
|
+
Version: v{previous} → v{new}
|
|
88
|
+
Milestone: {milestone_name}
|
|
89
|
+
Tag: v{new} {pushed|local-only}
|
|
90
|
+
Changelog: {N} entries written to CHANGELOG.md
|
|
91
|
+
Manifest: {file_path} updated
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Ralph-invoked completion
|
|
95
|
+
|
|
96
|
+
End the step by calling the CLI (no text block output):
|
|
97
|
+
```
|
|
98
|
+
maestro ralph complete <idx> --status {STATUS} [--evidence {path}]
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Status verdicts:
|
|
102
|
+
- **DONE** — Normal completion
|
|
103
|
+
- **DONE_WITH_CONCERNS** — Completed with caveats; pass `--concerns`
|
|
104
|
+
- **NEEDS_RETRY** — Tooling error / transient issue; ralph will retry
|
|
105
|
+
- **BLOCKED** — External hard blocker; pass `--reason`
|
|
106
|
+
|
|
107
|
+
### Next-step routing
|
|
108
|
+
|
|
109
|
+
| Condition | Suggestion |
|
|
110
|
+
|-----------|-----------|
|
|
111
|
+
| Release successful, starting next milestone | `/maestro-plan {next_phase}` |
|
|
112
|
+
| Want to view project dashboard | `/manage-status` |
|
|
113
|
+
</completion>
|
|
114
|
+
|
|
115
|
+
<error_codes>
|
|
116
|
+
| Code | Severity | Condition | Recovery |
|
|
117
|
+
|------|----------|-----------|----------|
|
|
118
|
+
| E001 | error | Current milestone not completed (no milestone-complete run) | Run `/maestro-milestone-complete` first |
|
|
119
|
+
| E002 | error | Audit verdict not PASS | Re-run `/maestro-milestone-audit` and resolve findings |
|
|
120
|
+
| E003 | error | Working tree not clean (uncommitted changes) | Commit or stash changes, then retry |
|
|
121
|
+
| E004 | error | Version manifest not found / unsupported | Add supported manifest or pass `<version>` explicitly with `--no-tag` |
|
|
122
|
+
| E005 | error | Target version not greater than current (would break semver monotonicity) | Choose a higher version or run with explicit `<version>` |
|
|
123
|
+
| W001 | warning | No changes detected since last release tag | Confirm whether release is still desired |
|
|
124
|
+
| W002 | warning | Remote push failed (network / auth) | Retry manually with `git push --follow-tags` |
|
|
125
|
+
</error_codes>
|
|
126
|
+
|
|
127
|
+
<success_criteria>
|
|
128
|
+
- [ ] Preconditions validated (milestone complete, audit PASS, clean tree)
|
|
129
|
+
- [ ] Target version computed and greater than previous
|
|
130
|
+
- [ ] Version manifest(s) updated with new version
|
|
131
|
+
- [ ] CHANGELOG.md contains new entry with milestone summary + grouped changes
|
|
132
|
+
- [ ] Release commit created with conventional message
|
|
133
|
+
- [ ] Annotated git tag created (unless `--no-tag`)
|
|
134
|
+
- [ ] Commit + tag pushed to remote (unless `--no-push` or push failed → W002)
|
|
135
|
+
- [ ] state.json updated with last_release_version + last_release_at timestamp
|
|
136
|
+
</success_criteria>
|