Skip to content

fix(ledger): restore the #833 soundness row; run utf8 fit on the interpreter - #856

Open
hyperpolymath wants to merge 2 commits into
mainfrom
fix/833-interp-recursion-mut
Open

hyperpolymath wants to merge 2 commits into
mainfrom
fix/833-interp-recursion-mut

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Refs #833. Follow-up to #843.

Why

#843 was squash-merged as 220d6f1. On that commit tools/check-soundness-ledger.sh fails (property 3, anchor content drift), so just guard is red on main:

ERROR (property 3): anchor content drift vs tools/soundness-anchors.sha256
    < 02aa1c6d…  suite:test/test_interp_eval.ml
    < 3b74c20f…  suite:test/test_intrinsic_shadow.ml
Soundness-ledger gate FAILED.

Two causes:

What changes

No compiler source changes.

Verification (local, on 220d6f1 plus this change)

Gate Result
dune build clean
dune runtest --force exit 0. Main suite 850 tests run; walker suite 32 tests run; XFAIL-OK test_resume_nontail_xfail
New cases [OK] stdlib utf8 fit on interp, [OK] stdlib utf8 fit on bun-esm
tools/run_codegen_{wasm,deno,bun}_tests.sh all pass (48 / 42 / 9 harnesses)
tools/check-soundness-ledger.sh OK … all 5 properties hold (was FAILED)
doc-truthing, deed-gates, capability-anchors, no-extension-ts all OK

just and ocamlformat are 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

…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
@gitnotebooks

gitnotebooks Bot commented Dec 1, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 88ec1d74-02ba-43d2-9b06-0bf480a9b5b3
Commits

Reviewing files that changed from the base of the PR and between 4a55253 and c4ae42d.

Files selected for processing: 5

  • docs/SOUNDNESS.adoc
  • docs/UNICODE-STRINGS.adoc
  • stdlib/utf8.affine
  • test/test_unicode_octets.ml
  • tools/soundness-anchors.sha256
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review December 1, 2026 20:07
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-01T20:07:13.864219Z
We couldn’t complete this review. Comment @codex review to try again.
c4ae42d Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants