maestro-flow 0.3.38 → 0.3.40
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/workflow-analyzer.md +2 -0
- package/.claude/agents/workflow-debugger.md +2 -0
- package/.claude/agents/workflow-executor.md +2 -0
- package/.claude/agents/workflow-integration-checker.md +1 -0
- package/.claude/agents/workflow-nyquist-auditor.md +1 -0
- package/.claude/agents/workflow-planner.md +2 -0
- package/.claude/agents/workflow-reviewer.md +2 -0
- package/.claude/agents/workflow-verifier.md +2 -0
- package/.claude/commands/learn-decompose.md +176 -176
- package/.claude/commands/learn-follow.md +167 -167
- package/.claude/commands/learn-investigate.md +221 -221
- package/.claude/commands/learn-retro.md +303 -303
- package/.claude/commands/learn-second-opinion.md +167 -167
- package/.claude/commands/maestro-amend.md +300 -300
- package/.claude/commands/maestro-analyze.md +130 -126
- package/.claude/commands/maestro-brainstorm.md +104 -100
- package/.claude/commands/maestro-composer.md +354 -354
- package/.claude/commands/maestro-execute.md +120 -114
- package/.claude/commands/maestro-fork.md +86 -86
- package/.claude/commands/maestro-init.md +78 -78
- package/.claude/commands/maestro-learn.md +140 -140
- package/.claude/commands/maestro-link-coordinate.md +1 -1
- package/.claude/commands/maestro-merge.md +61 -61
- package/.claude/commands/maestro-milestone-release.md +96 -96
- package/.claude/commands/maestro-overlay.md +178 -178
- package/.claude/commands/maestro-plan.md +154 -138
- package/.claude/commands/maestro-player.md +404 -404
- package/.claude/commands/maestro-quick.md +56 -56
- package/.claude/commands/maestro-ralph-execute.md +7 -18
- package/.claude/commands/maestro-ralph.md +48 -12
- package/.claude/commands/maestro-roadmap.md +1 -1
- package/.claude/commands/maestro-ui-design.md +93 -93
- package/.claude/commands/maestro-update.md +176 -176
- package/.claude/commands/maestro-verify.md +96 -90
- package/.claude/commands/maestro.md +121 -121
- package/.claude/commands/manage-codebase-rebuild.md +75 -75
- package/.claude/commands/manage-codebase-refresh.md +57 -57
- package/.claude/commands/manage-harvest.md +94 -94
- package/.claude/commands/manage-issue-discover.md +77 -77
- package/.claude/commands/manage-issue.md +73 -73
- package/.claude/commands/manage-knowhow-capture.md +193 -193
- package/.claude/commands/manage-knowhow.md +77 -77
- package/.claude/commands/manage-learn.md +67 -67
- package/.claude/commands/manage-status.md +51 -51
- package/.claude/commands/manage-wiki.md +62 -62
- package/.claude/commands/quality-auto-test.md +5 -1
- package/.claude/commands/quality-debug.md +125 -115
- package/.claude/commands/quality-refactor.md +55 -55
- package/.claude/commands/quality-retrospective.md +78 -78
- package/.claude/commands/quality-review.md +114 -108
- package/.claude/commands/quality-sync.md +51 -51
- package/.claude/commands/quality-test.md +107 -103
- package/.claude/commands/spec-add.md +49 -49
- package/.claude/commands/spec-load.md +51 -51
- package/.claude/commands/spec-remove.md +51 -51
- package/.claude/commands/spec-setup.md +51 -51
- package/.claude/commands/wiki-connect.md +62 -62
- package/.claude/commands/wiki-digest.md +69 -69
- package/.codex/skills/learn-decompose/SKILL.md +113 -113
- package/.codex/skills/learn-follow/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +83 -83
- package/.codex/skills/learn-retro/SKILL.md +83 -83
- package/.codex/skills/learn-second-opinion/SKILL.md +86 -86
- package/.codex/skills/maestro/SKILL.md +304 -304
- package/.codex/skills/maestro-analyze/SKILL.md +11 -3
- package/.codex/skills/maestro-brainstorm/SKILL.md +451 -397
- package/.codex/skills/maestro-composer/SKILL.md +213 -213
- package/.codex/skills/maestro-execute/SKILL.md +346 -318
- package/.codex/skills/maestro-fork/SKILL.md +56 -2
- package/.codex/skills/maestro-init/SKILL.md +40 -16
- package/.codex/skills/maestro-learn/SKILL.md +80 -80
- package/.codex/skills/maestro-link-coordinate/SKILL.md +257 -257
- package/.codex/skills/maestro-merge/SKILL.md +1 -1
- package/.codex/skills/maestro-milestone-audit/SKILL.md +1 -1
- package/.codex/skills/maestro-milestone-complete/SKILL.md +40 -9
- package/.codex/skills/maestro-milestone-release/SKILL.md +70 -70
- package/.codex/skills/maestro-overlay/SKILL.md +1 -1
- package/.codex/skills/maestro-plan/SKILL.md +29 -4
- package/.codex/skills/maestro-player/SKILL.md +323 -323
- package/.codex/skills/maestro-quick/SKILL.md +1 -1
- package/.codex/skills/maestro-ralph/SKILL.md +693 -578
- package/.codex/skills/maestro-roadmap/SKILL.md +518 -468
- package/.codex/skills/maestro-ui-design/SKILL.md +109 -12
- package/.codex/skills/maestro-verify/SKILL.md +27 -9
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +3 -2
- package/.codex/skills/manage-codebase-refresh/SKILL.md +1 -1
- package/.codex/skills/manage-harvest/SKILL.md +91 -91
- package/.codex/skills/manage-issue/SKILL.md +19 -6
- package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
- package/.codex/skills/manage-knowhow/SKILL.md +95 -95
- package/.codex/skills/manage-knowhow-capture/SKILL.md +110 -110
- package/.codex/skills/manage-learn/SKILL.md +1 -1
- package/.codex/skills/manage-status/SKILL.md +1 -1
- package/.codex/skills/manage-wiki/SKILL.md +55 -55
- package/.codex/skills/quality-auto-test/SKILL.md +553 -547
- package/.codex/skills/quality-debug/SKILL.md +345 -334
- package/.codex/skills/quality-refactor/SKILL.md +1 -1
- package/.codex/skills/quality-retrospective/SKILL.md +292 -292
- package/.codex/skills/quality-review/SKILL.md +365 -364
- package/.codex/skills/quality-sync/SKILL.md +1 -1
- package/.codex/skills/quality-test/SKILL.md +507 -498
- package/.codex/skills/spec-add/SKILL.md +101 -101
- package/.codex/skills/spec-load/SKILL.md +77 -77
- package/.codex/skills/spec-map/SKILL.md +1 -1
- package/.codex/skills/spec-remove/SKILL.md +69 -69
- package/.codex/skills/spec-setup/SKILL.md +1 -1
- package/.codex/skills/team-coordinate/SKILL.md +2 -1
- package/.codex/skills/team-executor/SKILL.md +116 -115
- package/.codex/skills/team-lifecycle-v4/SKILL.md +2 -1
- package/.codex/skills/team-lifecycle-v4/instructions/agent-instruction.md +14 -6
- package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +16 -4
- package/.codex/skills/team-lifecycle-v4/roles/executor/commands/implement.md +7 -1
- package/.codex/skills/team-lifecycle-v4/roles/planner/role.md +16 -4
- package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +8 -2
- package/.codex/skills/team-quality-assurance/SKILL.md +2 -1
- package/.codex/skills/team-quality-assurance/roles/scout/role.md +9 -2
- package/.codex/skills/team-review/SKILL.md +2 -1
- package/.codex/skills/team-review/roles/reviewer/role.md +10 -1
- package/.codex/skills/team-review/roles/scanner/role.md +10 -1
- package/.codex/skills/team-tech-debt/SKILL.md +144 -143
- package/.codex/skills/team-tech-debt/roles/executor/role.md +9 -5
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +10 -0
- package/.codex/skills/team-tech-debt/roles/validator/role.md +8 -2
- package/.codex/skills/team-testing/SKILL.md +2 -1
- package/.codex/skills/team-testing/roles/executor/role.md +8 -2
- package/.codex/skills/team-testing/roles/generator/role.md +8 -2
- package/.codex/skills/wiki-connect/SKILL.md +73 -73
- package/.codex/skills/wiki-digest/SKILL.md +87 -87
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +4 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js +6 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js.map +1 -1
- package/dashboard/dist-server/shared/agent-types.d.ts +2 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.d.ts +2 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.js +4 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.js.map +1 -1
- package/dashboard/dist-server/src/commands/delegate.d.ts +2 -0
- package/dashboard/dist-server/src/commands/delegate.js +18 -0
- package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
- package/dashboard/dist-server/src/config/cli-tools-config.d.ts +6 -0
- package/dashboard/dist-server/src/config/cli-tools-config.js +2 -0
- package/dashboard/dist-server/src/config/cli-tools-config.js.map +1 -1
- package/dist/shared/agent-types.d.ts +2 -0
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts +2 -0
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +4 -0
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/config.d.ts.map +1 -1
- package/dist/src/commands/config.js +29 -1
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/delegate.d.ts +2 -0
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +18 -0
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/launcher.d.ts.map +1 -1
- package/dist/src/commands/launcher.js +27 -4
- package/dist/src/commands/launcher.js.map +1 -1
- package/dist/src/config/cli-tools-config.d.ts +6 -0
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +2 -0
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/core/overlay/applier.d.ts.map +1 -1
- package/dist/src/core/overlay/applier.js +65 -5
- package/dist/src/core/overlay/applier.js.map +1 -1
- package/dist/src/core/overlay/loader.d.ts.map +1 -1
- package/dist/src/core/overlay/loader.js +9 -4
- package/dist/src/core/overlay/loader.js.map +1 -1
- package/dist/src/core/overlay/types.d.ts +2 -0
- package/dist/src/core/overlay/types.d.ts.map +1 -1
- package/dist/src/core/overlay/types.js +2 -0
- package/dist/src/core/overlay/types.js.map +1 -1
- package/dist/src/tui/tools-ui/ToolsDashboard.d.ts.map +1 -1
- package/dist/src/tui/tools-ui/ToolsDashboard.js +1 -1
- package/dist/src/tui/tools-ui/ToolsDashboard.js.map +1 -1
- package/dist/src/tui/tools-ui/ToolsOverview.d.ts.map +1 -1
- package/dist/src/tui/tools-ui/ToolsOverview.js +51 -4
- package/dist/src/tui/tools-ui/ToolsOverview.js.map +1 -1
- package/package.json +1 -1
- package/shared/agent-types.ts +2 -0
- package/workflows/analyze.md +24 -2
- package/workflows/auto-test.md +12 -0
- package/workflows/brainstorm.md +11 -1
- package/workflows/debug.md +13 -4
- package/workflows/delegate-protocol.codex.md +65 -0
- package/workflows/plan.md +14 -4
- package/workflows/test.md +10 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: maestro-milestone-release
|
|
3
|
-
description:
|
|
4
|
-
argument-hint: "[<version>] [--bump patch|minor|major] [--dry-run] [--no-tag] [--no-push]"
|
|
5
|
-
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<purpose>
|
|
9
|
-
Package a completed milestone into a releasable version. Bumps project version in manifest,
|
|
10
|
-
generates CHANGELOG.md entry from phase/milestone summaries and git log, creates annotated
|
|
11
|
-
git tag, optionally pushes to remote. Runs after `/maestro-milestone-complete`.
|
|
12
|
-
</purpose>
|
|
13
|
-
|
|
14
|
-
<required_reading>
|
|
15
|
-
@~/.maestro/workflows/milestone-release.md
|
|
16
|
-
</required_reading>
|
|
17
|
-
|
|
18
|
-
<context>
|
|
19
|
-
$ARGUMENTS — optional explicit version and flags.
|
|
20
|
-
|
|
21
|
-
**Flags:**
|
|
22
|
-
- `<version>` — Explicit version (e.g. `1.2.0`). If omitted, derived from `--bump`.
|
|
23
|
-
- `--bump patch|minor|major` — Semver bump (default: `minor`)
|
|
24
|
-
- `--dry-run` — Compute version + changelog without writing
|
|
25
|
-
- `--no-tag` — Skip git tag creation
|
|
26
|
-
- `--no-push` — Skip `git push --follow-tags`
|
|
27
|
-
|
|
28
|
-
**Preconditions:**
|
|
29
|
-
- Current milestone completed (audit PASS + milestone-complete run)
|
|
30
|
-
- Working tree clean (no uncommitted changes) unless `--dry-run`
|
|
31
|
-
</context>
|
|
32
|
-
|
|
33
|
-
<execution>
|
|
34
|
-
Follow '~/.maestro/workflows/milestone-release.md' completely.
|
|
35
|
-
|
|
36
|
-
**Flow:** Validate preconditions → Resolve version → Collect changes → Generate CHANGELOG →
|
|
37
|
-
Bump manifest → Commit → Tag → Push
|
|
38
|
-
|
|
39
|
-
**Report:**
|
|
40
|
-
```
|
|
41
|
-
=== RELEASE COMPLETE ===
|
|
42
|
-
Version: v{previous} → v{new}
|
|
43
|
-
Milestone: {name}
|
|
44
|
-
Tag: v{new} {pushed|local-only}
|
|
45
|
-
Changelog: {N} entries
|
|
46
|
-
```
|
|
47
|
-
</execution>
|
|
48
|
-
|
|
49
|
-
<error_codes>
|
|
50
|
-
| Code | Severity | Condition | Recovery |
|
|
51
|
-
|------|----------|-----------|----------|
|
|
52
|
-
| E001 | error | Milestone not completed | Run `$maestro-milestone-complete` first |
|
|
53
|
-
| E002 | error | Audit verdict not PASS | Re-run `$maestro-milestone-audit` |
|
|
54
|
-
| E003 | error | Working tree not clean | Commit or stash changes |
|
|
55
|
-
| E004 | error | Version manifest not found | Add manifest or pass explicit version |
|
|
56
|
-
| E005 | error | Version not greater than current | Choose higher version |
|
|
57
|
-
| W001 | warning | No changes since last tag | Confirm release is desired |
|
|
58
|
-
| W002 | warning | Remote push failed | Retry `git push --follow-tags` |
|
|
59
|
-
</error_codes>
|
|
60
|
-
|
|
61
|
-
<success_criteria>
|
|
62
|
-
- [ ] Preconditions validated
|
|
63
|
-
- [ ] Target version computed and greater than previous
|
|
64
|
-
- [ ] Version manifest(s) updated
|
|
65
|
-
- [ ] CHANGELOG.md entry with milestone summary + grouped changes
|
|
66
|
-
- [ ] Release commit created
|
|
67
|
-
- [ ] Annotated git tag created (unless --no-tag)
|
|
68
|
-
- [ ] Pushed to remote (unless --no-push)
|
|
69
|
-
- [ ] state.json updated with last_release_version
|
|
70
|
-
</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: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Package a completed milestone into a releasable version. Bumps project version in manifest,
|
|
10
|
+
generates CHANGELOG.md entry from phase/milestone summaries and git log, creates annotated
|
|
11
|
+
git tag, optionally pushes to remote. Runs after `/maestro-milestone-complete`.
|
|
12
|
+
</purpose>
|
|
13
|
+
|
|
14
|
+
<required_reading>
|
|
15
|
+
@~/.maestro/workflows/milestone-release.md
|
|
16
|
+
</required_reading>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
$ARGUMENTS — optional explicit version and flags.
|
|
20
|
+
|
|
21
|
+
**Flags:**
|
|
22
|
+
- `<version>` — Explicit version (e.g. `1.2.0`). If omitted, derived from `--bump`.
|
|
23
|
+
- `--bump patch|minor|major` — Semver bump (default: `minor`)
|
|
24
|
+
- `--dry-run` — Compute version + changelog without writing
|
|
25
|
+
- `--no-tag` — Skip git tag creation
|
|
26
|
+
- `--no-push` — Skip `git push --follow-tags`
|
|
27
|
+
|
|
28
|
+
**Preconditions:**
|
|
29
|
+
- Current milestone completed (audit PASS + milestone-complete run)
|
|
30
|
+
- Working tree clean (no uncommitted changes) unless `--dry-run`
|
|
31
|
+
</context>
|
|
32
|
+
|
|
33
|
+
<execution>
|
|
34
|
+
Follow '~/.maestro/workflows/milestone-release.md' completely.
|
|
35
|
+
|
|
36
|
+
**Flow:** Validate preconditions → Resolve version → Collect changes → Generate CHANGELOG →
|
|
37
|
+
Bump manifest → Commit → Tag → Push
|
|
38
|
+
|
|
39
|
+
**Report:**
|
|
40
|
+
```
|
|
41
|
+
=== RELEASE COMPLETE ===
|
|
42
|
+
Version: v{previous} → v{new}
|
|
43
|
+
Milestone: {name}
|
|
44
|
+
Tag: v{new} {pushed|local-only}
|
|
45
|
+
Changelog: {N} entries
|
|
46
|
+
```
|
|
47
|
+
</execution>
|
|
48
|
+
|
|
49
|
+
<error_codes>
|
|
50
|
+
| Code | Severity | Condition | Recovery |
|
|
51
|
+
|------|----------|-----------|----------|
|
|
52
|
+
| E001 | error | Milestone not completed | Run `$maestro-milestone-complete` first |
|
|
53
|
+
| E002 | error | Audit verdict not PASS | Re-run `$maestro-milestone-audit` |
|
|
54
|
+
| E003 | error | Working tree not clean | Commit or stash changes |
|
|
55
|
+
| E004 | error | Version manifest not found | Add manifest or pass explicit version |
|
|
56
|
+
| E005 | error | Version not greater than current | Choose higher version |
|
|
57
|
+
| W001 | warning | No changes since last tag | Confirm release is desired |
|
|
58
|
+
| W002 | warning | Remote push failed | Retry `git push --follow-tags` |
|
|
59
|
+
</error_codes>
|
|
60
|
+
|
|
61
|
+
<success_criteria>
|
|
62
|
+
- [ ] Preconditions validated
|
|
63
|
+
- [ ] Target version computed and greater than previous
|
|
64
|
+
- [ ] Version manifest(s) updated
|
|
65
|
+
- [ ] CHANGELOG.md entry with milestone summary + grouped changes
|
|
66
|
+
- [ ] Release commit created
|
|
67
|
+
- [ ] Annotated git tag created (unless --no-tag)
|
|
68
|
+
- [ ] Pushed to remote (unless --no-push)
|
|
69
|
+
- [ ] state.json updated with last_release_version
|
|
70
|
+
</success_criteria>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-overlay
|
|
3
|
-
description: Create or edit
|
|
3
|
+
description: Create or edit command overlays from natural language
|
|
4
4
|
argument-hint: "<intent> | --list | --remove <name>"
|
|
5
5
|
allowed-tools: Read, Write, Bash, Glob, Grep
|
|
6
6
|
---
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-plan
|
|
3
|
-
description:
|
|
3
|
+
description: Plan phase execution with exploration and verification
|
|
4
4
|
argument-hint: "[-y|--yes] [-c|--concurrency N] [--continue] \"<phase> [--dir <path>] [--gaps] [--spec SPEC-xxx] [--collab]\""
|
|
5
|
-
allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep,
|
|
5
|
+
allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<purpose>
|
|
@@ -46,6 +46,7 @@ Wave-based planning using `spawn_agents_on_csv`. Wave 1 explores codebase contex
|
|
|
46
46
|
| |
|
|
47
47
|
+---------------------------------------------------------------------------+
|
|
48
48
|
```
|
|
49
|
+
|
|
49
50
|
</purpose>
|
|
50
51
|
|
|
51
52
|
<context>
|
|
@@ -168,6 +169,20 @@ Each wave generates `wave-{N}.csv` with extra `prev_context` column.
|
|
|
168
169
|
// Create: sessionFolder, scratchDir/.task/
|
|
169
170
|
```
|
|
170
171
|
|
|
172
|
+
### Session Resume (`--continue`)
|
|
173
|
+
|
|
174
|
+
When `continueMode` is true:
|
|
175
|
+
1. Scan `.workflow/.csv-wave/` for directories matching `*-plan-*`
|
|
176
|
+
2. If `$ARGUMENTS` contains a session ID suffix, match it; otherwise use the most recent session
|
|
177
|
+
3. Read the session's `tasks.csv` to determine resume point:
|
|
178
|
+
- If all wave 1 tasks completed → skip to wave 2
|
|
179
|
+
- If wave 2 completed → skip to Phase 3 (plan checking)
|
|
180
|
+
- If Phase 3 incomplete → re-run plan checking
|
|
181
|
+
4. Re-use existing `sessionFolder` and `scratchDir` (do not create new ones)
|
|
182
|
+
5. Log: "Resuming session {sessionId} — skipping {N} completed tasks"
|
|
183
|
+
|
|
184
|
+
If no matching session found, list available sessions and abort.
|
|
185
|
+
|
|
171
186
|
### Phase 1: Phase Resolution -> CSV
|
|
172
187
|
|
|
173
188
|
**Objective**: Resolve phase, load context, determine exploration angles, generate tasks.csv.
|
|
@@ -259,7 +274,7 @@ ELSE:
|
|
|
259
274
|
spawn_agents_on_csv({
|
|
260
275
|
csv_path: `${sessionFolder}/wave-1.csv`,
|
|
261
276
|
id_column: "id",
|
|
262
|
-
instruction: buildExplorationInstruction(sessionFolder, phaseDir),
|
|
277
|
+
instruction: buildExplorationInstruction(sessionFolder, phaseDir), // agent: ~/.codex/agents/cli-explore-agent.toml
|
|
263
278
|
max_concurrency: maxConcurrency,
|
|
264
279
|
max_runtime_seconds: 3600,
|
|
265
280
|
output_csv_path: `${sessionFolder}/wave-1-results.csv`,
|
|
@@ -298,7 +313,7 @@ Include this ceiling in `buildPlanningInstruction`. If the planning agent output
|
|
|
298
313
|
spawn_agents_on_csv({
|
|
299
314
|
csv_path: `${sessionFolder}/wave-2.csv`,
|
|
300
315
|
id_column: "id",
|
|
301
|
-
instruction: buildPlanningInstruction(sessionFolder, phaseDir, {
|
|
316
|
+
instruction: buildPlanningInstruction(sessionFolder, phaseDir, { // agent: ~/.codex/agents/workflow-planner.toml
|
|
302
317
|
contextMd, indexJson, specRef, docIndex, designRef, gapsContext
|
|
303
318
|
}),
|
|
304
319
|
max_concurrency: 1, // Single planning agent
|
|
@@ -344,6 +359,12 @@ spawn_agents_on_csv({
|
|
|
344
359
|
1. **Plan checking** (inline, not a separate wave):
|
|
345
360
|
Read `plan.json` + all `.task/TASK-*.json`. Validate: requirements coverage, file feasibility, dependency correctness (no cycles, valid wave order), grep-verifiable convergence criteria, read_first completeness, action concreteness, no parallel file conflicts, **task count within complexity threshold** (reject over-split plans), **no per-file splitting** (each task must be feature-level).
|
|
346
361
|
|
|
362
|
+
1b. **Plan confidence scoring**:
|
|
363
|
+
|
|
364
|
+
Dimensions (5): requirements_coverage, task_quality, dependency_correctness, estimation_accuracy, collision_safety. Factors (weights): completeness(.30), specificity(.25), structural_validity(.20), user_validation(.15), consistency(.10). Add `confidence` section to `plan.json`.
|
|
365
|
+
|
|
366
|
+
**Readiness gate**: Block if requirements_coverage < 40% or any task missing read_first/convergence.criteria.
|
|
367
|
+
|
|
347
368
|
2. **Revision loop** (max 3 rounds): If critical issues found, regenerate affected tasks.
|
|
348
369
|
|
|
349
370
|
2b. **Spec Enrichment**: Persist cross-task reusable design decisions:
|
|
@@ -382,6 +403,7 @@ spawn_agents_on_csv({
|
|
|
382
403
|
Tasks: {task_count} tasks in {wave_count} waves
|
|
383
404
|
Check: {checker_status} (iteration {check_count}/{max_checks})
|
|
384
405
|
Collision: {collision_status}
|
|
406
|
+
Confidence: {overall}% (weakest: {dim})
|
|
385
407
|
|
|
386
408
|
Next steps:
|
|
387
409
|
$maestro-execute "{phase}" -- Execute the plan
|
|
@@ -449,6 +471,9 @@ echo '{"ts":"<ISO>","worker":"{id}","type":"existing_pattern","data":{"name":"Re
|
|
|
449
471
|
- [ ] plan.json produced in phase directory
|
|
450
472
|
- [ ] .task/TASK-*.json files produced for all tasks
|
|
451
473
|
- [ ] Plan passes quality checks (coverage, deps, criteria)
|
|
474
|
+
- [ ] Plan confidence scored with 5-dimension factor model
|
|
475
|
+
- [ ] Readiness gate checked before confirmation
|
|
476
|
+
- [ ] plan.json includes confidence section
|
|
452
477
|
- [ ] Collision detection executed against same-milestone plans
|
|
453
478
|
- [ ] PLN artifact registered in state.json
|
|
454
479
|
- [ ] context.md produced with exploration findings + plan overview
|