maestro-flow 0.4.11 → 0.4.13
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/.agents/agents/cli-explore-agent.md +1 -3
- package/.agents/agents/cross-role-reviewer.md +173 -0
- package/.agents/agents/role-design-author.md +220 -0
- package/.agents/agents/ui-design-agent.md +1 -18
- package/.agents/agents/workflow-analyzer.md +1 -1
- package/.agents/agents/workflow-external-researcher.md +1 -1
- package/.agents/skills/learn-decompose/SKILL.md +6 -6
- package/.agents/skills/learn-follow/SKILL.md +4 -4
- package/.agents/skills/learn-investigate/SKILL.md +6 -6
- package/.agents/skills/learn-retro/SKILL.md +7 -7
- package/.agents/skills/learn-second-opinion/SKILL.md +4 -4
- package/.agents/skills/maestro/SKILL.md +61 -27
- package/.agents/skills/maestro-amend/SKILL.md +1 -0
- package/.agents/skills/maestro-analyze/SKILL.md +37 -4
- package/.agents/skills/maestro-blueprint/SKILL.md +133 -0
- package/.agents/skills/maestro-brainstorm/SKILL.md +120 -103
- package/.agents/skills/maestro-fork/SKILL.md +1 -1
- package/.agents/skills/maestro-guard/SKILL.md +3 -2
- package/.agents/skills/maestro-help/SKILL.md +48 -14
- package/.agents/skills/maestro-help/index/catalog.json +29 -11
- package/.agents/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agents/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agents/skills/maestro-impeccable/SKILL.md +13 -11
- package/.agents/skills/maestro-init/SKILL.md +3 -3
- package/.agents/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agents/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agents/skills/maestro-milestone-release/SKILL.md +1 -1
- package/.agents/skills/maestro-plan/SKILL.md +16 -4
- package/.agents/skills/maestro-ralph/SKILL.md +297 -226
- package/.agents/skills/maestro-ralph-execute/SKILL.md +82 -67
- package/.agents/skills/maestro-roadmap/SKILL.md +43 -81
- package/.agents/skills/manage-harvest/SKILL.md +1 -0
- package/.agents/skills/manage-issue-discover/SKILL.md +1 -1
- package/.agents/skills/manage-knowhow/SKILL.md +1 -1
- package/.agents/skills/manage-learn/SKILL.md +4 -4
- package/.agents/skills/quality-auto-test/SKILL.md +6 -6
- package/.agents/skills/quality-refactor/SKILL.md +1 -1
- package/.agents/skills/quality-retrospective/SKILL.md +2 -2
- package/.agents/skills/security-audit/SKILL.md +24 -0
- package/.agents/skills/spec-remove/SKILL.md +6 -2
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.agy/agents/cli-explore-agent.md +1 -3
- package/.agy/agents/cross-role-reviewer.md +170 -0
- package/.agy/agents/role-design-author.md +217 -0
- package/.agy/agents/ui-design-agent.md +1 -18
- package/.agy/agents/workflow-analyzer.md +1 -1
- package/.agy/agents/workflow-external-researcher.md +1 -1
- package/.agy/skills/learn-decompose/SKILL.md +6 -6
- package/.agy/skills/learn-follow/SKILL.md +4 -4
- package/.agy/skills/learn-investigate/SKILL.md +6 -6
- package/.agy/skills/learn-retro/SKILL.md +7 -7
- package/.agy/skills/learn-second-opinion/SKILL.md +4 -4
- package/.agy/skills/maestro/SKILL.md +61 -27
- package/.agy/skills/maestro-amend/SKILL.md +1 -0
- package/.agy/skills/maestro-analyze/SKILL.md +37 -4
- package/.agy/skills/maestro-blueprint/SKILL.md +133 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +120 -103
- package/.agy/skills/maestro-fork/SKILL.md +1 -1
- package/.agy/skills/maestro-guard/SKILL.md +3 -2
- package/.agy/skills/maestro-help/SKILL.md +48 -14
- package/.agy/skills/maestro-help/index/catalog.json +29 -11
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.agy/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.agy/skills/maestro-impeccable/SKILL.md +13 -11
- package/.agy/skills/maestro-init/SKILL.md +3 -3
- package/.agy/skills/maestro-milestone-audit/SKILL.md +5 -3
- package/.agy/skills/maestro-milestone-complete/SKILL.md +7 -5
- package/.agy/skills/maestro-milestone-release/SKILL.md +1 -1
- package/.agy/skills/maestro-plan/SKILL.md +16 -4
- package/.agy/skills/maestro-ralph/SKILL.md +297 -226
- package/.agy/skills/maestro-ralph-execute/SKILL.md +82 -67
- package/.agy/skills/maestro-roadmap/SKILL.md +43 -81
- package/.agy/skills/manage-harvest/SKILL.md +1 -0
- package/.agy/skills/manage-issue-discover/SKILL.md +1 -1
- package/.agy/skills/manage-knowhow/SKILL.md +1 -1
- package/.agy/skills/manage-learn/SKILL.md +4 -4
- package/.agy/skills/quality-auto-test/SKILL.md +6 -6
- package/.agy/skills/quality-refactor/SKILL.md +1 -1
- package/.agy/skills/quality-retrospective/SKILL.md +2 -2
- package/.agy/skills/security-audit/SKILL.md +24 -0
- package/.agy/skills/spec-remove/SKILL.md +6 -2
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.claude/agents/cli-explore-agent.md +1 -3
- package/.claude/agents/cross-role-reviewer.md +171 -0
- package/.claude/agents/role-design-author.md +218 -0
- package/.claude/agents/ui-design-agent.md +1 -18
- package/.claude/agents/workflow-analyzer.md +1 -1
- package/.claude/agents/workflow-external-researcher.md +1 -1
- package/.claude/commands/learn-decompose.md +6 -6
- package/.claude/commands/learn-follow.md +4 -4
- package/.claude/commands/learn-investigate.md +6 -6
- package/.claude/commands/learn-retro.md +7 -7
- package/.claude/commands/learn-second-opinion.md +4 -4
- package/.claude/commands/maestro-amend.md +1 -0
- package/.claude/commands/maestro-analyze.md +37 -4
- package/.claude/commands/maestro-blueprint.md +131 -0
- package/.claude/commands/maestro-brainstorm.md +133 -116
- package/.claude/commands/maestro-fork.md +1 -1
- package/.claude/commands/maestro-guard.md +3 -2
- package/.claude/commands/maestro-impeccable.md +13 -11
- package/.claude/commands/maestro-init.md +3 -3
- package/.claude/commands/maestro-milestone-audit.md +5 -3
- package/.claude/commands/maestro-milestone-complete.md +7 -5
- package/.claude/commands/maestro-milestone-release.md +1 -1
- package/.claude/commands/maestro-plan.md +16 -4
- package/.claude/commands/maestro-ralph-execute.md +82 -67
- package/.claude/commands/maestro-ralph.md +297 -226
- package/.claude/commands/maestro-roadmap.md +43 -81
- package/.claude/commands/maestro.md +61 -27
- package/.claude/commands/manage-harvest.md +1 -0
- package/.claude/commands/manage-issue-discover.md +1 -1
- package/.claude/commands/manage-knowhow.md +1 -1
- package/.claude/commands/manage-learn.md +4 -4
- package/.claude/commands/quality-auto-test.md +6 -6
- package/.claude/commands/quality-refactor.md +1 -1
- package/.claude/commands/quality-retrospective.md +2 -2
- package/.claude/commands/security-audit.md +24 -0
- package/.claude/commands/spec-remove.md +6 -2
- package/.claude/skills/maestro-help/SKILL.md +48 -14
- package/.claude/skills/maestro-help/index/catalog.json +29 -11
- package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
- package/.claude/skills/maestro-help/phases/02-search-present.md +6 -4
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +60 -33
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/.codex/skills/learn-decompose/SKILL.md +4 -4
- package/.codex/skills/learn-follow/SKILL.md +3 -3
- package/.codex/skills/learn-investigate/SKILL.md +3 -3
- package/.codex/skills/learn-retro/SKILL.md +3 -3
- package/.codex/skills/learn-second-opinion/SKILL.md +3 -3
- package/.codex/skills/maestro/SKILL.md +75 -38
- package/.codex/skills/maestro-amend/SKILL.md +157 -0
- package/.codex/skills/maestro-analyze/SKILL.md +72 -23
- package/.codex/skills/maestro-blueprint/SKILL.md +123 -0
- package/.codex/skills/maestro-brainstorm/SKILL.md +277 -46
- package/.codex/skills/maestro-composer/SKILL.md +1 -1
- package/.codex/skills/maestro-execute/SKILL.md +13 -4
- package/.codex/skills/maestro-fork/SKILL.md +2 -0
- package/.codex/skills/maestro-guard/SKILL.md +3 -2
- package/.codex/skills/maestro-help/SKILL.md +28 -18
- package/.codex/skills/maestro-help/catalog.json +29 -11
- package/.codex/skills/maestro-impeccable/SKILL.md +13 -11
- package/.codex/skills/maestro-init/SKILL.md +7 -7
- package/.codex/skills/maestro-plan/SKILL.md +27 -9
- package/.codex/skills/maestro-ralph/SKILL.md +740 -601
- package/.codex/skills/maestro-roadmap/SKILL.md +56 -72
- package/.codex/skills/maestro-update/SKILL.md +169 -0
- package/.codex/skills/maestro-verify/SKILL.md +11 -2
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +9 -5
- package/.codex/skills/manage-harvest/SKILL.md +11 -3
- package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
- package/.codex/skills/manage-knowhow/SKILL.md +1 -1
- package/.codex/skills/manage-learn/SKILL.md +3 -3
- package/.codex/skills/quality-refactor/SKILL.md +2 -2
- package/.codex/skills/quality-retrospective/SKILL.md +12 -5
- package/.codex/skills/security-audit/SKILL.md +24 -0
- package/.codex/skills/spec-remove/SKILL.md +8 -2
- package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +2 -2
- package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +2 -2
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +3 -3
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +2 -2
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +13 -7
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +8 -1
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/tools/spec-init.d.ts +16 -2
- package/dist/src/tools/spec-init.d.ts.map +1 -1
- package/dist/src/tools/spec-init.js +58 -187
- package/dist/src/tools/spec-init.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +16 -16
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-seeds.d.ts +33 -0
- package/dist/src/tools/spec-seeds.d.ts.map +1 -0
- package/dist/src/tools/spec-seeds.js +200 -0
- package/dist/src/tools/spec-seeds.js.map +1 -0
- package/dist/src/tools/spec-writer.d.ts.map +1 -1
- package/dist/src/tools/spec-writer.js +7 -9
- package/dist/src/tools/spec-writer.js.map +1 -1
- package/dist/src/utils/update-notices.js +12 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +1 -1
- package/templates/business-test-report.json +1 -1
- package/templates/index.json +1 -1
- package/templates/roadmap.md +15 -9
- package/templates/state.json +18 -17
- package/workflows/agy-instructions.md +2 -0
- package/workflows/analyze.md +79 -11
- package/workflows/auto-test.md +12 -7
- package/workflows/blueprint.md +431 -0
- package/workflows/brainstorm.md +617 -496
- package/workflows/business-test.md +7 -7
- package/workflows/claude-instructions.md +2 -0
- package/workflows/codebase-rebuild.md +4 -4
- package/workflows/codex-instructions.md +16 -83
- package/workflows/debug.md +1 -1
- package/workflows/harvest.md +184 -10
- package/workflows/impeccable.md +2 -0
- package/workflows/init.md +9 -8
- package/workflows/issue-analyze.md +14 -100
- package/workflows/issue-discover.md +2 -3
- package/workflows/issue-execute.md +1 -1
- package/workflows/issue-gaps-analyze.md +2 -0
- package/workflows/learn.md +1 -1
- package/workflows/maestro-chain-execute.md +10 -228
- package/workflows/maestro.md +2 -1
- package/workflows/milestone-audit.md +12 -4
- package/workflows/milestone-complete.md +14 -9
- package/workflows/milestone-release.md +82 -0
- package/workflows/plan.md +91 -25
- package/workflows/retrospective.md +1 -1
- package/workflows/roadmap-common.md +1 -1
- package/workflows/roadmap.md +14 -4
- package/workflows/spec-generate.md +26 -13
- package/workflows/specs-add.md +6 -1
- package/workflows/specs-load.md +6 -1
- package/workflows/specs-setup.md +6 -1
- package/workflows/sync.md +13 -0
- package/workflows/tools-spec.md +4 -0
- package/workflows/ui-design.md +5 -5
- package/workflows/ui-style.md +1 -1
- package/workflows/wiki-manage.md +2 -0
- package/.agents/agents/conceptual-planning-agent.md +0 -247
- package/.agy/agents/conceptual-planning-agent.md +0 -244
- package/.claude/agents/conceptual-planning-agent.md +0 -245
|
@@ -47,7 +47,7 @@ Single source of truth: **[index/catalog.json](index/catalog.json)**
|
|
|
47
47
|
|
|
48
48
|
| Field | Purpose |
|
|
49
49
|
|-------|---------|
|
|
50
|
-
| `commands[]` |
|
|
50
|
+
| `commands[]` | 56 个 slash 命令,含分类和描述 |
|
|
51
51
|
| `skills[]` | 10 个 Skill,含分类和描述 |
|
|
52
52
|
| `agents[]` | 22 个 Agent,含分类和描述 |
|
|
53
53
|
| `cli_commands[]` | 21 个终端命令 |
|
|
@@ -175,24 +175,25 @@ $ARGUMENTS → Parse:
|
|
|
175
175
|
|
|
176
176
|
## Command Catalog Quick Reference
|
|
177
177
|
|
|
178
|
-
###
|
|
178
|
+
### 上游起源 + 核心 (core)
|
|
179
179
|
|
|
180
180
|
| 命令 | 用途 |
|
|
181
181
|
|------|------|
|
|
182
182
|
| `/maestro` | 智能协调器,自动路由 |
|
|
183
183
|
| `/maestro-init` | 项目初始化 |
|
|
184
|
-
| `/maestro-
|
|
184
|
+
| `/maestro-brainstorm` | 头脑风暴 — 发散探索,多角色创意 |
|
|
185
|
+
| `/maestro-blueprint` | 正式规格文档化 — 7-phase 收敛规格链 |
|
|
186
|
+
| `/maestro-roadmap` | 路线图编排 — 消费上游 context,纯 Milestone > Phase 分解 |
|
|
185
187
|
| `/maestro-quick` | 快速任务 |
|
|
186
|
-
| `/maestro-brainstorm` | 头脑风暴 |
|
|
187
188
|
| `/maestro-overlay` | Overlay 管理 |
|
|
188
189
|
| `/maestro-amend` | 修正补丁 |
|
|
189
190
|
|
|
190
|
-
###
|
|
191
|
+
### 理解层 + 执行管线 (pipeline)
|
|
191
192
|
|
|
192
193
|
| 命令 | 用途 |
|
|
193
194
|
|------|------|
|
|
194
|
-
| `/maestro-analyze` |
|
|
195
|
-
| `/maestro-plan` | 任务规划 |
|
|
195
|
+
| `/maestro-analyze` | 双层分析 — 宏观(文本参数)探索影响面 / 微观(数字参数)Phase 级深入 |
|
|
196
|
+
| `/maestro-plan` | 任务规划 — 支持 `--from analyze:ANL-xxx` 直达 |
|
|
196
197
|
| `/maestro-execute` | 任务执行 |
|
|
197
198
|
| `/maestro-verify` | 验证确认 |
|
|
198
199
|
|
|
@@ -220,11 +221,44 @@ $ARGUMENTS → Parse:
|
|
|
220
221
|
|
|
221
222
|
## Workflow Mapping
|
|
222
223
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
224
|
+
### 层级模型
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
Roadmap > Milestone > Phase > Task
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
- **Roadmap** = 项目级常驻规划文档
|
|
231
|
+
- **Milestone** = 可独立交付的版本节点(v0.1.0-rc1, v0.2.0)
|
|
232
|
+
- **Phase** = Milestone 内的同步屏障执行阶段
|
|
233
|
+
- **Task** = Phase 内的具体代码修改单元(wave DAG 管理并行)
|
|
234
|
+
|
|
235
|
+
### 命令拓扑
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
上游起源层(并列,可选)
|
|
239
|
+
brainstorm(发散/轻量) | blueprint(收敛/重型)
|
|
240
|
+
|
|
241
|
+
理解层
|
|
242
|
+
analyze 双层: 宏观(文本参数) → scope_verdict | 微观(数字参数) → Phase 级决策
|
|
243
|
+
|
|
244
|
+
编排层(可选)
|
|
245
|
+
roadmap — 消费上游 context,纯 Milestone > Phase 分解
|
|
246
|
+
|
|
247
|
+
执行层
|
|
248
|
+
plan → execute → verify
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### 合法路径
|
|
252
|
+
|
|
253
|
+
| 路径 | 场景 | 命令序列 |
|
|
254
|
+
|------|------|---------|
|
|
255
|
+
| Path A | 完整新项目 | `brainstorm` → `blueprint`(可选) → `analyze "topic"` → `roadmap` → `analyze 1` → `plan 1` → `execute` → `verify` |
|
|
256
|
+
| Path B | 旧项目大功能 | `analyze "feature X"` → `roadmap` → `analyze 1` → `plan 1` → `execute` → `verify` |
|
|
257
|
+
| Path C | 中等功能 | `analyze "feature X"` → `plan --from analyze:ANL-xxx` → `execute` → `verify` |
|
|
258
|
+
| Path D | 小改动 | `plan "fix auth bug"` → `execute` → `verify` |
|
|
259
|
+
| Path E | 纯规格文档 | `blueprint "project idea"` → (供人阅读) |
|
|
260
|
+
| Path F | 纯探索 | `brainstorm "idea"` → (供人决策) |
|
|
261
|
+
| 快速修复 | 已知简单问题 | `/maestro-quick "修复描述"` |
|
|
228
262
|
| Bug 追踪 | Issue 闭环 | `/manage-issue-discover` → `/manage-issue create` → analyze/plan/execute → close |
|
|
229
263
|
| 全自动 | /maestro 入口 | `/maestro -y "任务描述"` |
|
|
230
264
|
| 代码审查 | 质量管线 | `/quality-review` → `/quality-auto-test` → `/quality-test` |
|
|
@@ -256,9 +290,9 @@ $ARGUMENTS → Parse:
|
|
|
256
290
|
|
|
257
291
|
## Statistics
|
|
258
292
|
|
|
259
|
-
- **Slash 命令**:
|
|
293
|
+
- **Slash 命令**: 56 个(7 个分类)
|
|
260
294
|
- **CLI 命令**: 21 个
|
|
261
295
|
- **Skills**: 10 个(3 个分类)
|
|
262
296
|
- **Agents**: 22 个(5 个分类)
|
|
263
297
|
- **Guide 文档**: 17 个
|
|
264
|
-
-
|
|
298
|
+
- **工作流路径**: 6 个合法路径 (Path A-F) + 3 个辅助流程
|
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
"commands": [
|
|
8
8
|
{"name": "maestro", "command": "/maestro", "category": "core", "description": "智能协调器 — 根据意图和项目状态自动选择最优命令链", "source": "../../commands/maestro.md"},
|
|
9
9
|
{"name": "maestro-init", "command": "/maestro-init", "category": "core", "description": "项目初始化 — 创建 .workflow/ 目录结构和状态文件", "source": "../../commands/maestro-init.md"},
|
|
10
|
-
{"name": "maestro-roadmap", "command": "/maestro-roadmap", "category": "core", "description": "
|
|
11
|
-
{"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "
|
|
12
|
-
{"name": "maestro-
|
|
13
|
-
{"name": "maestro-
|
|
10
|
+
{"name": "maestro-roadmap", "command": "/maestro-roadmap", "category": "core", "description": "路线图编排 — 消费上游 context,纯 Milestone > Phase 分解(不做技术探索)", "source": "../../commands/maestro-roadmap.md"},
|
|
11
|
+
{"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "头脑风暴 — 发散探索,多角色创意,上游起源命令", "source": "../../commands/maestro-brainstorm.md"},
|
|
12
|
+
{"name": "maestro-blueprint", "command": "/maestro-blueprint", "category": "core", "description": "正式规格文档化 — 7-phase 收敛规格链,上游起源命令,产出 .workflow/blueprint/", "source": "../../commands/maestro-blueprint.md"},
|
|
13
|
+
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "双层分析 — 宏观(文本参数)探索影响面+scope_verdict / 微观(数字参数)Phase 级深入", "source": "../../commands/maestro-analyze.md"},
|
|
14
|
+
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 支持 --from analyze:ANL-xxx 直达、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
14
15
|
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
15
16
|
{"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
|
|
16
17
|
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
@@ -149,16 +150,33 @@
|
|
|
149
150
|
"essential_commands": [
|
|
150
151
|
"/maestro",
|
|
151
152
|
"/maestro-init",
|
|
152
|
-
"/maestro-
|
|
153
|
+
"/maestro-brainstorm",
|
|
154
|
+
"/maestro-blueprint",
|
|
153
155
|
"/maestro-analyze",
|
|
156
|
+
"/maestro-roadmap",
|
|
154
157
|
"/maestro-plan",
|
|
155
158
|
"/maestro-execute",
|
|
156
159
|
"/maestro-verify",
|
|
157
|
-
"/maestro-quick"
|
|
158
|
-
"/quality-review",
|
|
159
|
-
"/manage-issue"
|
|
160
|
+
"/maestro-quick"
|
|
160
161
|
],
|
|
161
162
|
"workflows": {
|
|
163
|
+
"topology": {
|
|
164
|
+
"hierarchy": "Roadmap > Milestone > Phase > Task",
|
|
165
|
+
"layers": {
|
|
166
|
+
"upstream_origin": ["brainstorm (发散/轻量)", "blueprint (收敛/重型)"],
|
|
167
|
+
"understanding": "analyze 双层: 宏观(文本参数) + 微观(数字参数)",
|
|
168
|
+
"orchestration": "roadmap (可选,消费上游 context)",
|
|
169
|
+
"execution": ["plan", "execute", "verify"]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"paths": {
|
|
173
|
+
"A_full_project": "brainstorm → blueprint(可选) → analyze 宏观 → roadmap → analyze 微观 → plan → execute → verify",
|
|
174
|
+
"B_large_feature": "analyze 宏观 → roadmap → analyze 微观 → plan → execute → verify",
|
|
175
|
+
"C_medium_feature": "analyze 宏观 → plan --from analyze:ANL-xxx → execute → verify",
|
|
176
|
+
"D_small_fix": "plan → execute → verify",
|
|
177
|
+
"E_spec_only": "blueprint → (供人阅读)",
|
|
178
|
+
"F_explore_only": "brainstorm → (供人决策)"
|
|
179
|
+
},
|
|
162
180
|
"main_pipeline": {
|
|
163
181
|
"name": "主干管线",
|
|
164
182
|
"phases": ["analyze", "plan", "execute", "verify"],
|
|
@@ -176,9 +194,9 @@
|
|
|
176
194
|
},
|
|
177
195
|
"init_paths": {
|
|
178
196
|
"name": "初始化路径",
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
197
|
+
"from_brainstorm": "/maestro-brainstorm → /maestro-init --from brainstorm:<id> → /maestro-analyze 宏观",
|
|
198
|
+
"from_blueprint": "/maestro-blueprint → /maestro-init → /maestro-analyze 宏观",
|
|
199
|
+
"direct": "/maestro-init → /maestro-analyze 宏观"
|
|
182
200
|
}
|
|
183
201
|
}
|
|
184
202
|
}
|
|
@@ -59,7 +59,7 @@ const commandPrefixes = ["/", "maestro-", "manage-", "quality-", "spec-", "learn
|
|
|
59
59
|
// Known command names from catalog (without prefix)
|
|
60
60
|
const knownCommands = [
|
|
61
61
|
"maestro", "analyze", "plan", "execute", "verify", "init", "roadmap",
|
|
62
|
-
"brainstorm", "quick", "overlay", "amend", "fork", "merge", "collab",
|
|
62
|
+
"brainstorm", "blueprint", "quick", "overlay", "amend", "fork", "merge", "collab",
|
|
63
63
|
"milestone-audit", "milestone-complete", "milestone-release",
|
|
64
64
|
"composer", "player", "ralph", "ralph-execute", "learn",
|
|
65
65
|
"impeccable", "ui-codify", "update",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
| 命令 | Guide 文档 |
|
|
71
71
|
|------|-----------|
|
|
72
72
|
| maestro-analyze/plan/execute/verify | `guide/command-usage-guide.md` (主干管线) |
|
|
73
|
-
| maestro-init/roadmap | `guide/quick-start-guide.md` |
|
|
73
|
+
| maestro-init/roadmap/blueprint | `guide/quick-start-guide.md` |
|
|
74
74
|
| maestro-ralph | `guide/maestro-ralph-guide.md` |
|
|
75
75
|
| maestro (协调器) | `guide/maestro-coordinator-guide.md` |
|
|
76
76
|
| manage-* | `guide/command-usage-guide.md` (管理) |
|
|
@@ -91,9 +91,11 @@
|
|
|
91
91
|
| 当前状态 | 推荐命令 | 原因 |
|
|
92
92
|
|---------|---------|------|
|
|
93
93
|
| 无 .workflow/ | `/maestro-init` | 项目未初始化,需要先创建工作区 |
|
|
94
|
-
| init
|
|
95
|
-
|
|
|
96
|
-
| analyze
|
|
94
|
+
| init 完成,无上游 context | `/maestro-brainstorm` 或 `/maestro-analyze "topic"` | 先探索再规划;brainstorm 用于发散,analyze 宏观用于代码库分析 |
|
|
95
|
+
| analyze 完成,scope_verdict=large | `/maestro-roadmap --from analyze:ANL-xxx` | 大范围需求,需要 Milestone > Phase 分解 |
|
|
96
|
+
| analyze 完成,scope_verdict=medium/small | `/maestro-plan --from analyze:ANL-xxx` | 跳过 roadmap,直接规划(Path C) |
|
|
97
|
+
| roadmap 完成,phase=pending | `/maestro-analyze 1` | 微观分析:Phase 级深入探索 |
|
|
98
|
+
| analyze (微观) 完成 | `/maestro-plan 1` | Phase 级规划 |
|
|
97
99
|
| plan 完成 | `/maestro-execute` | 规划完成,开始执行 |
|
|
98
100
|
| execute 完成 | `/maestro-verify` | 执行完成,验证成果 |
|
|
99
101
|
| verify 有 gaps | `/maestro-analyze --gaps` | 发现差距,重新分析 |
|
|
@@ -33,36 +33,46 @@ const taskPatterns = [
|
|
|
33
33
|
|
|
34
34
|
#### Step 4.2: 推荐工作流
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
**新项目 — Path A** (复杂度: 高):
|
|
37
37
|
|
|
38
38
|
```markdown
|
|
39
39
|
## 新项目工作流
|
|
40
40
|
|
|
41
|
-
### 路径
|
|
42
|
-
1. `/maestro-
|
|
43
|
-
2. `/maestro-
|
|
44
|
-
3.
|
|
41
|
+
### 路径 A: 完整新项目
|
|
42
|
+
1. `/maestro-brainstorm "项目描述"` — 发散探索,多角色创意
|
|
43
|
+
2. `/maestro-blueprint` — (可选) 7-phase 正式规格文档化
|
|
44
|
+
3. `/maestro-init --from brainstorm:ID`
|
|
45
|
+
4. `/maestro-analyze "topic"` — 宏观分析,探索影响面 → scope_verdict
|
|
46
|
+
5. `/maestro-roadmap --from analyze:ANL-xxx` — 纯编排,Milestone > Phase 分解
|
|
47
|
+
6. `/maestro-analyze 1` — 微观分析,Phase 级深入
|
|
48
|
+
7. `/maestro-plan 1` → `/maestro-execute` → `/maestro-verify`
|
|
45
49
|
|
|
46
|
-
### 路径
|
|
47
|
-
1. `/maestro-
|
|
48
|
-
2. `/maestro-init --from-brainstorm ANL-xxx` — 基于分析初始化
|
|
49
|
-
3. `/maestro-roadmap "创建路线图" -y`
|
|
50
|
+
### 路径 E: 纯规格文档(不进执行链)
|
|
51
|
+
1. `/maestro-blueprint "project idea"` — 供人阅读和决策
|
|
50
52
|
|
|
51
|
-
### 路径
|
|
52
|
-
1. `/maestro-
|
|
53
|
-
2. `/maestro-spec-generate` — 7 阶段规范生成
|
|
53
|
+
### 路径 F: 纯探索(不进执行链)
|
|
54
|
+
1. `/maestro-brainstorm "idea"` — 供人决策
|
|
54
55
|
```
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
**旧项目大功能 — Path B** (复杂度: 高):
|
|
57
58
|
|
|
58
59
|
```markdown
|
|
59
|
-
##
|
|
60
|
+
## 旧项目大功能工作流
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=large
|
|
63
|
+
2. `/maestro-roadmap --from analyze:ANL-xxx` — Milestone > Phase 分解
|
|
64
|
+
3. `/maestro-analyze 1` — 微观分析
|
|
65
|
+
4. `/maestro-plan 1` → `/maestro-execute` → `/maestro-verify`
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**中等功能 — Path C** (复杂度: 中,跳过 roadmap):
|
|
69
|
+
|
|
70
|
+
```markdown
|
|
71
|
+
## 中等功能工作流
|
|
72
|
+
|
|
73
|
+
1. `/maestro-analyze "feature X"` — 宏观分析 → scope_verdict=medium
|
|
74
|
+
2. `/maestro-plan --from analyze:ANL-xxx` — 直达规划,跳过 roadmap
|
|
75
|
+
3. `/maestro-execute` → `/maestro-verify`
|
|
66
76
|
|
|
67
77
|
### 快速渠道(简单功能)
|
|
68
78
|
1. `/maestro-quick "功能描述"` — 一键完成
|
|
@@ -71,13 +81,22 @@ const taskPatterns = [
|
|
|
71
81
|
1. `/maestro -y "功能描述"` — 自动选择并执行完整流程
|
|
72
82
|
```
|
|
73
83
|
|
|
74
|
-
**
|
|
84
|
+
**小改动 — Path D** (复杂度: 低):
|
|
75
85
|
|
|
76
86
|
```markdown
|
|
77
|
-
##
|
|
87
|
+
## 小改动工作流
|
|
88
|
+
|
|
89
|
+
1. `/maestro-plan "fix auth bug"` — 直接规划
|
|
90
|
+
2. `/maestro-execute` → `/maestro-verify`
|
|
78
91
|
|
|
79
92
|
### 快速修复(已知问题)
|
|
80
93
|
1. `/maestro-quick "修复 Bug 描述"`
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Bug 追踪** (Issue 闭环):
|
|
97
|
+
|
|
98
|
+
```markdown
|
|
99
|
+
## Bug 追踪工作流
|
|
81
100
|
|
|
82
101
|
### Issue 闭环(需要追踪)
|
|
83
102
|
1. `/manage-issue-discover by-prompt "问题描述"` — 发现 Issue
|
|
@@ -109,7 +128,10 @@ const taskPatterns = [
|
|
|
109
128
|
对需要全景视角的用户,展示 Mermaid 图:
|
|
110
129
|
|
|
111
130
|
```
|
|
112
|
-
|
|
131
|
+
上游起源: brainstorm(发散) | blueprint(收敛) → 可选
|
|
132
|
+
理解层: analyze "topic"(宏观) → scope_verdict 路由
|
|
133
|
+
编排层: roadmap(可选,仅 scope_verdict=large 时建议)
|
|
134
|
+
执行层: plan → execute → verify → quality → milestone-audit → milestone-complete
|
|
113
135
|
快速渠道: maestro-quick → (直接完成)
|
|
114
136
|
Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute → close
|
|
115
137
|
全自动: /maestro -y → (自动路由)
|
|
@@ -122,11 +144,16 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
122
144
|
```markdown
|
|
123
145
|
## 核心概念
|
|
124
146
|
|
|
125
|
-
- **
|
|
126
|
-
- **
|
|
147
|
+
- **Roadmap**: 项目级常驻规划文档,包含多个 Milestone
|
|
148
|
+
- **Milestone**: 可独立交付的版本节点(v0.1.0-rc1),包含多个 Phase
|
|
149
|
+
- **Phase**: Milestone 内的同步屏障执行阶段,走 analyze → plan → execute → verify 生命周期
|
|
150
|
+
- **Task**: Phase 内的具体代码修改单元(wave DAG 管理并行)
|
|
151
|
+
- **Blueprint**: 正式规格文档化命令(7-phase 收敛),与 brainstorm 并列作为上游起源
|
|
152
|
+
- **Analyze 双层**: 宏观(文本参数)探索影响面产出 scope_verdict;微观(数字参数)Phase 级深入分析
|
|
153
|
+
- **scope_verdict**: analyze 宏观完成后的路由建议 — large→roadmap, medium/small→直达 plan
|
|
127
154
|
- **Overlay**: 非侵入式命令补丁,扩展命令行为而不修改源文件
|
|
128
155
|
- **Delegate**: 将子任务委派给外部 AI 工具(Gemini/Claude/Codex)
|
|
129
|
-
- **Spec**:
|
|
156
|
+
- **Spec**: 项目约束规则(coding/arch/debug/test),自动注入到工作流
|
|
130
157
|
- **Wiki**: 知识图谱,存储详细技术文档
|
|
131
158
|
- **Ralph**: 自适应决策引擎,动态调整执行链
|
|
132
159
|
```
|
|
@@ -146,14 +173,14 @@ Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute
|
|
|
146
173
|
|---|------|------|---------|
|
|
147
174
|
| 1 | `/maestro` | 智能协调器 | 不确定用哪个命令时,告诉它你的目标 |
|
|
148
175
|
| 2 | `/maestro-init` | 初始化项目 | 首次使用,创建 .workflow/ 结构 |
|
|
149
|
-
| 3 | `/maestro-
|
|
150
|
-
| 4 | `/maestro-
|
|
151
|
-
| 5 | `/maestro-
|
|
152
|
-
| 6 | `/maestro-
|
|
153
|
-
| 7 | `/maestro-
|
|
154
|
-
| 8 | `/maestro-
|
|
155
|
-
| 9 | `/
|
|
156
|
-
| 10 | `/
|
|
176
|
+
| 3 | `/maestro-brainstorm` | 头脑风暴 | 新项目发散探索、多角色创意 |
|
|
177
|
+
| 4 | `/maestro-blueprint` | 规格文档化 | 正式 7-phase 收敛规格链 |
|
|
178
|
+
| 5 | `/maestro-analyze` | 双层分析 | 宏观: `"topic"` 探索影响面;微观: `1` Phase 级深入 |
|
|
179
|
+
| 6 | `/maestro-roadmap` | 路线图编排 | scope_verdict=large 时,Milestone > Phase 分解 |
|
|
180
|
+
| 7 | `/maestro-plan` | 规划 | 分析完成后生成执行计划,支持 `--from analyze:ANL-xxx` 直达 |
|
|
181
|
+
| 8 | `/maestro-execute` | 执行 | 计划完成后,执行实现 |
|
|
182
|
+
| 9 | `/maestro-verify` | 验证 | 执行完成后,检查成果 |
|
|
183
|
+
| 10 | `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
157
184
|
```
|
|
158
185
|
|
|
159
186
|
#### Step 5.2: 快速入门路径
|
|
@@ -77,7 +77,7 @@ After codebase exploration, scan results for context-aware trigger signals (base
|
|
|
77
77
|
|
|
78
78
|
## Phase 4: Context Packaging
|
|
79
79
|
|
|
80
|
-
1. Write
|
|
80
|
+
1. Write blueprint-config.json → <session>/spec/
|
|
81
81
|
2. Write discovery-context.json → <session>/spec/
|
|
82
82
|
3. Inline Discuss (DISCUSS-001):
|
|
83
83
|
- Artifact: <session>/spec/discovery-context.json
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
2. Load quality gate thresholds from specs/quality-gates.md
|
|
23
23
|
3. Score each dimension
|
|
24
24
|
4. Run cross-document validation
|
|
25
|
-
5. Generate readiness-report.md +
|
|
25
|
+
5. Generate readiness-report.md + blueprint-summary.md
|
|
26
26
|
6. Run DISCUSS-003:
|
|
27
27
|
- Artifact: <session>/spec/readiness-report.md
|
|
28
28
|
- Perspectives: product, technical, quality, risk, coverage
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
|
|
42
42
|
Write to <session>/artifacts/:
|
|
43
43
|
- readiness-report.md: Dimension scores, issue list, traceability matrix
|
|
44
|
-
-
|
|
44
|
+
- blueprint-summary.md: Executive summary of all spec docs
|
|
@@ -50,7 +50,7 @@ Template-driven document generation with progressive dependency loading.
|
|
|
50
50
|
|
|
51
51
|
### Inputs
|
|
52
52
|
- Template from routing table
|
|
53
|
-
-
|
|
53
|
+
- blueprint-config.json from <session>/spec/
|
|
54
54
|
- discovery-context.json from <session>/spec/
|
|
55
55
|
- Prior decisions from context_accumulator (inner loop)
|
|
56
56
|
- Discussion feedback from <session>/discussions/ (if exists)
|
|
@@ -32,7 +32,7 @@ status: draft
|
|
|
32
32
|
generated_at: {timestamp}
|
|
33
33
|
version: 1
|
|
34
34
|
dependencies:
|
|
35
|
-
- ../
|
|
35
|
+
- ../blueprint-config.json
|
|
36
36
|
- ../product-brief.md
|
|
37
37
|
- ../requirements/_index.md
|
|
38
38
|
---
|
|
@@ -246,9 +246,9 @@ date: {timestamp}
|
|
|
246
246
|
|
|
247
247
|
| Variable | Source | Description |
|
|
248
248
|
|----------|--------|-------------|
|
|
249
|
-
| `{session_id}` |
|
|
249
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
250
250
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
251
251
|
| `{product_name}` | product-brief.md | Product/feature name |
|
|
252
252
|
| `{NNN}` | Auto-increment | ADR/requirement number |
|
|
253
253
|
| `{slug}` | Auto-generated | Kebab-case from decision title |
|
|
254
|
-
| `{has_codebase}` |
|
|
254
|
+
| `{has_codebase}` | blueprint-config.json | Whether existing codebase exists |
|
|
@@ -32,7 +32,7 @@ status: draft
|
|
|
32
32
|
generated_at: {timestamp}
|
|
33
33
|
version: 1
|
|
34
34
|
dependencies:
|
|
35
|
-
- ../
|
|
35
|
+
- ../blueprint-config.json
|
|
36
36
|
- ../product-brief.md
|
|
37
37
|
- ../requirements/_index.md
|
|
38
38
|
- ../architecture/_index.md
|
|
@@ -187,7 +187,7 @@ status: draft
|
|
|
187
187
|
|
|
188
188
|
| Variable | Source | Description |
|
|
189
189
|
|----------|--------|-------------|
|
|
190
|
-
| `{session_id}` |
|
|
190
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
191
191
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
192
192
|
| `{product_name}` | product-brief.md | Product/feature name |
|
|
193
193
|
| `{EPIC}` | Auto-increment | Epic number (3 digits) |
|
|
@@ -23,7 +23,7 @@ generated_at: {timestamp}
|
|
|
23
23
|
stepsCompleted: []
|
|
24
24
|
version: 1
|
|
25
25
|
dependencies:
|
|
26
|
-
-
|
|
26
|
+
- blueprint-config.json
|
|
27
27
|
---
|
|
28
28
|
|
|
29
29
|
# Product Brief: {product_name}
|
|
@@ -117,7 +117,7 @@ dependencies:
|
|
|
117
117
|
|
|
118
118
|
## References
|
|
119
119
|
|
|
120
|
-
- Derived from: [
|
|
120
|
+
- Derived from: [blueprint-config.json](blueprint-config.json)
|
|
121
121
|
- Next: [Requirements PRD](requirements.md)
|
|
122
122
|
```
|
|
123
123
|
|
|
@@ -125,7 +125,7 @@ dependencies:
|
|
|
125
125
|
|
|
126
126
|
| Variable | Source | Description |
|
|
127
127
|
|----------|--------|-------------|
|
|
128
|
-
| `{session_id}` |
|
|
128
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
129
129
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
130
130
|
| `{product_name}` | Seed analysis | Product/feature name |
|
|
131
131
|
| `{executive_summary}` | CLI synthesis | 2-3 sentence summary |
|
|
@@ -36,7 +36,7 @@ status: draft
|
|
|
36
36
|
generated_at: {timestamp}
|
|
37
37
|
version: 1
|
|
38
38
|
dependencies:
|
|
39
|
-
- ../
|
|
39
|
+
- ../blueprint-config.json
|
|
40
40
|
- ../product-brief.md
|
|
41
41
|
---
|
|
42
42
|
|
|
@@ -215,7 +215,7 @@ status: draft
|
|
|
215
215
|
|
|
216
216
|
| Variable | Source | Description |
|
|
217
217
|
|----------|--------|-------------|
|
|
218
|
-
| `{session_id}` |
|
|
218
|
+
| `{session_id}` | blueprint-config.json | Session identifier |
|
|
219
219
|
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
220
220
|
| `{product_name}` | product-brief.md | Product/feature name |
|
|
221
221
|
| `{NNN}` | Auto-increment | Requirement number (zero-padded 3 digits) |
|
|
@@ -8,7 +8,7 @@ allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, AskUser
|
|
|
8
8
|
<purpose>
|
|
9
9
|
Systematic pattern extraction from code via CSV wave pipeline. 4 parallel dimension agents
|
|
10
10
|
scan a module, then a cross-reference agent deduplicates against existing patterns and
|
|
11
|
-
produces a catalog. Discovered patterns persist to
|
|
11
|
+
produces a catalog. Discovered patterns persist to `.workflow/specs/learnings.md` and optionally to
|
|
12
12
|
specs (via `spec-add`) and wiki.
|
|
13
13
|
|
|
14
14
|
```
|
|
@@ -50,7 +50,7 @@ $ARGUMENTS — target path/module and optional flags.
|
|
|
50
50
|
Parse flags from `$ARGUMENTS`: `-y`/`--yes`, `--patterns <list>`, `--save-spec`, `--save-wiki`, `--continue`, `-c N`.
|
|
51
51
|
Extract remaining text as target path/module.
|
|
52
52
|
|
|
53
|
-
Resolve target to file list. Load coding specs: `maestro spec load --category coding` for documented patterns and conventions. Load existing patterns from `coding-conventions.md` +
|
|
53
|
+
Resolve target to file list. Load coding specs: `maestro spec load --category coding` for documented patterns and conventions. Load existing patterns from `coding-conventions.md` + `.workflow/specs/learnings.md` for dedup set. Browse wiki: `maestro wiki list --category coding`, load relevant entries.
|
|
54
54
|
|
|
55
55
|
### Phase 2: Wave 1 — Parallel Dimension Scans
|
|
56
56
|
|
|
@@ -88,7 +88,7 @@ Single agent receives all wave 1 findings via `prev_context`. Tasks:
|
|
|
88
88
|
### Phase 4: Persist
|
|
89
89
|
|
|
90
90
|
1. Write `KNW-decompose-{slug}-{date}.md` with full catalog
|
|
91
|
-
2. Append each **new** pattern to
|
|
91
|
+
2. Append each **new** pattern to `.workflow/specs/learnings.md` (source: "decompose", category: "pattern")
|
|
92
92
|
3. If `--save-spec`: invoke `spec-add` per new pattern
|
|
93
93
|
4. If `--save-wiki`: create wiki note per dimension group
|
|
94
94
|
</execution>
|
|
@@ -108,6 +108,6 @@ Single agent receives all wave 1 findings via `prev_context`. Tasks:
|
|
|
108
108
|
- [ ] Each finding has: name, dimension, confidence, anchors, description
|
|
109
109
|
- [ ] Cross-reference performed (documented / known / new)
|
|
110
110
|
- [ ] Pattern catalog written to `KNW-decompose-{slug}-{date}.md`
|
|
111
|
-
- [ ] New patterns appended to
|
|
111
|
+
- [ ] New patterns appended to `.workflow/specs/learnings.md` with stable INS-ids
|
|
112
112
|
- [ ] If --save-spec / --save-wiki: entries created
|
|
113
113
|
</success_criteria>
|
|
@@ -8,7 +8,7 @@ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
|
8
8
|
<purpose>
|
|
9
9
|
Guided reading experience for code files, wiki entries, or topics. Walks through content
|
|
10
10
|
section by section using 4 forcing questions to extract patterns, identify assumptions,
|
|
11
|
-
and build a structured understanding map. Insights persist to
|
|
11
|
+
and build a structured understanding map. Insights persist to `.workflow/specs/learnings.md`.
|
|
12
12
|
|
|
13
13
|
Unlike `learn-decompose` which is parallel pattern extraction, this is sequential
|
|
14
14
|
deep reading that builds understanding incrementally.
|
|
@@ -57,7 +57,7 @@ Cross-reference against `coding-conventions.md`: documented vs undocumented patt
|
|
|
57
57
|
|
|
58
58
|
### Stage 5: Persist
|
|
59
59
|
1. Write `KNW-follow-{slug}-{date}.md` with understanding map
|
|
60
|
-
2. Append new patterns to
|
|
60
|
+
2. Append new patterns to `.workflow/specs/learnings.md` (source: "follow", stable INS-ids)
|
|
61
61
|
3. If `--save-wiki`: create wiki note entry
|
|
62
62
|
|
|
63
63
|
**Next steps:** `/learn-decompose <path>`, `/spec-add coding ...`, `/learn-second-opinion <file>`
|
|
@@ -79,5 +79,5 @@ Cross-reference against `coding-conventions.md`: documented vs undocumented patt
|
|
|
79
79
|
- [ ] Patterns extracted with file:line anchors
|
|
80
80
|
- [ ] Understanding map produced with concepts, patterns, assumptions, questions
|
|
81
81
|
- [ ] `KNW-follow-{slug}-{date}.md` written
|
|
82
|
-
- [ ]
|
|
82
|
+
- [ ] `.workflow/specs/learnings.md` appended with stable INS-ids
|
|
83
83
|
</success_criteria>
|
|
@@ -29,7 +29,7 @@ $ARGUMENTS — question text and optional flags.
|
|
|
29
29
|
### Stage 1: Frame the Question
|
|
30
30
|
- Parse question, generate slug, create investigation directory
|
|
31
31
|
- Load debug specs: `maestro spec load --category debug` for known issues and patterns
|
|
32
|
-
- Search prior knowledge: `maestro wiki list --category debug`, wiki search, grep specs/learnings.md
|
|
32
|
+
- Search prior knowledge: `maestro wiki list --category debug`, wiki search, grep .workflow/specs/learnings.md
|
|
33
33
|
- Write initial `understanding.md`
|
|
34
34
|
|
|
35
35
|
### Stage 2: Evidence Collection
|
|
@@ -55,7 +55,7 @@ If all hypotheses fail: broaden scope, search wiki with alt keywords, or mark IN
|
|
|
55
55
|
|
|
56
56
|
### Stage 5: Synthesize + Persist
|
|
57
57
|
1. Write `report.md` with answer, evidence trail, hypothesis results
|
|
58
|
-
2. Append to
|
|
58
|
+
2. Append to `.workflow/specs/learnings.md`:
|
|
59
59
|
- Confirmed → category: "technique" / "pattern"
|
|
60
60
|
- Disproved → category: "gotcha"
|
|
61
61
|
3. Display summary with next-step routing
|
|
@@ -79,6 +79,6 @@ If all hypotheses fail: broaden scope, search wiki with alt keywords, or mark IN
|
|
|
79
79
|
- [ ] At least 1 hypothesis formed and tested
|
|
80
80
|
- [ ] understanding.md tracks evolving understanding
|
|
81
81
|
- [ ] report.md written with answer and evidence trail
|
|
82
|
-
- [ ] Findings appended to specs/learnings.md with stable INS-ids
|
|
82
|
+
- [ ] Findings appended to .workflow/specs/learnings.md with stable INS-ids
|
|
83
83
|
- [ ] 3-strike escalation triggered if all hypotheses fail
|
|
84
84
|
</success_criteria>
|
|
@@ -41,7 +41,7 @@ $ARGUMENTS — lens selection and scope flags.
|
|
|
41
41
|
**Trend comparison** if prior `retro-*.json` exists.
|
|
42
42
|
|
|
43
43
|
### Phase 3: Decision Lens (skip if --lens git)
|
|
44
|
-
**3a: Collect decisions** from wiki, specs, git log, phase context, specs/learnings.md.
|
|
44
|
+
**3a: Collect decisions** from wiki, specs, git log, phase context, .workflow/specs/learnings.md.
|
|
45
45
|
**3b: Build decision registry** per decision (id, title, source, rationale, alternatives, evidence).
|
|
46
46
|
|
|
47
47
|
**3c: Multi-perspective evaluation** via spawn_agents_on_csv (3 parallel agents):
|
|
@@ -58,7 +58,7 @@ $ARGUMENTS — lens selection and scope flags.
|
|
|
58
58
|
Write `KNW-retro-{date}.md` + `KNW-retro-{date}.json` with metrics, sessions, hotspots, decision health, combined insights, recommended actions.
|
|
59
59
|
|
|
60
60
|
### Phase 5: Persist
|
|
61
|
-
Append insights to
|
|
61
|
+
Append insights to `.workflow/specs/learnings.md` (source: "retro-git" or "retro-decision"). Display summary.
|
|
62
62
|
|
|
63
63
|
**Next steps:** `/learn-follow <path>`, `/quality-auto-test <area>`, `/learn-investigate <question>`
|
|
64
64
|
</execution>
|
|
@@ -79,5 +79,5 @@ Append insights to `specs/learnings.md` (source: "retro-git" or "retro-decision"
|
|
|
79
79
|
- [ ] Git lens: metrics computed, sessions detected, hotspots identified
|
|
80
80
|
- [ ] Decision lens: decisions collected, 3 agents spawned in parallel, lifecycle classified
|
|
81
81
|
- [ ] Unified report written to KNW-retro-{date}.md + KNW-retro-{date}.json
|
|
82
|
-
- [ ] specs/learnings.md appended with insights (stable INS-ids)
|
|
82
|
+
- [ ] .workflow/specs/learnings.md appended with insights (stable INS-ids)
|
|
83
83
|
</success_criteria>
|
|
@@ -11,7 +11,7 @@ Structured second-opinion for code, decisions, or plans. Three modes:
|
|
|
11
11
|
- **challenge**: single adversarial agent via spawn_agents_on_csv (1 worker)
|
|
12
12
|
- **consult**: interactive Q&A (no CSV wave — direct orchestration)
|
|
13
13
|
|
|
14
|
-
Findings persist to
|
|
14
|
+
Findings persist to `.workflow/specs/learnings.md`. Decoupled from phase lifecycle.
|
|
15
15
|
</purpose>
|
|
16
16
|
|
|
17
17
|
<context>
|
|
@@ -62,7 +62,7 @@ Interactive loop via AskUserQuestion. Agent studies target, answers questions wi
|
|
|
62
62
|
|
|
63
63
|
### Phase 3: Persist
|
|
64
64
|
1. Write `KNW-opinion-{slug}-{date}.md` with per-persona findings + synthesis
|
|
65
|
-
2. Append non-trivial findings to
|
|
65
|
+
2. Append non-trivial findings to `.workflow/specs/learnings.md` (source: "second-opinion")
|
|
66
66
|
3. Display summary with verdict and next steps
|
|
67
67
|
|
|
68
68
|
**Next steps:** `/manage-issue create`, `/learn-decompose <path>`, `/learn-follow <path>`
|
|
@@ -82,5 +82,5 @@ Interactive loop via AskUserQuestion. Agent studies target, answers questions wi
|
|
|
82
82
|
- [ ] Mode executed: review (3 parallel agents), challenge (adversarial), or consult (interactive)
|
|
83
83
|
- [ ] Synthesis produced with agreements, disagreements, verdict
|
|
84
84
|
- [ ] Report written to `KNW-opinion-{slug}-{date}.md`
|
|
85
|
-
- [ ] Non-trivial findings appended to
|
|
85
|
+
- [ ] Non-trivial findings appended to `.workflow/specs/learnings.md`
|
|
86
86
|
</success_criteria>
|