@mstar-harness/opencode 3.2.6 → 3.4.0
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 +27 -0
- package/INSTALL.md +2 -4
- package/README.md +2 -2
- package/dist/mstar.js +2423 -1312
- package/harness-commands/amazing-pr-review.md +54 -0
- package/harness-skills/mstar-audit/SKILL.md +7 -6
- package/harness-skills/mstar-audit/references/audit-playbook.md +19 -1
- package/harness-skills/mstar-audit/references/codebase-audit.md +21 -3
- package/harness-skills/mstar-audit/references/finding-format.md +5 -1
- package/harness-skills/mstar-audit/references/pr-review-seat-evidence.md +28 -0
- package/harness-skills/mstar-audit/references/pr-review.md +169 -69
- package/harness-skills/mstar-audit/references/security-review.md +219 -0
- package/harness-skills/mstar-conventions/SKILL.md +4 -2
- package/harness-skills/mstar-conventions/references/harness-bootstrap-and-agents-layering.md +5 -1
- package/harness-skills/mstar-harness-core/SKILL.md +1 -1
- package/harness-skills/mstar-roles/SKILL.md +17 -13
- package/harness-skills/mstar-roles/references/_shared/leaf-executor-core.md +5 -7
- package/harness-skills/mstar-roles/references/architect.md +9 -11
- package/harness-skills/mstar-roles/references/code-reviewer.md +19 -22
- package/harness-skills/mstar-roles/references/frontend-dev.md +10 -11
- package/harness-skills/mstar-roles/references/fullstack-dev-shared.md +12 -13
- package/harness-skills/mstar-roles/references/ops-engineer.md +10 -12
- package/harness-skills/mstar-roles/references/product-manager.md +9 -11
- package/harness-skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +2 -0
- package/harness-skills/mstar-roles/references/prompt-engineer.md +11 -14
- package/harness-skills/mstar-roles/references/qa-engineer.md +9 -13
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +10 -17
- package/harness-skills/mstar-roles/references/writing-specialist.md +8 -9
- package/package.json +1 -1
- package/harness-commands/pr-deep-review.md +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,33 @@ The monorepo root [CHANGELOG.md](../../CHANGELOG.md) summarizes cross-surface re
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [3.4.0] - 2026-08-27
|
|
10
|
+
|
|
11
|
+
### Harness
|
|
12
|
+
|
|
13
|
+
- Renamed `/pr-deep-review` → `/amazing-pr-review` with a clean cutover (no alias) and added three review strengths: `quick` (single-pass, 1 seat, collect + review in one pass) / `default` (the no-flag landing tier — 2 domain seats, collection folded in, reduced seats) / `deep` (the former full three-stage pipeline: collect → domain review → main-agent synthesis, 4–7 seats). The tier is chosen by an explicit keyword or inferred from the change shape; the default tier no longer fans out the full seat plan.
|
|
14
|
+
- Reworked `amazing-pr-review` batch semantics to **one session = one PR**: when multiple PRs are passed in, only the **first** runs the full three-stage deep review; the rest are registered as audit todos in `{PROJECT_DIR}/_default/residuals.json` (`decision: defer`, `target: next session`, `tracking: pr-deep-review backlog`) and the report suggests opening one session per remaining PR. The old four-seat N/4 batch fan-out is removed.
|
|
15
|
+
- Reworked single-PR deep review into a **three-stage pipeline** (collect → domain review → synthesis): lightweight read-only collect seats fan out by domain, mstar built-in roles review code + security per domain, and the main agent dedupes, three-way vets, and publishes the single GitHub Review. Posting ownership moved to the main agent — review seats never post. Fan-out is scale-driven, reusing the existing ~300-line sizing band.
|
|
16
|
+
- Synced the **three-stage pipeline** and **one session = one PR** semantics across skill core, roles, and user-facing docs: `mstar-audit` SKILL.md (`pr` variant dispatch + Hard Rule 2), `mstar-roles` shared Audit Mode and `code-reviewer.md` Mode C (every seat — collect or domain — returns evidence / findings in its result payload: any seat may be write-blocked, and the main agent writes / consolidates the evidence files; seats produce no verdict, never post), and README.md / README_CN.md / docs/cli.md. Posting ownership is unified on the **main agent** across all surfaces — review seats never post.
|
|
17
|
+
- **Role references:** Add a shared coding-philosophy line to dev-role Role Missions (`fullstack-dev`, `fullstack-dev-2`, `frontend-dev`): "YAGNI is your coding philosophy; PDCA is your behavioral discipline."
|
|
18
|
+
- **Role references:** Unify executor Role Mission phrasing to the second-person "You are …" convention (`qa-engineer`, `prompt-engineer`, `ops-engineer`, `fullstack-dev-shared`); `project-manager` keeps its Identity section as orchestrator exception.
|
|
19
|
+
|
|
20
|
+
- Version alignment with harness **3.4.0** (no OpenCode package API change).
|
|
21
|
+
|
|
22
|
+
See root [CHANGELOG.md](../../CHANGELOG.md) **3.4.0**.
|
|
23
|
+
|
|
24
|
+
## [3.3.0] - 2026-08-25
|
|
25
|
+
|
|
26
|
+
### Harness
|
|
27
|
+
|
|
28
|
+
- `mstar-audit` review-process hardening: `pr-review.md` gains **input modes** for uncommitted working-tree and single-commit reviews, **sizing bands** with change-shape **escalation** (schema/API/framework/performance/security surfaces), **originating-spec discovery** (score every acceptance criterion against the diff), a **standards precedence** and twelve-smell **baseline** with binding rules, **presumptive-structural** merge classes, and a matter-of-fact tone contract; `audit-playbook.md` gains **Chesterton's Fence** / over-simplification guards and **dependency add/upgrade discipline**; `codebase-audit.md` requires **behavior-preservation gates** on simplification plans; `finding-format.md` gains **remedy-named** Fix sketches (structural remedies).
|
|
29
|
+
- `mstar-roles` role references are now **identity-first**: mission, scope, and NEVER rules lead each leaf role file; topic `mstar-*` skills moved from top-of-file "Required Skill Dependencies" into a trailing **Skill Preset (PM-Activated)** section. Skills are presets the PM controls via a new canonical Assignment `Skill presets:` field — omitted on an implementation / QC / QA round defaults to the role's `standard` preset; explicit `none` (or a trivial route) runs identity-only without topic skills. QC/QA role-owned procedure files (`references/qc-specialist/*`, `acceptance-gate.md`) are never preset-gated. `project-manager` keeps its required-reading list unchanged as core orchestrator.
|
|
30
|
+
- **dsh plugin**: the fallbacks seed mandatory-load line now matches the preset model — `Load mstar-roles (references/<role-id>.md) first — identity comes before skills; load topic skills only when the Assignment activates them via its Skill presets field.` (mirrored in `tests/fallbacks-seeds.spec.ts` and both READMEs; pairing hashes re-recorded).
|
|
31
|
+
|
|
32
|
+
- Version alignment with harness **3.3.0** (no OpenCode package API change).
|
|
33
|
+
|
|
34
|
+
See root [CHANGELOG.md](../../CHANGELOG.md) **3.3.0**.
|
|
35
|
+
|
|
9
36
|
## [3.2.6] - 2026-08-24
|
|
10
37
|
|
|
11
38
|
### Bundled harness skills (`harness-skills/` at publish)
|
package/INSTALL.md
CHANGED
|
@@ -29,9 +29,7 @@ Restart OpenCode. The plugin installs from npm and registers Morning Star runtim
|
|
|
29
29
|
|
|
30
30
|
## Monorepo / git checkout of this repository
|
|
31
31
|
|
|
32
|
-
After `bun install` or `npm install` at the repo root,
|
|
33
|
-
|
|
34
|
-
If you use `npm install --ignore-scripts`, run once manually:
|
|
32
|
+
After `bun install` or `npm install` at the repo root, run once so `harness-skills/` and `harness-agents/` exist for the plugin entry `main` → `packages/opencode/src/mstar.ts`:
|
|
35
33
|
|
|
36
34
|
`bun run opencode:bundle-assets`
|
|
37
35
|
|
|
@@ -69,4 +67,4 @@ The `@mstar-harness/cli` package (`npx @mstar-harness/cli init`) migrates that e
|
|
|
69
67
|
|
|
70
68
|
1. Use `skill` tool to list what's discovered
|
|
71
69
|
2. Check that the plugin is loading (see above)
|
|
72
|
-
3. For **npm** installs, use a published build (tarball includes `harness-skills`). For **git** checkout,
|
|
70
|
+
3. For **npm** installs, use a published build (tarball includes `harness-skills`). For **git** checkout, run `bun run opencode:bundle-assets` once after install
|
package/README.md
CHANGED
|
@@ -61,8 +61,8 @@ Entry skill: **`mstar-harness-core`** (loaded before other `mstar-*` skills).
|
|
|
61
61
|
From the repository root:
|
|
62
62
|
|
|
63
63
|
```bash
|
|
64
|
-
bun install
|
|
65
|
-
bun run opencode:bundle-assets #
|
|
64
|
+
bun install
|
|
65
|
+
bun run opencode:bundle-assets # syncs harness-skills/ + harness-agents/
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
Plugin entry: `packages/opencode/src/mstar.ts` → `dist/mstar.js`.
|