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
public-proof: a dx-scoreboard receipt missing direction or cases is read leniently #5465
Found in the exact-head review of #5405 (xtask/src/public_proof.rs). Not fixed there to avoid another full CI cycle.
Repro. Delete direction from a metric in metrics/public-proof/dx-scoreboard.json and run cargo xtask public-proof. text() returns an empty string, so the bar is scored lower-is-better, which can flip Meets/Below for a higher-is-better metric. A missing unit prints a bare number. In first_run_value, items() returns an empty slice for a missing cases array, so unknown verdicts, failed steps and friction events count as 0 ("meets the bar") in the bars path; the page still fails to render today only because other sections require cases.
Goal it hurts. Trustworthy verdicts: a dropped field must be an error, not a flattering status.
Fix. Use req_str for direction, unit and title, and req_arr for cases in first_run_value, plus a test that removes each field and expects an error naming it.
Owner. Public proof page (docs/PUBLIC_PROOF.md, xtask public-proof).
Tracking dependency: blocked by #5405. On current \main, \xtask/src/public_proof.rs\ does not exist yet. Once #5405 lands, this follow-up can be picked up cleanly against \xtask/src/public_proof.rs.
Delivered by #8289, merged via normal protected squash with expected head 12854d71817521f024ecfa46e77ee8848d2378c8; merge commit b10e748969d3634c6357dcf787beb7693b21a262. #5405 is merged and the dependency is satisfied.
Acceptance covered: required direction/unit/title and first-run cases parsing rejects missing or wrong-type fields with contextual errors, while valid receipt output remains byte-identical. Only generator/tests changed. The full renderer already rejected missing cases; this repair also hardens the bars path against zero defaults.
Disposition: #5465 acceptance is complete; verified PR merged and issue closed. Receipt/docs refresh remains separate under #8049. The inherited advisory drift was not refreshed or relabeled as a pass. No scoring, threshold, CI admission, access, or release changes were made. Checkpoints and published raw receipts are retained. No successor repair is required for this issue.
Activity
EffortlessSteven commentedon Oct 4, 2026
Tracking dependency: blocked by #5405. On current \main, \xtask/src/public_proof.rs\ does not exist yet. Once #5405 lands, this follow-up can be picked up cleanly against \xtask/src/public_proof.rs.
EffortlessSteven commentedon Oct 17, 2026
Delivered by #8289, merged via normal protected squash with expected head
12854d71817521f024ecfa46e77ee8848d2378c8; merge commitb10e748969d3634c6357dcf787beb7693b21a262. #5405 is merged and the dependency is satisfied.Acceptance covered: required
direction/unit/titleand first-runcasesparsing rejects missing or wrong-type fields with contextual errors, while valid receipt output remains byte-identical. Only generator/tests changed. The full renderer already rejected missing cases; this repair also hardens the bars path against zero defaults.Evidence: independent reviewer identity, exact source/scope and source/oracle/CLI inspection, raw 44-test/CLI/structured precommit receipts, complete raw precommit output, hosted checkout and 16,548-pass receipt including all 44 public-proof tests, and final REVIEW_READY assessment. Ready was requested once; qualification run 38993733135 attempt 1 passed, with no duplicate CI dispatched.
Disposition: #5465 acceptance is complete; verified PR merged and issue closed. Receipt/docs refresh remains separate under #8049. The inherited advisory drift was not refreshed or relabeled as a pass. No scoring, threshold, CI admission, access, or release changes were made. Checkpoints and published raw receipts are retained. No successor repair is required for this issue.
fix(public-proof): reject incomplete receipt fields (#5465) (#8289)