@mstar-harness/opencode 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -148,6 +148,22 @@ Before switching from Plan to Agent for implementation (or declaring Plan phase
|
|
|
148
148
|
|
|
149
149
|
If any item fails → **Blocked**; finish harness sync before implement.
|
|
150
150
|
|
|
151
|
+
## Build resume contract
|
|
152
|
+
|
|
153
|
+
Cursor **Build** resumes the current plan in Agent mode. Do not assume it replays `/pm` or re-enters a role skill automatically.
|
|
154
|
+
|
|
155
|
+
First action after Build, before product-code edits:
|
|
156
|
+
|
|
157
|
+
1. Reload the harness entry: `mstar-harness-core` → `mstar-host` Cursor reference → this bridge.
|
|
158
|
+
2. If the plan is a Morning Star plan, resume as `project-manager` for coordination and dispatch only.
|
|
159
|
+
3. Read the SSOT plan and `status.json`; use them as the source of truth over the Cursor plan URI.
|
|
160
|
+
4. For each implement/code todo, require a PM Assignment with `Execute as`, `Delegation`, `Working branch` or `Branch policy`, and SSOT `Plan Path`.
|
|
161
|
+
5. If the Assignment or SSOT state is missing, report **Blocked** and repair the harness state before implementation.
|
|
162
|
+
|
|
163
|
+
Allowed in the parent Build session: plan/status maintenance, routing decisions, Assignment writing, and host Task dispatch.
|
|
164
|
+
|
|
165
|
+
Not allowed in the parent Build session by default: product implementation, test implementation, QC execution, QA execution, deployment, or ops changes. Those follow the normal PM dispatch rules unless the user explicitly overrides the harness.
|
|
166
|
+
|
|
151
167
|
## PM in Plan mode (`/pm`)
|
|
152
168
|
|
|
153
169
|
When `/pm` runs under Plan mode:
|
|
@@ -166,6 +182,7 @@ When `/pm` runs under Plan mode:
|
|
|
166
182
|
| Drift between CreatePlan and SSOT plan | Update both in same round |
|
|
167
183
|
| Cursor plan URI as Plan Path | Use `{PLAN_DIR}/...` path |
|
|
168
184
|
| Skip `spec-register` | Add `plans[]` row before implement |
|
|
185
|
+
| Build starts coding in the parent session | Resume PM context; dispatch implement work or block on missing Assignment |
|
|
169
186
|
|
|
170
187
|
## Related skills
|
|
171
188
|
|
|
@@ -27,6 +27,8 @@ Each **implement todo**: per–task-ID **git commit** on Working branch → SSOT
|
|
|
27
27
|
|
|
28
28
|
Before **SwitchMode → Agent**: mirror plan exists; `status.json` lists `plan_id`; bootstrap todos done. **Never** use only the Cursor plan URI as **Plan Path**.
|
|
29
29
|
|
|
30
|
+
After **Build**: treat the run as plan resume, not `/pm` replay. Reload `mstar-harness-core` + this Cursor reference, resume Morning Star plans as `project-manager` orchestration, and dispatch implementation through Task unless the user explicitly overrides the harness.
|
|
31
|
+
|
|
30
32
|
Enforcement: `rules/mstar-cursor-plan-mode.mdc` when plugin active.
|
|
31
33
|
|
|
32
34
|
## `/pm` precedence
|