Files
OBLITERATUS/scripts
Joseph MaglyandClaude Opus 5.5 ca622d290d fix(aspa): fail closed on unreadable Pareto controller evidence
load_json() caught every exception and returned None, so a truncated,
empty or undecodable ship-gate report looked like missing evidence: the
candidate silently left the leaderboard, the controller recommended the
wrong leader and still exited 0 (#518).

- load_json returns None only for a missing file; read, decode, JSON
  and non-object errors raise UnreadableEvidence with the path and
  reason.
- collect scans every evidence directory, then raises
  UnreadableEvidenceSet listing all unreadable files; corrupt
  interpolation metadata is treated the same way.
- main exits 2, reports each file on stderr and writes no frontier, so a
  ranking is never published from a partial evidence set. Unrelated
  valid JSON in an evidence directory is still ignored.
- Outcome tests cover truncated, empty, binary and non-object reports,
  multiple evidence kinds, missing files, unreadable directory entries
  and corrupt interpolation metadata; the script is registered in the
  test-risk map.

Reported-by: soarkit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 10:25:46 -05:00
..
2026-03-04 12:38:18 -08:00
2026-03-08 12:09:27 -07:00