@mstar-harness/opencode 3.3.0 → 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 +15 -0
- package/INSTALL.md +2 -4
- package/README.md +2 -2
- package/dist/mstar.js +1135 -82
- package/harness-commands/amazing-pr-review.md +54 -0
- package/harness-skills/mstar-audit/SKILL.md +4 -4
- package/harness-skills/mstar-audit/references/codebase-audit.md +2 -0
- package/harness-skills/mstar-audit/references/pr-review-seat-evidence.md +28 -0
- package/harness-skills/mstar-audit/references/pr-review.md +118 -71
- package/harness-skills/mstar-audit/references/security-review.md +3 -5
- package/harness-skills/mstar-roles/references/_shared/leaf-executor-core.md +5 -7
- package/harness-skills/mstar-roles/references/code-reviewer.md +7 -7
- package/harness-skills/mstar-roles/references/frontend-dev.md +1 -0
- package/harness-skills/mstar-roles/references/fullstack-dev-shared.md +3 -2
- package/harness-skills/mstar-roles/references/ops-engineer.md +1 -1
- package/harness-skills/mstar-roles/references/prompt-engineer.md +1 -1
- package/harness-skills/mstar-roles/references/qa-engineer.md +1 -1
- package/package.json +1 -1
- package/harness-commands/pr-deep-review.md +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,21 @@ 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
|
+
|
|
9
24
|
## [3.3.0] - 2026-08-25
|
|
10
25
|
|
|
11
26
|
### Harness
|
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`.
|