Skip to content

fix(soundness): restore the #833 ledger row and drop a stale anchor (main is red) - #860

Closed
hyperpolymath wants to merge 1 commit into
mainfrom
claude/fix-main-soundness-ledger
Closed

hyperpolymath wants to merge 1 commit into
mainfrom
claude/fix-main-soundness-ledger

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

main is red: tools/check-soundness-ledger.sh fails on 464f7c6, and CI/gate failed on 220d6f1 and 0af0ab8. Two squash merges left the ledger inconsistent. This PR repairs it and changes nothing else.

What broke

Stamp

:ground-truth-sha: advances from 84eca60 to 464f7c6, current main, verified with this change:

dune runtest --force           → 849 + 32 + 3 tests, all pass
tools/run_codegen_wasm_tests.sh → 48 harnesses pass
tools/run_codegen_deno_tests.sh → 42 harnesses pass
tools/run_codegen_bun_tests.sh  → 9 harnesses + host_io_cli pass
just guard                      → exit 0; soundness ledger: all 5 properties hold

On unmodified origin/main, the same gate fails with the property-3 drift above.

Not changed

Note for the owner

Squash merges of PRs that each edit docs/SOUNDNESS.adoc and the anchors file can drop one side silently. A merge-queue, or making CI/gate a required check, would have stopped 220d6f1 from landing red.

https://claude.ai/code/session_01J4QvDfgDTxx9Bumfa2XXcQ


Generated by Claude Code

…main red)

On main (464f7c6), tools/check-soundness-ledger.sh fails (CI/gate red on
220d6f1 and 0af0ab8):

- property 3: tools/soundness-anchors.sha256 kept two lines for
  suite:test/test_intrinsic_shadow.ml. 3b74c20f... is the hash from
  before #829 extended that suite; 20e73d88... is the current one. Both
  survived the squash merges of #841 and #829. The stale line is removed.
- The squash of #843 (220d6f1) did not carry its docs/SOUNDNESS.adoc
  change, so the #833 row (fixed, anchored to test/test_interp_eval.ml)
  and its stamp bump were lost although lib/interp.ml changed. The row is
  restored verbatim from fix/833-interp-recursion-mut.

The stamp advances to 464f7c6, current main, verified with this change:
dune runtest --force 849 + 32 + 3 tests pass; the wasm, Bun-ESM (legacy)
and native Bun-ESM codegen corpora pass (48, 42, 9); just guard exits 0
with all 5 ledger properties OK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDfgDTxx9Bumfa2XXcQ
@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 38 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: e86496c7-9ec0-46a8-ae22-23281fa3e0e2
Commits

Reviewing files that changed from the base of the PR and between 464f7c6 and 68422f1.

Files selected for processing: 2

  • docs/SOUNDNESS.adoc
  • 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

Copy link
Copy Markdown
Owner Author

Superseded by #856, which makes the same repair (restores the #833 row, removes the stale test_intrinsic_shadow.ml digest, advances the stamp) and also runs the stdlib utf8 fit case on the interpreter. Closing this one so two PRs do not compete for docs/SOUNDNESS.adoc.


Generated by Claude Code

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