Repository navigation
fix(ffi): bring main.zig to the template form (adds the dupeZ helper) - #16
hyperpolymath wants to merge 0 commit into
Conversation
|
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 58 minutes. View limit details
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: 4 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): 11 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): 177 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: ❌ 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
72633ad to
98cfae6
Compare
|



Summary
Brings
src/interface/ffi/src/main.zigto the current template form. The template upgrade addedtests/ffi_strings_test.shbut did not apply the matchingmain.zigchange, so the test fails to compile withuse of undeclared identifier 'dupeZ'. This is a defect in my template upgrade, not in the repo's own code. The owner asked to find the causes and resolve them.Changes
src/interface/ffi/src/main.zigonly (24 lines added, 6 removed): adds the module-leveldupeZ(allocator, bytes)helper, makes the two callers use it (get_stringandlast_error), and updates the doc comments, all copied from the template with the project name filled in.{{project}}tokens, so it never saw the file as unchanged and left it alone.Evidence: the repo's
main.zigwas byte-identical to the base mint (0 changed lines), so no project work is lost. A token-normalised three-way merge applies with no conflicts. The result is identical to the template file with the project name filled in (0 diff lines).build.zigandtest/integration_test.zigalready matched the template.Explicitly left out
RSR Quality Checklist
main.zigwith the name filled in (0 diff lines).tests/ffi_strings_test.shnot run locally: Zig is not installed in my environment. CI has Zig, so the "FFI string ownership and sentinel regressions" step is the check. I make no claim that it passes until CI shows it.Testing
None run locally beyond the diff checks above. Other reds on
main(DEED line cap, Containerfile pin, and so on) are not from this PR.Owner decisions
Generated by Claude Code