@mstar-harness/opencode 1.3.0 → 1.3.1
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 +6 -0
- package/harness-commands/iteration-drive.md +1 -1
- package/harness-commands/iteration-loop.md +2 -2
- package/harness-commands/iteration-start.md +6 -5
- package/harness-skills/mstar-compound/SKILL.md +7 -7
- package/harness-skills/mstar-dispatch-gates/SKILL.md +1 -1
- package/harness-skills/mstar-host/references/cursor-plan-mode-bridge.md +1 -1
- package/harness-skills/mstar-iteration/SKILL.md +24 -22
- package/harness-skills/mstar-iteration/references/autonomous-direction-lock.md +1 -1
- package/harness-skills/mstar-iteration/references/iteration-artifact-boundaries.md +38 -29
- package/harness-skills/mstar-iteration/references/iteration-compass-template.md +9 -12
- package/harness-skills/mstar-iteration/references/iteration-corpus-hygiene.md +30 -36
- package/harness-skills/mstar-iteration/references/iteration-workspace-readme-template.md +13 -15
- package/harness-skills/mstar-plan-artifacts/references/knowledge-and-designs.md +13 -12
- package/harness-skills/mstar-plan-conventions/SKILL.md +1 -1
- package/harness-skills/mstar-plan-conventions/references/artifact-storage-paths.md +3 -4
- package/harness-skills/mstar-roles/references/architect.md +1 -1
- package/harness-skills/mstar-roles/references/product-manager.md +1 -1
- package/harness-skills/mstar-roles/references/writing-specialist.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ 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.3.1
|
|
8
|
+
|
|
9
|
+
- Bundled skills/commands: iteration package layout — `{ITERATION_DIR}/<id>/delivery-compass.md` + sibling `guides/` / `specs/`; one-row root iteration index; legacy flat compass read-compat.
|
|
10
|
+
|
|
11
|
+
See root [CHANGELOG.md](../../CHANGELOG.md) **1.3.1**.
|
|
12
|
+
|
|
7
13
|
## 1.3.0
|
|
8
14
|
|
|
9
15
|
- Bundled commands: retire `/mstar-bootstrap`; bootstrap procedure → `mstar-compound-refresh/references/project-knowledge-bootstrap.md`.
|
|
@@ -131,7 +131,7 @@ Execute **`mstar-iteration` § Phase 2** exactly. Summary:
|
|
|
131
131
|
|------|---------|------|
|
|
132
132
|
| 1 | §3.0 / §3.0.5 | Phase 边界;legacy compass 规范化(frontmatter + `## Roadmap Position`) |
|
|
133
133
|
| 2 | §3.1 | 打印 close entry checklist,全部 `[x]` |
|
|
134
|
-
| 3 | §3.2 | Compound + **`<iteration-id>/`
|
|
134
|
+
| 3 | §3.2 | Compound + **`<iteration-id>/` package promotion**;新增 doc 完成 `mstar-compound` Phase 6(`{KNOWLEDGE_DIR}/README.md`) |
|
|
135
135
|
| 4 | §3.3 | `## Roadmap Position` current iteration → `delivered`;STRATEGY/tracker 按需更新 |
|
|
136
136
|
| 5 | §3.4 | frontmatter `status: completed` + `end_date`;Compound Summary + Retrospective |
|
|
137
137
|
| 6 | §3.5 | 打印 close exit checklist → commit → push |
|
|
@@ -178,7 +178,7 @@ Per **`mstar-iteration` §1.3–§1.5**(template: `iteration-compass-template.
|
|
|
178
178
|
| # | Role | Required action |
|
|
179
179
|
|---|------|-----------------|
|
|
180
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 /
|
|
181
|
+
| 5.2 | **architect** | invoke: **edit** compass, plans, specs / package(含 5.1 后版本)— **禁止** knowledge 新增 |
|
|
182
182
|
| 5.3 | **writing-specialist** | invoke: edit docs + **specs corpus hygiene** — `iteration-artifact-boundaries.md` + `iteration-corpus-hygiene.md` |
|
|
183
183
|
| 5.4 | **project-manager** | Merge; **lock** compass (`status: locked`); confirm Prepare gates |
|
|
184
184
|
|
|
@@ -237,7 +237,7 @@ Execute **`mstar-iteration` § Phase 2** exactly. Summary:
|
|
|
237
237
|
|
|
238
238
|
1. STOP per-plan loop
|
|
239
239
|
2. Print `## Phase 3: iteration-close`
|
|
240
|
-
3. Execute **`mstar-iteration` §3.0→§3.5**(compound +
|
|
240
|
+
3. Execute **`mstar-iteration` §3.0→§3.5**(compound + package promotion)
|
|
241
241
|
4. Exit checklist `[x]` + compass `completed` → print `## Phase 4: Create PR`
|
|
242
242
|
|
|
243
243
|
```bash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: iteration-start
|
|
3
|
-
description: Start a new harness iteration — research, grill-me, compass/plans, Review & Edit chain (long-lived {SPECS_DIR}/ + {ITERATION_DIR}/<id>/
|
|
3
|
+
description: Start a new harness iteration — research, grill-me, compass/plans, Review & Edit chain (long-lived {SPECS_DIR}/ + {ITERATION_DIR}/<id>/ package; compound promotes package at close only), PM lock, integration branch.
|
|
4
4
|
agent: project-manager
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -180,10 +180,11 @@ Run **grill-me** to stress-test candidate directions with the user:
|
|
|
180
180
|
|
|
181
181
|
Produce harness artifacts per **`mstar-iteration` § 1.3**(template: `mstar-iteration/references/iteration-compass-template.md`):
|
|
182
182
|
|
|
183
|
-
- `{ITERATION_DIR}/<iteration-id
|
|
183
|
+
- `{ITERATION_DIR}/<iteration-id>/delivery-compass.md` — YAML frontmatter **must** include `iteration_base_branch`, `target_branch`, `status: active`
|
|
184
184
|
- `{PLAN_DIR}/<plan-id>-<name>.md` for each plan in this iteration
|
|
185
185
|
- Register all plans in `{HARNESS_DIR}/status.json`(per `mstar-plan-artifacts` §1.5:root `metadata` + plan `spec_integration_branch`)
|
|
186
|
-
- Update `{ITERATION_DIR}/README.md` index
|
|
186
|
+
- Update `{ITERATION_DIR}/README.md` index(**一行 = 一次迭代**;per `mstar-iteration` § 1.4)
|
|
187
|
+
- Create package dirs as needed: `{ITERATION_DIR}/<iteration-id>/{guides,specs}/` + optional package `README.md`
|
|
187
188
|
|
|
188
189
|
## 5. Review & Edit Chain(HARD GATE — do not commit before this)
|
|
189
190
|
|
|
@@ -196,7 +197,7 @@ Each role below **reviews and directly edits** the documents. Do not just flag i
|
|
|
196
197
|
| # | Role | Required action | Gate |
|
|
197
198
|
|---|------|-----------------|------|
|
|
198
199
|
| 5.1 | **product-manager** | invoke: **edit** compass, plans, **`{SPECS_DIR}/`**, **`{ITERATION_DIR}/<iteration-id>/`**(`guides/`、`specs/` 按需)— **禁止** `{KNOWLEDGE_DIR}/` 新增 | 完成后方可 5.2 |
|
|
199
|
-
| 5.2 | **architect** | invoke: **edit** compass, plans, **`{SPECS_DIR}/`**,
|
|
200
|
+
| 5.2 | **architect** | invoke: **edit** compass, plans, **`{SPECS_DIR}/`**, package `specs/`(含 5.1 后版本)— **禁止** `{KNOWLEDGE_DIR}/` 新增 | 5.1 返回后;完成后方可 5.3 |
|
|
200
201
|
| 5.3 | **writing-specialist** | invoke: **edit** compass / plans / specs / iteration 文档; **specs corpus hygiene**(全库 `{SPECS_DIR}/` + 既有 `{KNOWLEDGE_DIR}/` 卫生与错放纠正,**不**新增 knowledge)— `mstar-iteration/references/iteration-artifact-boundaries.md` + `iteration-corpus-hygiene.md` | 5.2 返回后 |
|
|
201
202
|
| 5.4 | **project-manager** | Merge subagent edits; resolve conflicts; **lock** compass (`status: locked`); confirm Prepare gates | 5.3 返回后 |
|
|
202
203
|
|
|
@@ -225,7 +226,7 @@ PM must print this block before §6; all `[ ]` must be `[x]`:
|
|
|
225
226
|
|
|
226
227
|
- [ ] grill-me decisions recorded in compass
|
|
227
228
|
- [ ] Draft compass + plans + `status.json` registered
|
|
228
|
-
- [ ] product-manager invoke completed — compass / plans / specs / **`<iteration-id>/`
|
|
229
|
+
- [ ] product-manager invoke completed — compass / plans / specs / **`<iteration-id>/` package**(按需);**未**向 `{KNOWLEDGE_DIR}/` 新增
|
|
229
230
|
- [ ] architect invoke completed — compass / **specs** edited;**未**向 `{KNOWLEDGE_DIR}/` 新增
|
|
230
231
|
- [ ] writing-specialist invoke completed — specs + iteration docs edited;**specs corpus hygiene** done(全库 `{SPECS_DIR}/`;既有 knowledge 仅卫生/归档;错放已迁回 `iterations/` 或 archive)
|
|
231
232
|
- [ ] PM final lock: compass `status: locked`; Prepare gates pass (blocked plans documented)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mstar-compound
|
|
3
|
-
description: Morning Star 知识结晶 —— 将已解决问题的经验沉淀为结构化知识文档,存入 `{KNOWLEDGE_DIR}`;迭代收口时从 `{ITERATION_DIR}/<iteration-id>/`
|
|
3
|
+
description: Morning Star 知识结晶 —— 将已解决问题的经验沉淀为结构化知识文档,存入 `{KNOWLEDGE_DIR}`;迭代收口时从 `{ITERATION_DIR}/<iteration-id>/` package 提升 specs/guides。支持 Bug track 与 Knowledge track 双轨。含重叠检测、可发现性检查、CONCEPTS.md 协同。触发:iteration-close(`mstar-iteration` §3.2)或独立触发。产出:`{KNOWLEDGE_DIR}/<category>/<slug>.md`。
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# mstar-compound(知识结晶)
|
|
@@ -79,18 +79,18 @@ iteration-start → [plan lifecycle × N: specify→...→Done] → iteration-cl
|
|
|
79
79
|
|
|
80
80
|
迭代内所有 plan Done 后,PM 回顾整轮迭代中产生的可结晶知识,批量 compound。per-plan Done 是 per-plan 的闭环终点;compound 是迭代级收口活动。
|
|
81
81
|
|
|
82
|
-
### Iteration
|
|
82
|
+
### Iteration package promotion(iteration-close 强制盘点)
|
|
83
83
|
|
|
84
|
-
正式迭代收口时,compound **除** plan 实现/debug/review 素材外,**必须**盘点当前迭代的
|
|
84
|
+
正式迭代收口时,compound **除** plan 实现/debug/review 素材外,**必须**盘点当前迭代的 package:
|
|
85
85
|
|
|
86
|
-
**路径**:`{ITERATION_DIR}/<iteration-id>/**`(含 `guides/`、`specs/`、扁平 `.md
|
|
86
|
+
**路径**:`{ITERATION_DIR}/<iteration-id>/**`(含 `guides/`、`specs/`、扁平 `.md`;**默认排除** `delivery-compass.md` 除非 PM 显式纳入。Legacy 根目录 `*-delivery-compass.md` 同理排除)。
|
|
87
87
|
|
|
88
88
|
| 步骤 | 动作 |
|
|
89
89
|
|------|------|
|
|
90
|
-
| 1. Inventory | 列出
|
|
90
|
+
| 1. Inventory | 列出 package 下全部 `.md`(除默认排除的 compass);读各文件 + package `README.md`(若有) |
|
|
91
91
|
| 2. Triage | 每篇:**Promote** / **Keep snapshot** / **Skip**(理由写入 compound 摘要) |
|
|
92
92
|
| 3. Promote | 值得跨迭代复用 → 走 Q1–Q8(或轻量判定)→ Phase 2 重叠检测 → Phase 3–6 **结构化重写**进 `{KNOWLEDGE_DIR}/`(**禁止**无改写整文件复制) |
|
|
93
|
-
| 4. Trace | 源文件顶栏或
|
|
93
|
+
| 4. Trace | 源文件顶栏或 package README:`Promoted to: <knowledge-path>`;`{KNOWLEDGE_DIR}/README.md` 的 Source 可记 `iteration:<iteration-id>/<relpath>` |
|
|
94
94
|
| 5. Summary | PM 写入 compass `## Compound Round Summary`:提升篇数、保留快照、跳过及原因 |
|
|
95
95
|
|
|
96
96
|
**Promote 典型**:迭代 spec 已验证且指导未来实现;guide 含非显而易见的过程知识或失败尝试。
|
|
@@ -134,7 +134,7 @@ In Cursor, Full mode dispatches subagents via Task tool. PM selects mode.
|
|
|
134
134
|
|
|
135
135
|
## Phase 1: Gather context
|
|
136
136
|
|
|
137
|
-
Read the conversation history **and**, when `iteration_id` is known, scan **`{ITERATION_DIR}/<iteration-id>/`**
|
|
137
|
+
Read the conversation history **and**, when `iteration_id` is known, scan **`{ITERATION_DIR}/<iteration-id>/`** package per **Iteration package promotion** above.
|
|
138
138
|
|
|
139
139
|
Understand:
|
|
140
140
|
- What problem was solved (the concrete issue)
|
|
@@ -95,7 +95,7 @@ When **`Execution mode: sdd`** (`mstar-sdd`):
|
|
|
95
95
|
|
|
96
96
|
- PM 写初稿;各角色通过宿主 invoke **直接编辑**目标文件(**不**另写仅评论式 `reports/` 替代修订)。
|
|
97
97
|
- **1 Assignment ⇒ 1 invoke**。
|
|
98
|
-
- **Phase 1 Review & Edit chain**(`mstar-iteration` §1.6):主产出 **`{SPECS_DIR}/`** + **`{ITERATION_DIR}/<iteration-id>/`**
|
|
98
|
+
- **Phase 1 Review & Edit chain**(`mstar-iteration` §1.6):主产出 **`{SPECS_DIR}/`** + **`{ITERATION_DIR}/<iteration-id>/`** package;**禁止** start 链向 `{KNOWLEDGE_DIR}/` 新增。close 时 **`mstar-compound`** 提升 package → knowledge。
|
|
99
99
|
- 其他彼此独立、无先后依赖的文档编辑任务:可并行(同条消息发满 N),见 **`parallel-dispatch.md`**。
|
|
100
100
|
- PM 线程代做全部专业编辑 = **反模式**(`mstar-iteration` §1.6、`mstar-harness-core` 反模式索引)。
|
|
101
101
|
- PM merge / lock(如 compass `status: locked`)在链末 subagent 返回后于 PM 线程完成。**不得**在 review-and-edit 链完成前 commit integration 分支。
|
|
@@ -190,7 +190,7 @@ When starting a **new iteration** under Cursor Plan mode (host command may orche
|
|
|
190
190
|
| Phase | Behavior | Forbidden |
|
|
191
191
|
|-------|----------|-----------|
|
|
192
192
|
| Early CreatePlan | After read-only research, **immediately** CreatePlan with blank Phase 1 scaffold (Direction / Scope / Acceptance / Non-Goals / Branch policy / Plans / Grill log placeholders) + Build-bound todos | Wait until interactive direction lock finishes before CreatePlan |
|
|
193
|
-
| Staged interactive lock | Dynamic number of clarify stages in the Plan session; after each stage, **update CreatePlan body** and dual-write SSOT **drafts** (`{ITERATION_DIR}`
|
|
193
|
+
| Staged interactive lock | Dynamic number of clarify stages in the Plan session; after each stage, **update CreatePlan body** and dual-write SSOT **drafts** (`{ITERATION_DIR}/<id>/delivery-compass.md` stub, `{PLAN_DIR}` plan stubs, `status.json` rows when direction converges) | Treat lock stages as completed Build todos; fix a hard-coded stage count; dispatch Review & Edit / commit / integration branch |
|
|
194
194
|
| Pre-Build | Maintain documents only | Execute Review chain, commit, or create `spec_integration_branch` |
|
|
195
195
|
| Build | Run Phase 1 executable todos: finalize SSOT → sequential Review & Edit (`product-manager` → `architect` → `writing-specialist`) → PM lock → integration branch | Replay interactive direction lock as if Plan session never happened |
|
|
196
196
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mstar-iteration
|
|
3
|
-
description: Morning Star 迭代管理 —— Phase 1(默认 interactive direction lock;opt-in autonomous;specs + `<iteration-id>/`
|
|
3
|
+
description: Morning Star 迭代管理 —— Phase 1(默认 interactive direction lock;opt-in autonomous;specs + `<iteration-id>/` package;禁止直写 knowledge)、Autonomous Execute、iteration-close(compound 提升 package → knowledge)、PR 交付、PR merge-ready loop。分支 SSOT:`status.json` + compass frontmatter。
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# mstar-iteration(迭代管理)
|
|
@@ -48,12 +48,12 @@ Phase 5: PR merge-ready loop —— 至 mergeable + CI 全绿 + reviews resolved
|
|
|
48
48
|
**误判信号**:对话里出现 compound 摘要、roadmap 更新、或「所有 plan 已完成」但 **未** 打印 §3.1 / §3.5 checklist → 视为 **Phase 3 未执行**,回到 §3.0。
|
|
49
49
|
|
|
50
50
|
**per-plan 状态 SSOT**:`{HARNESS_DIR}/status.json`(per-plan Todo/InProgress/InReview/Done)。
|
|
51
|
-
**迭代状态 SSOT**:`{ITERATION_DIR}/<id
|
|
51
|
+
**迭代状态 SSOT**:`{ITERATION_DIR}/<id>/delivery-compass.md` frontmatter `status` + `{ITERATION_DIR}/README.md` 索引(一行 = 一次迭代)。
|
|
52
52
|
**迭代分支 SSOT**:root `metadata.iteration_base_branch` + `metadata.target_branch`(`status.json`);compass frontmatter 镜像同名字段。解析顺序见 §2.3。**禁止**因仓库存在 `main`/`master` 就假定 base 或 PR 目标。
|
|
53
53
|
|
|
54
54
|
## 产物存储位置
|
|
55
55
|
|
|
56
|
-
**SSOT**: `mstar-plan-conventions/references/artifact-storage-paths.md`。迭代
|
|
56
|
+
**SSOT**: `mstar-plan-conventions/references/artifact-storage-paths.md`。迭代 package → `{ITERATION_DIR}/<iteration-id>/`(含 `delivery-compass.md`、`guides/`、`specs/`);根索引 → `{ITERATION_DIR}/README.md`。Legacy flat `{ITERATION_DIR}/<id>-delivery-compass.md` 仅兼容读。
|
|
57
57
|
|
|
58
58
|
---
|
|
59
59
|
|
|
@@ -100,9 +100,9 @@ compass/plans 初稿落盘前,必须锁定**单一**迭代方向、成功标
|
|
|
100
100
|
|
|
101
101
|
**Autonomous branch resolve**:仅 `autonomous` 模式;解析顺序与 STOP 规则见 **`references/autonomous-direction-lock.md`**(勿把该顺序套用到 interactive 以跳过向用户确认)。
|
|
102
102
|
|
|
103
|
-
### 1.3 创建迭代 compass
|
|
103
|
+
### 1.3 创建迭代 package + compass
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
创建 `{ITERATION_DIR}/<iteration-id>/`,写入 **`delivery-compass.md`**(canonical;**禁止**新写根目录 `<id>-delivery-compass.md`)。**必须**使用 `references/iteration-compass-template.md` 完整结构(YAML frontmatter + `## Roadmap Position` + close 占位节)。`end_date` 仅在 iteration-close 填入;禁止用正文 completion prose 替代 frontmatter `status`。按需创建 `guides/`、`specs/` 与 package `README.md`。
|
|
106
106
|
|
|
107
107
|
```markdown
|
|
108
108
|
---
|
|
@@ -151,11 +151,11 @@ plans: []
|
|
|
151
151
|
|
|
152
152
|
### 1.4 更新索引
|
|
153
153
|
|
|
154
|
-
在 `{ITERATION_DIR}/README.md`
|
|
154
|
+
在 `{ITERATION_DIR}/README.md` 中添加**一行**(首次创建时建立表头;**一行 = 一次迭代**,不拆 compass/workspace 双行):
|
|
155
155
|
|
|
156
|
-
|
|
|
157
|
-
|
|
158
|
-
| `<iteration-id
|
|
156
|
+
| Iteration | Path | Description | Status |
|
|
157
|
+
|-----------|------|-------------|--------|
|
|
158
|
+
| `<iteration-id>` | [`<iteration-id>/`](<iteration-id>/) | `<简短描述>` | `active` |
|
|
159
159
|
|
|
160
160
|
### 1.5 登记到 status.json(formal iteration 必填)
|
|
161
161
|
|
|
@@ -174,8 +174,8 @@ Phase 1 与 §1.6 须遵守 **`references/iteration-artifact-boundaries.md`**(
|
|
|
174
174
|
| 树 | iteration-start 主责 | 说明 |
|
|
175
175
|
|----|---------------------|------|
|
|
176
176
|
| **`{SPECS_DIR}/`** | product-manager、architect | **长期**规范性产出:锁定规格、ADR、契约;plan `primary_spec` / `spec_refs` 主要挂此处 |
|
|
177
|
-
| **`{ITERATION_DIR}/`** | product-manager、architect、PM |
|
|
178
|
-
| **`{KNOWLEDGE_DIR}/`** | **非** start/execute 直写;**`mstar-compound`** @ iteration-close(含
|
|
177
|
+
| **`{ITERATION_DIR}/`** | product-manager、architect、PM | **`<iteration-id>/` package**(`delivery-compass.md` + 迭代级 specs & guides) |
|
|
178
|
+
| **`{KNOWLEDGE_DIR}/`** | **非** start/execute 直写;**`mstar-compound`** @ iteration-close(含 package **提升**) | 可复用实施 SSOT |
|
|
179
179
|
|
|
180
180
|
**禁止**:product/architect 在 §1.6 向 `{KNOWLEDGE_DIR}/` **新增**;把迭代级草案写入 `{SPECS_DIR}/`(应进 `<iteration-id>/specs/` 或 guides)。
|
|
181
181
|
|
|
@@ -185,8 +185,8 @@ Phase 1 与 §1.6 须遵守 **`references/iteration-artifact-boundaries.md`**(
|
|
|
185
185
|
|
|
186
186
|
派发机制 → **`mstar-dispatch-gates`**(specialist review-and-edit dispatch,**顺序链**)。PM **不得**将迭代 harness 文档 commit 到 `spec_integration_branch`,直到:
|
|
187
187
|
|
|
188
|
-
1. **product-manager** → **architect** → **writing-specialist** 已按序 invoke 编辑 compass、plans、`{SPECS_DIR}/` 与 **`{ITERATION_DIR}/<iteration-id>/`**
|
|
189
|
-
2. **writing-specialist** 完成 **corpus hygiene**:全库 `{SPECS_DIR}/` + 既有 `{KNOWLEDGE_DIR}/` 卫生;错放迁回 **`<iteration-id>/`**
|
|
188
|
+
1. **product-manager** → **architect** → **writing-specialist** 已按序 invoke 编辑 compass、plans、`{SPECS_DIR}/` 与 **`{ITERATION_DIR}/<iteration-id>/`** package(guides/specs,按需);**不得**在 start 链向 `{KNOWLEDGE_DIR}/` 新增
|
|
189
|
+
2. **writing-specialist** 完成 **corpus hygiene**:全库 `{SPECS_DIR}/` + 既有 `{KNOWLEDGE_DIR}/` 卫生;错放迁回 **`<iteration-id>/`** package;细则 → **`iteration-corpus-hygiene.md`**、**`iteration-artifact-boundaries.md`**
|
|
190
190
|
3. PM 将 compass `status` 设为 `locked`,并确认各 plan 的 Prepare gate(specify / clarify / plan)
|
|
191
191
|
|
|
192
192
|
**顺序理由**:产品范围与优先级 → 架构与长期契约(specs)→ 行文、规格库卫生与错放纠正(须在 PM/architect 定稿后扫全库 specs)。并行会导致后手重复劳动或覆盖前手未定稿内容。OpenCode:plain role id — **`mstar-host/references/opencode.md`** § Role-mention hygiene。
|
|
@@ -235,7 +235,7 @@ SSOT = `{HARNESS_DIR}/status.json` + `{PLAN_DIR}/`。todos 只追踪本轮下一
|
|
|
235
235
|
**Metadata 解析顺序**(任一环节缺失则 STOP,**禁止**默认 `main`/`master`):
|
|
236
236
|
|
|
237
237
|
1. `{HARNESS_DIR}/status.json` → `metadata.iteration_base_branch`、`metadata.target_branch`;plan → `metadata.spec_integration_branch`
|
|
238
|
-
2. 若 (1) 缺字段 → 读当前迭代 `{ITERATION_DIR}/<iteration-id>-delivery-compass.md`
|
|
238
|
+
2. 若 (1) 缺字段 → 读当前迭代 compass frontmatter 同名键:优先 `{ITERATION_DIR}/<iteration-id>/delivery-compass.md`;若无则 legacy `{ITERATION_DIR}/<iteration-id>-delivery-compass.md`
|
|
239
239
|
3. 若 compass 有值而 `status.json` 无 → **同轮 backfill** `status.json`
|
|
240
240
|
4. 仍缺 → 向用户确认 base / PR target;**不得**因 `git symbolic-ref refs/remotes/origin/HEAD` 指向 `main` 就自动采用
|
|
241
241
|
|
|
@@ -267,7 +267,7 @@ SSOT = `{HARNESS_DIR}/status.json` + `{PLAN_DIR}/`。todos 只追踪本轮下一
|
|
|
267
267
|
- 每次 Completion Report v2 后更新 `status.json` + 主 plan
|
|
268
268
|
3. **QC → QA gate → Done**:per-plan 审查链 → **`mstar-sdd`**(L1–L2)+ **`mstar-review-qc/references/review-responsibility-boundaries.md`**(L3 tri / inline 单席;raw reports in `{SDD_DIR}/review/`,durable summary in main plan/status)+ **`QA gate`**(`mandatory` → `qa-engineer`;`pm-acceptance` → PM checklist)。
|
|
269
269
|
4. **Plan complete — merge back**:合并 plan feature branch → `spec_integration_branch`;在下一 plan 或 QC 前解决冲突
|
|
270
|
-
5. **Cross-plan 进度同步**:更新 `{ITERATION_DIR}/<iteration-id
|
|
270
|
+
5. **Cross-plan 进度同步**:更新 `{ITERATION_DIR}/<iteration-id>/delivery-compass.md` 的 `## Plans` 表状态列
|
|
271
271
|
6. **Next plan** 从步骤 1 继续
|
|
272
272
|
|
|
273
273
|
全部 plan `Done` → **Phase transition gate**(见上文 **Phase transition gates**):
|
|
@@ -354,12 +354,12 @@ PM **必须**在对话中打印本 checklist;不得默认同过。
|
|
|
354
354
|
PM 批量触发后须:
|
|
355
355
|
|
|
356
356
|
1. 收集本迭代 plan 实现 / debug / review 素材,筛候选知识
|
|
357
|
-
2. **盘点** `{ITERATION_DIR}/<iteration-id>/**`
|
|
357
|
+
2. **盘点** `{ITERATION_DIR}/<iteration-id>/**` package(`guides/`、`specs/`;默认排除 `delivery-compass.md`)— **`mstar-compound`**「Iteration package promotion」;提升值得保留者进 `{KNOWLEDGE_DIR}/`
|
|
358
358
|
3. 逐条过 `mstar-compound` 自检;跳过项记入 compass `## Compound Round Summary`
|
|
359
359
|
4. 写入或更新 `{KNOWLEDGE_DIR}/<category>/<slug>.md`;新领域词更新 `CONCEPTS.md`
|
|
360
360
|
5. **每篇**新 doc 完成 Phase 6(`{KNOWLEDGE_DIR}/README.md` 登记)
|
|
361
361
|
|
|
362
|
-
若无结晶且无
|
|
362
|
+
若无结晶且无 package 提升,仍在 `## Compound Round Summary` 写明 `无可结晶知识` / package 盘点结论及原因。
|
|
363
363
|
|
|
364
364
|
### 3.3 更新 roadmap
|
|
365
365
|
|
|
@@ -383,7 +383,7 @@ PM 批量触发后须:
|
|
|
383
383
|
PM 打印 **iteration-close exit checklist**;全部为 `[x]` 后方可 `git commit`;然后进入 **Phase 4**(§4):
|
|
384
384
|
|
|
385
385
|
- [ ] §3.1 前置 gate 已打印并满足
|
|
386
|
-
- [ ] §3.2 compound 完成;**`<iteration-id>/`
|
|
386
|
+
- [ ] §3.2 compound 完成;**`<iteration-id>/` package 已盘点**(提升 / 保留 / 跳过已记入 Compound Summary);新增 knowledge doc 均已登记 `{KNOWLEDGE_DIR}/README.md`(或已记录无可结晶原因)
|
|
387
387
|
- [ ] §3.3 `## Roadmap Position` current iteration 已标 `delivered`;tracker / STRATEGY 已按需更新
|
|
388
388
|
- [ ] §3.4 frontmatter `status: completed` + `end_date`;Quality Gate Summary + Compound Summary + Retrospective 已填
|
|
389
389
|
- [ ] 当前分支是 `spec_integration_branch`
|
|
@@ -392,7 +392,7 @@ PM 打印 **iteration-close exit checklist**;全部为 `[x]` 后方可 `git co
|
|
|
392
392
|
**Commit 到 integration 分支**:
|
|
393
393
|
|
|
394
394
|
```bash
|
|
395
|
-
git add {ITERATION_DIR}/<id
|
|
395
|
+
git add {ITERATION_DIR}/<id>/ {ITERATION_DIR}/README.md {KNOWLEDGE_DIR}/ CONCEPTS.md
|
|
396
396
|
git commit -m "chore(iteration): close <iteration-id> — compound round, roadmap update"
|
|
397
397
|
git push origin <spec_integration_branch>
|
|
398
398
|
```
|
|
@@ -471,8 +471,8 @@ PR **merge** 本身可仍由用户手动执行,除非 Assignment 明确授权
|
|
|
471
471
|
| `mstar-branch-worktree` | 分支/merge/worktree 隔离 |
|
|
472
472
|
| `mstar-compound` | iteration-close 中触发知识结晶(**唯一**默认 knowledge 新增路径) |
|
|
473
473
|
| `mstar-compound-refresh` | iteration-close 后可触发知识维护 |
|
|
474
|
-
| `references/iteration-artifact-boundaries.md` | Phase 1 specs /
|
|
475
|
-
| `references/iteration-workspace-readme-template.md` | `<iteration-id>/README.md`
|
|
474
|
+
| `references/iteration-artifact-boundaries.md` | Phase 1 specs / iteration package / knowledge 分工 |
|
|
475
|
+
| `references/iteration-workspace-readme-template.md` | `<iteration-id>/README.md` 可选模板(Documents 单表) |
|
|
476
476
|
| `references/iteration-corpus-hygiene.md` | §1.6 writing-specialist specs 卫生细则 |
|
|
477
477
|
| `references/autonomous-direction-lock.md` | §1.2 autonomous direction lock、scale budget、branch resolve |
|
|
478
478
|
| `mstar-strategy` | iteration-start 时读 `STRATEGY.md` 对齐方向 |
|
|
@@ -492,7 +492,9 @@ PR **merge** 本身可仍由用户手动执行,除非 Assignment 明确授权
|
|
|
492
492
|
- 不要将 **Phase 4 开 PR** 等同于 **迭代交付完成** — 必须完成 **Phase 5** §5.5 merge-ready loop
|
|
493
493
|
- **不要在 iteration-start §1.6 由 product/architect 向 `{KNOWLEDGE_DIR}/` 新增文档**(知识 → iteration-close **`mstar-compound`**)
|
|
494
494
|
- **不要把迭代级草案写入 `{SPECS_DIR}/`**(应进 `{ITERATION_DIR}/<iteration-id>/specs/` 或 `guides/`)
|
|
495
|
-
- **不要在 iteration-close 跳过 `<iteration-id>/`
|
|
495
|
+
- **不要在 iteration-close 跳过 `<iteration-id>/` package 盘点**(compound 提升 SSOT → **`mstar-compound`**)
|
|
496
|
+
- **不要新写根目录 `<iteration-id>-delivery-compass.md`**(canonical:`<iteration-id>/delivery-compass.md`;legacy flat 仅兼容读)
|
|
497
|
+
- **不要在 `{ITERATION_DIR}/README.md` 为同一迭代登记 compass + workspace 双行**(一行 = 一次迭代)
|
|
496
498
|
- **不要在 iteration-start §1.6 跳过 writing-specialist 全库 specs corpus hygiene**(仅改当轮 compass/plans 而不扫 `{SPECS_DIR}/`)
|
|
497
499
|
- **不要在 SDD plan 上以单席 `qc.md` 收尾**(除非用户书面 `QC mode: single — override`)
|
|
498
500
|
- **不要在未显式 `Direction lock mode: autonomous` 时跳过与用户收敛方向**(interactive 仍为默认)
|
|
@@ -49,7 +49,7 @@ Count only **business delivery plans** registered in compass / `status.json` who
|
|
|
49
49
|
|--------------------------|----------|
|
|
50
50
|
| Phase 1 process | Research, direction lock, Review & Edit chain, compass/index/`status.json` bootstrap |
|
|
51
51
|
| Phase 2 process | Per-task SDD briefs/reviews, plan QC tri, QA gate, branch merge-back |
|
|
52
|
-
| Phase 3–5 process | Compound /
|
|
52
|
+
| Phase 3–5 process | Compound / package promotion, iteration-close, Create PR, merge-ready / CI babysit |
|
|
53
53
|
| Meta “plans” | “run QC”, “do compound”, “open PR”, “setup harness”, “write compass only” |
|
|
54
54
|
|
|
55
55
|
Harness steps remain **mandatory gates** outside the budget — they do not consume S/M/L slots and must not be padded into the plan list to “fill” the budget.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# iteration-start 产物边界(specs · iterations · knowledge)
|
|
2
2
|
|
|
3
|
-
> **When**: Phase 1 — PM 初稿落盘、§1.6 Review & Edit chain;Phase 2 迭代执行期可继续写入 iteration
|
|
3
|
+
> **When**: Phase 1 — PM 初稿落盘、§1.6 Review & Edit chain;Phase 2 迭代执行期可继续写入 iteration package;Phase 3 iteration-close 经 **`mstar-compound`** 提升。
|
|
4
4
|
> **Conflict**: 与 `mstar-plan-artifacts/references/knowledge-and-designs.md` 一致;冲突以 **`mstar-harness-core`** 为准。
|
|
5
5
|
|
|
6
6
|
## 三棵树分工(HARD)
|
|
@@ -8,48 +8,56 @@
|
|
|
8
8
|
| 树 | 路径 | 长期价值 | 谁写(何时) | 典型内容 |
|
|
9
9
|
|----|------|----------|--------------|----------|
|
|
10
10
|
| **Specs(仓库级)** | `{SPECS_DIR}/` | **是** — 跨迭代规范性权威 | product / architect @ **iteration-start** | 已锁定产品/API 规格、ADR、契约 |
|
|
11
|
-
| **Iterations** | `{ITERATION_DIR}/` | **迭代级** — 历史快照;可提升 | product / architect / PM @ start & execute |
|
|
12
|
-
| **Knowledge** | `{KNOWLEDGE_DIR}/` | **是** — 可复用实施 SSOT | **`mstar-compound`** @ **iteration-close**(含
|
|
11
|
+
| **Iterations** | `{ITERATION_DIR}/` | **迭代级** — 历史快照;可提升 | product / architect / PM @ start & execute | **`<iteration-id>/` package**(compass + specs/guides) |
|
|
12
|
+
| **Knowledge** | `{KNOWLEDGE_DIR}/` | **是** — 可复用实施 SSOT | **`mstar-compound`** @ **iteration-close**(含 package 提升) | 结晶、提升后的长期实施知识 |
|
|
13
13
|
|
|
14
14
|
```text
|
|
15
15
|
iteration-start / execute
|
|
16
|
-
product / architect ──► {SPECS_DIR}/
|
|
17
|
-
──► {ITERATION_DIR}/<id>/
|
|
18
|
-
✗ {KNOWLEDGE_DIR}/
|
|
16
|
+
product / architect ──► {SPECS_DIR}/ 已锁定的长期规格
|
|
17
|
+
──► {ITERATION_DIR}/<id>/ 迭代 package(compass + specs + guides)
|
|
18
|
+
✗ {KNOWLEDGE_DIR}/ 不直接新增
|
|
19
19
|
|
|
20
20
|
iteration-close (§3.2)
|
|
21
21
|
mstar-compound ──► 读 plan 素材 + {ITERATION_DIR}/<id>/**
|
|
22
|
-
──► {KNOWLEDGE_DIR}/
|
|
22
|
+
──► {KNOWLEDGE_DIR}/ 提升值得保留的 specs/guides
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
## `{ITERATION_DIR}/<iteration-id>/`
|
|
25
|
+
## `{ITERATION_DIR}/<iteration-id>/` 迭代 package(目录优先)
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
**Canonical layout**(新 iteration-start **只写**此形态):
|
|
28
28
|
|
|
29
29
|
```text
|
|
30
30
|
{ITERATION_DIR}/
|
|
31
|
-
README.md
|
|
32
|
-
<iteration-id>-delivery-compass.md
|
|
31
|
+
README.md # 根索引:每迭代一行 → 指向 <iteration-id>/
|
|
33
32
|
<iteration-id>/
|
|
34
|
-
|
|
35
|
-
guides/
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
delivery-compass.md # 迭代状态 SSOT(frontmatter status)
|
|
34
|
+
README.md # 本迭代文档索引(有 guides/specs 时推荐)
|
|
35
|
+
guides/ # 探索笔记、过程指南、未锁定权衡
|
|
36
|
+
specs/ # 迭代级规格草案
|
|
38
37
|
```
|
|
39
38
|
|
|
40
39
|
| 子路径 | 放什么 | 不放什么 |
|
|
41
40
|
|--------|--------|----------|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
44
|
-
|
|
|
41
|
+
| **`delivery-compass.md`** | 范围、plans 表、验收、分支策略、close 摘要 | 长文探索正文(链到 `guides/` / `specs/`) |
|
|
42
|
+
| **`guides/`** | 候选方案、调研、会议记录、实施过程说明 | 已锁定的仓库级规范 |
|
|
43
|
+
| **`specs/`** | 本迭代演进中的规格、迭代内契约草稿 | 已锁定、跨迭代 `{SPECS_DIR}/` 级权威(应升格或已在 `{SPECS_DIR}/`) |
|
|
44
|
+
| **`README.md`** | 本 package 内 documents 索引(单表即可) | 替代根 `{ITERATION_DIR}/README.md` |
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
**索引**:
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
- **`{ITERATION_DIR}/README.md`**:**一行 = 一次迭代**(指向 `<iteration-id>/` 目录,**不**再拆 compass 行 + workspace 行)。
|
|
49
|
+
- **`<iteration-id>/README.md`**:列出本目录下 `guides/`、`specs/`(及其它文档);模板 → **`iteration-workspace-readme-template.md`**。
|
|
50
|
+
|
|
51
|
+
**Compass 解析顺序**(读):
|
|
52
|
+
|
|
53
|
+
1. `{ITERATION_DIR}/<iteration-id>/delivery-compass.md`(canonical)
|
|
54
|
+
2. Legacy flat:`{ITERATION_DIR}/<iteration-id>-delivery-compass.md`(仅兼容读;新写禁止)
|
|
55
|
+
|
|
56
|
+
**禁止(新写)**:根目录 `<iteration-id>-delivery-compass.md`、根目录 `<iteration-id>-working-guide.md`。轻量入口一律进 `<iteration-id>/guides/`。
|
|
49
57
|
|
|
50
58
|
## `{SPECS_DIR}/` 准入(仓库级长期)
|
|
51
59
|
|
|
52
|
-
写入 `{SPECS_DIR}/` 前须满足 **至少一条**(与 iteration
|
|
60
|
+
写入 `{SPECS_DIR}/` 前须满足 **至少一条**(与 iteration package 区分):
|
|
53
61
|
|
|
54
62
|
- 决策**已锁定**,变更需显式评审
|
|
55
63
|
- 跨 plan、跨迭代仍成立
|
|
@@ -59,21 +67,21 @@ compass 仍在根目录:`**{ITERATION_DIR}/<iteration-id>-delivery-compass.md*
|
|
|
59
67
|
|
|
60
68
|
- 仍在迭代内演进的草案 → **`<iteration-id>/specs/`**
|
|
61
69
|
- 探索 scratch → **`<iteration-id>/guides/`**
|
|
62
|
-
- 实施踩坑(未整理)→ 留
|
|
70
|
+
- 实施踩坑(未整理)→ 留 package 或 plan 素材,**close 时 compound 提升**
|
|
63
71
|
|
|
64
72
|
## Knowledge 与 compound 提升
|
|
65
73
|
|
|
66
74
|
- **`{KNOWLEDGE_DIR}/` 新增**:默认仅在 **iteration-close** §3.2 **`mstar-compound`**。
|
|
67
|
-
- **提升来源(iteration-close)**:除 plan 实现/debug/review 素材外,**必须盘点** `{ITERATION_DIR}/<iteration-id>/**`(`guides/`、`specs
|
|
68
|
-
- **提升后**:在源文件顶部或
|
|
69
|
-
- **iteration-start §1.6**:product / architect **不得**向 `{KNOWLEDGE_DIR}/` **新增**;误写由 writing-specialist 迁回 **
|
|
75
|
+
- **提升来源(iteration-close)**:除 plan 实现/debug/review 素材外,**必须盘点** `{ITERATION_DIR}/<iteration-id>/**`(`guides/`、`specs/`、扁平文件;**默认排除** `delivery-compass.md` 除非 PM 显式纳入)。值得跨迭代复用的内容 → 按 compound 双轨模板**重写**进 `{KNOWLEDGE_DIR}/`(非整文件复制);细则 → **`mstar-compound`**「Iteration package promotion」。
|
|
76
|
+
- **提升后**:在源文件顶部或 package `README.md` 标注 `Promoted to: {KNOWLEDGE_DIR}/...`;源文件**保留**为迭代历史(或迁入 `<iteration-id>/archived/` 若团队约定)。
|
|
77
|
+
- **iteration-start §1.6**:product / architect **不得**向 `{KNOWLEDGE_DIR}/` **新增**;误写由 writing-specialist 迁回 **package**。
|
|
70
78
|
|
|
71
79
|
## §1.6 各角色编辑范围
|
|
72
80
|
|
|
73
81
|
| 角色 | 必须编辑 | 禁止 |
|
|
74
82
|
|------|----------|------|
|
|
75
83
|
| **product-manager** | compass、plans、`{SPECS_DIR}/`、`{ITERATION_DIR}/<iteration-id>/`(guides/specs) | `{KNOWLEDGE_DIR}/` **新增**;迭代草案写入 `{SPECS_DIR}/` |
|
|
76
|
-
| **architect** | 同上 +
|
|
84
|
+
| **architect** | 同上 + package `specs/` 技术向 | 同上;在 `{SPECS_DIR}/` 堆实施踩坑 |
|
|
77
85
|
| **writing-specialist** | 当轮文档 + `{SPECS_DIR}/` corpus hygiene + 既有 knowledge 卫生 | 代替 compound **提升**;跳过 specs 全库审查 |
|
|
78
86
|
|
|
79
87
|
Phase 2 执行期:各角色可继续向 **`<iteration-id>/`** 追加 guides/specs;**仍不**直写 `{KNOWLEDGE_DIR}/`。
|
|
@@ -83,12 +91,13 @@ Phase 2 执行期:各角色可继续向 **`<iteration-id>/`** 追加 guides/sp
|
|
|
83
91
|
| 内容 | 挂接键 | 路径 |
|
|
84
92
|
|------|--------|------|
|
|
85
93
|
| 仓库级锁定规格 | `primary_spec` / `spec_refs` | `{SPECS_DIR}/` |
|
|
86
|
-
| 迭代上下文 | `iteration_compass` / `iteration_refs` |
|
|
94
|
+
| 迭代上下文 | `iteration_compass` / `iteration_refs` | `{ITERATION_DIR}/<iteration-id>/delivery-compass.md` + 同目录下 docs |
|
|
87
95
|
| 知识库(已有) | 仅历史链接 | `{KNOWLEDGE_DIR}/` — **start 不新增** |
|
|
88
96
|
|
|
89
97
|
## 反模式
|
|
90
98
|
|
|
91
99
|
- 用 `{KNOWLEDGE_DIR}/` 存迭代探索(应进 `<iteration-id>/guides/`)
|
|
92
|
-
- 把迭代
|
|
93
|
-
- iteration-close **只做** plan 素材 compound、**不**盘点 `<iteration-id>/`
|
|
100
|
+
- 把迭代 package 草案直接复制进 `{SPECS_DIR}/` 而不锁定评审
|
|
101
|
+
- iteration-close **只做** plan 素材 compound、**不**盘点 `<iteration-id>/` package
|
|
94
102
|
- 提升时整文件复制到 knowledge(应 compound 结构化重写)
|
|
103
|
+
- 新写仍把 compass 放在 `{ITERATION_DIR}/` 根目录(应用 `<iteration-id>/delivery-compass.md`)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Iteration Compass Template
|
|
2
2
|
|
|
3
|
-
Copy this template when creating
|
|
3
|
+
Copy this template when creating `{ITERATION_DIR}/<iteration-id>/delivery-compass.md`.
|
|
4
4
|
|
|
5
5
|
```markdown
|
|
6
6
|
---
|
|
@@ -71,19 +71,15 @@ Status values: `Todo` | `InProgress` | `InReview` | `Done` | `Blocked`
|
|
|
71
71
|
|------|-----------|--------|------------|
|
|
72
72
|
| <risk> | Low/Med/High | Low/Med/High | <mitigation> |
|
|
73
73
|
|
|
74
|
-
## Iteration
|
|
74
|
+
## Iteration package
|
|
75
75
|
|
|
76
|
-
>
|
|
76
|
+
> Sibling paths under `{ITERATION_DIR}/<iteration-id>/` — not in `{SPECS_DIR}/` or `{KNOWLEDGE_DIR}/`. Promoted to knowledge at iteration-close via **`mstar-compound`**.
|
|
77
77
|
|
|
78
78
|
| Path | Purpose |
|
|
79
79
|
|------|---------|
|
|
80
|
-
|
|
|
81
|
-
|
|
|
82
|
-
|
|
|
83
|
-
|
|
84
|
-
Link from compass when used:
|
|
85
|
-
|
|
86
|
-
- Workspace: `<iteration-id>/` | <one-line purpose>
|
|
80
|
+
| `guides/` | Exploration, process notes |
|
|
81
|
+
| `specs/` | Iteration-scoped spec drafts |
|
|
82
|
+
| `README.md` | Package document index (recommended when non-trivial) |
|
|
87
83
|
|
|
88
84
|
## Quality Gate Summary
|
|
89
85
|
|
|
@@ -132,7 +128,7 @@ Notes:
|
|
|
132
128
|
| `## Non-Goals` | Yes | Phase 1 |
|
|
133
129
|
| `## Roadmap Position` | **Yes** | Phase 1(必填节,非散落于 general context prose);Phase 3 §3.3(current iteration → `delivered`) |
|
|
134
130
|
| `## Risk Register` | Optional | Phase 1, Phase 2 (update) |
|
|
135
|
-
| Iteration
|
|
131
|
+
| Iteration package (`guides/` / `specs/`) | Optional | Phase 1 §1.5.5; root index one row → `{ITERATION_DIR}/README.md` |
|
|
136
132
|
| `## Quality Gate Summary` | Yes | Phase 3 §3.4 |
|
|
137
133
|
| `## Compound Round Summary` | Yes | Phase 3 §3.4 |
|
|
138
134
|
| `## Iteration Retrospective` | Recommended | Phase 3 §3.4 |
|
|
@@ -141,5 +137,6 @@ Notes:
|
|
|
141
137
|
|
|
142
138
|
若仓库中已有 compass **无** YAML frontmatter、**无** `## Roadmap Position`,或只有 prose completion status:
|
|
143
139
|
|
|
144
|
-
- **新迭代**:Phase 1
|
|
140
|
+
- **新迭代**:Phase 1 必须按本模板写入 **`{ITERATION_DIR}/<iteration-id>/delivery-compass.md`**,不延续 prose-only 或根目录 flat 文件惯例。
|
|
145
141
|
- **收口时**:`mstar-iteration` §3.0.5 在 Phase 3 入口规范化,再执行 §3.3–§3.4。
|
|
142
|
+
- **Legacy path**:若仍存在 `{ITERATION_DIR}/<iteration-id>-delivery-compass.md`,读时兼容;本轮若改写该迭代,迁入 `<iteration-id>/delivery-compass.md`。
|
|
@@ -1,51 +1,45 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Iteration corpus hygiene(writing-specialist · §1.6)
|
|
2
2
|
|
|
3
|
-
> **When**: Phase 1 §1.6 — **writing-specialist** only, after product/architect landed compass / plans / `{SPECS_DIR}/` / **`{ITERATION_DIR}/<iteration-id>/`**
|
|
3
|
+
> **When**: Phase 1 §1.6 — **writing-specialist** only, after product/architect landed compass / plans / `{SPECS_DIR}/` / **`{ITERATION_DIR}/<iteration-id>/`** package.
|
|
4
4
|
> **Boundaries**: **`iteration-artifact-boundaries.md`** — no `{KNOWLEDGE_DIR}/` adds @ start; iteration drafts → **`<iteration-id>/guides/`** or **`specs/`**.
|
|
5
5
|
|
|
6
|
-
## Scope
|
|
6
|
+
## Scope
|
|
7
7
|
|
|
8
|
-
|
|
|
9
|
-
|
|
10
|
-
| **Primary** | `{SPECS_DIR}/**` | Full
|
|
11
|
-
| **Included** | `{ITERATION_DIR}/<iteration-id>/**` |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
8
|
+
| | Path | Notes |
|
|
9
|
+
|--|------|-------|
|
|
10
|
+
| **Primary** | `{SPECS_DIR}/**` | Full-tree hygiene (lock vs draft, naming, index) |
|
|
11
|
+
| **Included** | `{ITERATION_DIR}/<iteration-id>/**` | Package guides/specs + compass cross-links |
|
|
12
|
+
| **Existing only** | `{KNOWLEDGE_DIR}/**` | Archive / misplaced correction — **no** new knowledge docs |
|
|
13
|
+
| **Out of scope** | New `{KNOWLEDGE_DIR}/` writes | → **`mstar-compound`** @ iteration-close |
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Placement corrections
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
| Found in | Target |
|
|
20
|
-
|----------|--------|
|
|
17
|
+
| Found in | Misplaced as | Move to |
|
|
18
|
+
|----------|--------------|---------|
|
|
21
19
|
| `{SPECS_DIR}/` | Iteration-only draft → `{ITERATION_DIR}/<iteration-id>/specs/` or `guides/` |
|
|
22
|
-
| `{SPECS_DIR}/` | Implementation
|
|
20
|
+
| `{SPECS_DIR}/` | Implementation pitfall prose → package `guides/` or leave for compound |
|
|
23
21
|
| `{KNOWLEDGE_DIR}/` | New exploration from start chain → `<iteration-id>/guides/` or archive |
|
|
24
|
-
| Flat `{ITERATION_DIR}/*-working-guide.md
|
|
25
|
-
|
|
26
|
-
## Classification
|
|
27
|
-
|
|
28
|
-
Same as before for specs + existing knowledge: Active / Superseded / Redundant / Obsolete / Unclear → archive under `archived/specs/` or `archived/knowledge/` with relative path preserved.
|
|
22
|
+
| Flat `{ITERATION_DIR}/*-working-guide.md`(legacy) | → `<iteration-id>/guides/` |
|
|
23
|
+
| Flat `{ITERATION_DIR}/*-delivery-compass.md`(legacy) | Prefer migrate to `<iteration-id>/delivery-compass.md` when touching that iteration |
|
|
29
24
|
|
|
30
|
-
## Index
|
|
25
|
+
## Index updates(after edits)
|
|
31
26
|
|
|
32
|
-
1. `{SPECS_DIR}/README.md
|
|
33
|
-
2. `{KNOWLEDGE_DIR}/README.md` — archive
|
|
34
|
-
3. `{ITERATION_DIR}/README.md` —
|
|
35
|
-
4. `{ITERATION_DIR}/<iteration-id>/README.md` —
|
|
36
|
-
5. `plans[].metadata` — `primary_spec` / `spec_refs` → `{SPECS_DIR}/`; `iteration_refs` → workspace paths
|
|
27
|
+
1. `{SPECS_DIR}/README.md`(若存在)— 规格索引
|
|
28
|
+
2. `{KNOWLEDGE_DIR}/README.md` — Status / archive only(无新增行来自 start 链)
|
|
29
|
+
3. `{ITERATION_DIR}/README.md` — **一行 = 一次迭代**(目录链接,非 compass+workspace 双行)
|
|
30
|
+
4. `{ITERATION_DIR}/<iteration-id>/README.md` — Documents 单表列出 guides/specs(非 trivial 时创建)
|
|
37
31
|
|
|
38
|
-
##
|
|
32
|
+
## Done signals
|
|
39
33
|
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
34
|
+
- Specs tree hygiene complete(draft vs locked clear)
|
|
35
|
+
- Package used for iteration-level drafts (`<iteration-id>/guides|specs/`)
|
|
36
|
+
- Misplaced knowledge / specs moved or archived with index Status updated
|
|
37
|
+
- No new `{KNOWLEDGE_DIR}/` documents from this chain
|
|
44
38
|
|
|
45
|
-
##
|
|
39
|
+
## Close vs start
|
|
46
40
|
|
|
47
|
-
| | §1.6
|
|
48
|
-
|
|
49
|
-
|
|
|
41
|
+
| Tree | Start (§1.6) | Close (§3.2 compound) |
|
|
42
|
+
|------|--------------|------------------------|
|
|
43
|
+
| `{SPECS_DIR}/` | Hygiene + lock clarity | Usually unchanged |
|
|
50
44
|
| `{ITERATION_DIR}/<id>/` | Create/edit drafts | **Inventory → promote** to `{KNOWLEDGE_DIR}/` |
|
|
51
|
-
| `{KNOWLEDGE_DIR}/` |
|
|
45
|
+
| `{KNOWLEDGE_DIR}/` | Hygiene / archive only | **Primary write path** |
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
# Iteration
|
|
1
|
+
# Iteration package README (template)
|
|
2
2
|
|
|
3
|
-
Optional index inside `{ITERATION_DIR}/<iteration-id>/`. Copy when the
|
|
3
|
+
Optional index inside `{ITERATION_DIR}/<iteration-id>/`. Copy when the package has more than a few files beyond `delivery-compass.md`.
|
|
4
4
|
|
|
5
5
|
```markdown
|
|
6
|
-
# <iteration-id>
|
|
6
|
+
# <iteration-id>
|
|
7
7
|
|
|
8
|
-
Iteration-
|
|
8
|
+
Iteration package — `delivery-compass.md` + specs/guides. Not `{KNOWLEDGE_DIR}/`. Worthy content is **promoted** at iteration-close via `mstar-compound`.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Documents
|
|
11
11
|
|
|
12
|
-
| Document | Description | Status |
|
|
13
|
-
|
|
14
|
-
| [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
| Document | Description | Status |
|
|
19
|
-
|----------|-------------|--------|
|
|
20
|
-
| [specs/<name>.md](specs/<name>.md) | <purpose> | draft / locked-in-{SPECS_DIR} / promoted |
|
|
12
|
+
| Document | Kind | Description | Status |
|
|
13
|
+
|----------|------|-------------|--------|
|
|
14
|
+
| [delivery-compass.md](delivery-compass.md) | compass | Scope, plans, branch policy | active / locked / completed |
|
|
15
|
+
| [guides/<name>.md](guides/<name>.md) | guide | <purpose> | draft / active / promoted |
|
|
16
|
+
| [specs/<name>.md](specs/<name>.md) | spec | <purpose> | draft / locked-in-{SPECS_DIR} / promoted |
|
|
21
17
|
|
|
22
18
|
## Promotion log (filled at iteration-close)
|
|
23
19
|
|
|
@@ -26,4 +22,6 @@ Iteration-scoped **specs** and **guides** — not `{KNOWLEDGE_DIR}/`. Worthy con
|
|
|
26
22
|
| | | | |
|
|
27
23
|
```
|
|
28
24
|
|
|
29
|
-
**
|
|
25
|
+
**Kind**: `compass` | `guide` | `spec` | `other`
|
|
26
|
+
|
|
27
|
+
**Status values**: `draft` | `active` | `locked` | `completed` | `promoted` (link knowledge path) | `superseded` | `snapshot-only`
|
|
@@ -13,26 +13,27 @@
|
|
|
13
13
|
|------|----------|-------------|
|
|
14
14
|
| **`docs/`**(或项目约定的用户文档根) | 安装/quickstart、稳定架构概览、贡献指南、对外 API 说明 | 人类贡献者与终端用户;clone 后应可读 |
|
|
15
15
|
| **`{SPECS_DIR}`**(可选) | 冻结 v1-spec、ADR、program roadmap — **跨迭代长期权威** | 产品/API 规范性最高权威;**iteration-start** 由 product/architect 主写 |
|
|
16
|
-
| **`{ITERATION_DIR}`**(可选) |
|
|
16
|
+
| **`{ITERATION_DIR}`**(可选) | **`<iteration-id>/` package**(`delivery-compass.md` + `guides/`、`specs/`) | Agent handoff;迭代级草稿;close 时 compound **提升** → knowledge |
|
|
17
17
|
| **`{KNOWLEDGE_DIR}`**(可选) | 实现细节 SSOT、架构细则、契约说明、跨版本 tracker — **经 `mstar-compound` 结晶** | Agent handoff;**不**在 iteration-start 由 product/architect 新增 |
|
|
18
18
|
| **`{PLAN_DIR}/`** | 单 plan 主文件、durable gate summary、可选 `residuals/` | 计划执行与长期决策留档 |
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
**不应**放入 `docs/` 的内容:迭代 compass 正文、作为**特定 plan 输入/输出**的评审结论、实施笔记、未稳定规格草案、QC/QA 原始过程报告 —— 分别落 `{ITERATION_DIR}`、`{KNOWLEDGE_DIR}`、`{SPECS_DIR}` 或 `{SDD_DIR}/review/`;长期 gate 摘要回写主 plan。
|
|
22
22
|
|
|
23
|
-
## `{ITERATION_DIR}`(可选·迭代/版本级
|
|
23
|
+
## `{ITERATION_DIR}`(可选·迭代/版本级 package)
|
|
24
24
|
|
|
25
25
|
- **物理路径**:`**{ITERATION_DIR}/**`(推荐布局下常为 `**.mstar/iterations/**`,与 `{KNOWLEDGE_DIR}`、`{PLAN_DIR}` 并列;legacy 项目可继续为 `.agents/iterations/`)。
|
|
26
|
-
-
|
|
26
|
+
- **放什么**:**`<iteration-id>/` package** — `delivery-compass.md`(迭代状态 SSOT);`guides/`(探索、过程);`specs/`(迭代级规格草案);可选 package `README.md`;遗留规划快照。
|
|
27
27
|
- **不放什么**:已锁定的仓库级规范(→ **`{SPECS_DIR}/`**);已提升的跨迭代实施 SSOT(→ **`{KNOWLEDGE_DIR}/`**,经 compound);单 plan QC/QA 原始报告(→ `{SDD_DIR}/review/`)。
|
|
28
|
-
- **索引**:`**{ITERATION_DIR}/README.md**`
|
|
29
|
-
- **维护**:`@product-manager` / `@architect` 起草
|
|
28
|
+
- **索引**:`**{ITERATION_DIR}/README.md**` **一行 = 一次迭代**(指向 `<iteration-id>/`);`<iteration-id>/README.md` 登记 package 内文档(Documents 单表)。
|
|
29
|
+
- **维护**:`@product-manager` / `@architect` 起草 package;`**@project-manager**` 维护索引与 metadata;**iteration-close** 时 **`mstar-compound`** 盘点 package 并**提升**至 `{KNOWLEDGE_DIR}/`。
|
|
30
|
+
- **Compass 路径**:canonical `{ITERATION_DIR}/<iteration-id>/delivery-compass.md`;legacy flat `{ITERATION_DIR}/<iteration-id>-delivery-compass.md` 仅兼容读。
|
|
30
31
|
|
|
31
32
|
## `{SPECS_DIR}`(可选·长期规格)
|
|
32
33
|
|
|
33
34
|
- `{SPECS_DIR}` 解析:优先 `{HARNESS_DIR}/specs/`,否则 `{HARNESS_DIR}/designs/`;皆无则建议新建 `specs/`。
|
|
34
35
|
- **放什么**:跨迭代有效、已锁定或待锁定的产品/API 规范、ADR、契约 — **iteration-start 主产出**(product/architect)。
|
|
35
|
-
- **不放什么**:本迭代-only 探索(→ `<iteration-id>/guides/`);迭代级 spec 草案(→ `<iteration-id>/specs/`);实施踩坑原文(→
|
|
36
|
+
- **不放什么**:本迭代-only 探索(→ `<iteration-id>/guides/`);迭代级 spec 草案(→ `<iteration-id>/specs/`);实施踩坑原文(→ package 或 plan 素材,**close 时 compound 提升**)。
|
|
36
37
|
- **索引**:非 trivial 树建议 `{SPECS_DIR}/README.md`;plan **`primary_spec` / `spec_refs`** 主要指向此处。
|
|
37
38
|
|
|
38
39
|
## `{KNOWLEDGE_DIR}`(可选·实施知识库)
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
|
|
47
48
|
- 推荐:`<topic>-<qualifier>-v<N>.md`(例:`sync-contract-gap-analysis-v1.md`),便于同主题多版共存。
|
|
48
49
|
- 避免与主 plan 文件名混淆:主 plan 仍建议 `<plan-id>-<plan-name>.md` 且放在 `{PLAN_DIR}/` 根下,而非塞进 `{KNOWLEDGE_DIR}` 根(除非团队明确约定)。
|
|
49
|
-
- 迭代 compass
|
|
50
|
+
- 迭代 compass 放在 `{ITERATION_DIR}/<iteration-id>/delivery-compass.md`,**不要**与 `{KNOWLEDGE_DIR}` 中跨版本 SSOT 混放同一命名空间;**不要**新写根目录 flat `*-delivery-compass.md`。
|
|
50
51
|
|
|
51
52
|
## 与 `status.json` 的链接
|
|
52
53
|
|
|
@@ -57,14 +58,14 @@
|
|
|
57
58
|
|
|
58
59
|
1. **新增**:
|
|
59
60
|
- **Specs(长期)**:`{SPECS_DIR}/` → spec 索引(若有)→ `plans[].metadata` 的 `primary_spec` / `spec_refs`
|
|
60
|
-
- **迭代
|
|
61
|
-
- **Knowledge**:**`mstar-compound`** @ iteration-close(含
|
|
61
|
+
- **迭代 package**:`{ITERATION_DIR}/<iteration-id>/guides|specs/` → `{ITERATION_DIR}/README.md`(目录一行)+ package README → `iteration_refs`
|
|
62
|
+
- **Knowledge**:**`mstar-compound`** @ iteration-close(含 package **提升**)→ `{KNOWLEDGE_DIR}/README.md`
|
|
62
63
|
2. **阅读**:开发类 agent 在开始编码前,**必须**阅读当前 plan 在 `metadata` 中指向的 knowledge 文档(若存在);`@project-manager` 在 Assignment 中可再次点名路径。
|
|
63
64
|
3. **修订**:评审或规格变更若改动了 knowledge 文件,同步更新 README 中 **Status** 或 Description;版本迭代优先新文件名 `v<N+1>` 或保留旧版并标明 Superseded。
|
|
64
65
|
4. **归档**:
|
|
65
66
|
- **iteration-start(强制)**:`writing-specialist` §1.6 以 **`{SPECS_DIR}/` 全库卫生为主**;对**既有** `{KNOWLEDGE_DIR}/` 仅归档/错放纠正,**不**新增 knowledge。细则 → **`mstar-iteration/references/iteration-corpus-hygiene.md`**。
|
|
66
67
|
- **其它时机**:当文档内容已完全反映到已合并代码中、且非 iteration-start 扫库时:可将索引 **Status** 标为 `Superseded by implementation (...)` 或 `Archived`;可保留原位或迁入 `archived/knowledge/`。**不要**把知识库产物搬进 `{HARNESS_DIR}/archived/plans/`(该处用于**计划行**冷快照)。
|
|
67
|
-
5. **结晶(Compound)**:PM 在 **iteration-close** 触发 **`mstar-compound`**:plan 素材 + **`{ITERATION_DIR}/<iteration-id>/`
|
|
68
|
+
5. **结晶(Compound)**:PM 在 **iteration-close** 触发 **`mstar-compound`**:plan 素材 + **`{ITERATION_DIR}/<iteration-id>/` package 提升** → `{KNOWLEDGE_DIR}/`。不在 per-plan Done 后单独执行。维护 → **`mstar-compound-refresh`**。
|
|
68
69
|
|
|
69
70
|
## 与 review bundle、`{PLAN_DIR}/residuals/` 的区分
|
|
70
71
|
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
- `**主 plan gate summary**`:偏 **长期门禁决策摘要**(verdict、review range、R#、QA gate),随主 plan 追踪。
|
|
73
74
|
- `**{PLAN_DIR}/residuals/<plan-id>/`**:偏 **仍 open 的 R# 长文补充**(与根级 `**residual_findings**` 配套,canonical 见 `mstar-plan-conventions` **SKILL.md** 开篇);见下文「open residual 散文详情」。
|
|
74
75
|
- `**{KNOWLEDGE_DIR}/**`:偏 **可复用的实现向设计上下文**(架构细则、决策、分析),可被后续 plan 或多会话反复引用。
|
|
75
|
-
- `**{ITERATION_DIR}/**`:偏 **某一迭代/版本** 的 compass
|
|
76
|
+
- `**{ITERATION_DIR}/**`:偏 **某一迭代/版本** 的 package(compass + guides/specs),通常按版本索引而非按单 plan 长期复用。
|
|
76
77
|
- review bundle、gate summary、residuals、knowledge、iterations 可互链,但职责不混写。
|
|
77
78
|
|
|
78
79
|
---
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
| `**{SDD_DIR}/review/**` | QC / QA **流程临时证据**(`qc1.md` … `qc-consolidated.md`、`qa.md` 等),gitignored |
|
|
88
89
|
| **本目录 `{PLAN_DIR}/residuals/<plan-id>/`** | 针对**仍 open** 的某一 R#:defer 背景、遗留原因、代码锚点、后续接手提示等**长文** |
|
|
89
90
|
| `**{KNOWLEDGE_DIR}/**` | 可跨 plan 复用的**实现向**设计上下文、规格修订、gap 分析(若文中顺带提到 residual,仍以 JSON + residuals 为跟踪权威) |
|
|
90
|
-
| `**{ITERATION_DIR}/**` |
|
|
91
|
+
| `**{ITERATION_DIR}/**` | 迭代 package(`<id>/delivery-compass.md` 等);**不**替代 `{KNOWLEDGE_DIR}` 中的跨版本 SSOT |
|
|
91
92
|
|
|
92
93
|
|
|
93
94
|
**文件命名(推荐)**:`<finding-id>-<short-label>.md`,其中 `**finding-id`** 与该条在 **open 列表**(根级 `**residual_findings**`,见 `mstar-plan-conventions` **SKILL.md** 开篇)中的 `**id**`(如 `R1`)或团队约定的 `**td-*` 等技术债编号**一致,便于 `detail_doc` 与目录互查。
|
|
@@ -42,7 +42,7 @@ description: Morning Star (启明星) harness 计划目录约定 —— `{HARNES
|
|
|
42
42
|
|------|------|
|
|
43
43
|
| `docs/` | 人类文档:安装、贡献 |
|
|
44
44
|
| `{SPECS_DIR}` | 冻结规格 / ADR |
|
|
45
|
-
| `{ITERATION_DIR}` | 迭代 compass
|
|
45
|
+
| `{ITERATION_DIR}` | 迭代 package(compass + guides/specs) |
|
|
46
46
|
| `{KNOWLEDGE_DIR}` | 实现 SSOT、可复用设计 |
|
|
47
47
|
| `{PLAN_DIR}/` | 主 plan、durable gate summaries、可选 residual prose |
|
|
48
48
|
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
| **Review bundle(QC/QA 原始过程报告)** | `{HARNESS_DIR}/sdd/<plan-id>/review/`(gitignored;默认 `.mstar/sdd/<plan-id>/review/`) | `mstar-sdd`、`mstar-review-qc`、`qa-engineer` |
|
|
17
17
|
| **SDD scratch** | `{HARNESS_DIR}/sdd/<plan-id>/`(gitignored;含 per-task handoff 与 `review/` bundle) | `mstar-sdd` |
|
|
18
18
|
| **status.json** | `.mstar/status.json` | `mstar-plan-artifacts` |
|
|
19
|
-
| **迭代
|
|
20
|
-
|
|
|
21
|
-
| **迭代索引** | `.mstar/iterations/README.md` | `mstar-iteration`(读写) |
|
|
19
|
+
| **迭代 package** | `.mstar/iterations/<iteration-id>/`(`delivery-compass.md`、`guides/`、`specs/`、可选 `README.md`) | `mstar-iteration`(读写);close 时 `mstar-compound`(提升读;默认排除 compass) |
|
|
20
|
+
| **迭代索引** | `.mstar/iterations/README.md`(一行 = 一次迭代) | `mstar-iteration`(读写) |
|
|
22
21
|
| **规格** | `specs/`(优先),否则 `designs/` | `mstar-plan-artifacts` |
|
|
23
22
|
| **archived residuals** | `.mstar/archived/residuals/<plan-id>.json` | `mstar-plan-artifacts` |
|
|
24
23
|
| **archived knowledge** | `.mstar/archived/knowledge/`(保留原 `{KNOWLEDGE_DIR}` 相对路径) | `mstar-iteration` §1.6 corpus hygiene、`mstar-plan-artifacts` |
|
|
@@ -41,7 +40,7 @@
|
|
|
41
40
|
| 路径 | 说明 |
|
|
42
41
|
|------|------|
|
|
43
42
|
| `docs/` | 人类文档(安装、贡献指南等),知识产物不放此处 |
|
|
44
|
-
| `{ITERATION_DIR}/` |
|
|
43
|
+
| `{ITERATION_DIR}/` | 迭代 package(compass + guides/specs);知识文档不放此处 |
|
|
45
44
|
| `{SPECS_DIR}/` | 仅限冻结规格/ADR,运行时知识不放此处 |
|
|
46
45
|
| `{PLAN_DIR}/reports/` | Legacy / explicit audit mode only;默认 QC/QA 原始过程报告进 `{SDD_DIR}/review/`,知识文档不放此处 |
|
|
47
46
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
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` (specs, **`{ITERATION_DIR}/<id>/`
|
|
7
|
+
**Typically:** `mstar-plan-artifacts` (specs, **`{ITERATION_DIR}/<id>/` package**); `mstar-design-md`; `mstar-coding-behavior`. Boundaries → **`mstar-iteration/references/iteration-artifact-boundaries.md`**.
|
|
8
8
|
|
|
9
9
|
**On demand:** `mstar-branch-worktree` (when committing architecture docs to the business repo).
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
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, **`{ITERATION_DIR}/<id>/`
|
|
7
|
+
**Typically:** `mstar-plan-artifacts` (specs, **`{ITERATION_DIR}/<id>/` package** — not knowledge @ start); `mstar-design-md`; `mstar-coding-behavior`. Boundaries → **`mstar-iteration/references/iteration-artifact-boundaries.md`**.
|
|
8
8
|
|
|
9
9
|
**On demand:** `mstar-branch-worktree` (when committing product docs to the business repo).
|
|
10
10
|
|
|
@@ -36,7 +36,7 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
36
36
|
3. Marketing/copy writing
|
|
37
37
|
4. Script writing
|
|
38
38
|
5. Tone/style adaptation by audience
|
|
39
|
-
6. **iteration-start corpus hygiene** (§1.6 step 3): specs-first hygiene; misplaced drafts → **`{ITERATION_DIR}/<iteration-id>/`**
|
|
39
|
+
6. **iteration-start corpus hygiene** (§1.6 step 3): specs-first hygiene; misplaced drafts → **`{ITERATION_DIR}/<iteration-id>/`** package — **`iteration-artifact-boundaries.md`** + **`iteration-corpus-hygiene.md`**. **Promotion** package → knowledge is **`mstar-compound`** @ iteration-close only.
|
|
40
40
|
|
|
41
41
|
## Scope Boundaries
|
|
42
42
|
|