7c465b64f44e457817b2c60b49e44bc6eb5782ba
The transient full-suite flake (fail 1 in ~5-10% of runs, only visible on some invocations) was finally captured: challenge-proof's most-recent-proof property failed once in 800 cases. Root cause: _addChallengeProof built issuedAt with proof.issuedAt || proof.issued_at || proof.timestamp || Date.now() — a generated issuedAt of 0 (epoch) was replaced with the wall clock, so an epoch-issued proof became the most recent one and the lookup returned a timestamp (1.7e12) that could never match the expectation. The same ||-chain corrupted expiresAt: 0 into null, making epoch-expired proofs never expire. All three chains (issuedAt, expiresAt, proofId) now use nullish coalescing so zero is a valid timestamp. Fixed pin added; the challenge-proof file went from ~10% flake to 20/20 clean, and the full suite is stable at 801 tests / 739 pass / 0 fail.
Description
Arbiter core engine: graph indices, authorization rule evaluator, DSL/AST, condensed & sharded snapshots, evidence fusion.
Languages
JavaScript
100%