Repository navigation
Check retained callback lifetimes and actual registry destruction - #25
Conversation
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/unified-api-adapter/pull/25 |
|
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: 20 (20 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): 90 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. |



Registry endpoints retain callback/context pointers between calls, while the old comment described only a synchronous borrow. Correct that contract and add an Idris2 caller-side permission ledger distinguishing retained registrations from active readers. Release requires both counts to be zero; the actual Zig ABI does not enforce these ghost counts.
New native tests exercise the actual registry: shared contexts in both slots, detaching one registration while keeping the other usable, busy destroy/call/register/unregister refusals, and idle destruction without freeing caller-owned contexts. Three compiled source mutants and a zero-exit compiler-error control must reject. Input snapshots and original/private-copy hashes are checked before PASS. The existing required runtime-registry gate invokes this work.
Draft pending hosted CI and companion Atoma source-binding review. Valid pointers, caller lifetime discipline, serialized access and callback framing remain explicit premises. Idris2 ABI and pure Zig FFI/API architecture preserved; no ABI change, no stale-pointer safety claim, no heavy local execution.