mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
Iter 45 introduced checkMetaharnessIntegration with a 5-file required
list. Iters 53 (drift-from-history) and 56 (async _harness exports)
added new load-bearing surfaces that the doctor never knew to verify.
If anyone deleted drift-from-history.mjs or removed runHarnessAsync,
the doctor would still report green while ruflo's deep-integration
surface was actually broken.
WHAT SHIPPED
v3/@claude-flow/cli/src/commands/doctor.ts — checkMetaharnessIntegration
now gates 7 files (was 5):
- scripts/_harness.mjs (subprocess bridge)
- scripts/_similarity.mjs (ADR-152 §3.1 module)
- scripts/similarity.mjs (CLI skill)
- scripts/_spike-similarity.mjs (regression anchor)
- scripts/drift-from-history.mjs (iter 53 — NEW)
- skills/harness-similarity/SKILL.md (iter 36 skill)
- skills/harness-drift-from-history/SKILL.md (iter 53 — NEW)
ALSO ENFORCED — iter-56 async exports from _harness.mjs:
- parseMcpScanText (iter 50 — was already gated)
- runHarnessAsync (iter 56 — NEW gate)
- runMetaharnessAsync (iter 56 — NEW gate)
If either runHarnessAsync or runMetaharnessAsync goes missing, the
check returns 'fail' status with a clear message: "_harness.mjs
missing iter-56 async exports (runHarnessAsync / runMetaharnessAsync)
— oia-audit parallelization will fail". Pre-iter-61 this would have
manifested as a runtime crash inside oia-audit, hours after install.
SMOKE STEP 17z24 anchors the 6 new check guards. Plus relaxes iter 47's
smoke step 17z10 grep (was checking literal `runOne(['score', ...], 'score', 'metaharness')`
which iter 56's parallelization refactored into runMetaharnessAsync;
accept either form).
GATES THIS ITER
smoke: 63 → 64 (step 17z24 green; 17z10 grep relaxed for iter-56 refactor)
doctor: pass message updated to include parseMcpScanText (iter 52
text — still accurate post-iter-61)
OBSERVATION
Iter-by-iter additions to plugin surface need corresponding additions
to the doctor's required-files. Without that, doctor's verification
gradually drifts behind the actual deep-integration footprint. Iter 61
catches it up; future iters should append to this list when they add
new load-bearing files.
Co-Authored-By: RuFlo <ruv@ruv.net>