@mstar-harness/opencode 0.4.1 → 0.5.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.
@@ -91,7 +91,7 @@ PM 在 Assignment 写 **`Task category`**(主类 + 可选 `secondary`):
91
91
  | 宿主 | 要点 |
92
92
  |------|------|
93
93
  | OpenCode | 根 `AGENTS.md` → 本 skill;`question`、`@explore` |
94
- | Cursor | 会话先 Read 本 skill;Task 并行 QC |
94
+ | Cursor | 会话先 Read 本 skill;Task 并行 QC;Plan 模式双写 → `mstar-host-cursor` · `references/cursor-plan-mode-bridge.md` |
95
95
  | 其它 | 初始化时强制 Read 本 skill |
96
96
 
97
97
  ## 护栏(不变量)
@@ -123,6 +123,7 @@ PM 在 Assignment 写 **`Task category`**(主类 + 可选 `secondary`):
123
123
  | residual 只写 plan 不写 SSOT | `mstar-plan-artifacts` |
124
124
  | 角色文件塞流程长文 | 用专题 skill |
125
125
  | 无证据宣称完成 | `mstar-coding-behavior` / verification |
126
+ | CreatePlan 不落盘 / 无 `.agents` mirror | `mstar-host-cursor` · `cursor-plan-mode-bridge` |
126
127
 
127
128
  ## 可选:OpenViking Memory
128
129
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: pm
3
- description: Force the current session into pure Morning Star flow: load `mstar-harness-core`, execute as `mstar-roles` `project-manager` (`/pm`), and require reading `mstar-review-qc` before dispatching any QC tasks.
4
- disable-model-invocation: true
3
+ description: "Force the current session into pure Morning Star flow: load `mstar-harness-core`, execute as `mstar-roles` `project-manager` (`/pm`), and require reading `mstar-review-qc` before dispatching any QC tasks."
5
4
  ---
6
5
 
7
6
  # Project-Manager Force Entry (`/pm`)
@@ -15,6 +14,15 @@ Use `/pm` as a hard switch for the current session: enter Morning Star PM mode u
15
14
  3. Load `mstar-roles` `project-manager` role reference.
16
15
  4. Execute as Morning Star `project-manager` for this thread.
17
16
 
17
+ ## Cursor Plan mode (when CreatePlan / SwitchMode is available)
18
+
19
+ If this session runs in Cursor **Plan mode**:
20
+
21
+ 1. After step 1, Read **`mstar-host-cursor`** and **`skills-cursor/mstar-host/references/cursor-plan-mode-bridge.md`**.
22
+ 2. Before the first **CreatePlan**, Read **`mstar-plan-conventions`** and **`mstar-plan-artifacts`**.
23
+ 3. **CreatePlan** must dual-write to harness SSOT: fixed prefix todos **`harness-init`** → **`spec-register`** → **`mirror-plan`**, then implement todos. Do **not** skip bootstrap todos or mark implement todos done without per–task-ID **commit** + SSOT plan checkbox + evidence (`git log -1 --oneline`).
24
+ 4. Before **SwitchMode → Agent**, verify mirror plan file and `status.json` `plan_id` registration per the bridge reference.
25
+
18
26
  ## Operating baseline
19
27
 
20
28
  - Prefer **`specify → clarify → plan → tasks → delegate`** (align with `mstar-phase-gates`; do not skip `specify`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mstar-harness/opencode",
3
- "version": "0.4.1",
3
+ "version": "0.5.1",
4
4
  "description": "Morning Star harness OpenCode plugin (skills bootstrap and agent loading).",
5
5
  "license": "MIT",
6
6
  "repository": {