Repository navigation
LBA REQ 072
Proven
Deployment / benchmark (ADR-0053 -- cross-plane launch-benchmark parity, roadmap Phase 2/4)
The system shall prove that a Linux and a Windows launch-to-ready benchmark receipt measure the SAME benchmark via a machine-independent launch identity (metric + workload + sample count) -- so their plane-specific timings are legitimately comparable -- and a fail-closed gate rejects an identity mismatch, a non-cross-plane pair, or a tampered receipt.
cross-plane PARITY is governed for benchmarks whose measured value is deterministic + plane-INDEPENDENT
(the mprr ring-buffer seriesHash, LBA-REQ-014; the VI Analyzer resultHash, LBA-REQ-015/043). The flagship
exact-12-FPS launch-to-ready benchmark (workload-trend@1, metric launchMs) measures a plane-DEPENDENT quantity
(~2604 ms Linux vs ~2410 ms Windows), so there is no identical series/result to anchor -- and the existing launch
cross-plane receipts compare timing/resource deltas as WITNESSES, proving nothing about whether the two planes ran
the SAME benchmark (the precondition that makes their timings comparable).
-
launchParity.mjs'slaunchIdentity= sha256 over{ metric, workload, n }(the benchmark spec), deliberately EXCLUDING the plane-dependent timing, the plane, and the hypervisor; two planes running the same launch benchmark share it. - A committed receipt (
experiments/launch-parity/cross-plane-launch-parity-receipt.json, schemacross-plane-launch-parity-receipt@1) proves parity iff both receipts are validworkload-trend@1, they are cross-plane (one LINUX + one WIN), and their launch identities match; it records the plane means + the signed delta + the faster plane as performance WITNESSES. It fails closed on an identity mismatch, a non-cross-plane pair, an invalid trend, or a tampered digest (selftest 7/7). - The committed receipt is DERIVED FROM the committed launch-trend fixtures (
experiments/launch-parity/fixtures/{linux,win}-launch-trend.json); the gate re-derives it and asserts the plane means equal the real trend means (non-fabricable).
the verifier + selftest + receipt live under experiments/launch-parity/
(launchParity.mjs / .selftest.mjs / cross-plane-launch-parity-receipt.json); gate
cross-plane-launch-parity in verify-local-gates. A new plane joins by emitting a workload-trend@1 with the
same { metric, workload, n }. Complements (does not duplicate) the deterministic-series parity of
LBA-REQ-014/015/043. Authored under the singular-requirement directive (one shall).
experiments/launch-parity/launchParity.mjs; experiments/launch-parity/launchParity.selftest.mjs; experiments/launch-parity/cross-plane-launch-parity-receipt.json; experiments/launch-parity/fixtures/linux-launch-trend.json; experiments/launch-parity/fixtures/win-launch-trend.json; experiments/verify-local-gates.mjs
Proven