Repository navigation
Bind registry state proofs to the pure Zig kernel used by the FFI - #23
Conversation
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/unified-api-adapter/pull/23 |
|
Caution Review failedThe pull request is closed. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
🟢 clean · commit Advisory: 11 row(s), worst 🔴 high (0 critical, 9 high in grid scope) — reported, never grading the change. Unique graded findings across gating and advisory rows: 19 (19 reporter observations; 19 without sufficient identity to corroborate). Row counts remain per reporter; unique totals do not change gating.
Hypatia scan: 2 finding(s)
panic-attack assail: 18 finding(s)
pons asinorum: 9 finding(s)
echidnabot: not_applicable — template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
rhodibot (RSR compliance): 13 finding(s)
panicbot: not_applicable — panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
sustainabot: not_applicable — reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
glambot (presentation quality): 88 finding(s)
seambot: not_applicable — template default: enrol once a seam register exists at spec/seams/seam-register.json
finishingbot (release readiness): 173 finding(s)
cipherbot: not_applicable — template default: enrol once the repository implements cryptography
accessibilitybot: not_applicable — template default: enrol once the repository serves HTML
Scope: static findings reported by each row's tool at the named commit. The table grades only findings in files this change touches, so the colour answers "does this change introduce anything?", not "what does the whole repository still carry?". Standing findings are counted in each accordion and in report.json; the baseline filter remains the place where acknowledged debt is recorded. The lane state is the worst GATING row; advisory rows are listed and counted but never set it. Purple, red, yellow and blue grade the worst GRADED finding present; orange is evidence missing, malformed or a scanner that did not run; grey is an explicit scope exclusion with its reason. No row is a security certification. report.json, badge.json and the raw findings are in the verdict-grid artifact on the linked run. |
|
Codex Review Summary: ✅ CompletedThis 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: 44f9945b65
ℹ️ 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".
| echo INCOMPLETE > "$out/result.txt" | ||
| work=$(mktemp -d) | ||
| trap 'status=$?; if ((status)); then echo FAIL > "$out/result.txt"; tail -n 35 "$out"/*.txt >&2; fi; rm -rf "$work"' EXIT | ||
| [[ $(zig version) == 0.15.2 ]] |
There was a problem hiding this comment.
Honor the caller-selected compiler paths
When check-runtime-registry.sh is run with ZIG=/path/to/zig (or IDRIS2=/path/to/idris2), its existing checks use those configured binaries, but this newly invoked script switches back to bare zig and idris2 commands throughout. Consequently, environments where the selected compiler is not on PATH, or where PATH contains a different Zig version, now fail after the original runtime checks succeed or generate evidence with a different toolchain. Resolve the compiler paths once from ZIG/IDRIS2 and use them for every command in this script.
Useful? React with 👍 / 👎.



The registry FFI now calls a small pure Zig state kernel for selection, registration, removal, call admission, restoration and signed-status sanitisation. This preserves callback/context identities as opaque endpoint values and gives Atoma the actual production source to interpret.
A fresh total Idris2 RegistryState oracle supplies 900 two-operation traces and 17 signed-status cases. Four Zig optimisation modes must match; five compiled mutations must disagree. The existing 1,024-case foreign-caller matrix, reentrant-operation refusals, context checks and normal-return regressions remain mandatory. The standalone emitting runner lives outside the runtime FFI tree; the estate side-effect check now scans that runtime tree explicitly.
Registry boundary run 45527419087 passed at head 44f9945. Atoma source interpretation also passed for the identical pinned state kernel. Combined Atoma replay is pending.
Idris2 remains the ABI authority; FFI/API implementation remains pure Zig. The kernel theorem does not establish pointer lifetime, exclusive ownership, arbitrary foreign callback effects or that every machine path executes defer. These premises remain explicit; no whole-boundary certification is claimed. Heavy validation ran only in remote CI.