Skip to content

Harden formal audit trust gates#1937

Merged
Th0rgal merged 5 commits into
mainfrom
prod-ready-unlink-abi-lowering
May 27, 2026
Merged

Harden formal audit trust gates#1937
Th0rgal merged 5 commits into
mainfrom
prod-ready-unlink-abi-lowering

Conversation

@Th0rgal

@Th0rgal Th0rgal commented May 26, 2026

Copy link
Copy Markdown
Member

Summary

  • replace the inline CI axiom grep with the repository axiom registry checker, extend discovery to optional Benchmark/ and Contracts/ trees, and wire the shared checks into make check / verify-sync
  • add trust-surface and benchmark metadata registry checks for formal-audit publication boundaries, including native_decide, @[implemented_by], partial def, and ECM axioms := [...] strings
  • clean up Bugbot findings by removing the unused trust-surface ECM regex/helper and sharing benchmark case.yaml discovery between CLI output and validation
  • harden ECM/codegen surfaces: bind ABI static-array length once, tighten Keccak padding preconditions, allocate callback calldata from the Solidity free-memory pointer, and document/gate the expanded hashing/call trust assumptions
  • add/refresh smoke coverage and docs for mapping-word shapes, arithmetic panic lowering, hashing helpers, EIP-712 digest helpers, callback helpers, Solmate-style ERC-20 helpers, and the Osaka/Fusaka intrinsic fork naming

Verification

  • make check
  • lake build Compiler.CompilationModelFeatureTest Compiler.Keccak.Sponge Compiler.Keccak.SpongeTest Compiler.Modules.Hashing Compiler.Modules.ERC20 Compiler.Modules.Callbacks
  • python3 scripts/check_trust_surface_registry.py && python3 scripts/check_axioms.py
  • python3 -m unittest scripts/test_check_benchmark_cases.py scripts/test_check_trust_surface_registry.py scripts/test_check_axioms.py -v

@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
verity Ready Ready Preview, Comment May 27, 2026 9:12am

Request Review

Comment thread Verity/Macro/Translate.lean
@Th0rgal Th0rgal changed the title Fix native dispatcher runtime shape for Unlink artifact Harden formal audit trust gates May 26, 2026
Comment thread Verity/Macro/Translate.lean
Comment thread scripts/check_trust_surface_registry.py Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 18468af. Configure here.

Comment thread scripts/check_benchmark_cases.py
@Th0rgal Th0rgal merged commit a5f3bfd into main May 27, 2026
11 of 13 checks passed
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.

1 participant