@mindrian_os/cli 2.0.0-beta.27 → 2.0.0-beta.29

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,55 @@
1
+ ## [2.0.0-beta.29] - 2026-09-09
2
+
3
+ ### Added
4
+ - **Phase 298 (SEED-032): Harness-as-Code.** MindrianOS declares and machine-enforces its own
5
+ agent harness for the first time. `data/harness-policies/` is the closed, versioned schema:
6
+ eleven slice-1 policies (five gates, four voice rules, the memory-write declaration, the
7
+ Larry contract-parity declaration), each carrying an enforcement rung (`declared` / `logged`
8
+ / `blocking`) read from disk, never hardcoded. `scripts/run-harness.cjs` is the one idempotent
9
+ policy runner: a tiered `--check`, a `--room <dir>` convergence scan (proven idempotent twice
10
+ in a row against a committed fixture, byte-identical output, zero writes), and a `--policy
11
+ <id>` promotion review that prints one evaluator's verdict and never recomputes it.
12
+ `scripts/build-harness-manifest.cjs` goes to manifest v2 (three additive keys -- `policies`,
13
+ `larry_surfaces`, `fixture_ref` -- `maps` stays exactly three) and now runs the Larry
14
+ contract-parity checks inline, so `--check` fails closed the moment any of Larry's three
15
+ speaking surfaces drops a core-contract phrase or the Desktop wire exceeds its 1,950-byte
16
+ budget. `node scripts/doctor.cjs --acceptance` gained a `harness-policies` blocker that spawns
17
+ the runner, wiring the whole harness into the release train's own gate. The pre-commit drift
18
+ guard now fires on any edit under `data/harness-policies/` or `data/harness-fixtures/`, so the
19
+ manifest's own digest cannot silently rot. Two long-red manifest-cluster tests were repaired
20
+ (repointed at the file that actually carries the guard after Phase 235-01's rewrite) rather
21
+ than left recorded as known-broken. 15 plans, 6 waves, goal-backward verified.
22
+ - **Admin-only commands stop leaking into recommendations (SEED-052).** The Brain
23
+ recommendation scorer (`lib/workflow/f-selector-ranker.cjs`) now reads each command's
24
+ `visibility` field (mirrored into `data/command-registry.json` by the generator) and filters
25
+ out `visibility: admin` candidates for a non-admin navigator, fail-closed by default. Closes a
26
+ live, reproduced leak: `/mos:admin` was ranking as the #2 recommendation for every navigator,
27
+ admin or not, before this fix.
28
+ - **Skill-optimization smoke calibration reconciliation (SEED-061).** `scripts/skillopt-funnel.cjs`
29
+ gained a deterministic, exact-match reconciliation pass over `enumerateQueries`'s full-roster
30
+ output: a `should_not_trigger` negative labeled `expected_skill: null` that exactly collides
31
+ with a real positive elsewhere in the roster is corrected before the flag rule scores it,
32
+ closing a disclosed false-alarm class from Phase 230's smoke calibration (`230-07-CALIBRATION.md`).
33
+ The fix also closes a resume-path staleness hole: a resumed funnel run now re-applies the
34
+ reconciled label instead of reading a stale persisted verdict. Zero live model calls anywhere
35
+ in the fix or its tests.
36
+ - **`scripts/release.sh` Step 5.5 stops crying wolf on a good push (SEED-051).** The tag-push
37
+ verification gate now checks an independent `git ls-remote` on `origin/main`'s SHA before
38
+ deciding whether a still-not-visible tag is a real failure or just GitHub replication lag.
39
+ When the push demonstrably landed, a slow tag now prints a warning and the ceremony continues
40
+ through the acceptance/marketplace/post-verify steps; when it did not land, the original hard
41
+ abort is preserved. The abort-vs-warn decision lives in a new, independently testable library,
42
+ `scripts/release-lib/verify-tag-push.sh`. Reproduces and fixes the exact false alarm hit on
43
+ the v1.15.0 release ceremony (2026-07-02).
44
+
45
+ ### Changed
46
+ - Twelve stale-duplicate roadmap phase stubs (283, 297, 299, 300, 302, 304, 305, 306, 309, 312,
47
+ 325, 326) closed as `ABSORBED BY PHASE <N>`, each citing the specific already-shipped phase
48
+ and code evidence, after tracing that their seeds' own required capabilities were already
49
+ live -- no renumbering, no plans lost, roadmap now tells the truth about what still needs
50
+ building. Two further clusters fused (319 absorbs 320-322/324 into one Host Runtime Decision
51
+ Record; 333 absorbs 334 into one Room-as-GraphRAG walk-test-then-build phase).
52
+
1
53
  ## [2.0.0-beta.27] - 2026-09-07
2
54
 
3
55
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindrian_os/cli",
3
- "version": "2.0.0-beta.27",
3
+ "version": "2.0.0-beta.29",
4
4
  "description": "Install MindrianOS into Claude Code with one command -- `npx @mindrian_os/cli`. Ships the MindrianOS plugin (Larry + PWS methodology + Data Room) plus a setup/diagnostics CLI (install/doctor/update).",
5
5
  "scripts": {
6
6
  "mcp": "node bin/mindrian-mcp-server.cjs",