@mstar-harness/opencode 0.7.3 → 0.7.5
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 -6
- package/harness-commands/iteration-start.md +20 -6
- package/harness-skills/mstar-branch-worktree/SKILL.md +8 -8
- package/harness-skills/mstar-coding-behavior/SKILL.md +27 -4
- package/harness-skills/mstar-dispatch-gates/SKILL.md +4 -4
- package/harness-skills/mstar-dispatch-gates/references/leaf-executor-checklist.md +1 -1
- package/harness-skills/mstar-harness-core/SKILL.md +6 -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 +48 -12
- package/harness-skills/mstar-iteration/references/iteration-compass-template.md +14 -0
- package/harness-skills/mstar-phase-gates/SKILL.md +4 -4
- package/harness-skills/mstar-plan-artifacts/references/plan-files-and-reports.md +2 -2
- package/harness-skills/mstar-plan-artifacts/references/status-and-residuals.md +23 -2
- package/harness-skills/mstar-plan-conventions/SKILL.md +9 -6
- 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 +5 -5
- package/harness-skills/mstar-roles/references/project-manager/qc-and-residuals.md +1 -1
- package/harness-skills/mstar-roles/references/project-manager.md +5 -6
- 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 +13 -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-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。
|
|
@@ -104,7 +104,7 @@ description: Morning Star (启明星) Spec-Driven 双阶段门禁 —— Prepare
|
|
|
104
104
|
|
|
105
105
|
per-plan 门禁通过后,PM 在**迭代层面**管理以下活动(不计入 per-plan gate):
|
|
106
106
|
|
|
107
|
-
- **迭代启动**(`mstar-iteration` § Phase 1
|
|
107
|
+
- **迭代启动**(`mstar-iteration` § Phase 1):锁定迭代范围、**显式 branch policy**(`iteration_base_branch` / `target_branch`)、产出 compass。
|
|
108
108
|
- **迭代驱动**(`mstar-iteration` § Phase 2 Autonomous Execute):per-plan 派发循环(分支→实现→QC→QA→Done→合并),跨 plan 进度追踪,更新 compass 中各 plan 状态。
|
|
109
109
|
- **迭代收口**(`mstar-iteration` § Phase 3 iteration-close):迭代内所有 plan Done 后,执行一轮知识结晶(`mstar-compound`)沉淀迭代经验,更新 roadmap,标记迭代完成。
|
|
110
110
|
|
|
@@ -35,11 +35,11 @@
|
|
|
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` 混名。
|
|
42
|
-
- **同仓多 worktree 并行 dev**:**推荐**在排各 batch / 各轨 worktree 前确立 **plan 集成分支** 与各轨 topic 线及 **merge 靶**(见 `mstar-branch-worktree` **「推荐默认编排:先建 plan 集成分支,再挂各 worktree」**)。**多 `plan_id` 同属一条 `primary_spec`(Spec 文档)时**:该「集成分支」在计划语义上即 **Spec 集成分支**;各 Plan 的 topic 分支 **merge 回 Spec 集成分支**,**全部 Plans 完成后**
|
|
42
|
+
- **同仓多 worktree 并行 dev**:**推荐**在排各 batch / 各轨 worktree 前确立 **plan 集成分支** 与各轨 topic 线及 **merge 靶**(见 `mstar-branch-worktree` **「推荐默认编排:先建 plan 集成分支,再挂各 worktree」**)。**多 `plan_id` 同属一条 `primary_spec`(Spec 文档)时**:该「集成分支」在计划语义上即 **Spec 集成分支**;各 Plan 的 topic 分支 **merge 回 Spec 集成分支**,**全部 Plans 完成后** 向显式 `target_branch` **走 PR**,见 `mstar-plan-conventions` SKILL.md **「Spec 驱动的分支模型」**。终局(或增量)三审派单前,PM 仍须满足 **单一待审 `Working branch` / `HEAD`** 或已按上条 **拆 scope**;**不得**假设「整 plan 一次三审」可只靠某一个开发 worktree 路径覆盖未合并的其他并行轨。
|
|
43
43
|
|
|
44
44
|
### 多 `plan_id` 同时 `InReview`(PM 编排)
|
|
45
45
|
|
|
@@ -109,8 +109,8 @@ In old JSON, **`"severity": "warning"`** is read and rolled up as **`low`**. **F
|
|
|
109
109
|
| Key | Type | Purpose |
|
|
110
110
|
| --- | --- | --- |
|
|
111
111
|
| `working_branch` | string | Implementation branch; aligns with Assignment **`Working branch`** (SSOT) |
|
|
112
|
-
| `spec_integration_branch` | string | (Multi-plan same **Spec**) integration branch name; plan branches merge here before
|
|
113
|
-
| `merge_target` | string | Next merge target; multi-plan + Spec → usually `spec_integration_branch`; `
|
|
112
|
+
| `spec_integration_branch` | string | (Multi-plan same **Spec**) integration branch name; created from root `metadata.iteration_base_branch`; plan branches merge here before final PR (`mstar-plan-conventions`) |
|
|
113
|
+
| `merge_target` | string | Next merge target; multi-plan + Spec → usually `spec_integration_branch`; final PR target is root `metadata.target_branch` |
|
|
114
114
|
| `branch_policy` | string | One-line policy per `mstar-harness-core` |
|
|
115
115
|
| `phase` | string | Program/roadmap label |
|
|
116
116
|
| `priority` | `high` \| `medium` \| `low` | PM scheduling |
|
|
@@ -152,10 +152,31 @@ Legacy string `plans[].notes` is OK; new repos should use arrays with time + eve
|
|
|
152
152
|
| Key | Type | Purpose |
|
|
153
153
|
| --- | --- | --- |
|
|
154
154
|
| `versioning` | object | Cross-plan conventions (team-defined) |
|
|
155
|
+
| `iteration_base_branch` | string | Branch/ref used to create `spec_integration_branch`; required for formal iterations |
|
|
156
|
+
| `target_branch` | string | Final PR target after iteration-close; required for formal iterations |
|
|
155
157
|
| `notes` | array | **Legacy** — prefer **`{HARNESS_DIR}/notes.json`** |
|
|
156
158
|
| `residual_findings_history` | object | **Legacy** — prefer **`archived/residuals/<plan-id>.json`** |
|
|
157
159
|
| `tech_debt_summary` | object | Optional rollup over open R#; maintain via script (below) |
|
|
158
160
|
|
|
161
|
+
**Formal iteration example** (root `metadata`; values are project-specific — **do not** copy `main` by default):
|
|
162
|
+
|
|
163
|
+
```json
|
|
164
|
+
"metadata": {
|
|
165
|
+
"iteration_base_branch": "release/1.76",
|
|
166
|
+
"target_branch": "release/1.77"
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Plan row (per active iteration plan):
|
|
171
|
+
|
|
172
|
+
```json
|
|
173
|
+
"metadata": {
|
|
174
|
+
"spec_integration_branch": "iteration/v1.77-live-teels",
|
|
175
|
+
"merge_target": "iteration/v1.77-live-teels",
|
|
176
|
+
"iteration_refs": ["v1.77"]
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
159
180
|
## General constraints
|
|
160
181
|
|
|
161
182
|
- Each `plans[]` row may include optional **`metadata`** (`{}` or omit).
|
|
@@ -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
|
|
3
|
+
description: Morning Star (启明星) harness 计划目录约定 —— `{HARNESS_DIR}` / `{PLAN_DIR}` / `{ITERATION_DIR}` / `{KNOWLEDGE_DIR}` / `{SPECS_DIR}` 发现与初始化(默认 `.mstar/`,兼容 `.agents/`)、`docs/` 与 harness 子树边界、未启用 plan 时的工作方式、Spec 集成分支与多 Plan 实现分支(显式 base / merge 靶 / PR target)、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(必读顺序)
|
|
@@ -58,15 +58,18 @@ PM 在需要持久化追踪时:
|
|
|
58
58
|
|
|
59
59
|
## Spec 驱动的分支模型(多 Plan · 同一 Spec)
|
|
60
60
|
|
|
61
|
-
- **
|
|
61
|
+
- **Iteration base branch**:创建 Spec/iteration 集成分支的祖先分支或 ref;必须显式记录,不能默认 `main` / `master`。
|
|
62
|
+
- **Spec 集成分支**:从 `iteration_base_branch` 创建;各 Plan 实现 merge 回此线后再视为 Spec 在代码侧集成。
|
|
62
63
|
- **Plan 实现分支**:每 `plan_id` 一条(PM 书面)。
|
|
63
|
-
-
|
|
64
|
+
- **PR target**:全部 Plans 与 iteration-close 完成后,向显式 `target_branch` 提 PR(窄例外见 Assignment `Branch policy`)。
|
|
64
65
|
- Git 操作与 QC 单一 `HEAD` → **`mstar-branch-worktree`**。
|
|
65
|
-
- `status.json` 登记 `spec_integration_branch` / `merge_target` → **`mstar-plan-artifacts`**。
|
|
66
|
+
- `status.json` 登记 root `metadata.iteration_base_branch` / `metadata.target_branch`,以及 plan `metadata.spec_integration_branch` / `merge_target` → **`mstar-plan-artifacts`**。
|
|
66
67
|
|
|
67
|
-
|
|
68
|
+
**解析顺序**(`mstar-iteration` §2.3):`status.json` metadata → compass frontmatter → 向用户确认。**禁止**因仓库默认分支名为 `main`/`master` 就自动采用。
|
|
68
69
|
|
|
69
|
-
|
|
70
|
+
## Plan-Writing Path Gate
|
|
71
|
+
|
|
72
|
+
Plans are written to **`{PLAN_DIR}`** when persistent plan tracking is enabled. Do not introduce external default plan directories.
|
|
70
73
|
|
|
71
74
|
## 状态与权限(摘要)
|
|
72
75
|
|
|
@@ -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.
|
|
@@ -82,10 +82,10 @@ The **`**You are a leaf executor. You MUST NOT:**`** section (previously just pr
|
|
|
82
82
|
- Prepare: `specify` [done|n/a], `clarify` [done|n/a], `plan` [done|n/a]
|
|
83
83
|
- Execute: `plan locked` [done|n/a], `tasks` [done|n/a], `implement` [this assignment|done]
|
|
84
84
|
- Gate decision: `go` | `blocked` (<reason>)
|
|
85
|
-
**Working branch**: <branch policy or create-from policy>
|
|
85
|
+
**Working branch**: <branch policy or create-from policy> — formal iteration: from `metadata.spec_integration_branch`; integration cut from `metadata.iteration_base_branch` (`mstar-iteration` §2.3)
|
|
86
86
|
**Review cwd / Worktree path**: <absolute path or N/A>
|
|
87
87
|
**plan_id**: <plan-id or N/A + scope label>
|
|
88
|
-
**Review range / Diff basis**: <reproducible basis;
|
|
88
|
+
**Review range / Diff basis**: <reproducible basis; merge-base = `metadata.target_branch` or PM-specified ref — not assumed `origin/main`>
|
|
89
89
|
**Worktree path**: <implementer path if used>
|
|
90
90
|
**QA note**: <PM-scheduled / skipped / self-check>
|
|
91
91
|
**Why this agent**: <role-fit>
|
|
@@ -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
|
|
@@ -8,7 +8,7 @@ Use this reference when PM is dispatching QC, consolidating review verdicts, or
|
|
|
8
8
|
1. Dispatch three independent QC assignments.
|
|
9
9
|
2. Collect reports and verify alignment fields:
|
|
10
10
|
- `plan_id`
|
|
11
|
-
- `Review range / Diff basis`
|
|
11
|
+
- `Review range / Diff basis` — use `metadata.target_branch` or PM-specified base ref for merge-base; **do not** assume `origin/main` in formal iterations (`mstar-iteration` §2.3)
|
|
12
12
|
- `Review cwd / Worktree path`
|
|
13
13
|
- `Working branch`
|
|
14
14
|
3. Verify runtime identity/model mapping for three distinct QC roles.
|
|
@@ -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`.
|
|
@@ -135,7 +134,7 @@ If any fail -> do not dispatch implement.
|
|
|
135
134
|
|
|
136
135
|
### PM entry sessions (`/pm` or OpenCode PM switch)
|
|
137
136
|
|
|
138
|
-
When the session entered via **`/pm`**, **`pm` skill**, or OpenCode PM orchestration, follow **`skills/pm/SKILL.md`** — especially **Host entry**, **
|
|
137
|
+
When the session entered via **`/pm`**, **`pm` skill**, or OpenCode PM orchestration, follow **`skills/pm/SKILL.md`** — especially **Host entry**, **iteration branch policy**(`iteration_base_branch` / `spec_integration_branch` / `target_branch`), **Autonomous Execute**(status.json backlog, per-plan feature branches), and **Dispatch-first**. Routing, gates, Task Board, QC, and templates remain in this file and topic `mstar-*` skills.
|
|
139
138
|
|
|
140
139
|
---
|
|
141
140
|
|
|
@@ -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
|
|
|
@@ -49,7 +49,7 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
49
49
|
- **NEVER** close, delete, or archive residual entries in `status.json` from QC; PM/QA own residual lifecycle per `mstar-plan-artifacts`.
|
|
50
50
|
- **NEVER** treat `Handoff` lines, template role lists, or routing prose as invoke instructions; only `Delegation: allowed` authorizes callees.
|
|
51
51
|
- **NEVER** infer tool exposure implies authorization; **tool availability ≠ delegation**.
|
|
52
|
-
- **NEVER** run
|
|
52
|
+
- **NEVER** run parallel-agent dispatch yourself; **PM-only** (`mstar-dispatch-gates`).
|
|
53
53
|
- **NEVER** outsource review steps, verdict rationale, checklist execution, or report drafting to `@explore`.
|
|
54
54
|
|
|
55
55
|
## Review Context Gate (Hard)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Always:** `mstar-harness-core`, `mstar-dispatch-gates`, `mstar-coding-behavior` (surgical edits).
|
|
6
6
|
|
|
7
|
-
**Typically:** `mstar-plan-conventions` (where deliverables land under `{HARNESS_DIR}` / `docs/`); `mstar-plan-artifacts` (when writing under knowledge or plan trees)
|
|
7
|
+
**Typically:** `mstar-plan-conventions` (where deliverables land under `{HARNESS_DIR}` / `docs/`); `mstar-plan-artifacts` (when writing under knowledge or plan trees).
|
|
8
8
|
|
|
9
9
|
**Host:** `mstar-host` (detect; `references/opencode.md` | `cursor.md` | `codex.md`).
|
|
10
10
|
|
|
@@ -25,7 +25,7 @@ If any item below matches, **stop** and return `Blocked` to `project-manager` in
|
|
|
25
25
|
- **NEVER** invoke `writing-specialist` or unrelated roles to perform **this** writing assignment unless `Delegation: allowed (...)` lists them.
|
|
26
26
|
- **NEVER** treat `Handoff` lines, template role lists, or routing prose as **invoke instructions**; only `Delegation: allowed` authorizes callees.
|
|
27
27
|
- **NEVER** infer tool exposure implies authorization; **tool availability ≠ delegation**.
|
|
28
|
-
- **NEVER** run
|
|
28
|
+
- **NEVER** run parallel-agent dispatch yourself; **PM-only** (`mstar-dispatch-gates`).
|
|
29
29
|
- **NEVER** outsource drafting or editing of the assigned deliverable to `@explore`.
|
|
30
30
|
- **NEVER** mark plan items or harness `status.json` fields implying `Done` for the overall plan—writing-only scope; PM/QA own closure.
|
|
31
31
|
|