Repository navigation
fix(ledger): restore the #833 soundness row; run utf8 fit on the interpreter - #856
hyperpolymath wants to merge 2 commits into
Conversation
…rpreter Follow-up to #843 (squash 220d6f1), which left the soundness-ledger gate red on main (property 3, anchor content drift): - tools/soundness-anchors.sha256 carried the test/test_interp_eval.ml anchor, but the #833 row that cites it was lost from docs/SOUNDNESS.adoc when the PR's conflict with #829 was resolved; - the manifest also held a second, stale digest for test/test_intrinsic_shadow.ml (already the case at ff3f08d). The #833 row is restored unchanged, the stamp advances from 84eca60 to 220d6f1 (lib/interp.ml moved in #829 and #843), and the manifest is resealed. Now that #829 has merged: its "stdlib utf8 fit" case (code_points_within_octets, self-recursive) was Bun-ESM only because the interpreter could not run self-recursion. It now also runs on the interpreter. The test's unquoting of interpreter output is removed, since println writes the string itself. The Bun-only note in stdlib/utf8.affine and the support table and findings in docs/UNICODE-STRINGS.adoc are updated; the char_at finding now records its root cause. Refs #833 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDgaiMn26BfqukYvBwf
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/affinescript/pull/856 |
|
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 25 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. |
|
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. |



Refs #833. Follow-up to #843.
Why
#843 was squash-merged as
220d6f1. On that committools/check-soundness-ledger.shfails (property 3, anchor content drift), sojust guardis red onmain:Two causes:
test/test_interp_eval.mlanchor, but the#833row that cites it is missing fromdocs/SOUNDNESS.adoc. It was lost when fix(interp): run what the checker accepts — recursion, let mut, return, preamble ctors (#833) #843's conflict with feat(strings): backend-independent UTF-8 octet count and code-point view #829 was resolved;docs/SOUNDNESS.adocis not in the squash's file list.test/test_intrinsic_shadow.ml. That one predates fix(interp): run what the checker accepts — recursion, let mut, return, preamble ctors (#833) #843: the gate already fails onff3f08d(feat(strings): backend-independent UTF-8 octet count and code-point view #829).What changes
docs/SOUNDNESS.adoc: the#833row is restored, word for word as reviewed in fix(interp): run what the checker accepts — recursion, let mut, return, preamble ctors (#833) #843.:ground-truth-sha:advances84eca60→220d6f1, becauselib/interp.mlmoved in feat(strings): backend-independent UTF-8 octet count and code-point view #829 and fix(interp): run what the checker accepts — recursion, let mut, return, preamble ctors (#833) #843.tools/soundness-anchors.sha256: resealed (32 anchors).test/test_unicode_octets.ml: thestdlib utf8 fitcase (code_points_within_octets, self-recursive) now runs on the interpreter as well as Bun-ESM. The helper that stripped quotes from interpreter output is removed, sinceprintlnnow writes the string itself.stdlib/utf8.affine,docs/UNICODE-STRINGS.adoc: the Bun-only note, the support table and the four interpreter findings are updated. Thechar_atfinding now records its root cause.No compiler source changes.
Verification (local, on
220d6f1plus this change)dune builddune runtest --force850 tests run; walker suite32 tests run;XFAIL-OK test_resume_nontail_xfail[OK] stdlib utf8 fit on interp,[OK] stdlib utf8 fit on bun-esmtools/run_codegen_{wasm,deno,bun}_tests.shtools/check-soundness-ledger.shOK … all 5 properties hold(was FAILED)justandocamlformatare not installed in my container; I ran the recipes' commands directly and lint was skipped.Commit is unsigned, for the owner to re-sign.
Generated by Claude Code