You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove the borrowed-rig request/ack handshake and its docs and selftest #4233
P3-hardeningDefence in depth. Meter-gated: only taken when the 7-day meter is under targetrefactorCode health / tech debt; no behavior changetestingTests, CI, and test infrastructure
tests/integration/lib/borrow-fixture.sh implements a runner request/ack handshake (request file, owner equals run-id, sequence, rotate-stratum, restore-stratum and rearm actions, ack written back). selftest-borrow-rearm.sh asserts the runner's durable-hold capability. repo-map.md (105-110), releasing.md (348, 361) and dashboard.md (319) document the borrowed-rig and reserved-miner protocol. rig-key-ledger.sh, loaner-exit and restore-unit-capture share the same assumptions.
What it impacts
Removing the lock and wallet pieces alone leaves a bench-ci-only handshake behind; docs describe a runner role.
How I found it
Inventory 2026-11-17 review pass: borrow-fixture.sh, selftest-borrow-rearm.sh and the three docs; the other three files still to be grepped.
How important is it
P3-hardening; medium to large effort.
Acceptance criteria
Handshake, its selftest and the borrowed-rig docs are removed; any generic stratum rotate/restore primitive that stays is documented as a harness contract with its own test.
grep of rig-key-ledger.sh, loaner-exit and restore-unit-capture finds no bench-ci wording.
make test-integration-selftest passes with neither tool installed.
Possible solutions
bench-ci drives rotation and rearm itself through the primitives; delete the request/ack file protocol.
P3-hardeningDefence in depth. Meter-gated: only taken when the 7-day meter is under targetrefactorCode health / tech debt; no behavior changetestingTests, CI, and test infrastructure
Activity