@mstar-harness/dsh 3.10.1 → 3.10.2
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/harness-skills/mstar-artifacts/references/plan-quality-bar.md +5 -0
- package/harness-skills/mstar-artifacts/templates/plan.main.md +10 -0
- package/harness-skills/mstar-roles/references/project-manager/plan-management.md +1 -0
- package/harness-skills/mstar-roles/references/project-manager.md +4 -3
- package/package.json +1 -1
|
@@ -85,6 +85,10 @@ Each task fits **one focused implementer round** — the round closes the task's
|
|
|
85
85
|
- **Split strategies** — apply the review split shapes (`mstar-audit/references/pr-review.md` § Sizing & change shape) to task boundaries, each slice with explicit interfaces and independent proof: stack · by file group · horizontal (shared code first) · vertical (full-stack slices). They shape task boundaries; PR line-count thresholds stay review-owned.
|
|
86
86
|
- **Verification is not the shock absorber** — **Budget pressure MUST NOT shorten or waive any assigned scoped verification.** If the round cannot close, stop and report for split/re-dispatch instead of cutting checks.
|
|
87
87
|
|
|
88
|
+
### 8. Engine lifecycle ownership
|
|
89
|
+
|
|
90
|
+
**Who advances this row's engine state, at which step, and what evidence records each transition?** The plan answers it explicitly: the scoped verb sequence it will be driven through, the delivery-tail evidence order (`compound` disposition → PR identity → verified merge, recorded **after** the row is `Done`), and — when the snapshot declares no integration anchors — that the row stops at an accepted handoff rather than promising a terminal state it cannot reach. Semantics → `mstar-artifacts/references/plan-workflow-lifecycle-contract.md`; PM step sequence → `mstar-roles/references/project-manager/plan-management.md`.
|
|
91
|
+
|
|
88
92
|
## Relationship to existing plan elements
|
|
89
93
|
|
|
90
94
|
| This quality bar | Existing mstar element |
|
|
@@ -96,6 +100,7 @@ Each task fits **one focused implementer round** — the round closes the task's
|
|
|
96
100
|
| Drift check | SDD `BASE_SHA` — generalized to all plans |
|
|
97
101
|
| Done criteria | `plan.main.md` per-step checkboxes — elevated to machine-checkable |
|
|
98
102
|
| Task shape / session fit | `plan.main.md` per-task **Effort (agent-oriented)** / **Split point** slots + `mstar-phase-gates` capacity quick-check — one-round Files-plus-gates closure per task |
|
|
103
|
+
| Engine lifecycle ownership | `plan.main.md` **Engine lifecycle** block — scoped verb sequence, delivery-tail evidence order, and the no-integration-anchors conditional |
|
|
99
104
|
|
|
100
105
|
## When to apply
|
|
101
106
|
|
|
@@ -16,6 +16,16 @@
|
|
|
16
16
|
|
|
17
17
|
[Project requirements — version floors, naming, exact values — copied verbatim from spec. Every task includes them. Verification scope follows `mstar-harness-core` § 定向执行与验证边界: only changed behavior and direct contracts; no local full suites without explicit user permission. Never assign real-browser/device/installed-deployment E2E evidence as a task or a gate of a development plan; each layer proves itself with its own unit/integration tests. Real-environment verification lives only in a separately requested `mstar-e2e` workflow, whose named scenarios are that workflow's own plan rows.]
|
|
18
18
|
|
|
19
|
+
## Engine lifecycle
|
|
20
|
+
|
|
21
|
+
Who advances this plan row's engine state, and what records each transition:
|
|
22
|
+
|
|
23
|
+
- **Scoped sequence** — one engine verb per transition; never a hand-edited snapshot: `bind --coordinator` → `prepare` → `bind` → `progress` → `handoff` → `accept` → `integration-start` → Git merge → `integration-accept` → `complete`.
|
|
24
|
+
- **Evidence order** — `compound` disposition, PR identity and merge evidence are recorded **after** the row is `Done`; the engine refuses those writes while any plan row is not `Done`. The delivery tail runs on a completed row, never ahead of it.
|
|
25
|
+
- **Snapshot declares no integration anchors** → the row cannot reach `Done` today: stop at a submitted/accepted handoff, report the blockage to the coordinator, and never fabricate a terminal state (`Done`, `completed`, PR identity, merge record).
|
|
26
|
+
|
|
27
|
+
Semantics and failure behavior → `mstar-artifacts/references/plan-workflow-lifecycle-contract.md`; PM step sequence → `mstar-roles/references/project-manager/plan-management.md`.
|
|
28
|
+
|
|
19
29
|
---
|
|
20
30
|
|
|
21
31
|
### Task 1: [Component Name]
|
|
@@ -54,6 +54,7 @@ If legacy plan directories already exist, reuse them; avoid dual-structure dupli
|
|
|
54
54
|
```
|
|
55
55
|
The declaration is one-time (a second one, even with the same kind, is refused) and refuses a terminal snapshot; a supplied `--branch-source`/`--branch-target` fills a MISSING anchor or restates the registered one — a value conflicting with an anchor the snapshot already carries is refused (the registered anchor is the delivery identity, never overwritten); delivery evidence itself is recorded with `mstar workflow evidence --workflow <id> --file <payload.json>` (PR identity recorded once; `head`/`target` must be the registered `branch.source`/`branch.target`).
|
|
56
56
|
- Delivery tail (standalone `development` plans, after Done): compound disposition (`created` / `updated` / reasoned `skipped`; review → **`mstar-compound`**) on the delivery branch before the PR head is finalized → submit PR with its identity (repo / head / target) recorded → merge-ready declared (resumable milestone; workflow stays registered) → PM-verified merge (provider evidence; never the close verb) → common close reusing the post-merge-close ordering (`mstar-iteration/references/phase-6-post-merge-close.md`). Stage semantics and failure behavior → frozen contract `mstar-artifacts/references/plan-workflow-lifecycle-contract.md`.
|
|
57
|
+
- **Merge-ready precondition — standalone `development` plans only.** Before merge-ready is declared, run the read-only close-state gate and record its output with the milestone (`mstar iteration gate --phase 6 --workflow <id> [--harness <absolute-path>]`; same implementation as the close's delivery-evidence consultation, no `--compass`). Pre-merge the snapshot is still `running`, so `PHASE6_NOT_TERMINAL` / `PHASE6_ROOT_ENTRY_PRESENT` are the expected readings and the recorded note says so; any other code (`PHASE6_INVALID_SNAPSHOT`, `PHASE6_INVALID_ROOT`) is a real defect to clear before merge-ready. Iteration workflows are unaffected — they keep their own Phase 4/5 exit checklist (`mstar-iteration/references/phase-4-5-pr-delivery.md` §5.2).
|
|
57
58
|
|
|
58
59
|
## PM Plan / Status NEVER
|
|
59
60
|
|
|
@@ -6,9 +6,10 @@ 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 the active host; then Read the reference that detection resolves to)
|
|
8
8
|
4. `mstar-conventions` (path discovery, init, Spec branch summary)
|
|
9
|
-
5. `
|
|
10
|
-
6.
|
|
11
|
-
7.
|
|
9
|
+
5. Plan lifecycle authority — `references/project-manager/plan-management.md` + **`mstar-artifacts`** `references/plan-workflow-lifecycle-contract.md`: who advances the plan row's engine state, the scoped verb sequence, and the evidence each transition records — read **before the first implement dispatch**, not first at close
|
|
10
|
+
6. `mstar-review-qc` (same coordination round, **before** any QC dispatch)
|
|
11
|
+
7. **`mstar-sdd`** when implement uses **`Execution mode: sdd`**
|
|
12
|
+
8. **On demand:** `mstar-branch-worktree` (parallel implement, QC/QA checkout); `mstar-artifacts` (`status.json` v2 root, workflow snapshots, R#); `mstar-artifacts` (InReview waves, review bundle naming)
|
|
12
13
|
|
|
13
14
|
**Not required:** `mstar-coding-behavior` (orchestration-only PM work).
|
|
14
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mstar-harness/dsh",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.2",
|
|
4
4
|
"description": "Morning Star harness dsh (DeepSeek Harness) cordis function plugin — in-process engine gates (status/dispatch/lease) with hard refusal channels.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|