@mstar-harness/opencode 1.0.6 → 1.2.0
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/CHANGELOG.md +14 -0
- package/README.md +2 -2
- package/harness-agents/qc-specialist-2.md +9 -16
- package/harness-agents/qc-specialist-3.md +9 -16
- package/harness-agents/qc-specialist.md +9 -16
- package/harness-commands/iteration-loop.md +297 -0
- package/harness-commands/iteration-start.md +2 -0
- package/harness-skills/mstar-branch-worktree/SKILL.md +2 -2
- package/harness-skills/mstar-dispatch-gates/SKILL.md +3 -3
- package/harness-skills/mstar-harness-core/SKILL.md +2 -2
- package/harness-skills/mstar-host/references/cursor-plan-mode-bridge.md +4 -4
- package/harness-skills/mstar-host/references/cursor.md +1 -1
- package/harness-skills/mstar-host/references/parallel-dispatch.md +3 -3
- package/harness-skills/mstar-iteration/SKILL.md +26 -9
- package/harness-skills/mstar-iteration/references/autonomous-direction-lock.md +89 -0
- package/harness-skills/mstar-iteration/references/iteration-compass-template.md +14 -0
- package/harness-skills/mstar-iteration/references/iteration-corpus-hygiene.md +1 -1
- package/harness-skills/mstar-phase-gates/SKILL.md +2 -2
- package/harness-skills/mstar-plan-artifacts/SKILL.md +2 -2
- package/harness-skills/mstar-plan-artifacts/references/done-compaction.md +2 -2
- package/harness-skills/mstar-plan-artifacts/references/knowledge-and-designs.md +9 -8
- package/harness-skills/mstar-plan-artifacts/references/plan-files-and-reports.md +39 -21
- package/harness-skills/mstar-plan-artifacts/references/status-and-residuals.md +7 -6
- package/harness-skills/mstar-plan-conventions/SKILL.md +7 -7
- package/harness-skills/mstar-plan-conventions/references/artifact-storage-paths.md +4 -4
- package/harness-skills/mstar-plan-conventions/references/harness-bootstrap-and-agents-layering.md +2 -2
- package/harness-skills/mstar-review-qc/SKILL.md +5 -5
- package/harness-skills/mstar-review-qc/references/review-responsibility-boundaries.md +5 -5
- package/harness-skills/mstar-roles/SKILL.md +7 -7
- package/harness-skills/mstar-roles/references/project-manager/plan-management.md +2 -2
- package/harness-skills/mstar-roles/references/project-manager/qa-trigger-matrix.md +2 -2
- package/harness-skills/mstar-roles/references/project-manager/qc-and-residuals.md +6 -6
- package/harness-skills/mstar-roles/references/project-manager.md +4 -4
- package/harness-skills/mstar-roles/references/qa-engineer/acceptance-gate.md +2 -2
- package/harness-skills/mstar-roles/references/qa-engineer.md +4 -2
- package/harness-skills/mstar-roles/references/qc-specialist/report-template.md +1 -1
- package/harness-skills/mstar-roles/references/qc-specialist/reviewer-workflow.md +1 -1
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +7 -7
- package/harness-skills/mstar-sdd/SKILL.md +2 -2
- package/harness-skills/mstar-sdd/references/file-handoffs.md +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to the `@mstar-harness/opencode` package are documented in t
|
|
|
4
4
|
|
|
5
5
|
The monorepo root [CHANGELOG.md](../../CHANGELOG.md) summarizes cross-surface releases.
|
|
6
6
|
|
|
7
|
+
## 1.2.0
|
|
8
|
+
|
|
9
|
+
- Bundled commands: add `/iteration-loop` (autonomous Phase 1→5; optional `direction` + `scale`).
|
|
10
|
+
- Bundled skills: `mstar-iteration` autonomous direction lock / scale budget / branch resolve + `references/autonomous-direction-lock.md`.
|
|
11
|
+
|
|
12
|
+
See root [CHANGELOG.md](../../CHANGELOG.md) **1.2.0**.
|
|
13
|
+
|
|
14
|
+
## 1.1.0
|
|
15
|
+
|
|
16
|
+
- Bundled skills: raw QC/QA process reports default to gitignored `{SDD_DIR}/review/`; durable gate summaries and `status.json` residual findings are the tracked handoff surface. `{PLAN_DIR}/reports/` is legacy / explicit audit mode only.
|
|
17
|
+
- Bundled skills: iteration compass template adds `Quality Gate Summary` for iteration-level QC/QA and residual rollups.
|
|
18
|
+
|
|
19
|
+
See root [CHANGELOG.md](../../CHANGELOG.md) **1.1.0**.
|
|
20
|
+
|
|
7
21
|
## 1.0.6
|
|
8
22
|
|
|
9
23
|
- Bundled skills: `mstar-sdd` pins L2 per-task reviewer to `generalPurpose`; forbids `qc-specialist*` at task scope.
|
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ npx @mstar-harness/cli init --target opencode
|
|
|
28
28
|
|-----------------|----------|
|
|
29
29
|
| `harness-skills/` | `mstar-harness-core`, `mstar-iteration`, `mstar-sdd`, roles, phase/dispatch gates, … |
|
|
30
30
|
| `harness-agents/` | Role shells (`project-manager`, `fullstack-dev`, `qc-specialist`, …) |
|
|
31
|
-
| `harness-commands/` | `/iteration-start`, `/iteration-drive`, `/mstar-bootstrap` |
|
|
31
|
+
| `harness-commands/` | `/iteration-start`, `/iteration-drive`, `/iteration-loop`, `/mstar-bootstrap` |
|
|
32
32
|
|
|
33
33
|
The plugin resolves **only paths inside this package** — not `process.cwd()/skills`, so your app repo root does not affect harness loading.
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ The plugin resolves **only paths inside this package** — not `process.cwd()/sk
|
|
|
36
36
|
|
|
37
37
|
1. Install the plugin (above).
|
|
38
38
|
2. In OpenCode, start with the **Project Manager** agent (`project-manager`).
|
|
39
|
-
3. For a full iteration: run **`/iteration-start
|
|
39
|
+
3. For a full iteration: run **`/iteration-start`** then **`/iteration-drive`**, or one-shot **`/iteration-loop`** (autonomous Phase 1→5).
|
|
40
40
|
|
|
41
41
|
Entry skill: **`mstar-harness-core`** (loaded before other `mstar-*` skills).
|
|
42
42
|
|
|
@@ -9,21 +9,17 @@ tools:
|
|
|
9
9
|
edit: true
|
|
10
10
|
bash: true
|
|
11
11
|
permission:
|
|
12
|
-
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{
|
|
12
|
+
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{SDD_DIR}/review/` bundle roots.
|
|
13
13
|
edit:
|
|
14
14
|
"*": deny
|
|
15
|
-
".mstar/
|
|
16
|
-
".mstar/
|
|
17
|
-
".agents/
|
|
18
|
-
".agents/
|
|
19
|
-
".
|
|
20
|
-
".
|
|
21
|
-
".worktrees/**/.
|
|
22
|
-
".worktrees/**/.
|
|
23
|
-
".worktrees/**/.agents/plans/reports/*.md": allow
|
|
24
|
-
".worktrees/**/.agents/plans/reports/**/*.md": allow
|
|
25
|
-
".worktrees/**/.plans/reports/*.md": allow
|
|
26
|
-
".worktrees/**/.plans/reports/**/*.md": allow
|
|
15
|
+
".mstar/sdd/*.md": allow
|
|
16
|
+
".mstar/sdd/**/*.md": allow
|
|
17
|
+
".agents/sdd/*.md": allow
|
|
18
|
+
".agents/sdd/**/*.md": allow
|
|
19
|
+
".worktrees/**/.mstar/sdd/*.md": allow
|
|
20
|
+
".worktrees/**/.mstar/sdd/**/*.md": allow
|
|
21
|
+
".worktrees/**/.agents/sdd/*.md": allow
|
|
22
|
+
".worktrees/**/.agents/sdd/**/*.md": allow
|
|
27
23
|
bash:
|
|
28
24
|
"*": deny
|
|
29
25
|
# Git inspection (read-only)
|
|
@@ -35,9 +31,6 @@ permission:
|
|
|
35
31
|
"git stash list*": allow
|
|
36
32
|
"git branch*": allow
|
|
37
33
|
"git status*": allow
|
|
38
|
-
# Versioning QC reports only (paths you edited must stay under allowed reports/ trees)
|
|
39
|
-
"git add*": allow
|
|
40
|
-
"git commit*": allow
|
|
41
34
|
# JavaScript / TypeScript
|
|
42
35
|
"eslint*": allow
|
|
43
36
|
"npx eslint*": allow
|
|
@@ -9,21 +9,17 @@ tools:
|
|
|
9
9
|
edit: true
|
|
10
10
|
bash: true
|
|
11
11
|
permission:
|
|
12
|
-
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{
|
|
12
|
+
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{SDD_DIR}/review/` bundle roots.
|
|
13
13
|
edit:
|
|
14
14
|
"*": deny
|
|
15
|
-
".mstar/
|
|
16
|
-
".mstar/
|
|
17
|
-
".agents/
|
|
18
|
-
".agents/
|
|
19
|
-
".
|
|
20
|
-
".
|
|
21
|
-
".worktrees/**/.
|
|
22
|
-
".worktrees/**/.
|
|
23
|
-
".worktrees/**/.agents/plans/reports/*.md": allow
|
|
24
|
-
".worktrees/**/.agents/plans/reports/**/*.md": allow
|
|
25
|
-
".worktrees/**/.plans/reports/*.md": allow
|
|
26
|
-
".worktrees/**/.plans/reports/**/*.md": allow
|
|
15
|
+
".mstar/sdd/*.md": allow
|
|
16
|
+
".mstar/sdd/**/*.md": allow
|
|
17
|
+
".agents/sdd/*.md": allow
|
|
18
|
+
".agents/sdd/**/*.md": allow
|
|
19
|
+
".worktrees/**/.mstar/sdd/*.md": allow
|
|
20
|
+
".worktrees/**/.mstar/sdd/**/*.md": allow
|
|
21
|
+
".worktrees/**/.agents/sdd/*.md": allow
|
|
22
|
+
".worktrees/**/.agents/sdd/**/*.md": allow
|
|
27
23
|
bash:
|
|
28
24
|
"*": deny
|
|
29
25
|
# Git inspection (read-only)
|
|
@@ -35,9 +31,6 @@ permission:
|
|
|
35
31
|
"git stash list*": allow
|
|
36
32
|
"git branch*": allow
|
|
37
33
|
"git status*": allow
|
|
38
|
-
# Versioning QC reports only (paths you edited must stay under allowed reports/ trees)
|
|
39
|
-
"git add*": allow
|
|
40
|
-
"git commit*": allow
|
|
41
34
|
# JavaScript / TypeScript
|
|
42
35
|
"eslint*": allow
|
|
43
36
|
"npx eslint*": allow
|
|
@@ -9,21 +9,17 @@ tools:
|
|
|
9
9
|
edit: true
|
|
10
10
|
bash: true
|
|
11
11
|
permission:
|
|
12
|
-
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{
|
|
12
|
+
# `edit` covers write/patch/multiedit. Only `.md` under resolved `{SDD_DIR}/review/` bundle roots.
|
|
13
13
|
edit:
|
|
14
14
|
"*": deny
|
|
15
|
-
".mstar/
|
|
16
|
-
".mstar/
|
|
17
|
-
".agents/
|
|
18
|
-
".agents/
|
|
19
|
-
".
|
|
20
|
-
".
|
|
21
|
-
".worktrees/**/.
|
|
22
|
-
".worktrees/**/.
|
|
23
|
-
".worktrees/**/.agents/plans/reports/*.md": allow
|
|
24
|
-
".worktrees/**/.agents/plans/reports/**/*.md": allow
|
|
25
|
-
".worktrees/**/.plans/reports/*.md": allow
|
|
26
|
-
".worktrees/**/.plans/reports/**/*.md": allow
|
|
15
|
+
".mstar/sdd/*.md": allow
|
|
16
|
+
".mstar/sdd/**/*.md": allow
|
|
17
|
+
".agents/sdd/*.md": allow
|
|
18
|
+
".agents/sdd/**/*.md": allow
|
|
19
|
+
".worktrees/**/.mstar/sdd/*.md": allow
|
|
20
|
+
".worktrees/**/.mstar/sdd/**/*.md": allow
|
|
21
|
+
".worktrees/**/.agents/sdd/*.md": allow
|
|
22
|
+
".worktrees/**/.agents/sdd/**/*.md": allow
|
|
27
23
|
bash:
|
|
28
24
|
"*": deny
|
|
29
25
|
# Git inspection (read-only)
|
|
@@ -35,9 +31,6 @@ permission:
|
|
|
35
31
|
"git stash list*": allow
|
|
36
32
|
"git branch*": allow
|
|
37
33
|
"git status*": allow
|
|
38
|
-
# Versioning QC reports only (paths you edited must stay under allowed reports/ trees)
|
|
39
|
-
"git add*": allow
|
|
40
|
-
"git commit*": allow
|
|
41
34
|
# JavaScript / TypeScript
|
|
42
35
|
"eslint*": allow
|
|
43
36
|
"npx eslint*": allow
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: iteration-loop
|
|
3
|
+
description: Autonomous full iteration loop for cloud agents — Phase 1 (code-first auto direction lock + compass/plans + Review & Edit chain) through Phase 2–5 (execute → close → PR → merge-ready). Optional args: direction, scale (S|M|L, default M). Not Done until Phase 5 exit checklist passes. Minimal human intervention; no grill-me.
|
|
4
|
+
agent: project-manager
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Iteration Loop
|
|
8
|
+
|
|
9
|
+
Run a **full** Morning Star iteration with minimal human intervention. **Done = Phase 5 §5.5 exit checklist 全 `[x]`** — not Phase 1 lock, not Phase 3 close, not Phase 4 PR open.
|
|
10
|
+
|
|
11
|
+
**vs other commands:**
|
|
12
|
+
|
|
13
|
+
| Command | Scope |
|
|
14
|
+
|---------|--------|
|
|
15
|
+
| `iteration-start` | Phase 1 only; **grill-me** with user |
|
|
16
|
+
| `iteration-drive` | Phase 2→5 on an already locked iteration |
|
|
17
|
+
| **`iteration-loop`** | Phase 1→5 end-to-end; **autonomous** direction lock |
|
|
18
|
+
|
|
19
|
+
Phase gate SSOT → **`mstar-iteration`** §1–§5. This command is a **consumer**; it does not redefine skill semantics.
|
|
20
|
+
|
|
21
|
+
## Args(最多 2 个)
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
/iteration-loop [direction] [scale]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
| Arg | Meaning | Default |
|
|
28
|
+
|-----|---------|---------|
|
|
29
|
+
| `direction` | Iteration direction / feedback constraint (free text) | Code-first research → **auto-lock recommended** |
|
|
30
|
+
| `scale` | `S` \| `M` \| `L` | **`M`** |
|
|
31
|
+
|
|
32
|
+
**Scale budget**(写入 compass;约束 **业务** plan 数量)→ **`mstar-iteration`** §1.2 + `references/autonomous-direction-lock.md`:
|
|
33
|
+
|
|
34
|
+
- **S** → 1 business plan
|
|
35
|
+
- **M** → 2–3 business plans
|
|
36
|
+
- **L** → 3–4 business plans(默认上限 4,除非 `direction` 显式要求更大)
|
|
37
|
+
|
|
38
|
+
**HARD**:budget **只计**实际业务交付 plan;**不计** harness 流程(Review 链、QC/QA、compound、close、PR、merge-ready、compass/`status.json` 维护等)。流程门禁仍须执行,但不占 S/M/L 名额,也不得写成独立 process plan 来“凑数/占坑”。
|
|
39
|
+
|
|
40
|
+
Parse: if the last token is exactly `S`/`M`/`L` (case-insensitive), treat it as `scale`; remaining text is `direction`. If only one token and it is `S`/`M`/`L`, that is `scale` with empty `direction`.
|
|
41
|
+
|
|
42
|
+
## Phase state machine(禁止跳步)
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
Phase 1: Autonomous start → Phase 2: Autonomous Execute → Phase 3: close → Phase 4: PR → Phase 5: merge-ready
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
| 当前状态 | 允许 | 禁止 |
|
|
49
|
+
|----------|------|------|
|
|
50
|
+
| Phase 1 未 lock | Research → auto-lock → Review chain → integration | 进入 Phase 2 implement;grill-me |
|
|
51
|
+
| compass `locked` + plans registered | **立刻** Phase 2 | 问用户「是否开始 execute」 |
|
|
52
|
+
| 存在非 `Done` plan | Phase 2 dispatch | 进入 Phase 3 或开 PR |
|
|
53
|
+
| **全部** plan `Done` | **立刻** Phase 3 | 宣称 loop 完成、开 PR |
|
|
54
|
+
| Phase 3 exit 全 `[x]` + compass `completed` | Phase 4 | 跳过 compound |
|
|
55
|
+
| PR 已创建 | Phase 5 loop | 汇报结束 |
|
|
56
|
+
| Phase 5 exit 全 `[x]` | **iteration-loop Done** | — |
|
|
57
|
+
|
|
58
|
+
## Continuous execution(HARD — Phase 1 lock 后至 Phase 5 exit)
|
|
59
|
+
|
|
60
|
+
自 Phase 1 §6 integration 完成起,至 Phase 5 §5.5 全 `[x]` 前,PM **连续编排**。
|
|
61
|
+
|
|
62
|
+
| 禁止 | 必须 |
|
|
63
|
+
|------|------|
|
|
64
|
+
| 方向 / plan / phase 边界例行 yes/no(「是否同意该方向」「要不要继续」「是否开 PR」) | 进度摘要后**下一条** = dispatch 或下一 phase 步骤 |
|
|
65
|
+
| 用 Phase 汇报收束 turn 后等待用户 | Phase 1 lock → **立刻** Phase 2;plan Done → 下一 plan 或 Phase 3 |
|
|
66
|
+
| 跨 plan 并行 implement | Per-plan **串行** |
|
|
67
|
+
|
|
68
|
+
**合法 STOP(仅此升级用户)**:
|
|
69
|
+
|
|
70
|
+
- Branch metadata 按 **`mstar-iteration`** autonomous resolve 顺序仍无法确定(**禁止**静默默认 `main`/`master`)
|
|
71
|
+
- 代码/roadmap **无可信候选**且无 `direction` 参数
|
|
72
|
+
- **`Blocked`**:真冲突、secrets、不可逆范围缺口、Phase 5 多轮仍无法 merge-ready
|
|
73
|
+
- 用户本轮显式打断
|
|
74
|
+
|
|
75
|
+
**Turn 收束纪律**:最后一条内容必须是 **in-flight 动作**(invoke 已发出或下一 Assignment),**不得**以确认问句结尾。
|
|
76
|
+
|
|
77
|
+
## PM invariants
|
|
78
|
+
|
|
79
|
+
### Phase 1(Review & Edit)
|
|
80
|
+
|
|
81
|
+
| 禁止(PM 线程) | 必须 |
|
|
82
|
+
|-----------------|------|
|
|
83
|
+
| 自己 Edit 冒充 product-manager / architect / writing-specialist | §5.1 → §5.2 → §5.3 **顺序**各 **1 次 invoke** |
|
|
84
|
+
| 只写 Assignment 就声称 review 完成 | 几条角色 ⇒ 几条 invoke |
|
|
85
|
+
| §5 完成前 commit / 创建 integration | 5.4 PM lock 在 subagent 返回之后 |
|
|
86
|
+
| 加载 `grill-me` | **Autonomous** direction lock(`mstar-iteration` §1.2) |
|
|
87
|
+
|
|
88
|
+
### Phase 2–5
|
|
89
|
+
|
|
90
|
+
| 禁止(PM 线程) | 必须 |
|
|
91
|
+
|-----------------|------|
|
|
92
|
+
| Write/Edit/Shell 产品代码、写测试、跑 QC | 每条 implement/QC/QA Assignment ⇒ **1 次 `Task`** |
|
|
93
|
+
| 多 task plan inline 大包派发 | **SDD** per-task 循环 |
|
|
94
|
+
| 最后 plan `Done` 后直接开 PR | **Phase 3 → 4 → 5** |
|
|
95
|
+
| Phase 5 自己改产品代码 | dispatch `fullstack-dev` / `ops-engineer` |
|
|
96
|
+
|
|
97
|
+
派发细则 → **`mstar-dispatch-gates`** + **`mstar-host`**。
|
|
98
|
+
|
|
99
|
+
**Session todos**:
|
|
100
|
+
|
|
101
|
+
| Todo id | 何时追加 | 何时可勾掉 |
|
|
102
|
+
|---------|----------|------------|
|
|
103
|
+
| `phase-1-autonomous-start` | Boot | compass `locked` + integration committed |
|
|
104
|
+
| plan-wave todos | 进入 Phase 2 | 各 plan `Done` |
|
|
105
|
+
| `phase-3-iteration-close` | 仅剩 1 个非 `Done` plan | Phase 3 §3.5 exit 全 `[x]` |
|
|
106
|
+
| `phase-4-create-pr` | Phase 3 完成后 | PR 已创建 |
|
|
107
|
+
| `phase-5-pr-merge-ready` | Phase 4 完成后 | Phase 5 §5.5 exit 全 `[x]` |
|
|
108
|
+
|
|
109
|
+
## Boot
|
|
110
|
+
|
|
111
|
+
1. `mstar-harness-core`
|
|
112
|
+
2. `mstar-roles` → `references/project-manager.md`
|
|
113
|
+
3. `mstar-iteration` → **§ Phase 1**(含 **autonomous** direction lock / scale budget / branch resolve)+ **§ Phase 2–5**
|
|
114
|
+
4. `mstar-dispatch-gates`
|
|
115
|
+
5. `mstar-phase-gates` → Prepare
|
|
116
|
+
6. `mstar-plan-conventions`, `mstar-plan-artifacts`
|
|
117
|
+
7. `mstar-host` → active host reference
|
|
118
|
+
8. `mstar-compound` — before Phase 3 §3.2
|
|
119
|
+
9. **`mstar-sdd`** — before first implement dispatch in Phase 2
|
|
120
|
+
10. `mstar-review-qc` — before first QC dispatch in Phase 2
|
|
121
|
+
11. `mstar-branch-worktree` — when Git/write or QC checkout
|
|
122
|
+
|
|
123
|
+
**Do not** Read `skills/grill-me/SKILL.md` for this command.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Phase 1: Autonomous start
|
|
128
|
+
|
|
129
|
+
### 1. Research
|
|
130
|
+
|
|
131
|
+
Survey structured and unstructured sources(code-first — **explore before guessing**):
|
|
132
|
+
|
|
133
|
+
**Structured:**
|
|
134
|
+
- `{HARNESS_DIR}/status.json` → active plans, deferred, residuals
|
|
135
|
+
- `{ITERATION_DIR}/` → prior compasses, roadmap batches
|
|
136
|
+
- `{KNOWLEDGE_DIR}/` → design / architecture notes
|
|
137
|
+
- `{SPECS_DIR}/` → specs, gaps
|
|
138
|
+
|
|
139
|
+
**Unstructured — Glob then Read:**
|
|
140
|
+
- `**/roadmap*.md`, `**/ROADMAP*.md`, `**/*-roadmap.md`
|
|
141
|
+
- `**/deferred*.md`, `**/DEFERRED*.md`
|
|
142
|
+
- `**/features*.md`, `**/FEATURES*.md`
|
|
143
|
+
- `**/backlog*.md`, `**/TODO*.md`, `**/todo*.md`, `**/*.plan.md`
|
|
144
|
+
|
|
145
|
+
Prioritize deferred / incomplete items from prior iterations. Read `STRATEGY.md` if present.
|
|
146
|
+
|
|
147
|
+
### 2. Explore Directions
|
|
148
|
+
|
|
149
|
+
Scope **2–4** candidates targeting product completeness; each with goals + trade-offs. Prefer deferred / roadmap `next` items.
|
|
150
|
+
|
|
151
|
+
### 3. Lock Direction — autonomous(NOT grill-me)
|
|
152
|
+
|
|
153
|
+
**Direction lock mode: `autonomous`**(显式 opt-in → **`mstar-iteration` §1.2**)。
|
|
154
|
+
|
|
155
|
+
Execute **`mstar-iteration` §1.2 autonomous** direction lock(detail: `references/autonomous-direction-lock.md`):
|
|
156
|
+
|
|
157
|
+
1. If `direction` arg present → constrain candidates to that intent; pick the best evidence-backed fit.
|
|
158
|
+
2. If absent → rank candidates(deferred/roadmap next > STRATEGY alignment > product completeness > risk)and **lock the recommended** direction.
|
|
159
|
+
3. Write to compass: locked direction, rationale, success criteria, non-goals, scale budget.
|
|
160
|
+
4. Resolve delivery branch policy via **autonomous branch resolve**(`references/autonomous-direction-lock.md`)— never silent `main`/`master`.
|
|
161
|
+
|
|
162
|
+
**Do not** ask the user to confirm the chosen direction. Record rationale on disk instead.
|
|
163
|
+
|
|
164
|
+
**STOP** if no credible candidate and no `direction` arg, or branch policy unresolved after resolve order.
|
|
165
|
+
|
|
166
|
+
### 4. Write Compass & Plans
|
|
167
|
+
|
|
168
|
+
Per **`mstar-iteration` §1.3–§1.5**(template: `iteration-compass-template.md`):
|
|
169
|
+
|
|
170
|
+
- Compass with `iteration_base_branch`, `target_branch`, `status: active`, scale budget noted in Scope / Plans
|
|
171
|
+
- **Business** plan count within scale budget(exclude harness process from the count)
|
|
172
|
+
- Register plans in `status.json`; update `{ITERATION_DIR}/README.md`
|
|
173
|
+
|
|
174
|
+
### 5. Review & Edit Chain(HARD GATE)
|
|
175
|
+
|
|
176
|
+
**顺序(HARD)**:`product-manager` → `architect` → `writing-specialist` → PM lock。**禁止**并行三角色。OpenCode:plain role id — **`mstar-host/references/opencode.md`** § Role-mention hygiene.
|
|
177
|
+
|
|
178
|
+
| # | Role | Required action |
|
|
179
|
+
|---|------|-----------------|
|
|
180
|
+
| 5.1 | **product-manager** | invoke: **edit** compass, plans, `{SPECS_DIR}/`, `{ITERATION_DIR}/<iteration-id>/` — **禁止** `{KNOWLEDGE_DIR}/` 新增 |
|
|
181
|
+
| 5.2 | **architect** | invoke: **edit** compass, plans, specs / workspace(含 5.1 后版本)— **禁止** knowledge 新增 |
|
|
182
|
+
| 5.3 | **writing-specialist** | invoke: edit docs + **specs corpus hygiene** — `iteration-artifact-boundaries.md` + `iteration-corpus-hygiene.md` |
|
|
183
|
+
| 5.4 | **project-manager** | Merge; **lock** compass (`status: locked`); confirm Prepare gates |
|
|
184
|
+
|
|
185
|
+
Tool rule → **`mstar-dispatch-gates`** specialist review-and-edit(顺序链)。Exception: user waives ("PM-only review").
|
|
186
|
+
|
|
187
|
+
### iteration-loop Phase 1 pre-commit checklist
|
|
188
|
+
|
|
189
|
+
Print before §6; all must be `[x]`:
|
|
190
|
+
|
|
191
|
+
- [ ] Autonomous direction lock rationale recorded in compass(not grill-me)
|
|
192
|
+
- [ ] Scale budget applied; **business** plan count within S/M/L(harness process not counted)
|
|
193
|
+
- [ ] Draft compass + plans + `status.json` registered
|
|
194
|
+
- [ ] product-manager invoke completed;**未**向 `{KNOWLEDGE_DIR}/` 新增
|
|
195
|
+
- [ ] architect invoke completed;**未**向 `{KNOWLEDGE_DIR}/` 新增
|
|
196
|
+
- [ ] writing-specialist invoke completed;specs corpus hygiene done
|
|
197
|
+
- [ ] PM final lock: compass `status: locked`; Prepare gates pass
|
|
198
|
+
- [ ] Branch policy locked: `iteration_base_branch`, `spec_integration_branch`, `target_branch` in compass / `status.json`
|
|
199
|
+
- [ ] **THEN**: git commit + push `iteration/<iteration-id>`
|
|
200
|
+
|
|
201
|
+
### 6. Integration Branch
|
|
202
|
+
|
|
203
|
+
**Precondition**: §5 complete.
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
git fetch origin # if needed
|
|
207
|
+
git checkout -b <spec_integration_branch> <iteration_base_branch>
|
|
208
|
+
# or: git checkout <spec_integration_branch> if it already exists
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Register branch fields in compass + `status.json`. Commit docs; push.
|
|
212
|
+
|
|
213
|
+
**STOP** if `iteration_base_branch` or `target_branch` still missing after autonomous resolve.
|
|
214
|
+
|
|
215
|
+
**Immediately** print `## Phase 2: Autonomous Execute` → continue below(勾掉 `phase-1-autonomous-start`)。
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Phase 2: Autonomous Execute
|
|
220
|
+
|
|
221
|
+
**Continuous execution applies.** Branch policy first(`mstar-iteration` §2.3).
|
|
222
|
+
|
|
223
|
+
Execute **`mstar-iteration` § Phase 2** exactly. Summary:
|
|
224
|
+
|
|
225
|
+
1. Precondition gate §2.0(four checks)
|
|
226
|
+
2. Session todos §2.1
|
|
227
|
+
3. Read backlog §2.2
|
|
228
|
+
4. Integration branch §2.3
|
|
229
|
+
5. Per-plan loop §2.4 — **SDD** default; serial implementer → task reviewer; QC **full tri-review** N=3; QA gate; merge to integration; next plan
|
|
230
|
+
6. All plans `Done` → print `## Phase 3: iteration-close` → **`mstar-iteration` §3**(不得开 PR)
|
|
231
|
+
|
|
232
|
+
派发纪律 → **`mstar-dispatch-gates`** + **`mstar-iteration` §2.5**。
|
|
233
|
+
|
|
234
|
+
## Phase 3: iteration-close
|
|
235
|
+
|
|
236
|
+
当 every plan 为 `Done`:
|
|
237
|
+
|
|
238
|
+
1. STOP per-plan loop
|
|
239
|
+
2. Print `## Phase 3: iteration-close`
|
|
240
|
+
3. Execute **`mstar-iteration` §3.0→§3.5**(compound + workspace promotion)
|
|
241
|
+
4. Exit checklist `[x]` + compass `completed` → print `## Phase 4: Create PR`
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
git add {ITERATION_DIR}/ {KNOWLEDGE_DIR}/ CONCEPTS.md
|
|
245
|
+
git commit -m "chore(iteration): close <iteration-id> — compound round, roadmap update"
|
|
246
|
+
git push origin <spec_integration_branch>
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
## Phase 4: Create PR
|
|
250
|
+
|
|
251
|
+
Execute **`mstar-iteration` § Phase 4**:
|
|
252
|
+
|
|
253
|
+
1. Print `## Phase 4: Create PR`
|
|
254
|
+
2. Resolve `metadata.target_branch`(compass fallback);missing → STOP;never default `main`
|
|
255
|
+
3. Create PR: `spec_integration_branch` → `target_branch`
|
|
256
|
+
4. Record URL/number;勾掉 `phase-4-create-pr`
|
|
257
|
+
5. **Immediately** print `## Phase 5: PR merge-ready` → Phase 5
|
|
258
|
+
|
|
259
|
+
## Phase 5: PR merge-ready
|
|
260
|
+
|
|
261
|
+
Execute **`mstar-iteration` § Phase 5**。**§5.5 exit 全 `[x]` = iteration-loop Done.**
|
|
262
|
+
|
|
263
|
+
### 5.0 Discover optional helper skills(non-`mstar-*`)
|
|
264
|
+
|
|
265
|
+
| Skill | Search paths(示例) |
|
|
266
|
+
|-------|----------------------|
|
|
267
|
+
| `greploop` | `skills/greploop/SKILL.md`;`~/.cursor/skills-cursor/greploop/SKILL.md`;`~/.agents/skills/greploop/SKILL.md` |
|
|
268
|
+
| `babysit` | `skills/babysit/SKILL.md`;`~/.cursor/skills-cursor/babysit/SKILL.md`;`~/.agents/skills/babysit/SKILL.md` |
|
|
269
|
+
|
|
270
|
+
| Priority | Condition | Primary done signal |
|
|
271
|
+
|----------|-----------|---------------------|
|
|
272
|
+
| 1 | `greploop` found | Greptile **5/5** |
|
|
273
|
+
| 2 | else `babysit` | Required CI green + reviews resolved |
|
|
274
|
+
| 3 | else neither | Same as babysit(本 command fallback) |
|
|
275
|
+
|
|
276
|
+
Both present: greploop to 5/5, then babysit(串行).
|
|
277
|
+
|
|
278
|
+
### 5.1–5.4 Loop
|
|
279
|
+
|
|
280
|
+
Same hygiene as drive consumer pattern: status → conflicts → reviews → CI → mode pass → comment+resolve on addressed threads → repeat until §5.5.
|
|
281
|
+
|
|
282
|
+
Fixes push to `spec_integration_branch` only. PM does not rewrite product code in-thread.
|
|
283
|
+
|
|
284
|
+
### 5.5 Phase 5 exit checklist(iteration-loop Done)
|
|
285
|
+
|
|
286
|
+
与 **`mstar-iteration` §5.2** 对齐:
|
|
287
|
+
|
|
288
|
+
- [ ] PR mergeable
|
|
289
|
+
- [ ] All **required** CI checks green on latest head
|
|
290
|
+
- [ ] All review threads **resolved**(或用户书面 waive)
|
|
291
|
+
- [ ] Greptile **5/5**(若 greploop mode / repo 可见分数)
|
|
292
|
+
- [ ] Review comment + resolve 已覆盖本轮 addressed feedback
|
|
293
|
+
- [ ] Host todo `phase-5-pr-merge-ready` 可勾选
|
|
294
|
+
|
|
295
|
+
**Then** report: iteration id, locked direction + scale, plans completed, compound summary, PR link, merge-ready evidence.
|
|
296
|
+
|
|
297
|
+
PR merge itself may remain manual unless user authorized auto-merge.
|
|
@@ -65,6 +65,8 @@ Explore candidate directions targeting **product completeness**:
|
|
|
65
65
|
|
|
66
66
|
## 3. Lock Direction — bundled `grill-me`
|
|
67
67
|
|
|
68
|
+
**Direction lock mode: `interactive`**(`mstar-iteration` §1.2 默认;本命令不使用 `autonomous`)。
|
|
69
|
+
|
|
68
70
|
This command bundles a **non-`mstar-*`** skill at `skills/grill-me/SKILL.md`. **Only this command step** references it — **do not** load it from `mstar-harness-core` or other `mstar-*` skills.
|
|
69
71
|
|
|
70
72
|
**Before this step:** Read `skills/grill-me/SKILL.md`.
|
|
@@ -139,10 +139,10 @@ description: Morning Star business-repo Git feature branches, same-repo concurre
|
|
|
139
139
|
|
|
140
140
|
- **`project-manager`** 分派 **QC** 时须在 Assignment 写明与待审实现一致的 **`Working branch`**,并写明 **`Review cwd` / `Worktree path`**:**优先**沿用开发 **Completion Report** 中回报的业务仓 **实现检出路径**(即「该 feature 的 worktree」)**当且仅当**该路径上的检出分支 **`HEAD` 已包含本轮待审的全部提交**(含曾发生在其他并行 worktree、现已归并到该分支的变更)。否则 **必须**改用 **集成完成后的** `Working branch` 与对应检出路径(或在该分支上 **另开** 审查专用 worktree)。若开发未用 worktree,则写明单一明确的业务仓根路径。若审查需与开发目录 **物理分离** 但仍审 **同一分支**,可指示在 **`Working branch`** 上 **另加** 一个 worktree 专供审查(只读使用业务仓)。**多流并行开发**时的前置归并、**推荐默认编排(plan 集成分支先行)** 与误派禁令见上一小节。
|
|
141
141
|
- **三票审同一功能(强制对齐)**:分派 **QC 三审**时,除上述字段外,**必须**在 **三份 Assignment 中逐字写入相同**的 **`plan_id`** 与 **`Review range` / `Diff basis`**:
|
|
142
|
-
- **`plan_id`**:与 `{
|
|
142
|
+
- **`plan_id`**:与 `{SDD_DIR}` 的 `<plan-id>` 段、主 **Plan Path**、`status.json.plans[].id` 一致;无 `{PLAN_DIR}` 流程时写 **`plan_id: N/A`**,并另给一行 **`Feature / scope label`**(不可歧义,足以与并行其它 feature 区分)。
|
|
143
143
|
- **`Review range` / `Diff basis`**:明确本次审查所针对的 **diff/提交范围**(例如 `merge-base: <target_branch-or-base-ref>` + `tip: HEAD`;或 `rev-range: <full-40>..<full-40>`;或一句 `equivalent to: git diff <merge-base>...HEAD`,以团队可复现为准)。**三名 reviewer 的 Assignment 间该字段必须完全一致**;**`qa-engineer`** 验证同一 feature 时 **复用同一 `plan_id` 与同一 `Review range` / `Diff basis`**。**热修 / QC 单审**路径也须含 **同一组字段**,仅承接方份数为 1。
|
|
144
144
|
- **三审并行**时,三名 reviewer **共用同一组 `Review cwd` / `Worktree path` + `Working branch` + `plan_id` + `Review range` / `Diff basis`**(对业务仓只读分析);**一般不必**为每位 reviewer 各开一个 worktree,除非宿主或执行环境要求进程级隔离。
|
|
145
|
-
- QC 的
|
|
145
|
+
- QC 的 **报告落盘**默认仅限 Assignment 指定的 `{SDD_DIR}/review/`;上述约定保证 `git diff`、`git log`、lint 与所读文件与 **待合并 feature** 一致。PM 另行提交主 plan gate summary / `status.json` residual changes as durable artifacts.
|
|
146
146
|
- **`project-manager`** 分派 **`qa-engineer`** 时(仅 **`QA gate: mandatory`**),Assignment 须与 QC **逐字相同**的 **`Review cwd` / `Worktree path`**、**`Working branch`**、**`plan_id`**、**`Review range` / `Diff basis`**(QC 已写清则 QA 照抄)。**`qa-engineer`** 执行业务仓命令前须核对检出与分支;Report-only 且无路径依赖时,回报须说明验证环境,否则 `Blocked`。
|
|
147
147
|
- 若 **QA 与同仓其他可写角色并发**提交测试代码,仍须遵守上文「同仓并发写入」的 **worktree** 规则(可为 QA 单开一条写入 worktree,**同一 `Working branch`**,由 PM 在 Assignment 写明)。
|
|
148
148
|
|
|
@@ -54,8 +54,8 @@ description: Morning Star 派发与委派门禁 —— 仅 PM 可增派 subagent
|
|
|
54
54
|
当 PM 声明「并发分派」时,须同时满足**文案并发**与**工具并发**:
|
|
55
55
|
|
|
56
56
|
- **工具并发**:同一调度轮次内,多个 subagent 调用须在**同一条 assistant 消息**里一次性发出(宿主允许时)。
|
|
57
|
-
- **QC tri-review(SDD 强制)**:`Execution mode: sdd` 且全部 task 完成后 → `qc-specialist` / `qc-specialist-2` / `qc-specialist-3` 同条消息 **N=3
|
|
58
|
-
- **QC 单席(例外)**:`Execution mode: inline`(hotfix 等),或 Assignment 显式 `QC mode: single` / `QC mode: single — override: <reason>` → `qc-specialist` ×1,`N=1
|
|
57
|
+
- **QC tri-review(SDD 强制)**:`Execution mode: sdd` 且全部 task 完成后 → `qc-specialist` / `qc-specialist-2` / `qc-specialist-3` 同条消息 **N=3**(写 `{SDD_DIR}/review/qc1.md`…`qc3.md`;PM 汇总 `qc-consolidated.md` + durable plan summary)。Assignment 须含 branch **review-package** 路径与 report paths。适用于**单 plan 与 iteration**。
|
|
58
|
+
- **QC 单席(例外)**:`Execution mode: inline`(hotfix 等),或 Assignment 显式 `QC mode: single` / `QC mode: single — override: <reason>` → `qc-specialist` ×1,`N=1`,写 `{SDD_DIR}/review/qc.md`。
|
|
59
59
|
- **QC targeted re-review**:Assignment 含 **`QC re-review: targeted — reviewers: …`** 时,**N** = 所列席位数(1–3),同条消息发满 **N**。
|
|
60
60
|
- **先自检再发送**:发送前核对「Assignment 条数 = 本条消息中的实际 **派发** 调用条数」。
|
|
61
61
|
- **前置步骤与派发回合分离(防串行 rollout)**:为派发准备的 **`bash` / `read` / `glob` / `grep`**(如 `merge-base`、`Review range`、`git rev-parse`)**不计入** `N` 次派发;可在上一条仅含准备的消息完成。准备完成后,**下一条派发消息**须**一次性**含 **`N` 次** Task / subagent invoke。**禁止**先发 `1` 次、等返回再补发其余 `N-1` 次。
|
|
@@ -73,7 +73,7 @@ When **`Execution mode: sdd`** (`mstar-sdd`):
|
|
|
73
73
|
- **`SDD implementer session: sticky`**:same implementer subagent may **resume** across tasks when host supports it; **reviewers never resume** — see **`mstar-sdd/references/sticky-implementer-session.md`**.
|
|
74
74
|
- File handoffs only — no pasted plan/diff/history in dispatch prompts.
|
|
75
75
|
- Record per-task BASE SHA; use `review-package` for diffs — **never `HEAD~1`**.
|
|
76
|
-
- After all tasks: branch `review-package` → **mandatory tri-review N=3** when `Execution mode: sdd`; **N=1** only for `inline` / explicit single override.
|
|
76
|
+
- After all tasks: branch `review-package` in `{SDD_DIR}/review/` → **mandatory tri-review N=3** when `Execution mode: sdd`; **N=1** only for `inline` / explicit single override.
|
|
77
77
|
|
|
78
78
|
## 并行规则(摘要)
|
|
79
79
|
|
|
@@ -39,7 +39,7 @@ description: Morning Star (启明星) harness **强制全局入口** —— 信
|
|
|
39
39
|
| 角色 | 始终 | 按任务追加(典型) |
|
|
40
40
|
|------|------|-------------------|
|
|
41
41
|
| **全部** | 本 skill | — |
|
|
42
|
-
| **`@project-manager`** | 本 skill | `mstar-dispatch-gates`、`mstar-phase-gates`、`mstar-plan-conventions`、`mstar-roles`;implement 波次 `mstar-sdd`;派 QC 前 `mstar-review-qc`;并行/审查 `mstar-branch-worktree`;plan/status/
|
|
42
|
+
| **`@project-manager`** | 本 skill | `mstar-dispatch-gates`、`mstar-phase-gates`、`mstar-plan-conventions`、`mstar-roles`;implement 波次 `mstar-sdd`;派 QC 前 `mstar-review-qc`;并行/审查 `mstar-branch-worktree`;plan/status/review bundle `mstar-plan-artifacts`;UI 类 plan Prepare 阶段 `mstar-design-md`(DESIGN.md 门禁);新建/大改 skill 时 `mstar-skill-authoring`;迭代管理 `mstar-iteration`(Phase 1–5);战略性工作 `mstar-strategy`。**不**读 `mstar-coding-behavior` |
|
|
43
43
|
| **实现/审查/运维** | 本 skill + `mstar-coding-behavior` + 角色 ref | 有 git 写:`mstar-branch-worktree`;有 plan 路径:`mstar-plan-conventions`;**PM** 派 QC 前:`mstar-review-qc`;**`qc-specialist*`**:`mstar-roles` → `references/qc-specialist/`;`qa-engineer`:`references/qa-engineer/`;改 status/residual:`mstar-plan-artifacts`;UI:`mstar-design-md`;知识库:`mstar-compound`(PM) |
|
|
44
44
|
| **leaf 承接方** | 上栏 + **`mstar-dispatch-gates`**(反递归节) | — |
|
|
45
45
|
|
|
@@ -92,7 +92,7 @@ PM 在 Assignment 写 **`Task category`**(主类 + 可选 `secondary`):
|
|
|
92
92
|
| `mstar-sdd` | Subagent-driven development:file handoff、per-task review、ledger |
|
|
93
93
|
| `mstar-branch-worktree` | 功能分支、worktree、QC/QA 检出对齐 |
|
|
94
94
|
| `mstar-plan-conventions` | `{HARNESS_DIR}` 发现、初始化、Spec 分支模型摘要、产物路径 SSOT |
|
|
95
|
-
| `mstar-plan-artifacts` | 主 plan、
|
|
95
|
+
| `mstar-plan-artifacts` | 主 plan、review bundle / durable summaries、`status.json`、residual、knowledge、Done 归档 |
|
|
96
96
|
| `mstar-design-md` | DESIGN.md 设计系统规范 —— 创建/审计/维护 design tokens,三级检查清单,light/dark 双主题 |
|
|
97
97
|
| `mstar-review-qc` | PM:QC tri 编排、residual 留档、四层边界;leaf 执行 → `mstar-roles/references/qc-specialist/` |
|
|
98
98
|
| `mstar-coding-behavior` | Think / Simplicity / Surgical / Debugging / Review Feedback / Goal-Driven / Communication |
|
|
@@ -31,7 +31,7 @@ Cursor **Plan mode** uses **CreatePlan** and built-in plan todos for session UX.
|
|
|
31
31
|
When plan management is required and directories are missing:
|
|
32
32
|
|
|
33
33
|
1. Create `{HARNESS_DIR}` and `{PLAN_DIR}`.
|
|
34
|
-
2.
|
|
34
|
+
2. Ensure `{HARNESS_DIR}/sdd/` is gitignored; per-plan review bundles are created under `{SDD_DIR}/review/` when needed.
|
|
35
35
|
3. Create `{HARNESS_DIR}/archived/residuals/`.
|
|
36
36
|
4. Initialize `{HARNESS_DIR}/status.json` from `mstar-plan-artifacts/templates/status.empty.json` if missing.
|
|
37
37
|
5. Optional: `{HARNESS_DIR}/notes.json` from `templates/notes.empty.json`, `{HARNESS_DIR}/knowledge/README.md`.
|
|
@@ -46,7 +46,7 @@ Full PM checklist: `mstar-roles/references/project-manager/plan-management.md`.
|
|
|
46
46
|
|
|
47
47
|
| Todo ID (use in title) | Goal | On-disk outcome |
|
|
48
48
|
|------------------------|------|-----------------|
|
|
49
|
-
| **`harness-init`** | Bootstrap harness tree | `{HARNESS_DIR}/`, `{PLAN_DIR}/`, `
|
|
49
|
+
| **`harness-init`** | Bootstrap harness tree | `{HARNESS_DIR}/`, `{PLAN_DIR}/`, `sdd/` gitignore, `archived/residuals/`, `status.json` initialized |
|
|
50
50
|
| **`spec-register`** | Register plan in SSOT | New `plans[]` row in `status.json` (`id`, `status`, `file`, `metadata`); spec stub in `{SPECS_DIR}` or plan frontmatter |
|
|
51
51
|
| **`mirror-plan`** | SSOT main plan file | `{PLAN_DIR}/<plan-id>-<name>.md` with task checkboxes aligned to CreatePlan body |
|
|
52
52
|
|
|
@@ -107,7 +107,7 @@ Use this structure in CreatePlan `plan` markdown; mirror the same sections into
|
|
|
107
107
|
|
|
108
108
|
### Bootstrap (fixed prefix — complete before implement)
|
|
109
109
|
|
|
110
|
-
1. harness-init — init .mstar/, status.json,
|
|
110
|
+
1. harness-init — init .mstar/, status.json, sdd/ gitignore, archived/residuals/
|
|
111
111
|
2. spec-register — register plan_id in status.json; spec stub if applicable
|
|
112
112
|
3. mirror-plan — write .mstar/plans/<plan-id>-<short-name>.md
|
|
113
113
|
|
|
@@ -198,6 +198,6 @@ When `/pm` runs under Plan mode:
|
|
|
198
198
|
## Related skills
|
|
199
199
|
|
|
200
200
|
- `mstar-plan-conventions` — discovery, init, plan-writing path gate
|
|
201
|
-
- `mstar-plan-artifacts` — `status.json`,
|
|
201
|
+
- `mstar-plan-artifacts` — `status.json`, review bundle summaries, checkboxes, residual
|
|
202
202
|
- `mstar-phase-gates` — Prepare / Execute order
|
|
203
203
|
- `mstar-roles/references/project-manager/dispatch-and-assignment.md` — Checkpoint: commit → Completion Report → Status Update
|
|
@@ -19,7 +19,7 @@ Before first **CreatePlan**: Read `mstar-plan-conventions`, `mstar-plan-artifact
|
|
|
19
19
|
|
|
20
20
|
| Todo ID | Purpose |
|
|
21
21
|
|---------|---------|
|
|
22
|
-
| `harness-init` | Init `{HARNESS_DIR}`, `{PLAN_DIR}`, `
|
|
22
|
+
| `harness-init` | Init `{HARNESS_DIR}`, `{PLAN_DIR}`, `sdd/` gitignore, `archived/residuals/`, `status.json` |
|
|
23
23
|
| `spec-register` | Register `plan_id` in `status.json.plans[]` + spec stub if applicable |
|
|
24
24
|
| `mirror-plan` | Write SSOT main plan under `{PLAN_DIR}/` |
|
|
25
25
|
|
|
@@ -29,8 +29,8 @@ Printing `## Assignment` in the main thread **without** matching host invocation
|
|
|
29
29
|
|
|
30
30
|
## QC default (initial wave)
|
|
31
31
|
|
|
32
|
-
- **`Execution mode: sdd`**: **N=3** tri-review + branch review-package path → `qc1`…`qc3` + consolidated.
|
|
33
|
-
- **`inline` / override**: **N=1** → `qc.md`.
|
|
32
|
+
- **`Execution mode: sdd`**: **N=3** tri-review + branch review-package path → `{SDD_DIR}/review/qc1.md`…`qc3.md` + consolidated.
|
|
33
|
+
- **`inline` / override**: **N=1** → `{SDD_DIR}/review/qc.md`.
|
|
34
34
|
|
|
35
35
|
## QC iteration / SDD (same rule)
|
|
36
36
|
|
|
@@ -55,7 +55,7 @@ Formal iteration Phase 2 uses the same SDD + tri rule — not a separate carve-o
|
|
|
55
55
|
|
|
56
56
|
- Assignment: **`QC re-review: targeted — reviewers: <role-ids>`** → **N** = listed seats only (1–3), **one** dispatch turn with **N** invocations.
|
|
57
57
|
- Do **not** default to three invocations after a routine fix round.
|
|
58
|
-
- Post-dispatch: verify only **dispatched** seats returned; PM updates same `qc-consolidated.md` (see `mstar-plan-artifacts/references/plan-files-and-reports.md`).
|
|
58
|
+
- Post-dispatch: verify only **dispatched** seats returned; PM updates same bundle `qc-consolidated.md` and durable plan summary (see `mstar-plan-artifacts/references/plan-files-and-reports.md`).
|
|
59
59
|
|
|
60
60
|
## Self-check before send
|
|
61
61
|
|