maestro-flow 0.3.45 → 0.3.46

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.
Files changed (61) hide show
  1. package/.claude/commands/maestro-execute.md +2 -1
  2. package/.claude/commands/maestro-tools-register.md +28 -7
  3. package/.claude/commands/manage-knowhow-capture.md +10 -1
  4. package/.claude/commands/quality-debug.md +2 -1
  5. package/.claude/commands/quality-review.md +2 -1
  6. package/.claude/commands/quality-test.md +5 -0
  7. package/.claude/skills/maestro-help/SKILL.md +264 -0
  8. package/.claude/skills/maestro-help/index/catalog.json +182 -0
  9. package/.claude/skills/maestro-help/phases/01-parse-intent.md +122 -0
  10. package/.claude/skills/maestro-help/phases/02-search-present.md +181 -0
  11. package/.claude/skills/maestro-help/phases/03-workflow-guide.md +186 -0
  12. package/.codex/agents/team-supervisor.toml +40 -0
  13. package/.codex/agents/team-worker.toml +63 -0
  14. package/.codex/skills/maestro-brainstorm/SKILL.md +1 -1
  15. package/.codex/skills/maestro-execute/SKILL.md +1 -1
  16. package/.codex/skills/maestro-help/SKILL.md +213 -0
  17. package/.codex/skills/maestro-help/catalog.json +182 -0
  18. package/.codex/skills/maestro-roadmap/SKILL.md +1 -1
  19. package/.codex/skills/maestro-tools-register/SKILL.md +29 -7
  20. package/.codex/skills/manage-knowhow-capture/SKILL.md +18 -3
  21. package/.codex/skills/quality-debug/SKILL.md +2 -1
  22. package/.codex/skills/quality-review/SKILL.md +1 -1
  23. package/.codex/skills/quality-test/SKILL.md +11 -1
  24. package/dashboard/dist-server/dashboard/src/server/index.js +5 -3
  25. package/dashboard/dist-server/dashboard/src/server/index.js.map +1 -1
  26. package/dashboard/dist-server/dashboard/src/server/routes/board-state.integration.test.js +3 -3
  27. package/dashboard/dist-server/dashboard/src/server/routes/board-state.integration.test.js.map +1 -1
  28. package/dashboard/dist-server/dashboard/src/server/routes/index.js +14 -5
  29. package/dashboard/dist-server/dashboard/src/server/routes/index.js.map +1 -1
  30. package/dashboard/dist-server/dashboard/src/server/routes/maestro-coordinate.d.ts +2 -0
  31. package/dashboard/dist-server/dashboard/src/server/routes/maestro-coordinate.js +181 -0
  32. package/dashboard/dist-server/dashboard/src/server/routes/maestro-coordinate.js.map +1 -0
  33. package/dashboard/dist-server/dashboard/src/server/state/event-bus.d.ts +2 -0
  34. package/dashboard/dist-server/dashboard/src/server/state/event-bus.js +2 -0
  35. package/dashboard/dist-server/dashboard/src/server/state/event-bus.js.map +1 -1
  36. package/dashboard/dist-server/dashboard/src/server/state/fs-watcher.d.ts +2 -0
  37. package/dashboard/dist-server/dashboard/src/server/state/fs-watcher.js +58 -0
  38. package/dashboard/dist-server/dashboard/src/server/state/fs-watcher.js.map +1 -1
  39. package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.d.ts +7 -2
  40. package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.js +7 -1
  41. package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.js.map +1 -1
  42. package/dashboard/dist-server/dashboard/src/shared/constants.js +7 -9
  43. package/dashboard/dist-server/dashboard/src/shared/constants.js.map +1 -1
  44. package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.d.ts +113 -0
  45. package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.js +6 -0
  46. package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.js.map +1 -0
  47. package/dashboard/dist-server/dashboard/src/shared/types.d.ts +4 -3
  48. package/dashboard/dist-server/dashboard/src/shared/ws-protocol.d.ts +1 -1
  49. package/dashboard/dist-server/dashboard/src/shared/ws-protocol.js.map +1 -1
  50. package/dist/src/commands/knowhow.d.ts.map +1 -1
  51. package/dist/src/commands/knowhow.js +7 -4
  52. package/dist/src/commands/knowhow.js.map +1 -1
  53. package/dist/src/hooks/plugins/spec-injection-plugin.js +7 -4
  54. package/dist/src/hooks/plugins/spec-injection-plugin.js.map +1 -1
  55. package/dist/src/tools/store-knowhow.d.ts.map +1 -1
  56. package/dist/src/tools/store-knowhow.js +15 -6
  57. package/dist/src/tools/store-knowhow.js.map +1 -1
  58. package/package.json +4 -2
  59. package/workflows/tools-spec.md +20 -13
  60. package/.claude/commands/maestro-link-coordinate.md +0 -71
  61. package/.codex/skills/maestro-link-coordinate/SKILL.md +0 -257
@@ -0,0 +1,213 @@
1
+ ---
2
+ name: maestro-help
3
+ description: Maestro Flow command help system — search, browse, recommend commands, skills, agents, CLI tools, and workflows
4
+ argument-hint: "[search <keyword>|workflow|skills|agents|cli|新手|下一步|<command-name>]"
5
+ allowed-tools: Read, Grep, Glob, AskUserQuestion
6
+ ---
7
+
8
+ <purpose>
9
+ Maestro Flow 帮助系统。根据用户查询提供命令搜索、技能浏览、工作流推荐、CLI 参考和新手引导。
10
+
11
+ 支持 7 种操作模式:
12
+ 1. **Command Search** — 搜索命令名、描述、分类
13
+ 2. **Command Documentation** — 读取命令源文件,提供详细用法
14
+ 3. **Smart Recommendations** — 根据项目状态推荐下一步命令
15
+ 4. **Workflow Guide** — 根据任务类型推荐工作流和命令序列
16
+ 5. **Beginner Onboarding** — 展示核心命令和入门路径
17
+ 6. **Skill & Agent Browsing** — 浏览 Skill 和 Agent 目录
18
+ 7. **CLI Reference** — 终端命令参考
19
+ </purpose>
20
+
21
+ <context>
22
+
23
+ ## Mode Routing
24
+
25
+ $ARGUMENTS 为空 → Mode 5 (Beginner Onboarding)
26
+ $ARGUMENTS 匹配关键词 → 路由到对应模式:
27
+
28
+ | 关键词 | Mode | 说明 |
29
+ |--------|------|------|
30
+ | "search", "搜索", "查找" | 1 | Command Search |
31
+ | 命令名 (如 "analyze", "plan") | 2 | Documentation |
32
+ | "下一步", "next", "推荐", "继续" | 3 | Smart Recommendations |
33
+ | "工作流", "workflow", "流程", "管线" | 4 | Workflow Guide |
34
+ | "新手", "入门", "getting started" | 5 | Beginner Onboarding |
35
+ | "skill", "agent", "技能" | 6 | Skill & Agent Browsing |
36
+ | "cli", "终端", "terminal" | 7 | CLI Reference |
37
+ | 其他自由文本 | 1 | Fuzzy Search |
38
+
39
+ ## Data Source
40
+
41
+ 读取同目录下的 `catalog.json` 作为唯一数据源:
42
+
43
+ | 字段 | 内容 |
44
+ |------|------|
45
+ | `commands[]` | 55 个 slash 命令(name, command, category, description, source) |
46
+ | `skills[]` | 10 个 Skill(name, category, description, source) |
47
+ | `agents[]` | 22 个 Agent(name, category, description) |
48
+ | `cli_commands[]` | 21 个终端命令(command, description, category) |
49
+ | `guide_files[]` | 17 个 Guide 文档索引 |
50
+ | `essential_commands[]` | 10 个核心命令 |
51
+ | `workflows` | 4 大工作流模板(main_pipeline, quick, issue_loop, init_paths) |
52
+
53
+ ## Project State Detection
54
+
55
+ Mode 3 (Smart Recommendations) 需要检测项目状态:
56
+ 1. 检查 `.workflow/state.json` 是否存在
57
+ 2. 读取 currentMilestone, currentPhase, phaseStatus
58
+ 3. 根据状态映射到推荐命令
59
+
60
+ </context>
61
+
62
+ <invariants>
63
+ 1. **Catalog First** — 先查 catalog.json,再按需读 source 文件
64
+ 2. **Guide 链接** — 深层问题引用 guide/ 文档,告知用户具体文件名
65
+ 3. **不执行命令** — 本 skill 只提供信息和推荐,不执行 maestro 命令
66
+ 4. **精确匹配** — 搜索支持命令名(不含前缀)、分类名、关键词模糊匹配
67
+ 5. **上下文感知** — 检查 .workflow/ 状态调整推荐
68
+ </invariants>
69
+
70
+ <execution>
71
+
72
+ ### Mode 1: Command Search
73
+
74
+ 1. 读取 `catalog.json` 的 `commands[]` + `cli_commands[]`
75
+ 2. 按 name、description、category 过滤,匹配 $ARGUMENTS 中的搜索词
76
+ 3. 按 relevance 排序:exact match > starts with > contains
77
+ 4. 展示 top 5 结果:
78
+
79
+ ```
80
+ 找到 N 个匹配命令:
81
+
82
+ /maestro-analyze — 多维度分析
83
+ 分类: pipeline | 查看详情 →
84
+
85
+ /maestro-plan — 任务规划
86
+ 分类: pipeline | 查看详情 →
87
+ ...
88
+ ```
89
+
90
+ ### Mode 2: Command Documentation
91
+
92
+ 1. 在 `catalog.json` commands[] 中定位命令
93
+ 2. 通过 `source` 路径读取命令源文件(如 `../../commands/maestro-analyze.md`)
94
+ 3. 提取 `<purpose>`、`argument-hint`、`<context>` 中的用法示例
95
+ 4. 如有对应 guide 文档,读取相关段落
96
+
97
+ Guide 映射:
98
+ - analyze/plan/execute/verify → `guide/command-usage-guide.md`
99
+ - init/roadmap → `guide/quick-start-guide.md`
100
+ - ralph → `guide/maestro-ralph-guide.md`
101
+ - maestro (协调器) → `guide/maestro-coordinator-guide.md`
102
+ - delegate → `guide/delegate-async-guide.md`
103
+ - overlay/amend → `guide/overlay-guide.md`
104
+
105
+ ### Mode 3: Smart Recommendations
106
+
107
+ 检测项目状态 → 推荐下一步命令:
108
+
109
+ | 当前状态 | 推荐命令 | 原因 |
110
+ |---------|---------|------|
111
+ | 无 .workflow/ | `/maestro-init` | 项目未初始化 |
112
+ | init 完成,无 roadmap | `/maestro-roadmap` | 需要路线图 |
113
+ | roadmap 完成 | `/maestro-analyze` | 开始分析 |
114
+ | analyze 完成 | `/maestro-plan` | 进入规划 |
115
+ | plan 完成 | `/maestro-execute` | 开始执行 |
116
+ | execute 完成 | `/maestro-verify` | 验证成果 |
117
+ | verify 有 gaps | `/maestro-analyze --gaps` | 重新分析 |
118
+ | verify 通过 | `/quality-review` | 进入质量管线 |
119
+ | quality 全通过 | `/maestro-milestone-audit` | 里程碑审计 |
120
+ | 所有 Phase 完成 | `/maestro-milestone-complete` | 关闭里程碑 |
121
+
122
+ ### Mode 4: Workflow Guide
123
+
124
+ 根据任务类型推荐工作流和命令序列:
125
+
126
+ **新项目**:
127
+ - 最简: `/maestro-init` → `/maestro-roadmap "目标" -y`
128
+ - 头脑风暴: `/maestro-brainstorm "描述"` → `/maestro-init --from-brainstorm ANL-xxx`
129
+ - 完整规范: `/maestro-init` → `/maestro-spec-generate`
130
+
131
+ **功能开发**:
132
+ - 标准: analyze → plan → execute → verify
133
+ - 快速: `/maestro-quick "功能描述"`
134
+ - 全自动: `/maestro -y "功能描述"`
135
+
136
+ **Bug 修复**:
137
+ - 快速: `/maestro-quick "Bug 描述"`
138
+ - Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute → close
139
+
140
+ **代码审查**:
141
+ - `/quality-review` → `/quality-auto-test` → `/quality-test`
142
+ - 失败循环: `/quality-debug` → `/maestro-plan --gaps` → `/maestro-execute`
143
+
144
+ ### Mode 5: Beginner Onboarding
145
+
146
+ 从 `catalog.json essential_commands[]` 读取核心命令:
147
+
148
+ | 命令 | 用途 | 何时使用 |
149
+ |------|------|---------|
150
+ | `/maestro` | 智能协调器 | 不确定用哪个命令时 |
151
+ | `/maestro-init` | 初始化项目 | 首次使用 |
152
+ | `/maestro-roadmap` | 路线图 | 初始化后规划 |
153
+ | `/maestro-analyze` | 分析 | 开始 Phase 分析 |
154
+ | `/maestro-plan` | 规划 | 分析完成后 |
155
+ | `/maestro-execute` | 执行 | 计划完成后 |
156
+ | `/maestro-verify` | 验证 | 执行完成后 |
157
+ | `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
158
+ | `/quality-review` | 代码审查 | 执行后质量检查 |
159
+ | `/manage-issue` | Issue 管理 | 追踪和解决 Bug |
160
+
161
+ 快速上手路径:
162
+ 1. `maestro install --force`
163
+ 2. `/maestro-init`
164
+ 3. `/maestro "任务描述"` — 自动选择最佳工作流
165
+
166
+ ### Mode 6: Skill & Agent Browsing
167
+
168
+ **Skills** — 从 `catalog.json` skills[] 读取,按分类展示:
169
+
170
+ - **Meta (2)**: workflow-skill-designer, skill-iter-tune
171
+ - **Team (6)**: team-coordinate, team-executor, team-lifecycle-v4, team-quality-assurance, team-review, team-tech-debt, team-testing
172
+ - **Knowledge (1)**: codify-to-knowhow
173
+
174
+ **Agents** — 从 `catalog.json` agents[] 读取,按分类展示:
175
+
176
+ - **Workflow (15)**: analyzer, planner, executor, verifier, reviewer, debugger, research-agent, roadmapper, plan-checker, phase-researcher, project-researcher, research-synthesizer, codebase-mapper, nyquist-auditor, integration-checker, external-researcher, collab-planner
177
+ - **Team (2)**: supervisor, worker
178
+ - **Planning (1)**: conceptual-planning-agent
179
+ - **CLI (1)**: cli-explore-agent
180
+ - **UI (1)**: ui-design-agent
181
+
182
+ ### Mode 7: CLI Reference
183
+
184
+ 从 `catalog.json` cli_commands[] 读取,按分类展示:
185
+
186
+ | 分类 | 命令 |
187
+ |------|------|
188
+ | Setup | install, uninstall, update, launcher |
189
+ | Dashboard | view, stop |
190
+ | Execution | delegate, coordinate (coord), cli, run, serve |
191
+ | Knowledge | spec, wiki, knowhow (kh) |
192
+ | Config | hooks, overlay, ext, tool |
193
+ | Team | collab (team), agent-msg (msg) |
194
+ | Visualization | brainstorm-visualize (bv) |
195
+
196
+ </execution>
197
+
198
+ <error_codes>
199
+ | Code | Severity | Condition | Recovery |
200
+ |------|----------|-----------|----------|
201
+ | E001 | error | catalog.json 读取失败 | 回退到 Glob 扫描 .claude/commands/*.md |
202
+ | W001 | warning | 搜索无结果 | 模糊匹配最近命令,建议查看全部 |
203
+ | W002 | warning | Source 文件不存在 | 仅展示 catalog 描述 |
204
+ | W003 | warning | 项目未初始化 | 推荐先运行 /maestro-init |
205
+ </error_codes>
206
+
207
+ <success_criteria>
208
+ - [ ] 正确路由到对应操作模式
209
+ - [ ] 搜索结果包含命令名、描述、分类
210
+ - [ ] 文档模式展示了命令源文件的关键内容
211
+ - [ ] 推荐模式基于项目状态提供了合理的下一步建议
212
+ - [ ] 工作流推荐包含具体命令序列
213
+ </success_criteria>
@@ -0,0 +1,182 @@
1
+ {
2
+ "_metadata": {
3
+ "version": "1.0.0",
4
+ "generated": "2026-05-11",
5
+ "description": "Maestro Flow command/skill/agent catalog — single source of truth for maestro-help"
6
+ },
7
+ "commands": [
8
+ {"name": "maestro", "command": "/maestro", "category": "core", "description": "智能协调器 — 根据意图和项目状态自动选择最优命令链", "source": "../../commands/maestro.md"},
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": "路线图生成 — 基于目标创建里程碑和 Phase 分解", "source": "../../commands/maestro-roadmap.md"},
11
+ {"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "多角色头脑风暴 — 生成分析文档和功能规格", "source": "../../commands/maestro-brainstorm.md"},
12
+ {"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "多维度分析 — Phase 分析、CLI 辅助探索、gap 分析", "source": "../../commands/maestro-analyze.md"},
13
+ {"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 生成执行计划、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
14
+ {"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
15
+ {"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
16
+ {"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
17
+ {"name": "maestro-overlay", "command": "/maestro-overlay", "category": "core", "description": "Overlay 管理 — 创建、查看、删除命令补丁", "source": "../../commands/maestro-overlay.md"},
18
+ {"name": "maestro-amend", "command": "/maestro-amend", "category": "core", "description": "修正补丁 — 从工作流信号自动生成 overlay", "source": "../../commands/maestro-amend.md"},
19
+ {"name": "maestro-fork", "command": "/maestro-fork", "category": "worktree", "description": "Worktree 分叉 — 基于 milestone 创建隔离开发环境", "source": "../../commands/maestro-fork.md"},
20
+ {"name": "maestro-merge", "command": "/maestro-merge", "category": "worktree", "description": "Worktree 合并 — 同步变更回主线", "source": "../../commands/maestro-merge.md"},
21
+ {"name": "maestro-collab", "command": "/maestro-collab", "category": "team", "description": "人类团队协作 — .workflow/collab/ 目录管理", "source": "../../commands/maestro-collab.md"},
22
+ {"name": "maestro-milestone-audit", "command": "/maestro-milestone-audit", "category": "milestone", "description": "里程碑审计 — 检查 Phase 完成度和质量", "source": "../../commands/maestro-milestone-audit.md"},
23
+ {"name": "maestro-milestone-complete", "command": "/maestro-milestone-complete", "category": "milestone", "description": "里程碑完成 — 归档里程碑并推进下一个", "source": "../../commands/maestro-milestone-complete.md"},
24
+ {"name": "maestro-milestone-release", "command": "/maestro-milestone-release", "category": "milestone", "description": "里程碑发布 — 生成发布说明和变更日志", "source": "../../commands/maestro-milestone-release.md"},
25
+ {"name": "maestro-composer", "command": "/maestro-composer", "category": "core", "description": "编排器 — compose + play 工作流组合执行", "source": "../../commands/maestro-composer.md"},
26
+ {"name": "maestro-player", "command": "/maestro-player", "category": "core", "description": "播放器 — 执行已编排的工作流", "source": "../../commands/maestro-player.md"},
27
+ {"name": "maestro-ralph", "command": "/maestro-ralph", "category": "ralph", "description": "Ralph 引擎 — 自适应生命周期决策节点管理", "source": "../../commands/maestro-ralph.md"},
28
+ {"name": "maestro-ralph-execute", "command": "/maestro-ralph-execute", "category": "ralph", "description": "Ralph 执行 — 运行自适应决策链", "source": "../../commands/maestro-ralph-execute.md"},
29
+ {"name": "maestro-learn", "command": "/maestro-learn", "category": "core", "description": "学习 — 从执行中提取知识和模式", "source": "../../commands/maestro-learn.md"},
30
+ {"name": "maestro-ui-design", "command": "/maestro-ui-design", "category": "ui", "description": "UI 设计 — 设计系统原型和 Token 管理", "source": "../../commands/maestro-ui-design.md"},
31
+ {"name": "maestro-ui-codify", "command": "/maestro-ui-codify", "category": "ui", "description": "UI 固化 — 将设计产出转化为知识资产", "source": "../../commands/maestro-ui-codify.md"},
32
+ {"name": "maestro-update", "command": "/maestro-update", "category": "core", "description": "版本更新 — 检查并安装最新版本", "source": "../../commands/maestro-update.md"},
33
+ {"name": "maestro-tools-register", "command": "/maestro-tools-register", "category": "tools", "description": "MCP 工具注册 — 注册外部工具到 Maestro", "source": "../../commands/maestro-tools-register.md"},
34
+ {"name": "maestro-tools-execute", "command": "/maestro-tools-execute", "category": "tools", "description": "MCP 工具执行 — 调用已注册的外部工具", "source": "../../commands/maestro-tools-execute.md"},
35
+ {"name": "manage-issue", "command": "/manage-issue", "category": "manage", "description": "Issue 管理 — CRUD 操作、状态追踪", "source": "../../commands/manage-issue.md"},
36
+ {"name": "manage-issue-discover", "command": "/manage-issue-discover", "category": "manage", "description": "Issue 发现 — 按提示词或代码分析自动发现问题", "source": "../../commands/manage-issue-discover.md"},
37
+ {"name": "manage-knowhow", "command": "/manage-knowhow", "category": "manage", "description": "知识管理 — knowhow 条目查询和管理", "source": "../../commands/manage-knowhow.md"},
38
+ {"name": "manage-knowhow-capture", "command": "/manage-knowhow-capture", "category": "manage", "description": "知识捕获 — 从会话中捕获非显而易见的知识", "source": "../../commands/manage-knowhow-capture.md"},
39
+ {"name": "manage-learn", "command": "/manage-learn", "category": "manage", "description": "学习管理 — 查看、整理学习记录", "source": "../../commands/manage-learn.md"},
40
+ {"name": "manage-harvest", "command": "/manage-harvest", "category": "manage", "description": "收获 — 从已完成里程碑中提取可复用资产", "source": "../../commands/manage-harvest.md"},
41
+ {"name": "manage-status", "command": "/manage-status", "category": "manage", "description": "状态查看 — 项目和工作流状态总览", "source": "../../commands/manage-status.md"},
42
+ {"name": "manage-wiki", "command": "/manage-wiki", "category": "manage", "description": "Wiki 管理 — 知识图谱条目操作", "source": "../../commands/manage-wiki.md"},
43
+ {"name": "manage-codebase-refresh", "command": "/manage-codebase-refresh", "category": "manage", "description": "代码库刷新 — 增量更新代码库索引", "source": "../../commands/manage-codebase-refresh.md"},
44
+ {"name": "manage-codebase-rebuild", "command": "/manage-codebase-rebuild", "category": "manage", "description": "代码库重建 — 全量重建代码库索引", "source": "../../commands/manage-codebase-rebuild.md"},
45
+ {"name": "quality-review", "command": "/quality-review", "category": "quality", "description": "代码审查 — 多维度代码质量检查", "source": "../../commands/quality-review.md"},
46
+ {"name": "quality-auto-test", "command": "/quality-auto-test", "category": "quality", "description": "自动测试 — 智能路由 spec/gap/code 测试", "source": "../../commands/quality-auto-test.md"},
47
+ {"name": "quality-test", "command": "/quality-test", "category": "quality", "description": "业务测试 — 会话式 UAT 验证", "source": "../../commands/quality-test.md"},
48
+ {"name": "quality-debug", "command": "/quality-debug", "category": "quality", "description": "质量调试 — 诊断测试失败并提供修复方案", "source": "../../commands/quality-debug.md"},
49
+ {"name": "quality-refactor", "command": "/quality-refactor", "category": "quality", "description": "代码重构 — 结构优化和模式改进", "source": "../../commands/quality-refactor.md"},
50
+ {"name": "quality-sync", "command": "/quality-sync", "category": "quality", "description": "质量同步 — 跨 Phase 质量状态对齐", "source": "../../commands/quality-sync.md"},
51
+ {"name": "quality-retrospective", "command": "/quality-retrospective", "category": "quality", "description": "质量复盘 — 阶段性质量回顾和改进", "source": "../../commands/quality-retrospective.md"},
52
+ {"name": "spec-setup", "command": "/spec-setup", "category": "spec", "description": "Spec 初始化 — 创建项目规范文件", "source": "../../commands/spec-setup.md"},
53
+ {"name": "spec-load", "command": "/spec-load", "category": "spec", "description": "Spec 加载 — 按关键词加载规范条目", "source": "../../commands/spec-load.md"},
54
+ {"name": "spec-add", "command": "/spec-add", "category": "spec", "description": "Spec 录入 — 添加新的规范条目", "source": "../../commands/spec-add.md"},
55
+ {"name": "spec-remove", "command": "/spec-remove", "category": "spec", "description": "Spec 移除 — 删除已有规范条目", "source": "../../commands/spec-remove.md"},
56
+ {"name": "learn-retro", "command": "/learn-retro", "category": "learn", "description": "统一复盘 — git + 决策双轨复盘", "source": "../../commands/learn-retro.md"},
57
+ {"name": "learn-follow", "command": "/learn-follow", "category": "learn", "description": "跟读学习 — 从代码变更中学习模式", "source": "../../commands/learn-follow.md"},
58
+ {"name": "learn-decompose", "command": "/learn-decompose", "category": "learn", "description": "模式拆解 — 将复杂模式分解为可复用组件", "source": "../../commands/learn-decompose.md"},
59
+ {"name": "learn-investigate", "command": "/learn-investigate", "category": "learn", "description": "系统探究 — 深入调查技术选型和架构", "source": "../../commands/learn-investigate.md"},
60
+ {"name": "learn-second-opinion", "command": "/learn-second-opinion", "category": "learn", "description": "多视角分析 — 多 CLI 交叉验证观点", "source": "../../commands/learn-second-opinion.md"},
61
+ {"name": "wiki-connect", "command": "/wiki-connect", "category": "wiki", "description": "Wiki 连接 — 发现知识条目间关系", "source": "../../commands/wiki-connect.md"},
62
+ {"name": "wiki-digest", "command": "/wiki-digest", "category": "wiki", "description": "Wiki 摘要 — 生成知识图谱概要", "source": "../../commands/wiki-digest.md"}
63
+ ],
64
+ "skills": [
65
+ {"name": "workflow-skill-designer", "category": "meta", "description": "Meta-skill: 设计 orchestrator+phases 结构的工作流 skill", "source": "../workflow-skill-designer/SKILL.md"},
66
+ {"name": "skill-iter-tune", "category": "meta", "description": "迭代 skill 调优: execute-evaluate-improve 反馈循环", "source": "../skill-iter-tune/SKILL.md"},
67
+ {"name": "team-coordinate", "category": "team", "description": "通用团队协调: 运行时动态生成 role-specs", "source": "../team-coordinate/SKILL.md"},
68
+ {"name": "team-executor", "category": "team", "description": "团队执行: 恢复会话执行任务", "source": "../team-executor/SKILL.md"},
69
+ {"name": "team-lifecycle-v4", "category": "team", "description": "完整生命周期: 8 角色 spec/impl/test/review 流水线", "source": "../team-lifecycle-v4/SKILL.md"},
70
+ {"name": "team-quality-assurance", "category": "team", "description": "QA 团队: 质量保障流水线", "source": "../team-quality-assurance/SKILL.md"},
71
+ {"name": "team-review", "category": "team", "description": "代码审查团队: 多维度扫描和漏洞审查", "source": "../team-review/SKILL.md"},
72
+ {"name": "team-tech-debt", "category": "team", "description": "技术债务团队: 债务识别和清理", "source": "../team-tech-debt/SKILL.md"},
73
+ {"name": "team-testing", "category": "team", "description": "测试团队: 测试规划和执行", "source": "../team-testing/SKILL.md"},
74
+ {"name": "codify-to-knowhow", "category": "knowledge", "description": "Manifest 驱动的知识资产生成器", "source": "../codify-to-knowhow/SKILL.md"}
75
+ ],
76
+ "agents": [
77
+ {"name": "workflow-analyzer", "description": "多维度分析 — 证据评分和推荐", "category": "workflow"},
78
+ {"name": "workflow-planner", "description": "任务分解和执行计划生成", "category": "workflow"},
79
+ {"name": "workflow-executor", "description": "原子任务执行和验证", "category": "workflow"},
80
+ {"name": "workflow-verifier", "description": "目标回溯验证(存在性、实质、连接)", "category": "workflow"},
81
+ {"name": "workflow-reviewer", "description": "多维度代码审查", "category": "workflow"},
82
+ {"name": "workflow-debugger", "description": "假设驱动调试和结构化证据日志", "category": "workflow"},
83
+ {"name": "workflow-research-agent", "description": "外部研究 — API 模式、技术验证", "category": "workflow"},
84
+ {"name": "workflow-roadmapper", "description": "分阶段里程碑路线图", "category": "workflow"},
85
+ {"name": "workflow-plan-checker", "description": "计划质量验证(最多 3 轮修订)", "category": "workflow"},
86
+ {"name": "workflow-phase-researcher", "description": "特定路线图阶段的实现方法研究", "category": "workflow"},
87
+ {"name": "workflow-project-researcher", "description": "项目初始化的领域研究", "category": "workflow"},
88
+ {"name": "workflow-research-synthesizer", "description": "多研究结果合并为统一摘要", "category": "workflow"},
89
+ {"name": "workflow-codebase-mapper", "description": "从特定焦点分析现有代码库", "category": "workflow"},
90
+ {"name": "workflow-nyquist-auditor", "description": "测试覆盖审计和 gap 检测", "category": "workflow"},
91
+ {"name": "workflow-integration-checker", "description": "跨阶段集成验证(里程碑审计)", "category": "workflow"},
92
+ {"name": "workflow-external-researcher", "description": "外部研究(Exa MCP)", "category": "workflow"},
93
+ {"name": "workflow-collab-planner", "description": "预分配任务 ID 的协作规划", "category": "workflow"},
94
+ {"name": "team-supervisor", "description": "管道监督 — 跨 checkpoint 质量观察", "category": "team"},
95
+ {"name": "team-worker", "description": "统一工作器 — 加载 role-spec 执行任务", "category": "team"},
96
+ {"name": "conceptual-planning-agent", "description": "多模式分析 — 角色分析和功能规格", "category": "planning"},
97
+ {"name": "cli-explore-agent", "description": "CLI 辅助的代码探索", "category": "cli"},
98
+ {"name": "ui-design-agent", "description": "UI 设计 Token 管理和原型生成", "category": "ui"}
99
+ ],
100
+ "cli_commands": [
101
+ {"command": "maestro install", "description": "安装 Maestro 资源(交互式)", "category": "setup"},
102
+ {"command": "maestro uninstall", "description": "卸载已安装资源", "category": "setup"},
103
+ {"command": "maestro update", "description": "检查/安装最新版本", "category": "setup"},
104
+ {"command": "maestro view", "description": "启动 Dashboard 看板", "category": "dashboard"},
105
+ {"command": "maestro stop", "description": "停止 Dashboard 服务", "category": "dashboard"},
106
+ {"command": "maestro delegate", "description": "委派任务给 AI 智能体", "category": "execution"},
107
+ {"command": "maestro coordinate", "description": "图工作流协调器(别名 coord)", "category": "execution"},
108
+ {"command": "maestro cli", "description": "运行 CLI 智能体工具", "category": "execution"},
109
+ {"command": "maestro run", "description": "执行指定工作流", "category": "execution"},
110
+ {"command": "maestro serve", "description": "启动工作流服务器", "category": "execution"},
111
+ {"command": "maestro launcher", "description": "Claude Code 启动器", "category": "setup"},
112
+ {"command": "maestro spec", "description": "项目 Spec 管理", "category": "knowledge"},
113
+ {"command": "maestro wiki", "description": "Wiki 知识图谱查询", "category": "knowledge"},
114
+ {"command": "maestro hooks", "description": "Hook 管理与运行", "category": "config"},
115
+ {"command": "maestro overlay", "description": "命令 Overlay 管理", "category": "config"},
116
+ {"command": "maestro collab", "description": "人类团队协作(别名 team)", "category": "team"},
117
+ {"command": "maestro agent-msg", "description": "智能体团队消息总线(别名 msg)", "category": "team"},
118
+ {"command": "maestro knowhow", "description": "知识复用管理(别名 kh)", "category": "knowledge"},
119
+ {"command": "maestro brainstorm-visualize", "description": "头脑风暴可视化服务器(别名 bv)", "category": "visualization"},
120
+ {"command": "maestro ext", "description": "扩展管理", "category": "config"},
121
+ {"command": "maestro tool", "description": "工具交互(list/exec)", "category": "config"}
122
+ ],
123
+ "categories": {
124
+ "commands": ["core", "pipeline", "milestone", "manage", "quality", "spec", "learn", "wiki", "worktree", "team", "ralph", "ui", "tools"],
125
+ "skills": ["meta", "team", "knowledge"],
126
+ "agents": ["workflow", "team", "planning", "cli", "ui"]
127
+ },
128
+ "guide_files": [
129
+ {"file": "guide/quick-start-guide.md", "title": "快速入门", "description": "10 分钟了解核心功能"},
130
+ {"file": "guide/cli-commands-guide.md", "title": "CLI 命令参考", "description": "21 个终端命令详解"},
131
+ {"file": "guide/command-usage-guide.md", "title": "Slash 命令使用", "description": "49 个 slash 命令分类和衔接"},
132
+ {"file": "guide/mcp-tools-guide.md", "title": "MCP 工具参考", "description": "9 个 MCP 工具详解"},
133
+ {"file": "guide/delegate-async-guide.md", "title": "Delegate 异步指南", "description": "异步任务委派和生命周期"},
134
+ {"file": "guide/hooks-guide.md", "title": "Hook 系统", "description": "12 个 Hook、4 个安装级别"},
135
+ {"file": "guide/knowledge-management-guide.md", "title": "知识管理", "description": "Spec + Wiki 知识体系"},
136
+ {"file": "guide/knowledge-management-intro.md", "title": "知识管理导论", "description": "设计理念和产品结构"},
137
+ {"file": "guide/maestro-coordinator-guide.md", "title": "/maestro 协调器", "description": "静态链选择器和意图路由"},
138
+ {"file": "guide/maestro-ralph-guide.md", "title": "/maestro-ralph 引擎", "description": "自适应生命周期决策节点"},
139
+ {"file": "guide/overlay-guide.md", "title": "Overlay 系统", "description": "非侵入式命令补丁"},
140
+ {"file": "guide/role-routing-guide.md", "title": "角色路由", "description": "基于 --role 的工具选择"},
141
+ {"file": "guide/skill-config-guide.md", "title": "Skill 配置", "description": "参数默认值配置"},
142
+ {"file": "guide/spec-system-guide.md", "title": "Spec 系统", "description": "条目格式和自动注入"},
143
+ {"file": "guide/statusline-guide.md", "title": "Statusline", "description": "多行状态栏定制"},
144
+ {"file": "guide/team-lite-guide.md", "title": "Team Lite", "description": "2-8 人团队协作"},
145
+ {"file": "guide/worktree-guide.md", "title": "Worktree", "description": "Git worktree 里程碑并行"}
146
+ ],
147
+ "essential_commands": [
148
+ "/maestro",
149
+ "/maestro-init",
150
+ "/maestro-roadmap",
151
+ "/maestro-analyze",
152
+ "/maestro-plan",
153
+ "/maestro-execute",
154
+ "/maestro-verify",
155
+ "/maestro-quick",
156
+ "/quality-review",
157
+ "/manage-issue"
158
+ ],
159
+ "workflows": {
160
+ "main_pipeline": {
161
+ "name": "主干管线",
162
+ "phases": ["analyze", "plan", "execute", "verify"],
163
+ "quality": ["quality-auto-test", "quality-review", "quality-test"],
164
+ "close": ["maestro-milestone-audit", "maestro-milestone-complete"]
165
+ },
166
+ "quick": {
167
+ "name": "快速渠道",
168
+ "entry": "/maestro-quick",
169
+ "modes": ["default (analyze+execute)", "--full (analyze+plan+execute+verify)", "--discuss (multi-cli讨论)"]
170
+ },
171
+ "issue_loop": {
172
+ "name": "Issue 闭环",
173
+ "phases": ["manage-issue-discover", "manage-issue create", "maestro-analyze --gaps", "maestro-plan --gaps", "maestro-execute", "manage-issue close"]
174
+ },
175
+ "init_paths": {
176
+ "name": "初始化路径",
177
+ "minimal": "/maestro-init → /maestro-roadmap",
178
+ "from_brainstorm": "/maestro-brainstorm → /maestro-init --from-brainstorm → /maestro-roadmap",
179
+ "full_spec": "/maestro-init → /maestro-spec-generate"
180
+ }
181
+ }
182
+ }
@@ -220,7 +220,7 @@ Session folder: `.workflow/.csv-wave/{sessionId}/` — create via `mkdir -p`
220
220
  1. **Input parsing**: Parse `{requirementArg}` -- direct text or `@file` reference
221
221
  2. **Brainstorm import**: If `--from-brainstorm`, read `guidance-specification.md` for enriched context
222
222
  3. **Codebase detection**: Check for source files; if found, add context to analysis/research prompts
223
- 4. **Load project specs**: Read `.workflow/specs/` for constraint awareness
223
+ 4. **Load project specs**: Run `maestro spec load --category arch` for constraint awareness and discoverable knowhow tools
224
224
 
225
225
  **Light mode specific**:
226
226
  5. **Uncertainty assessment**:
@@ -8,11 +8,12 @@ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion, Agent
8
8
  <purpose>
9
9
  Codify reusable business processes as knowhow documents with `tool: true` in YAML frontmatter. Once registered, entries are auto-discovered by downstream agents via `spec load --category` — plan agents pick up design/architecture flows, test agents pick up verification methods, coding agents pick up execution steps.
10
10
 
11
- Three modes:
11
+ Four modes:
12
12
 
13
13
  1. **Extract** — Pull reusable processes from conversations/code/docs
14
14
  2. **Generate** — Create new tool definitions from user description
15
15
  3. **Optimize** — Improve existing tool spec steps, structure, clarity
16
+ 4. **Promote** — Convert existing knowhow document to tool (add `tool: true` + category in place)
16
17
 
17
18
  Short processes (<10 steps) inline; long processes (>=10 steps or with code examples) use ref mode with knowhow detail doc (RCP-/DOC-).
18
19
  </purpose>
@@ -25,6 +26,8 @@ $maestro-tools-register "extract OAuth PKCE token exchange flow from src/auth/"
25
26
  $maestro-tools-register "generate Stripe webhook idempotency verification"
26
27
  $maestro-tools-register "generate E2E checkout flow with payment gateway mock setup"
27
28
  $maestro-tools-register "optimize e2e-checkout tool"
29
+ $maestro-tools-register "promote RCP-db-migration-rollback as test tool"
30
+ $maestro-tools-register "promote knowhow-auth-api to coding tool"
28
31
  ```
29
32
 
30
33
  **Tool registration**: Creates knowhow documents in `knowhow/` folder with `tool: true` in YAML frontmatter. Tools are auto-discovered by `spec load` based on category + tool flag.
@@ -50,6 +53,7 @@ Step content...
50
53
  Parse $ARGUMENTS to determine mode:
51
54
  - Contains "extract" → extract mode
52
55
  - Contains "optimize/improve" → optimize mode
56
+ - Contains "promote" or references existing knowhow doc (path/ID) → promote mode
53
57
  - Other → generate mode
54
58
  - Empty → ask user with AskUserQuestion
55
59
 
@@ -67,16 +71,34 @@ Parse $ARGUMENTS to determine mode:
67
71
  - Load existing tool: `maestro spec load --category coding --keyword <name>`
68
72
  - Analyze improvement points (step splitting, prerequisites, error handling)
69
73
 
74
+ **Promote mode** (existing knowhow → tool):
75
+ - Locate document: `maestro wiki list --keyword <name>` or by path in `.workflow/knowhow/`
76
+ - Read document, verify it contains actionable steps (numbered list or ## Steps section)
77
+ - If no actionable steps, suggest extract mode instead
78
+ - Determine category (Step 3) and summary ("Use when ...")
79
+ - Update frontmatter via: `maestro wiki update <id> --frontmatter '{"tool": true, "category": "<cat>", "summary": "<summary>"}'`
80
+ - Do NOT recreate the document — modify in place
81
+
70
82
  **For all modes** — identify the usage timing: when should an agent or user invoke this tool? This becomes the first line of the entry description (see Step 5).
71
83
 
72
84
  ### Step 3: Determine Category
73
85
 
74
- Infer applicable category from context, or ask user:
75
- - coding — execution tools (build, deploy, integrate)
76
- - test testing tools (test flows, verification steps)
77
- - review — review tools (checklists, audit standards)
78
- - arch planning tools (design flows, analysis steps)
79
- - debug analysis tools (diagnostic flows, investigation steps)
86
+ **Core principle**: `category` = **who consumes this tool** (which agent type discovers and uses it), not what the content is about.
87
+
88
+ | Category | Consumer Agent | Decision Question | Signal Words |
89
+ |---|---|---|---|
90
+ | `coding` | code-developer, workflow-executor | 开发者实现时需要这个流程吗? | build, deploy, integrate, configure, setup, migrate, api-contract |
91
+ | `test` | tdd-developer, test-fix-agent | 测试者验证行为时需要这个流程吗? | verify, validate, assert, e2e, regression, coverage, idempotency |
92
+ | `review` | workflow-reviewer | 审查者需要这个作为 checklist 吗? | audit, checklist, compliance, quality-gate, standard |
93
+ | `arch` | workflow-planner | 规划者设计方案时需要这个吗? | design, architecture, decompose, trade-off, migration-strategy |
94
+ | `debug` | debug-explore-agent | 调试者排查问题时需要这个吗? | diagnose, trace, investigate, root-cause, reproduce |
95
+
96
+ **Multi-consumer split**: If content serves multiple consumers (e.g., API doc for both dev and test), split into separate documents:
97
+ - API contract (what endpoints look like) → `category: coding` (AST-*, tool: false)
98
+ - API verification steps (how to test) → `category: test` (RCP-*, tool: true)
99
+ - Ask user when ambiguous: "This tool content serves both developers and testers. Split into separate documents?"
100
+
101
+ **Ambiguous cases**: Choose the **primary consumer** — the agent that would fail without this knowledge.
80
102
 
81
103
  ### Step 4: Decide Inline vs Ref
82
104
 
@@ -6,7 +6,7 @@ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
6
6
  ---
7
7
 
8
8
  <purpose>
9
- Capture reusable knowledge into `.workflow/knowhow/`. Six content types: `session` (full session recovery), `template` (code/config pattern), `recipe` (step-by-step guide), `reference` (external doc summary), `decision` (ADR), `tip` (quick note). Auto-detects type or asks user.
9
+ Capture reusable knowledge into `.workflow/knowhow/`. Nine content types: `session` (full session recovery), `template` (code/config pattern), `recipe` (step-by-step guide), `reference` (external doc summary), `decision` (ADR), `tip` (quick note), `asset` (API contract, data model, etc.), `blueprint` (architecture design with code paths), `document` (general long-form). Auto-detects type or asks user.
10
10
  </purpose>
11
11
 
12
12
  <context>
@@ -22,13 +22,16 @@ $manage-knowhow-capture "reference Stripe API --source https://docs.stripe.com/a
22
22
  $manage-knowhow-capture "decision Use PostgreSQL over MongoDB --status accepted"
23
23
  ```
24
24
 
25
- **Types**: `compact` | `template` | `recipe` | `reference` | `decision` | `tip`
25
+ **Types**: `compact` | `template` | `recipe` | `reference` | `decision` | `tip` | `asset` | `blueprint` | `document`
26
26
 
27
27
  **Flags**:
28
28
  - `--lang <lang>` — Language for templates (typescript, python, bash, yaml, ...)
29
29
  - `--source <url>` — Source URL for references
30
30
  - `--tag tag1,tag2` — Categorization tags
31
31
  - `--title <title>` — Explicit title
32
+ - `--asset-type <type>` — Asset subtype (api-contract, data-model, prompt, config, ...)
33
+ - `--code-paths <paths>` — Related source paths for asset/blueprint (comma-separated)
34
+ - `--category <cat>` — Spec category for agent discovery (coding, arch, test, debug, review, learning)
32
35
  </context>
33
36
 
34
37
  <execution>
@@ -49,6 +52,9 @@ Parse first token as type. If absent or ambiguous, ask user via AskUserQuestion.
49
52
  | `reference`, `ref`, `参考` | reference |
50
53
  | `decision`, `dcs`, `决策` | decision |
51
54
  | `tip`, `note`, `记录` | tip |
55
+ | `asset`, `ast`, `资产`, `契约` | asset |
56
+ | `blueprint`, `blp`, `蓝图` | blueprint |
57
+ | `document`, `doc`, `文档` | document |
52
58
 
53
59
  ### Step 3: Capture Content by Type
54
60
 
@@ -70,6 +76,15 @@ Prompt for or extract: context, decision, alternatives (at least 2), rationale,
70
76
  **tip** (TIP-{YYYYMMDD}-{HHMM}.md):
71
77
  Content from remaining arguments. Auto-detect context from recent conversation files. Sections: Content, Context, Tags, Timestamp.
72
78
 
79
+ **asset** (AST-{YYYYMMDD}-{HHMM}.md):
80
+ Prompt for or extract: asset subtype (`--asset-type`), related code paths (`--code-paths`), category (`--category`). Sections: Overview, Structure (tables/schemas), Usage, Related Code Paths. Common asset subtypes: `api-contract`, `data-model`, `prompt`, `config`, `ui-prototype`.
81
+
82
+ **blueprint** (BLP-{YYYYMMDD}-{HHMM}.md):
83
+ Prompt for or extract: system scope, code paths (`--code-paths`), category (`--category`). Sections: Overview, Components, Interactions, Code Paths, Constraints, Trade-offs.
84
+
85
+ **document** (DOC-{YYYYMMDD}-{HHMM}.md):
86
+ General long-form fallback. No specific structure enforced.
87
+
73
88
  ### Step 4: Write File
74
89
 
75
90
  Write to `.workflow/knowhow/{PREFIX}-{YYYYMMDD}-{HHMM}.md` with YAML frontmatter:
@@ -82,7 +97,7 @@ category: {type}
82
97
  created: {ISO timestamp}
83
98
  tags: [{tags}]
84
99
  ```
85
- Plus type-specific: `lang` (template), `source` (reference), `status` (decision).
100
+ Plus type-specific: `lang` (template), `source` (reference), `status` (decision), `assetType` + `codePaths` (asset), `codePaths` (blueprint). `category` written when `--category` provided.
86
101
 
87
102
  ### Step 5: Confirm
88
103
 
@@ -184,7 +184,8 @@ mkdir -p {sessionFolder}
184
184
  2b. **Load codebase + wiki context** (optional, informs hypothesis generation):
185
185
  - If `.workflow/codebase/ARCHITECTURE.md` exists: read module boundaries to scope impact analysis
186
186
  - Run `maestro wiki search "<symptom keywords>" --json 2>/dev/null`; if results: check for prior investigations on similar issues
187
- - Both are optional proceed without if unavailable
187
+ - Run `maestro spec load --category debug --keyword "<symptom keywords>"`; if tools found: extract known issues, workarounds, and root-cause notes to inform hypotheses
188
+ - All are optional — proceed without if unavailable
188
189
 
189
190
  3. **Symptom collection**:
190
191
 
@@ -184,7 +184,7 @@ Session folder: `.workflow/.csv-wave/{sessionId}/` — create via `mkdir -p`
184
184
 
185
185
  If `--dimensions` flag provided, override with explicit list.
186
186
 
187
- 6. **Specs loading**: Read `.workflow/specs/` for project conventions (unless `--skip-specs`)
187
+ 6. **Specs loading**: Run `maestro spec load --category review` to load review standards, checklists, AND discoverable knowhow tools (unless `--skip-specs`)
188
188
  7. **CSV generation**: One row per dimension + one aggregation row
189
189
 
190
190
  **Wave computation**: Simple 2-wave -- all dimension tasks = wave 1, aggregation = wave 2.
@@ -163,7 +163,17 @@ Record in `uat.md` under `## Smoke Tests`. If any fails: **E003** — abort, sug
163
163
 
164
164
  Read from target directory: `verification.json`, `validation.json`, `index.json`, `plan.json`, `.summaries/TASK-*.md`. Build testable list from user-observable outcomes.
165
165
 
166
- ### Step 4.5: Load Quality Context (Cross-Artifact Integration)
166
+ ### Step 4.5: Load Test Tools (Knowhow Discovery)
167
+
168
+ Load registered test tools to supplement verification-based scenarios:
169
+
170
+ ```bash
171
+ maestro spec load --category test --keyword <feature>
172
+ ```
173
+
174
+ If tools are found, extract their steps as additional test scenarios marked `source: "tool"`. Tool steps map to UAT scenarios: each numbered step becomes a test with its assertion as `expected` behavior. This enables tools registered via `/maestro-tools-register` to drive UAT verification.
175
+
176
+ ### Step 4.6: Load Quality Context (Cross-Artifact Integration)
167
177
 
168
178
  Query `state.json.artifacts[]` for all artifacts matching current phase and milestone:
169
179