* fix(metaharness): pin @metaharness/darwin + add pin-drift guard (ruflo analog of #142/#149)
Upstream agent-harness-generator #142 (darwin caret-locked to 0.2.x, 3 majors
behind) and #149 (META_PROXY_VERSION pinned with no watcher) are both silent
pin-drift failures. Ruflo had the same latent gap on its own metaharness deps:
- distill-oracle.ts invoked `npx --yes @metaharness/darwin` with NO version pin,
so the Tier-1 mechanical oracle floated to whatever npm `latest` was — a
breaking darwin release could change eval behavior mid-run. Pinned via a new
`MH_DARWIN_PIN = '0.8.0'` constant used by all three npx call sites.
- Declared `@metaharness/darwin: ^0.8.0` in optionalDependencies (subprocess-
invoked, kept optional per ADR-150/321) so the pin has a single source of truth
and installs cache-warm.
- Fixed a stale `@metaharness/darwin@~0.3.1` doc comment (darwin is 0.8.0).
New guard (the #149 analog ruflo lacked):
- scripts/check-metaharness-pins.mjs — diffs each declared range (metaharness,
@metaharness/router, @metaharness/darwin) against npm `latest`, plus a
lock-step check that MH_DARWIN_PIN satisfies the declared darwin range. Exit 1
on drift; network flakes surface as a warning, never a false positive.
- .github/workflows/metaharness-pin-drift.yml — runs the guard weekly + on PRs
touching the pins; opens/updates a tracking issue when a pin falls behind,
and hard-fails PRs that introduce drift.
All pins are current (guard exits 0); router API-surface compat 9/9; CLI builds
clean. Lockfile reconciled for the new optionalDep (frozen-lockfile verified).
Refs: ruvnet/agent-harness-generator#142, #149; ADR-150, ADR-321.
Co-Authored-By: RuFlo <ruv@ruv.net>
* chore(release): bump to 3.32.25 (metaharness pin-drift guard)
Co-Authored-By: RuFlo <ruv@ruv.net>