Repository navigation
Check the public header boundary and bounded span contract - #249
Conversation
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/proven/pull/249 |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 31 minutes. View limit details
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4c18bdc4f8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The fixture drives core.headerHasCrlf directly, so a change to ptr or len in the exported entries was invisible. Assert that each exported entry is a single delegation of its own ptr and len; a mutated main_refc.zig entry now fails.
|
This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins. |
|



The borrowed-loop proof did not cover the public header entry's null refusal, pointer-to-slice forwarding or backend-error mapping. Add an Idris2 bounded-span contract composed with the authoritative header fold, and pure Zig tests importing the unchanged core.headerHasCrlf implementation. The dispatch fixture observes exact pointer/length, all valid subspans, one backend call, null-before-call behaviour and -99/-7 error mapping. The real exported Idris-backed ABI also exercises interior and empty spans, including NUL and high bytes, and checks unchanged input.
The required header bridge gate runs the public-entry fixture in four modes, rejects four compiled source mutants, rejects an invalid Idris span, and refuses a planted zero-exit compiler error with a stale PASS marker. It snapshots and rechecks original and private-copy inputs before PASS.
Hosted header bridge run45591156861/job139125449358 passed at56b75cb45419a4095d4af51c7e3c38133e8ff968. Evidence includes the Idris contract/no-hole audit, native mode campaigns, runtime mutant refusals and the real exported ABI span fixture. Other repository checks and review must also complete before merge. Atoma #34 provides the companion original-source interpretation.
The dispatch double is distinct from real ABI evidence. Readable live memory, pointer/region correspondence, usize representability and synchronous immutable lifetime remain caller premises. Idris2 ABI and pure Zig FFI/API preserved; no heavy local execution.