src/review/auto-tune.ts already implements the ONE tuning action considered safe to take unattended: when computeGateEval's merge precision drops below a floor for a project, the system self-tightens (sets a hold-only flag) and alerts a human — it only ever gets MORE cautious. This issue extends that existing live enforcement surface to also consider MINER-originated PRs as a distinguishable population (via the source-scoping already present on computeGateEval), so a miner fleet whose self-review accuracy degrades trips the SAME existing safety breaker independently of the maintainer's own review-stack accuracy — without ever loosening anything automatically.
This directly extends the live gate-adjacent enforcement chokepoint itself (the auto-tune breaker), so it is maintainer-only per the safety tier, even though the breaker's philosophy (self-tightening only) is already established.
Deliverables
References
src/review/auto-tune.ts — the existing circuit-breaker this extends; read its full "only ever more cautious, forward-measured, human clears it" contract before touching
src/review/parity.ts (301 lines) — computeGateEval's existing source?: string scoping parameter this reuses
src/review/outcomes-wire.ts (536 lines) — runSelfTuneBreaker, the existing invocation site this issue extends
src/review/auto-tune.tsalready implements the ONE tuning action considered safe to take unattended: whencomputeGateEval's merge precision drops below a floor for a project, the system self-tightens (sets a hold-only flag) and alerts a human — it only ever gets MORE cautious. This issue extends that existing live enforcement surface to also consider MINER-originated PRs as a distinguishable population (via thesource-scoping already present oncomputeGateEval), so a miner fleet whose self-review accuracy degrades trips the SAME existing safety breaker independently of the maintainer's own review-stack accuracy — without ever loosening anything automatically.This directly extends the live gate-adjacent enforcement chokepoint itself (the auto-tune breaker), so it is maintainer-only per the safety tier, even though the breaker's philosophy (self-tightening only) is already established.
Deliverables
source-scopedcomputeGateEvalpass for miner-originated predictions (using the existingsource?: stringfilter) in addition to the existing unscoped passReferences
src/review/auto-tune.ts— the existing circuit-breaker this extends; read its full "only ever more cautious, forward-measured, human clears it" contract before touchingsrc/review/parity.ts(301 lines) —computeGateEval's existingsource?: stringscoping parameter this reusessrc/review/outcomes-wire.ts(536 lines) —runSelfTuneBreaker, the existing invocation site this issue extends