maestro-flow 0.3.23 → 0.3.25
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/cli-explore-agent.md +2 -2
- package/.claude/commands/learn-investigate.md +26 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js +32 -7
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js.map +1 -1
- package/dashboard/dist-server/src/agents/cli-agent-runner.d.ts +2 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.js +62 -4
- 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 +1 -0
- package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
- package/dashboard/dist-server/src/config/cli-tools-config.d.ts +4 -0
- package/dashboard/dist-server/src/config/cli-tools-config.js +22 -0
- package/dashboard/dist-server/src/config/cli-tools-config.js.map +1 -1
- package/dashboard/dist-server/src/config/paths.d.ts +1 -0
- package/dashboard/dist-server/src/config/paths.js +1 -0
- package/dashboard/dist-server/src/config/paths.js.map +1 -1
- package/dashboard/dist-server/src/tools/spec-entry-parser.d.ts +55 -0
- package/dashboard/dist-server/src/tools/spec-entry-parser.js +222 -0
- package/dashboard/dist-server/src/tools/spec-entry-parser.js.map +1 -0
- package/dashboard/dist-server/src/tools/spec-loader.d.ts +51 -0
- package/dashboard/dist-server/src/tools/spec-loader.js +267 -0
- package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -0
- 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 +62 -4
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/cli.js +2 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/config-ui/ConfigSourcesView.d.ts +6 -0
- package/dist/src/commands/config-ui/ConfigSourcesView.d.ts.map +1 -0
- package/dist/src/commands/config-ui/ConfigSourcesView.js +25 -0
- package/dist/src/commands/config-ui/ConfigSourcesView.js.map +1 -0
- package/dist/src/commands/config-ui/SkillConfigDashboard.d.ts +9 -0
- package/dist/src/commands/config-ui/SkillConfigDashboard.d.ts.map +1 -0
- package/dist/src/commands/config-ui/SkillConfigDashboard.js +64 -0
- package/dist/src/commands/config-ui/SkillConfigDashboard.js.map +1 -0
- package/dist/src/commands/config-ui/SkillParamEditor.d.ts +12 -0
- package/dist/src/commands/config-ui/SkillParamEditor.d.ts.map +1 -0
- package/dist/src/commands/config-ui/SkillParamEditor.js +162 -0
- package/dist/src/commands/config-ui/SkillParamEditor.js.map +1 -0
- package/dist/src/commands/config-ui/SkillsList.d.ts +12 -0
- package/dist/src/commands/config-ui/SkillsList.d.ts.map +1 -0
- package/dist/src/commands/config-ui/SkillsList.js +91 -0
- package/dist/src/commands/config-ui/SkillsList.js.map +1 -0
- package/dist/src/commands/config.d.ts +8 -0
- package/dist/src/commands/config.d.ts.map +1 -0
- package/dist/src/commands/config.js +172 -0
- package/dist/src/commands/config.js.map +1 -0
- 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 +1 -0
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +5 -0
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/config/argument-hint-parser.d.ts +49 -0
- package/dist/src/config/argument-hint-parser.d.ts.map +1 -0
- package/dist/src/config/argument-hint-parser.js +283 -0
- package/dist/src/config/argument-hint-parser.js.map +1 -0
- package/dist/src/config/cli-tools-config.d.ts +4 -0
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +22 -0
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/config/paths.d.ts +1 -0
- package/dist/src/config/paths.d.ts.map +1 -1
- package/dist/src/config/paths.js +1 -0
- package/dist/src/config/paths.js.map +1 -1
- package/dist/src/config/skill-config.d.ts +56 -0
- package/dist/src/config/skill-config.d.ts.map +1 -0
- package/dist/src/config/skill-config.js +188 -0
- package/dist/src/config/skill-config.js.map +1 -0
- package/dist/src/hooks/skill-context.d.ts +12 -2
- package/dist/src/hooks/skill-context.d.ts.map +1 -1
- package/dist/src/hooks/skill-context.js +126 -39
- package/dist/src/hooks/skill-context.js.map +1 -1
- package/package.json +1 -1
- package/templates/cli/protocols/analysis-protocol.md +121 -121
- package/templates/cli/protocols/write-protocol.md +138 -138
- package/workflows/debug.md +35 -0
- package/workflows/execute.md +23 -0
- package/workflows/milestone-audit.md +28 -0
- package/workflows/plan.md +17 -0
- package/workflows/review.md +46 -0
- package/workflows/test-gen.md +28 -0
- package/workflows/verify.md +38 -0
package/workflows/review.md
CHANGED
|
@@ -219,6 +219,52 @@ verdict:
|
|
|
219
219
|
|
|
220
220
|
---
|
|
221
221
|
|
|
222
|
+
## Step 6.5: CLI Supplementary Analysis (standard + deep only)
|
|
223
|
+
|
|
224
|
+
**Skip for quick level or if no enabled CLI tools.**
|
|
225
|
+
|
|
226
|
+
**Purpose:** Use external CLI tool as a second opinion on critical findings before deep-dive. The CLI analysis supplements (not replaces) the agent review — its results are merged into findings.
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
IF level == "quick" OR no CLI tools enabled: skip to Step 7
|
|
230
|
+
|
|
231
|
+
# Gather critical/high findings for CLI cross-check
|
|
232
|
+
cli_targets = all_findings.filter(f => f.severity in ["critical", "high"])
|
|
233
|
+
IF cli_targets.length == 0: skip to Step 7
|
|
234
|
+
|
|
235
|
+
# Build concise review prompt from findings
|
|
236
|
+
finding_summary = cli_targets.map(f => "${f.id}: [${f.severity}] ${f.file}:${f.line} — ${f.title}").join("\n")
|
|
237
|
+
|
|
238
|
+
Bash({
|
|
239
|
+
command: 'maestro delegate "PURPOSE: Cross-verify code review findings and identify missed issues
|
|
240
|
+
TASK: For each finding, verify severity is accurate | Check for false positives | Identify any critical issues missed by initial review in the same files
|
|
241
|
+
MODE: analysis
|
|
242
|
+
CONTEXT: @${review_files as glob pattern}
|
|
243
|
+
EXPECTED: JSON array of { finding_id, verified: bool, adjusted_severity?, missed_issues?: [{ severity, file, line, title, description }] }
|
|
244
|
+
CONSTRAINTS: Only report missed issues of severity high or above | Do not duplicate existing findings
|
|
245
|
+
|
|
246
|
+
Existing findings to verify:
|
|
247
|
+
${finding_summary}
|
|
248
|
+
" --role review --mode analysis',
|
|
249
|
+
run_in_background: true
|
|
250
|
+
})
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
**On callback:**
|
|
254
|
+
```
|
|
255
|
+
cli_result = maestro delegate output <id>
|
|
256
|
+
Parse JSON from cli_result
|
|
257
|
+
|
|
258
|
+
For each verified finding:
|
|
259
|
+
If adjusted_severity differs: update finding.severity, add finding.cli_note = "severity adjusted by CLI review"
|
|
260
|
+
For each missed_issue:
|
|
261
|
+
Append to all_findings with id: "CLI-{NNN}", source: "cli-supplementary"
|
|
262
|
+
|
|
263
|
+
Recalculate severity_dist after merge
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
222
268
|
## Step 7: Deep-Dive (Conditional)
|
|
223
269
|
|
|
224
270
|
**Skip entirely for quick level.**
|
package/workflows/test-gen.md
CHANGED
|
@@ -58,6 +58,34 @@ Apply --layer filter if set.
|
|
|
58
58
|
|
|
59
59
|
---
|
|
60
60
|
|
|
61
|
+
### Step 3.5: CLI Supplementary Test Analysis (optional)
|
|
62
|
+
|
|
63
|
+
**Purpose:** Use external CLI tool to analyze source code and suggest edge cases and boundary conditions that manual classification may miss.
|
|
64
|
+
|
|
65
|
+
**Skip if** no enabled CLI tools or classified files are all "skip".
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
IF no CLI tools enabled OR all files classified as "skip": skip to Step 4
|
|
69
|
+
|
|
70
|
+
# Build file list for analysis
|
|
71
|
+
target_files = unit + integration + e2e files, map to paths
|
|
72
|
+
|
|
73
|
+
Bash({
|
|
74
|
+
command: 'maestro delegate "PURPOSE: Analyze source files to identify test-worthy edge cases and boundary conditions
|
|
75
|
+
TASK: For each file, identify: error handling paths | boundary conditions | state transitions | external dependency interactions
|
|
76
|
+
MODE: analysis
|
|
77
|
+
CONTEXT: @${target_files as glob}
|
|
78
|
+
EXPECTED: JSON array of { file, edge_cases: [{ description, type: boundary|error|state|integration, priority: high|medium }] }
|
|
79
|
+
CONSTRAINTS: Only report non-obvious cases | Max 5 edge cases per file | Focus on untested paths
|
|
80
|
+
" --role analyze --mode analysis',
|
|
81
|
+
run_in_background: true
|
|
82
|
+
})
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**On callback:** Parse result, merge edge_cases into Step 4 test_cases for matching files. Mark CLI-suggested cases with `source: "cli-analysis"`.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
61
89
|
### Step 4: Generate Test Plan
|
|
62
90
|
|
|
63
91
|
For each gap + classified file, create a test entry:
|
package/workflows/verify.md
CHANGED
|
@@ -102,6 +102,44 @@ The `constraint_violations[]` array is included in the final `verification.json`
|
|
|
102
102
|
|
|
103
103
|
---
|
|
104
104
|
|
|
105
|
+
## V0.8: CLI Supplementary Verification (optional)
|
|
106
|
+
|
|
107
|
+
**Purpose:** Use external CLI tool for broad anti-pattern and completeness scan as a supplementary signal before structural verification. Results feed into V1 as pre-collected evidence.
|
|
108
|
+
|
|
109
|
+
**Skip if** no enabled CLI tools.
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
IF no CLI tools enabled: skip to V1
|
|
113
|
+
|
|
114
|
+
# Collect modified files list from task summaries
|
|
115
|
+
modified_files_list = modified_files.join(", ")
|
|
116
|
+
|
|
117
|
+
Bash({
|
|
118
|
+
command: 'maestro delegate "PURPOSE: Pre-verify code completeness and anti-patterns in modified files
|
|
119
|
+
TASK: Check for TODO/FIXME/HACK markers | Detect stub implementations (empty functions, placeholder returns) | Verify imports are used | Check for console.log/print debug statements left behind
|
|
120
|
+
MODE: analysis
|
|
121
|
+
CONTEXT: @${modified_files as glob pattern}
|
|
122
|
+
EXPECTED: JSON { anti_patterns: [{ type, file, line, description, severity }], completeness_flags: [{ file, issue, severity }] }
|
|
123
|
+
CONSTRAINTS: Only scan the listed modified files | severity = blocker|warning|info
|
|
124
|
+
" --role analyze --mode analysis',
|
|
125
|
+
run_in_background: true
|
|
126
|
+
})
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**On callback:**
|
|
130
|
+
```
|
|
131
|
+
cli_verify = maestro delegate output <id>
|
|
132
|
+
Parse JSON result
|
|
133
|
+
|
|
134
|
+
# Merge into constraint_violations for V3 aggregation
|
|
135
|
+
For each anti_pattern with severity == "blocker":
|
|
136
|
+
Append to constraint_violations as { id: "CLI-AP-{NNN}", type: "cli_anti_pattern", ... }
|
|
137
|
+
|
|
138
|
+
Pass cli_verify.completeness_flags as supplementary context to V1 verification
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
105
143
|
## V1: Goal-Backward Verification
|
|
106
144
|
|
|
107
145
|
**Purpose:** Verify execution results match phase goals through 3-layer structural checking.
|