Repository navigation
EVAL-AUTH-01/02: exact authorization observability and audit-budget calculus - #49
Merged
Merged
Conversation
This was referenced Nov 17, 2026
Merged
patrickdugan
marked this pull request as ready for review
November 17, 2026 17:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exact mathematics and finite oracles
EVAL-AUTH-01 computes the Bayes-optimal permission decision from finite public observation fibres using
fractions.Fraction; a second observation weakly improves optimal classification risk. Tests exhaustively enumerate policies on 4,680 small families.EVAL-AUTH-02 adds
PairedAuditDecisionandaudit_budget_certificate. Under the explicit invariant that unaudited twins must have identical retention decisions, it computes the exact rational boundJ = TPR−FPR ≤ inspected_root_pairs/N. Tests cover all admissible 1–4-root decision rosters and the registered 64-root sharpness witness.Cross-repository first readout
Control-Harness ECA-01 registered CI passed on 64 fresh independently seeded roots with 2 permission twins and 6 arms. The 28 shared-source controller roots were inspected at cost 56 individual audit calls by the selective policy; it attained
J=7/16, exactly the bound. Full inspection of 64 root pairs at cost 128 calls attainedJ=1. The artifact is linked here, with independent SHA and row-level reconstruction documented inpaper/authorization_observation_value.md.The corresponding Lean theorem is in MathCan PR #140. Focused EvalMath CI passed, and the full Python/Lean workflow is tracked here.
The audit source is a perfect synthetic oracle with a host-owned HMAC key, not a real issuer or learned monitor. In particular, the generated FSI-01 manifest has
exchangeable_pair_labels=false; statistical confirmation is deliberately withheld. Keep draft for independent review.