@mstar-harness/opencode 0.7.0 → 0.7.4
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/INSTALL.md +2 -5
- package/harness-commands/iteration-drive.md +15 -8
- package/harness-commands/iteration-start.md +45 -10
- package/harness-skills/mstar-branch-worktree/SKILL.md +4 -4
- package/harness-skills/mstar-coding-behavior/SKILL.md +27 -4
- package/harness-skills/mstar-compound/SKILL.md +2 -0
- package/harness-skills/mstar-dispatch-gates/SKILL.md +13 -4
- package/harness-skills/mstar-dispatch-gates/references/leaf-executor-checklist.md +1 -1
- package/harness-skills/mstar-harness-core/SKILL.md +8 -5
- package/harness-skills/mstar-harness-core/references/open-harness-principles.md +3 -3
- package/harness-skills/mstar-host/references/cursor-plan-mode-bridge.md +1 -1
- package/harness-skills/mstar-host/references/cursor.md +2 -2
- package/harness-skills/mstar-host/references/opencode.md +2 -2
- package/harness-skills/mstar-iteration/SKILL.md +87 -28
- package/harness-skills/mstar-iteration/references/iteration-compass-template.md +14 -8
- package/harness-skills/mstar-phase-gates/SKILL.md +3 -3
- package/harness-skills/mstar-plan-artifacts/references/plan-files-and-reports.md +1 -1
- package/harness-skills/mstar-plan-conventions/SKILL.md +3 -3
- package/harness-skills/mstar-roles/SKILL.md +4 -4
- package/harness-skills/mstar-roles/references/architect.md +7 -11
- package/harness-skills/mstar-roles/references/frontend-dev.md +2 -2
- package/harness-skills/mstar-roles/references/fullstack-dev-shared.md +2 -2
- package/harness-skills/mstar-roles/references/ops-engineer.md +2 -2
- package/harness-skills/mstar-roles/references/product-manager.md +7 -9
- package/harness-skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +3 -3
- package/harness-skills/mstar-roles/references/project-manager.md +4 -5
- package/harness-skills/mstar-roles/references/prompt-engineer.md +11 -5
- package/harness-skills/mstar-roles/references/qa-engineer.md +2 -2
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +1 -1
- package/harness-skills/mstar-roles/references/writing-specialist.md +2 -2
- package/harness-skills/mstar-skill-authoring/SKILL.md +186 -0
- package/harness-skills/pm/SKILL.md +21 -1
- package/package.json +1 -1
- package/harness-skills/mstar-superpowers-align/SKILL.md +0 -150
- package/harness-skills/mstar-superpowers-align/references/per-role-matrix.md +0 -99
- package/harness-skills/mstar-superpowers-align/references/tension-table.md +0 -19
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mstar-iteration
|
|
3
|
-
description: Morning Star 迭代管理 —— iteration-start
|
|
3
|
+
description: Morning Star 迭代管理 —— iteration-start(锁定范围、Review & Edit chain 硬门禁)、Autonomous Execute(per-plan 派发循环)、iteration-close(独立 Phase:close gate、compound、roadmap、compass completed)。触发:PM 启动新迭代、跨 plan 编排、或全部 plan Done 后收口。compass:`{ITERATION_DIR}/<iteration-id>-delivery-compass.md`;per-plan SSOT:`{HARNESS_DIR}/status.json`。
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# mstar-iteration(迭代管理)
|
|
@@ -19,7 +19,7 @@ mstar 实践模式通常是:一次迭代锁定几个 spec 点(`specify + cla
|
|
|
19
19
|
iteration-start → [per-plan lifecycle × N] → iteration-close → PR → merge
|
|
20
20
|
│ │
|
|
21
21
|
│ 锁定范围、创建 compass │ compound、更新 roadmap
|
|
22
|
-
│
|
|
22
|
+
│ Review & Edit chain → PM lock │ 标记迭代完成
|
|
23
23
|
│ 创建 integration 分支 │ commit 到 integration 分支
|
|
24
24
|
│ │
|
|
25
25
|
└──────── iteration-drive(跨 plan 追踪)────────┘
|
|
@@ -58,11 +58,11 @@ PM 在新迭代启动时执行。
|
|
|
58
58
|
| **里程碑** | 关键节点与日期 |
|
|
59
59
|
| **验收标准** | 迭代级别的 Done 定义 |
|
|
60
60
|
| **非目标** | 明确排除在本次迭代外的事项 |
|
|
61
|
-
| **Roadmap 上下文** | 本迭代在整体 roadmap
|
|
61
|
+
| **Roadmap 上下文** | 本迭代在整体 roadmap 中的位置(current iteration / next iteration) |
|
|
62
62
|
|
|
63
63
|
### 1.3 创建迭代 compass
|
|
64
64
|
|
|
65
|
-
写入 `{ITERATION_DIR}/<iteration-id>-delivery-compass.md
|
|
65
|
+
写入 `{ITERATION_DIR}/<iteration-id>-delivery-compass.md`。**必须**使用 `references/iteration-compass-template.md` 完整结构(YAML frontmatter + `## Roadmap Position` + close 占位节)。`end_date` 仅在 iteration-close 填入;禁止用正文 completion prose 替代 frontmatter `status`。
|
|
66
66
|
|
|
67
67
|
```markdown
|
|
68
68
|
---
|
|
@@ -95,8 +95,8 @@ plans: []
|
|
|
95
95
|
- <明确排除的事项>
|
|
96
96
|
|
|
97
97
|
## Roadmap Position
|
|
98
|
-
-
|
|
99
|
-
-
|
|
98
|
+
- Current iteration: <what this iteration delivers>
|
|
99
|
+
- Next iteration: <what comes next, owner, trigger>
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
### 1.4 更新索引
|
|
@@ -111,6 +111,21 @@ plans: []
|
|
|
111
111
|
|
|
112
112
|
若使用 `status.json`,在 `plans[].metadata` 中为受影响的 plan 设置 `iteration_refs`。
|
|
113
113
|
|
|
114
|
+
### 1.6 Review & Edit chain(integration 分支前强制)
|
|
115
|
+
|
|
116
|
+
**iteration-start 在 PM lock 前不算完成**——compass/plans 初稿落盘 ≠ Done。
|
|
117
|
+
|
|
118
|
+
与 host 命令 `iteration-start` §5 对齐:产物 SSOT 在本节;派发机制 SSOT 在命令 + **`mstar-dispatch-gates`**。
|
|
119
|
+
|
|
120
|
+
PM **不得**将迭代 harness 文档 commit 到 `spec_integration_branch`,直到:
|
|
121
|
+
|
|
122
|
+
1. **@product-manager**、**@architect**、**@writing-specialist** 已通过宿主 Task(或等价角色 invoke)**直接编辑**(非仅评论)compass、plans 及受影响 specs
|
|
123
|
+
2. PM 将 compass `status` 设为 `locked`,并确认各 plan 的 Prepare gate(specify / clarify / plan)
|
|
124
|
+
|
|
125
|
+
**完成证据** = 磁盘上的 compass / plans / specs 修订 + compass `status: locked`。**不**要求 `reports/<iteration-id>/` 审查报告——迭代审查的 SSOT 是被编辑的文档本身,无 per-plan QC 式审计链。
|
|
126
|
+
|
|
127
|
+
**反模式**:PM 线程代替三角色完成全部编辑而不派发 Task —— 见 **`mstar-harness-core`** 反模式索引。
|
|
128
|
+
|
|
114
129
|
---
|
|
115
130
|
|
|
116
131
|
## Phase 2: Autonomous Execute(per-plan 派发驱动)
|
|
@@ -164,7 +179,7 @@ SSOT = `{HARNESS_DIR}/status.json` + `{PLAN_DIR}/`。todos 只追踪本轮下一
|
|
|
164
179
|
5. **Cross-plan 进度同步**:更新 `{ITERATION_DIR}/<iteration-id>-delivery-compass.md` 的 `## Plans` 表状态列
|
|
165
180
|
6. **Next plan** 从步骤 1 继续
|
|
166
181
|
|
|
167
|
-
全部 plan `Done` →
|
|
182
|
+
全部 plan `Done` → **STOP** per-plan loop(§2.4 结束),打印 **`## Phase 3: iteration-close`**,按 §3.0 起独立执行。final plan 的 Assignment / closure 可以提供素材,但不能替代 Phase 3 gate。
|
|
168
183
|
|
|
169
184
|
### 2.5 Dispatch-first(implement 派发约束)
|
|
170
185
|
|
|
@@ -188,16 +203,40 @@ SSOT = `{HARNESS_DIR}/status.json` + `{PLAN_DIR}/`。todos 只追踪本轮下一
|
|
|
188
203
|
|
|
189
204
|
## Phase 3: iteration-close(收口迭代)
|
|
190
205
|
|
|
191
|
-
PM 在迭代内全部 plan Done 后执行。**本 Phase 在 integration 分支上运行**,产出物 commit 到 integration 分支,随迭代 PR 合入 main。触发方:`commands/iteration-drive.md
|
|
206
|
+
PM 在迭代内全部 plan Done 后执行。**本 Phase 在 integration 分支上运行**,产出物 commit 到 integration 分支,随迭代 PR 合入 main。触发方:`commands/iteration-drive.md`(Autonomous Execute 全部 Done 后进入)。
|
|
207
|
+
|
|
208
|
+
**Close Done 定义**:§3.1→§3.5 全部完成;compass frontmatter 写入 `status: completed` + `end_date`;每篇新增 knowledge doc 已登记 `{KNOWLEDGE_DIR}/README.md`。只在 final plan 中写了 compound / roadmap / PR 说明,不算 iteration-close 完成。
|
|
209
|
+
|
|
210
|
+
### 3.0 Phase boundary(HARD)
|
|
211
|
+
|
|
212
|
+
- Phase 3 是 iteration 级收口,不是任一 plan 的子任务。
|
|
213
|
+
- final plan closure、plan notes、plan compaction 可作为输入,但不能替代 §3.1→§3.5。
|
|
214
|
+
- 读过 `mstar-iteration` / `mstar-compound` 不等于执行 gate;必须打印 checklist 并写入产物。
|
|
215
|
+
|
|
216
|
+
### 3.0.5 Compass shape normalization(legacy 漂移修复)
|
|
192
217
|
|
|
193
|
-
|
|
218
|
+
进入 §3.1 前,先确认 compass 具有 close 可写入的结构。若缺失,PM 在本 thread 做最小规范化,不委派、不重写无关内容。
|
|
194
219
|
|
|
195
|
-
|
|
220
|
+
| 检查 | 缺则补齐 |
|
|
221
|
+
|------|----------|
|
|
222
|
+
| YAML frontmatter:`iteration_id`, `start_date`, `status` | 从文件名 / 正文提取;收口前 `status` 保持 `active` 或 `locked` |
|
|
223
|
+
| `## Roadmap Position` | 从 general context / roadmap prose 迁移为本节 |
|
|
224
|
+
| `## Compound Round Summary` | 按模板补占位,§3.4 填写 |
|
|
225
|
+
| `## Iteration Retrospective (minimal)` | 按模板补占位,§3.4 填写 |
|
|
196
226
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
227
|
+
正文 completion status 只能作为历史注释;最终状态必须写入 frontmatter `status: completed` + `end_date`。
|
|
228
|
+
|
|
229
|
+
### 3.1 Close entry checklist(HARD GATE)
|
|
230
|
+
|
|
231
|
+
**STOP**: 打印下方 checklist,且全部为 `[x]` 后,才可进入 §3.2 Compound。
|
|
232
|
+
|
|
233
|
+
- [ ] 所有 compass 中登记的 plan 在 `{HARNESS_DIR}/status.json` 均为 `Done`
|
|
234
|
+
- [ ] 所有 plan 的 residual findings 已收口(closed 或 accepted;见 `mstar-plan-artifacts`)
|
|
235
|
+
- [ ] compass `## Plans` 表状态列已与 `status.json` 同步
|
|
236
|
+
- [ ] 迭代 `## Acceptance Criteria` 已达成或显式豁免(compass 或对话记录原因)
|
|
237
|
+
- [ ] compass shape 已满足(frontmatter + `## Roadmap Position` + close 占位节)
|
|
238
|
+
|
|
239
|
+
PM **必须**在对话中打印本 checklist;不得默认同过。
|
|
201
240
|
|
|
202
241
|
### 3.2 知识结晶(Compound)—— 迭代级核心收口
|
|
203
242
|
|
|
@@ -212,27 +251,44 @@ PM 触发 `mstar-compound`(可批量):
|
|
|
212
251
|
- 跨 plan 重复出现的模式
|
|
213
252
|
- 有价值的排错经验
|
|
214
253
|
|
|
215
|
-
2.
|
|
254
|
+
2. **逐条判定**:对每条候选知识,回答 `mstar-compound` 的 Q1-Q8 自检;跳过项要在 compass `## Compound Round Summary` 记录原因。
|
|
255
|
+
|
|
256
|
+
3. **写入或更新**:值得结晶的条目按 `mstar-compound` Phase 1-7 写入 `{KNOWLEDGE_DIR}/<category>/<slug>.md`,或在高重叠时更新已有文档。
|
|
216
257
|
|
|
217
|
-
|
|
258
|
+
4. **CONCEPTS.md 协同**:若迭代中引入了新的领域词汇,更新 `<repo-root>/CONCEPTS.md`(`mstar-compound` Phase 5)
|
|
218
259
|
|
|
219
|
-
|
|
260
|
+
5. **索引登记(强制)**:每新增一篇 knowledge doc,必须完成 `mstar-compound` Phase 6,在 `{KNOWLEDGE_DIR}/README.md` 登记一行。Lightweight compound 不豁免 Phase 6。
|
|
261
|
+
|
|
262
|
+
若本轮没有值得结晶的知识,仍须在 `## Compound Round Summary` 写明 `无可结晶知识` 及原因。
|
|
220
263
|
|
|
221
264
|
### 3.3 更新 roadmap
|
|
222
265
|
|
|
223
|
-
1. 更新 compass
|
|
224
|
-
-
|
|
225
|
-
-
|
|
266
|
+
1. 更新 compass **`## Roadmap Position`**(§3.0.5 已确保本节存在):
|
|
267
|
+
- current iteration 行标记为 **`delivered`**(或等价明确措辞)
|
|
268
|
+
- next iteration 更新为即将开始的内容、触发条件、owner
|
|
226
269
|
2. 若 `status.json` 中有 `plans[].metadata.roadmap` 字段,同步更新
|
|
227
|
-
3.
|
|
270
|
+
3. 若存在 deferred-features / roadmap tracker 类文档,按项目惯例刷新
|
|
271
|
+
4. 若 `STRATEGY.md` 存在,可更新 `## Decision Log`(重大架构决策时)
|
|
272
|
+
|
|
273
|
+
### 3.4 标记迭代完成
|
|
274
|
+
|
|
275
|
+
1. compass **YAML frontmatter**:`status: completed`,`end_date: YYYY-MM-DD`(必须;见 §3.0.5)
|
|
276
|
+
2. 更新 `{ITERATION_DIR}/README.md` 索引中该迭代行 Status 为 `completed`
|
|
277
|
+
3. 填充 compass `## Compound Round Summary` 与 `## Iteration Retrospective (minimal)`(见模板)
|
|
278
|
+
|
|
279
|
+
### 3.5 Close exit checklist + commit
|
|
280
|
+
|
|
281
|
+
**Precondition**: §3.1 checklist `[x]`;§3.4 frontmatter `completed` + `end_date` 已写。
|
|
228
282
|
|
|
229
|
-
|
|
283
|
+
PM 打印 **iteration-close exit checklist**;全部为 `[x]` 后方可 `git commit` / 开 PR:
|
|
230
284
|
|
|
231
|
-
|
|
232
|
-
2
|
|
233
|
-
3.
|
|
285
|
+
- [ ] §3.1 前置 gate 已打印并满足
|
|
286
|
+
- [ ] §3.2 compound 完成;新增 knowledge doc 均已登记 `{KNOWLEDGE_DIR}/README.md`(或已记录无可结晶原因)
|
|
287
|
+
- [ ] §3.3 `## Roadmap Position` current iteration 已标 `delivered`;tracker / STRATEGY 已按需更新
|
|
288
|
+
- [ ] §3.4 frontmatter `status: completed` + `end_date`;Compound Summary + Retrospective 已填
|
|
289
|
+
- [ ] 当前分支是 `spec_integration_branch`
|
|
234
290
|
|
|
235
|
-
**Commit 到 integration 分支**:
|
|
291
|
+
**Commit 到 integration 分支**:
|
|
236
292
|
|
|
237
293
|
```bash
|
|
238
294
|
git add {ITERATION_DIR}/<id>-delivery-compass.md {ITERATION_DIR}/README.md {KNOWLEDGE_DIR}/ CONCEPTS.md
|
|
@@ -240,7 +296,7 @@ git commit -m "chore(iteration): close <iteration-id> — compound round, roadma
|
|
|
240
296
|
git push origin <spec_integration_branch>
|
|
241
297
|
```
|
|
242
298
|
|
|
243
|
-
### 3.
|
|
299
|
+
### 3.6 可选:触发 compound-refresh
|
|
244
300
|
|
|
245
301
|
若本轮 compound 新增了较多知识文档,或 compass 标记了可能过时的旧知识,触发 `mstar-compound-refresh` 对有重叠的知识文档做维护。
|
|
246
302
|
|
|
@@ -270,4 +326,7 @@ git push origin <spec_integration_branch>
|
|
|
270
326
|
- 不要在 iteration-drive 中修改 per-plan gate 判定
|
|
271
327
|
- 不要用 compass 替代 `status.json` 作为 plan 状态 SSOT
|
|
272
328
|
- 不要在没有完成 per-plan 前置检查的情况下进入 iteration-close
|
|
273
|
-
-
|
|
329
|
+
- 不要将 Phase 3 折叠进 final plan closure——须显式 §3.0→§3.5
|
|
330
|
+
- 不要用 prose completion status 替代 compass frontmatter `status: completed` + `end_date`
|
|
331
|
+
- 不要跳过 compound Phase 6(`{KNOWLEDGE_DIR}/README.md` 索引)——即使只结晶一篇文档
|
|
332
|
+
- 不要跳过 compound——如果本迭代确实没有可结晶的知识,在 compass `## Compound Round Summary` 写 `无可结晶知识(原因:<简述>)`
|
|
@@ -6,7 +6,6 @@ Copy this template when creating a new iteration compass in `{ITERATION_DIR}/`.
|
|
|
6
6
|
---
|
|
7
7
|
iteration_id: <id>
|
|
8
8
|
start_date: YYYY-MM-DD
|
|
9
|
-
end_date: <filled at close>
|
|
10
9
|
status: active
|
|
11
10
|
plans: []
|
|
12
11
|
---
|
|
@@ -50,8 +49,8 @@ Status values: `Todo` | `InProgress` | `InReview` | `Done` | `Blocked`
|
|
|
50
49
|
|
|
51
50
|
## Roadmap Position
|
|
52
51
|
|
|
53
|
-
-
|
|
54
|
-
-
|
|
52
|
+
- **Current iteration(<iteration-id>)**:<what this iteration delivers>
|
|
53
|
+
- **Next iteration**:<what comes next>,触发条件:<condition>,owner:<who>
|
|
55
54
|
- **最终目标**:<the long-term Done definition this iteration contributes to>
|
|
56
55
|
|
|
57
56
|
## Risk Register
|
|
@@ -83,14 +82,21 @@ Status values: `Todo` | `InProgress` | `InReview` | `Done` | `Blocked`
|
|
|
83
82
|
|-------|----------|-------------|
|
|
84
83
|
| `iteration_id` | Yes | iteration-start |
|
|
85
84
|
| `start_date` | Yes | iteration-start |
|
|
86
|
-
| `end_date` | No
|
|
87
|
-
| `status` | Yes | iteration-start → `active
|
|
85
|
+
| `end_date` | No | Add at iteration-close §3.4 only |
|
|
86
|
+
| `status` | Yes | iteration-start → `active` / `locked`(§1.6 PM lock);iteration-close §3.4 → **`completed`**(YAML frontmatter,非 prose completion status) |
|
|
88
87
|
| `plans` (frontmatter) | Recommended | iteration-start (initial), iteration-drive (add new) |
|
|
89
88
|
| `## Plans` table | Yes | iteration-drive (sync status), iteration-close (final) |
|
|
90
89
|
| `## Milestones` | Recommended | iteration-start, iteration-drive (update) |
|
|
91
90
|
| `## Acceptance Criteria` | Yes | iteration-start |
|
|
92
91
|
| `## Non-Goals` | Yes | iteration-start |
|
|
93
|
-
| `## Roadmap Position` | Yes | iteration-start
|
|
92
|
+
| `## Roadmap Position` | **Yes** | iteration-start(必填节,非散落于 general context prose);iteration-close §3.3(current iteration → `delivered`) |
|
|
94
93
|
| `## Risk Register` | Optional | iteration-start, iteration-drive (update) |
|
|
95
|
-
| `## Compound Round Summary` | Yes | iteration-close |
|
|
96
|
-
| `## Iteration Retrospective` | Recommended | iteration-close |
|
|
94
|
+
| `## Compound Round Summary` | Yes | iteration-close §3.4 |
|
|
95
|
+
| `## Iteration Retrospective` | Recommended | iteration-close §3.4 |
|
|
96
|
+
|
|
97
|
+
## Legacy compass drift
|
|
98
|
+
|
|
99
|
+
若仓库中已有 compass **无** YAML frontmatter、**无** `## Roadmap Position`,或只有 prose completion status:
|
|
100
|
+
|
|
101
|
+
- **新迭代**:iteration-start 必须按本模板重写,不延续 prose-only 惯例。
|
|
102
|
+
- **收口时**:`mstar-iteration` §3.0.5 在 iteration-close 入口规范化,再执行 §3.3–§3.4。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mstar-phase-gates
|
|
3
|
-
description: Morning Star (启明星) Spec-Driven 双阶段门禁 —— Prepare(`specify → clarify → plan`)、Execute(`plan(locked) → tasks → implement`)、意图门禁、长期目标优先、分批 roadmap 强制落盘、clarify 核心纪律(共享理解 / 先探索 / 每问推荐答案)、hotfix 压缩路径、可验证编辑、Phase Gate 最小证据。**必须**在 PM 判定 gate、首次 implement 派单前、产品/架构参与 Prepare、或解释为何不能跳过 plan/clarify 时 Read;`@project-manager` 每轮编排非 hotfix 任务必读;`@product-manager` / `@architect` 写规格与锁 plan 时必读 Prepare 节;实现角色 Read Execute 与 hotfix 例外即可。Task category 与 `quick` 禁豁免规则仍在 `mstar-harness-core
|
|
3
|
+
description: Morning Star (启明星) Spec-Driven 双阶段门禁 —— Prepare(`specify → clarify → plan`)、Execute(`plan(locked) → tasks → implement`)、意图门禁、长期目标优先、分批 roadmap 强制落盘、clarify 核心纪律(共享理解 / 先探索 / 每问推荐答案)、hotfix 压缩路径、可验证编辑、Phase Gate 最小证据。**必须**在 PM 判定 gate、首次 implement 派单前、产品/架构参与 Prepare、或解释为何不能跳过 plan/clarify 时 Read;`@project-manager` 每轮编排非 hotfix 任务必读;`@product-manager` / `@architect` 写规格与锁 plan 时必读 Prepare 节;实现角色 Read Execute 与 hotfix 例外即可。Task category 与 `quick` 禁豁免规则仍在 `mstar-harness-core`。实现行为见 `mstar-coding-behavior`。迭代级活动(iteration-start / iteration-close / compound)见 `mstar-iteration`。
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
## Load order(必读顺序)
|
|
@@ -28,7 +28,7 @@ description: Morning Star (启明星) Spec-Driven 双阶段门禁 —— Prepare
|
|
|
28
28
|
|
|
29
29
|
- **`plan(locked)`** — 冻结基线;实现中出现新约束时**先回写 plan 再继续**。
|
|
30
30
|
- **`tasks`** — 含依赖顺序、并行标记、完成判据;每任务可追踪到 plan、roadmap 批次与验收标准。
|
|
31
|
-
- **并行标签**:若 PM 将 ≥2 条实现轨 **同时** 分派,须在 `
|
|
31
|
+
- **并行标签**:若 PM 将 ≥2 条实现轨 **同时** 分派,须在 Assignment 写明 `Dispatch mode: parallel independent tracks`;同仓 ≥2 可写并发时写明 `Worktree isolation: required`(见 **`mstar-dispatch-gates`** 与 **`mstar-branch-worktree`**)。
|
|
32
32
|
- **`implement`** — 按 tasks 顺序执行并提交自检证据;完成进入 `InReview`;遵循 **`mstar-coding-behavior`**。
|
|
33
33
|
|
|
34
34
|
### 可验证编辑与上下文纪律
|
|
@@ -81,7 +81,7 @@ description: Morning Star (启明星) Spec-Driven 双阶段门禁 —— Prepare
|
|
|
81
81
|
- `tasks`
|
|
82
82
|
- 目标:把 plan 拆成可执行任务与依赖顺序。
|
|
83
83
|
- 最小产物:任务列表、并行标记、完成判据、映射到验收标准与 roadmap 批次。
|
|
84
|
-
- **PM**:若并行标记对应「多轨同时 implement」,在对外 **Status Update** 与实现 Assignment
|
|
84
|
+
- **PM**:若并行标记对应「多轨同时 implement」,在对外 **Status Update** 与实现 Assignment 写入 **`Dispatch mode: parallel independent tracks`**;同仓多可写并发时叠 **`Worktree isolation: required`**(见 `mstar-dispatch-gates` 与 `mstar-branch-worktree`)。
|
|
85
85
|
- `implement`
|
|
86
86
|
- 目标:按任务执行并提交证据,进入审查。
|
|
87
87
|
- 最小产物:实现 diff、自检证据、回报与 handoff。
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
## QC 三审触发时机(单 plan · 多 batch)
|
|
36
36
|
|
|
37
37
|
- **默认(推荐)**:同一 **`plan_id`** 下,**完整 QC 三审**(`qc1` + `qc2` + `qc3` 并行)**仅在 dev team 按该 plan 约定范围全部交付之后**执行**一次**,再进入 `@project-manager` 汇总与 `@qa-engineer` 验证。**不要**在每个中间 **batch** / 子里程碑都跑全套三审:否则 `reports/<plan-id>/` 会堆积多套并列报告,**`Review range` / `Diff basis` 与结论**易混淆,handoff 成本高。
|
|
38
|
-
- **batch
|
|
38
|
+
- **batch 之间**:依赖实现方按 **`mstar-coding-behavior`** 提供完成证据、主 plan 任务勾选与 PM 协调;需要书面中间意见时,用对话、主 plan 批注或**非三审**的定向检查(如单审、架构 review),**不**默认等同「又一轮完整三审」。
|
|
39
39
|
- **After `Request Changes` (default — targeted re-review)**:PM maps each **blocking** finding to the QC seat that raised it (`source` on R#, consolidated table, or the originating `qcN.md` / `F-###`). Dispatch **only** those reviewers (`QC re-review: targeted — reviewers: qc-specialist, qc-specialist-2, …`). Each re-reviewing QC **updates the same** `qc1.md` / `qc2.md` / `qc3.md` in place (add `## Revalidation`, refresh verdict / `generated_at`); **do not** add `qc1-rev2.md` siblings on this path. PM **updates the same** `qc-consolidated.md` in place. Git history is the audit trail.
|
|
40
40
|
- **Full tri re-review (exception)**:Only when Assignment states **`QC re-review: full tri-review`**. Run **three** parallel reviews again; use **new basenames** (`qc1-rev2.md` … `qc3-rev2.md`, `qc-consolidated-rev2.md`) so wave-1 files stay immutable; PM states **active wave** in consolidated decision. See `mstar-review-qc` · `mstar-dispatch-gates`.
|
|
41
41
|
- **显式例外**:仅当用户与 PM 书面同意**中间门禁**时,在 Assignment 写清 **`QC gate: incremental — <scope>`**(或等价),并仍须保证该次三审的 **`plan_id` + `Review range` / `Diff basis`** 三份一致;**优先**用子范围子目录,避免与终局 `qc1..3.md` 混名。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mstar-plan-conventions
|
|
3
|
-
description: Morning Star (启明星) harness 计划目录约定 —— `{HARNESS_DIR}` / `{PLAN_DIR}` / `{ITERATION_DIR}` / `{KNOWLEDGE_DIR}` / `{SPECS_DIR}` 发现与初始化(默认 `.mstar/`,兼容 `.agents/`)、`docs/` 与 harness 子树边界、未启用 plan 时的工作方式、Spec 集成分支与多 Plan 实现分支(merge 靶与 PR 合 main)、
|
|
3
|
+
description: Morning Star (启明星) harness 计划目录约定 —— `{HARNESS_DIR}` / `{PLAN_DIR}` / `{ITERATION_DIR}` / `{KNOWLEDGE_DIR}` / `{SPECS_DIR}` 发现与初始化(默认 `.mstar/`,兼容 `.agents/`)、`docs/` 与 harness 子树边界、未启用 plan 时的工作方式、Spec 集成分支与多 Plan 实现分支(merge 靶与 PR 合 main)、Morning Star plan-writing path gate、工期预估(agent-oriented)。**必须**在读写 `.mstar/` / `.agents/`、初始化 harness、编排含 plan 的任务、或对齐 `metadata.primary_spec` 时 Read;`@project-manager` 开 plan 任务前必读。plan 文件 / status / residual / reports / knowledge → **`mstar-plan-artifacts`**;分支与 QC 检出 → **`mstar-branch-worktree`**。
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
## Load order(必读顺序)
|
|
@@ -64,9 +64,9 @@ PM 在需要持久化追踪时:
|
|
|
64
64
|
- Git 操作与 QC 单一 `HEAD` → **`mstar-branch-worktree`**。
|
|
65
65
|
- `status.json` 登记 `spec_integration_branch` / `merge_target` → **`mstar-plan-artifacts`**。
|
|
66
66
|
|
|
67
|
-
##
|
|
67
|
+
## Plan-Writing Path Gate
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
Plans are written to **`{PLAN_DIR}`** when persistent plan tracking is enabled. Do not introduce external default plan directories.
|
|
70
70
|
|
|
71
71
|
## 状态与权限(摘要)
|
|
72
72
|
|
|
@@ -43,12 +43,12 @@ Treat these as baseline dependencies **where the role touches implementation, re
|
|
|
43
43
|
| `mstar-phase-gates` | Prepare/Execute gates, clarify, hotfix path, intention gate |
|
|
44
44
|
| `mstar-dispatch-gates` | PM dispatch; **all leaf executors** before any Task/subagent call |
|
|
45
45
|
| `mstar-branch-worktree` | Git write, parallel worktrees, QC/QA checkout fields |
|
|
46
|
-
| `mstar-plan-conventions` | `{HARNESS_DIR}` discovery, init, Spec branch naming,
|
|
46
|
+
| `mstar-plan-conventions` | `{HARNESS_DIR}` discovery, init, Spec branch naming, plan-writing path gate |
|
|
47
47
|
| `mstar-plan-artifacts` | Main plan, `reports/`, `status.json`, residual, knowledge/iteration, Done compaction |
|
|
48
48
|
| `mstar-design-md` | DESIGN.md design system spec — create/audit/maintain tokens, completeness checklist, light/dark dual-theme |
|
|
49
49
|
| `mstar-review-qc` | QC workflow, template, verdict, high-risk checks |
|
|
50
|
-
| `mstar-coding-behavior` | Implementation/debug/refactor (**not** PM orchestration-only) |
|
|
51
|
-
| `mstar-
|
|
50
|
+
| `mstar-coding-behavior` | Implementation/debug/refactor/review-feedback handling (**not** PM orchestration-only) |
|
|
51
|
+
| `mstar-skill-authoring` | New skills, major skill rewrites, trigger descriptions, behavior-shaping skill validation |
|
|
52
52
|
| `mstar-compound` | Capturing solved problems as structured knowledge in `{KNOWLEDGE_DIR}`; Discoverability check; CONCEPTS.md synergy |
|
|
53
53
|
| `mstar-compound-refresh` | Auditing/updating/consolidating knowledge docs; maintaining `{KNOWLEDGE_DIR}` accuracy |
|
|
54
54
|
| `mstar-iteration` | Iteration lifecycle: iteration-start (scope/roadmap lock), Autonomous Execute (per-plan dispatch loop), iteration-close (compound + roadmap update) |
|
|
@@ -59,7 +59,7 @@ Treat these as baseline dependencies **where the role touches implementation, re
|
|
|
59
59
|
|
|
60
60
|
| Role | Typical adds |
|
|
61
61
|
| --- | --- |
|
|
62
|
-
| `project-manager` | `mstar-dispatch-gates`, `mstar-phase-gates`, `mstar-plan-conventions`, `mstar-
|
|
62
|
+
| `project-manager` | `mstar-dispatch-gates`, `mstar-phase-gates`, `mstar-plan-conventions`, `mstar-roles` ref; + `mstar-review-qc` before QC; + `mstar-branch-worktree` / `mstar-plan-artifacts` as the round requires; + `mstar-skill-authoring` for skill work; + `mstar-iteration` for iteration lifecycle (start/drive/close); + `mstar-strategy` for strategic alignment; + `mstar-compound` / `mstar-compound-refresh` pre-loaded by `mstar-iteration` § iteration-close |
|
|
63
63
|
| `fullstack-dev*`, `frontend-dev` | `mstar-coding-behavior`, `mstar-dispatch-gates`, `mstar-branch-worktree` (if repo writes); plan path symbols from `mstar-plan-conventions` (minimal); `mstar-design-md` when implementing styled UI |
|
|
64
64
|
| `qc-specialist*` | `mstar-review-qc`, `mstar-branch-worktree`, `mstar-plan-artifacts` (report paths); `mstar-design-md` when reviewing UI |
|
|
65
65
|
| `qa-engineer` | `mstar-review-qc`, `mstar-branch-worktree`, `mstar-plan-artifacts` (closing R#); `mstar-design-md` when verifying visual output |
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**Hub matrix:** `mstar-roles` SKILL.md.
|
|
4
4
|
|
|
5
|
-
**Always:** `mstar-harness-core`, `mstar-dispatch-gates`, `mstar-phase-gates` (Prepare: specify/clarify/plan), `mstar-plan-conventions` (`{PLAN_DIR}`,
|
|
5
|
+
**Always:** `mstar-harness-core`, `mstar-dispatch-gates`, `mstar-phase-gates` (Prepare: specify/clarify/plan), `mstar-plan-conventions` (`{PLAN_DIR}`, plan-writing path).
|
|
6
6
|
|
|
7
|
-
**Typically:** `mstar-plan-artifacts` (knowledge/specs/ADR placement); `mstar-design-md` (DESIGN.md design system spec — architect is primary creator); `mstar-coding-behavior` (surgical doc edits)
|
|
7
|
+
**Typically:** `mstar-plan-artifacts` (knowledge/specs/ADR placement); `mstar-design-md` (DESIGN.md design system spec — architect is primary creator); `mstar-coding-behavior` (surgical doc edits).
|
|
8
8
|
|
|
9
9
|
**On demand:** `mstar-branch-worktree` (when committing architecture docs to the business repo).
|
|
10
10
|
|
|
@@ -28,23 +28,19 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
28
28
|
- **NEVER** treat document-level parallelism (“split into N plans”, “Plan 002–010”, “Phase X ∥ Phase Y”, “N parallel tracks”) as permission to **invoke N subagents** in this session. The **plan/spec/ADR artifacts** are your deliverable; **scheduling** parallel execution is **PM’s next round**, not part of this assignment unless `Delegation: allowed (...)` explicitly lists callees.
|
|
29
29
|
- **NEVER** treat `Handoff: @project-manager / @fullstack-dev / @qa-engineer …`, role names inside Completion Report templates, routing tables, or “suggested owner” groupings as **host invoke commands**; they are **narrative**, not authorization.
|
|
30
30
|
- **NEVER** infer you may call `Task` / subagents because the host **lists** `subagent_type` names (`architect`, `fullstack-dev`, …). **Tool availability ≠ delegation authorization**; only **`Delegation: allowed (...)`** grants callees.
|
|
31
|
-
- **NEVER**
|
|
31
|
+
- **NEVER** execute parallel-agent dispatch yourself to fan out child agents; dispatch is **PM-orchestration-only** (see `mstar-dispatch-gates`). If parallel runners are needed, report to PM for re-dispatch.
|
|
32
32
|
- **NEVER** treat `Gate Decision: blocked` (material, high-impact ambiguities still open) as permission to hand off “ready for implement” architecture—finish clarify, update the package, or return `Blocked` to PM.
|
|
33
33
|
- **NEVER** use a temporary, mixed, or partial design as the selected approach unless the target architecture and staged roadmap are written in the assigned plan/spec. “Later” without a tracking location is `Blocked`, not a handoff.
|
|
34
34
|
- **NEVER** edit application implementation source, automated tests, CI workflows, Dockerfiles, or secrets-bearing runtime configuration unless the assignment explicitly limits you to doc-only placeholders **and** PM recorded the risk acceptance.
|
|
35
|
-
- **NEVER** persist planning artifacts
|
|
35
|
+
- **NEVER** persist planning artifacts under external default plan directories; only `{PLAN_DIR}` per `mstar-plan-conventions`.
|
|
36
36
|
|
|
37
37
|
These rules align with `mstar-harness-core` executor anti-recursion invariants.
|
|
38
38
|
|
|
39
|
-
##
|
|
39
|
+
## Execution Discipline
|
|
40
40
|
|
|
41
|
-
Use
|
|
41
|
+
Use `mstar-phase-gates` for trade-off exploration and technical plan checkpoints. Use `mstar-coding-behavior` only when editing tracked files or responding to review feedback. Same-repo multi-writer parallelism is governed by `mstar-branch-worktree`.
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
- `writing-plans` for technical planning documentation
|
|
45
|
-
- `using-git-worktrees` for same-repo multi-writer parallelism
|
|
46
|
-
|
|
47
|
-
`writing-plans` outputs must follow `{PLAN_DIR}` from `mstar-plan-conventions`, not external default paths.
|
|
43
|
+
Plan artifacts must follow `{PLAN_DIR}` from `mstar-plan-conventions`, not external default paths.
|
|
48
44
|
|
|
49
45
|
## Responsibilities
|
|
50
46
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Always:** `mstar-harness-core`, `mstar-coding-behavior`, `mstar-dispatch-gates`.
|
|
6
6
|
|
|
7
|
-
**Typically:** `mstar-plan-conventions` (paths + spec metadata)
|
|
7
|
+
**Typically:** `mstar-plan-conventions` (paths + spec metadata).
|
|
8
8
|
|
|
9
9
|
**On demand:** `mstar-branch-worktree` (repo writes); `mstar-phase-gates` (Execute / hotfix when referenced in assignment); `mstar-design-md` (when implementing styled UI — read DESIGN.md for tokens before writing components).
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
28
28
|
- **NEVER** invoke `frontend-dev`, `fullstack-dev`, `fullstack-dev-2`, or other roles to perform **this** assignment unless `Delegation: allowed (...)` explicitly lists them.
|
|
29
29
|
- **NEVER** offload UI implementation, tests, or evidence to `@explore`; use glob/grep/read first—short read-only `@explore` only per `mstar-harness-core` explore boundaries.
|
|
30
30
|
- **NEVER** treat `Handoff` lines, route arrows, Completion Report role lists, or routing prose as **invoke instructions**; they are narrative unless `Delegation: allowed` says otherwise.
|
|
31
|
-
- **NEVER** run
|
|
31
|
+
- **NEVER** run parallel-agent dispatch as an implementer; this is **PM-only** (`mstar-dispatch-gates`).
|
|
32
32
|
- **NEVER** self-decide branch pivots (including switching to `main`/`master`) beyond PM’s `Working branch` / `Branch policy`; conflicting or missing branch facts => `Blocked` to PM.
|
|
33
33
|
- **NEVER** start UI implementation while the assignment’s Prepare / execute prerequisites (`plan locked`, `tasks`, branch contract) are unmet—return `Blocked` to PM instead of silent partial delivery.
|
|
34
34
|
|
|
@@ -14,7 +14,7 @@ Behavior is shared; track identity is parameterized.
|
|
|
14
14
|
|
|
15
15
|
**Always:** `mstar-harness-core`, `mstar-coding-behavior`, `mstar-dispatch-gates` (leaf anti-recursion before any Task/subagent).
|
|
16
16
|
|
|
17
|
-
**Typically:** `mstar-plan-conventions` (path symbols + `metadata.primary_spec` / `spec_refs`)
|
|
17
|
+
**Typically:** `mstar-plan-conventions` (path symbols + `metadata.primary_spec` / `spec_refs`).
|
|
18
18
|
|
|
19
19
|
**On demand:** `mstar-branch-worktree` (repo writes, `Working branch`); `mstar-phase-gates` (Execute / hotfix sections when gate fields are in the assignment); `mstar-design-md` (when task includes UI implementation — read DESIGN.md for design tokens).
|
|
20
20
|
|
|
@@ -40,7 +40,7 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
40
40
|
- **NEVER** invoke `fullstack-dev`, `fullstack-dev-2`, `frontend-dev`, or other roles to perform **this** assignment body unless `Delegation: allowed (...)` explicitly lists them.
|
|
41
41
|
- **NEVER** offload implementation, tests, or evidence to `@explore`; use glob/grep/read first—short read-only `@explore` only per `mstar-harness-core` explore boundaries.
|
|
42
42
|
- **NEVER** treat `Handoff` lines, route arrows, Completion Report role lists, or routing prose as **invoke instructions**; they are narrative unless `Delegation: allowed` says otherwise.
|
|
43
|
-
- **NEVER** run
|
|
43
|
+
- **NEVER** run parallel-agent dispatch as an implementer; this is **PM-only** (`mstar-dispatch-gates`).
|
|
44
44
|
- **NEVER** self-decide branch pivots beyond PM’s `Working branch` / `Branch policy`; if `<base>` is missing or the working tree disagrees with the assignment, **Blocked** to PM.
|
|
45
45
|
- **NEVER** start implementation while Prepare / execute prerequisites in the assignment are unmet—return `Blocked` to PM.
|
|
46
46
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Always:** `mstar-harness-core`, `mstar-coding-behavior`, `mstar-dispatch-gates`, `mstar-review-qc` (high-risk ops checklist), `mstar-branch-worktree` (repo writes, production-touching branches).
|
|
6
6
|
|
|
7
|
-
**Typically:** `mstar-plan-conventions` (paths)
|
|
7
|
+
**Typically:** `mstar-plan-conventions` (paths).
|
|
8
8
|
|
|
9
9
|
**On demand:** `mstar-phase-gates` (hotfix compressed path when assignment says hotfix).
|
|
10
10
|
|
|
@@ -29,7 +29,7 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
29
29
|
- **NEVER** read multi-phase / “N rollout tracks” **plan narrative** as “I must invoke N subagents now”; scheduling parallel work is **PM-owned** after your plan exists.
|
|
30
30
|
- **NEVER** treat `Handoff` lines, template role names, or routing tables as **invoke commands**; only `Delegation: allowed` authorizes callees.
|
|
31
31
|
- **NEVER** infer tool exposure (`Task`, subagent menus) implies authorization; **tool availability ≠ delegation**.
|
|
32
|
-
- **NEVER** run
|
|
32
|
+
- **NEVER** run parallel-agent dispatch yourself; **PM-only** (`mstar-dispatch-gates`).
|
|
33
33
|
- **NEVER** delegate deploy/config changes, verification runs, or evidence capture to `@explore`.
|
|
34
34
|
|
|
35
35
|
## Responsibilities
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**Hub matrix:** `mstar-roles` SKILL.md.
|
|
4
4
|
|
|
5
|
-
**Always:** `mstar-harness-core`, `mstar-dispatch-gates`, `mstar-phase-gates` (Prepare / clarify), `mstar-plan-conventions` (`{PLAN_DIR}`,
|
|
5
|
+
**Always:** `mstar-harness-core`, `mstar-dispatch-gates`, `mstar-phase-gates` (Prepare / clarify), `mstar-plan-conventions` (`{PLAN_DIR}`, plan-writing path).
|
|
6
6
|
|
|
7
|
-
**Typically:** `mstar-plan-artifacts` (specs, knowledge index); `mstar-design-md` (DESIGN.md design intent and requirements for UI planning); `mstar-coding-behavior` (surgical doc edits)
|
|
7
|
+
**Typically:** `mstar-plan-artifacts` (specs, knowledge index); `mstar-design-md` (DESIGN.md design intent and requirements for UI planning); `mstar-coding-behavior` (surgical doc edits).
|
|
8
8
|
|
|
9
9
|
**On demand:** `mstar-branch-worktree` (when committing product docs to the business repo).
|
|
10
10
|
|
|
@@ -29,19 +29,17 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
29
29
|
- **NEVER** invoke `architect`, dev, QA, or other roles to author **your** PRD/spec/clarify body unless `Delegation: allowed (...)` explicitly lists them—their names in templates are **not** automatic callees.
|
|
30
30
|
- **NEVER** treat `Handoff` lines, route arrows, Completion Report role lists, or routing prose as **invoke instructions**; only `Delegation: allowed` authorizes callees.
|
|
31
31
|
- **NEVER** infer you may call subagents because the host lists `subagent_type` names; **tool availability ≠ authorization**.
|
|
32
|
-
- **NEVER** run
|
|
33
|
-
- **NEVER** point
|
|
32
|
+
- **NEVER** run parallel-agent dispatch yourself; **PM-only** (`mstar-dispatch-gates`).
|
|
33
|
+
- **NEVER** point planning output to external default plan directories; use `{PLAN_DIR}` per `mstar-plan-conventions`.
|
|
34
34
|
- **NEVER** offload PRD/product-doc drafting to `@explore`; short read-only orientation only per `mstar-harness-core`.
|
|
35
35
|
- **NEVER** label a Prepare package as “ready for implement” while `Gate Decision: blocked` for material ambiguities—resolve, document waivers with PM, or return `Blocked`.
|
|
36
36
|
- **NEVER** split delivery by saying “later / follow-up / next phase” without writing the product roadmap, deferred scope, and final completion definition in the assigned plan/spec.
|
|
37
37
|
|
|
38
|
-
##
|
|
38
|
+
## Execution Discipline
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
- `writing-plans` for executable product planning
|
|
42
|
-
- `using-git-worktrees` for same-repo concurrent writers
|
|
40
|
+
Use `mstar-phase-gates` for ambiguity-heavy discovery and executable plan checkpoints. Use `mstar-coding-behavior` only when editing tracked files or responding to review feedback. Same-repo concurrent writers are governed by `mstar-branch-worktree`.
|
|
43
41
|
|
|
44
|
-
|
|
42
|
+
Plan artifacts must follow `{PLAN_DIR}` from `mstar-plan-conventions`.
|
|
45
43
|
|
|
46
44
|
## Responsibilities
|
|
47
45
|
|
|
@@ -24,7 +24,7 @@ For assignees (non-PM):
|
|
|
24
24
|
|
|
25
25
|
- **NEVER** treat `Handoff: …`, Completion Report template role names, routing tables, or “suggested owners” as **host invoke commands**; they are narrative unless `Delegation: allowed` authorizes callees.
|
|
26
26
|
- **NEVER** assume exposed `Task` / subagent menus imply you may call them; **tool availability ≠ delegation authorization**.
|
|
27
|
-
- **NEVER** execute
|
|
27
|
+
- **NEVER** execute parallel-agent dispatch as a leaf assignee; dispatch is **PM-orchestration-only** (`mstar-dispatch-gates`).
|
|
28
28
|
- **NEVER** delegate the main deliverable of this assignment to `@explore` (read-only orientation only, per `mstar-harness-core`).
|
|
29
29
|
- **NEVER** claim `Done` / pass in **Completion Report v2** without the commands, logs, or artifacts explicitly required by the assignment’s **Evidence Required** section (see `mstar-harness-core` evidence gates).
|
|
30
30
|
|
|
@@ -43,7 +43,7 @@ The **`**You are a leaf executor. You MUST NOT:**`** section (previously just pr
|
|
|
43
43
|
- **`@fullstack-dev-2`**: "treat `@fullstack-dev` in routing narrative as a handoff or invoke target"
|
|
44
44
|
- **`@qa-engineer`**: "start validation before QC reports are consolidated"; "modify application code"
|
|
45
45
|
- **`@explore`-assigned**: "implement or modify code"
|
|
46
|
-
- **All non-PM**: "
|
|
46
|
+
- **All non-PM**: "dispatch parallel agents"; "spawn a subagent whose `subagent_type` matches your own `Execute as` role id"
|
|
47
47
|
- Anti-patterns must be action-oriented ("auto-dispatch to …", "treat … as invoke", "start … before …") — not abstract descriptions.
|
|
48
48
|
- If the assignment involves multiple QCs or parallel tracks, add a specific bullet about NOT serializing or pre-empting the parallel dispatch.
|
|
49
49
|
- If the assignment is part of a broader staged plan with follow-up tasks, add a bullet about NOT auto-extending scope into downstream tasks.
|
|
@@ -114,7 +114,7 @@ The **`**You are a leaf executor. You MUST NOT:**`** section (previously just pr
|
|
|
114
114
|
- Tool availability ≠ delegation authorization
|
|
115
115
|
**Plan Path**: <{PLAN_DIR}/... or N/A>
|
|
116
116
|
**Report Format**: Completion Report v2
|
|
117
|
-
**
|
|
117
|
+
**Execution evidence**: <RCA/test-first/review feedback/evidence expectations for the assignee, if applicable>
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
## Completion Report v2 Template
|
|
@@ -6,9 +6,8 @@ Before any non-trivial PM action, read in order:
|
|
|
6
6
|
2. `mstar-dispatch-gates` + `mstar-phase-gates` (dispatch + Prepare/Execute gates)
|
|
7
7
|
3. Host adapter: `mstar-host` (detect host; Read `references/opencode.md`, `cursor.md`, or `codex.md`)
|
|
8
8
|
4. `mstar-plan-conventions` (path discovery, init, Spec branch summary)
|
|
9
|
-
5. `mstar-
|
|
10
|
-
6. `mstar-
|
|
11
|
-
7. **On demand:** `mstar-branch-worktree` (parallel implement, QC/QA checkout); `mstar-plan-artifacts` (`status.json`, R#); `mstar-plan-artifacts` (InReview waves, reports naming)
|
|
9
|
+
5. `mstar-review-qc` (same coordination round, **before** any QC dispatch)
|
|
10
|
+
6. **On demand:** `mstar-branch-worktree` (parallel implement, QC/QA checkout); `mstar-plan-artifacts` (`status.json`, R#); `mstar-plan-artifacts` (InReview waves, reports naming)
|
|
12
11
|
|
|
13
12
|
**Not required:** `mstar-coding-behavior` (orchestration-only PM work).
|
|
14
13
|
|
|
@@ -112,7 +111,7 @@ If any item below matches, fix the dispatch/plan state or mark `Blocked`—do **
|
|
|
112
111
|
- **NEVER** register residuals only inside the plan narrative while skipping root `{HARNESS_DIR}/status.json` `residual_findings[<plan_id>]` when plan conventions require the SSOT field.
|
|
113
112
|
- **NEVER** write non-canonical residual `severity` strings—use only the machine enum from `mstar-plan-artifacts`.
|
|
114
113
|
- **NEVER** use `Task category: quick` to skip mandatory Prepare (`specify → clarify → plan`) for substantive work (`mstar-harness-core` hard rule).
|
|
115
|
-
- **NEVER** omit
|
|
114
|
+
- **NEVER** omit native dispatch/worktree fields when the batch truly requires parallel dev (`Dispatch mode: parallel independent tracks`) or same-repo multi-writer concurrency (`Worktree isolation: required`) per `mstar-dispatch-gates` and `mstar-branch-worktree`.
|
|
116
115
|
- **NEVER** point QC at a single dev worktree/`Review cwd` that cannot contain **all** claimed changes from parallel tracks until Git integration lands on one `Working branch` `HEAD` (`mstar-branch-worktree` QC/QA alignment).
|
|
117
116
|
- **NEVER** label `QA: skipped` for report-only QA—still dispatch `@qa-engineer` with report-only mode; QC skip rules are separate and explicit.
|
|
118
117
|
- **NEVER** let non-PM/non-QA roles mark plan `Done`.
|
|
@@ -175,7 +174,7 @@ Anti-patterns:
|
|
|
175
174
|
- Q7: Is `quick` being misused to bypass prepare?
|
|
176
175
|
- Q8: Is intention gate explicit before implement?
|
|
177
176
|
- Q9: If QC tri-review, are alignment fields text-identical across three reviewers?
|
|
178
|
-
- Q10: Is Delegation consistent with
|
|
177
|
+
- Q10: Is `Delegation` consistent with dispatch and worktree usage?
|
|
179
178
|
- Q11: For non-trivial plan, is PM Task Board published with coverage?
|
|
180
179
|
- Q12: In invoke-based hosts, were matching invokes actually issued?
|
|
181
180
|
- Q13: With **>=2 independent** backend/fullstack units, are owners spread across `fullstack-dev` and `fullstack-dev-2` (parallel or rotated), or is `single_stream_justified: yes` recorded with a real reason?
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
**Always:** `mstar-harness-core`, `mstar-dispatch-gates`.
|
|
6
6
|
|
|
7
|
-
**When editing harness text:** read **all** topic skills you touch — at minimum `mstar-phase-gates`, `mstar-plan-conventions`, `mstar-plan-artifacts`, `mstar-
|
|
7
|
+
**When editing harness text:** read **all** topic skills you touch — at minimum `mstar-phase-gates`, `mstar-plan-conventions`, `mstar-plan-artifacts`, `mstar-branch-worktree`, `mstar-review-qc`, `mstar-coding-behavior`, plus host adapters — so prompts stay aligned with SSOT and do not re-duplicate rules.
|
|
8
|
+
|
|
9
|
+
**When creating a new skill, making a major skill rewrite, or changing trigger descriptions:** MUST read `mstar-skill-authoring` before editing.
|
|
8
10
|
|
|
9
11
|
**Typically:** `mstar-plan-conventions` (path symbols in examples).
|
|
10
12
|
|
|
@@ -28,9 +30,9 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
28
30
|
- **NEVER** invoke `prompt-engineer` or other roles to perform **this** prompt/skill/rule assignment—even when editing files “owned by” another role’s prompt pack, **you** perform the edit; those role names are **targets**, not callees.
|
|
29
31
|
- **NEVER** treat `Handoff` lines, template role lists, or routing prose as **invoke instructions**; only `Delegation: allowed` authorizes callees.
|
|
30
32
|
- **NEVER** infer tool exposure implies authorization; **tool availability ≠ delegation**.
|
|
31
|
-
- **NEVER** run
|
|
33
|
+
- **NEVER** run parallel-agent dispatch yourself; **PM-only** (`mstar-dispatch-gates`).
|
|
32
34
|
- **NEVER** outsource prompt/skill/rule design, edits, or validation evidence to `@explore`.
|
|
33
|
-
- **NEVER** merge prompt/skill/rule text that contradicts `mstar-harness-core`, `mstar-review-qc`, or `mstar-
|
|
35
|
+
- **NEVER** merge prompt/skill/rule text that contradicts `mstar-harness-core`, `mstar-review-qc`, or `mstar-coding-behavior` without an explicit documented exception approved by PM (harness SSOT wins by default).
|
|
34
36
|
|
|
35
37
|
## Responsibilities
|
|
36
38
|
|
|
@@ -46,13 +48,17 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
46
48
|
|
|
47
49
|
## Skill Authoring Requirement
|
|
48
50
|
|
|
49
|
-
When creating
|
|
51
|
+
When creating a new skill, making a major skill rewrite, changing frontmatter `description`, or changing behavior-shaping skill text:
|
|
52
|
+
|
|
53
|
+
1. MUST read `mstar-skill-authoring` before editing.
|
|
54
|
+
2. MUST follow the repository `skill-creator` requirement when the change is a new skill or major rewrite.
|
|
55
|
+
3. MUST include validation evidence for behavior-shaping changes, or explicitly state why only manual/search validation is practical.
|
|
50
56
|
|
|
51
57
|
## Prompt Change Minimal Checklist
|
|
52
58
|
|
|
53
59
|
- Trigger conditions and non-goals are explicit
|
|
54
60
|
- Output/evidence expectations are testable
|
|
55
|
-
- No conflict with `mstar-harness-core`, `mstar-review-qc`, `mstar-
|
|
61
|
+
- No conflict with `mstar-harness-core`, `mstar-review-qc`, or `mstar-skill-authoring`
|
|
56
62
|
- Redundancy removed before adding new constraints
|
|
57
63
|
- At least one replayable scenario exists for regression check
|
|
58
64
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Always:** `mstar-harness-core`, `mstar-review-qc`, `mstar-coding-behavior`, `mstar-dispatch-gates`, `mstar-branch-worktree` (same checkout fields as QC for the feature).
|
|
6
6
|
|
|
7
|
-
**Typically:** `mstar-plan-conventions` (paths)
|
|
7
|
+
**Typically:** `mstar-plan-conventions` (paths).
|
|
8
8
|
|
|
9
9
|
**On demand:** `mstar-plan-artifacts` (closing R# after verified fix); `mstar-phase-gates` (gate checklist when assignment references verification phase); `mstar-design-md` (when verifying UI — check visual output against DESIGN.md).
|
|
10
10
|
|
|
@@ -30,7 +30,7 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
30
30
|
- **NEVER** switch to an unprescribed worktree/branch to “pick up the other half” of parallel development; if the current `HEAD` cannot contain the claimed diff scope, **Blocked** and ask PM for Git integration or a corrected assignment (`mstar-branch-worktree`).
|
|
31
31
|
- **NEVER** treat `Handoff` / template role lists / route arrows as invoke instructions; only `Delegation: allowed` authorizes callees.
|
|
32
32
|
- **NEVER** infer tool exposure implies authorization; **tool availability ≠ delegation**.
|
|
33
|
-
- **NEVER** run
|
|
33
|
+
- **NEVER** run parallel-agent dispatch yourself; **PM-only** (`mstar-dispatch-gates`).
|
|
34
34
|
- **NEVER** delegate test design, execution, evidence, or QA reports to `@explore`.
|
|
35
35
|
- **NEVER** issue pass / sign-off language when checkout alignment, `Review range / Diff basis`, or mandatory commands cannot be verified—use `Blocked` with the concrete gap.
|
|
36
36
|
|