Skip to content

fuzz: check witnesses, proofs and reopen in api_surface - #968

Open
citizen-stig wants to merge 2 commits into
thrumdev:masterfrom
citizen-stig:nikolai/fuzz-improvements
Open

citizen-stig wants to merge 2 commits into
thrumdev:masterfrom
citizen-stig:nikolai/fuzz-improvements

Conversation

@citizen-stig

Copy link
Copy Markdown
Contributor
  • Verify the session witness: each path proof against the previous root, witnessed read values against the model, the read/write key sets, and that applying the witnessed writes yields the new root.
  • Add a Prove call that checks Session::prove against the session's base.
  • Derive new keys from existing ones so tries get deep and span pages.
  • Fuzz page/leaf cache sizes, upper levels and prepopulation; do not preallocate the hash table.
  • Add a Reopen call that checks the root and every committed value, and keep the temp dir alive for the whole run.
  • Check the root against an independent recursive reference, shared with proof_verify via a new reference module.

- Verify the session witness: each path proof against the previous root,
  witnessed read values against the model, the read/write key sets, and
  that applying the witnessed writes yields the new root.
- Add a Prove call that checks Session::prove against the session's base.
- Derive new keys from existing ones so tries get deep and span pages.
- Fuzz page/leaf cache sizes, upper levels and prepopulation; do not
  preallocate the hash table.
- Add a Reopen call that checks the root and every committed value, and
  keep the temp dir alive for the whole run.
- Check the root against an independent recursive reference, shared with
  proof_verify via a new reference module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wb3qFhAoTArSEcSTGVDCu
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