Repository navigation
fuzz: add fuzz overlay - #966
Open
citizen-stig wants to merge 3 commits into
Open
citizen-stig wants to merge 3 commits into
citizen-stig wants to merge 3 commits into
Conversation
- 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>
Builds trees of overlays from sessions on the DB or on live overlays, and commits them directly, as overlays (blocking and non-blocking), or drops them, against a per-overlay model: - SessionParams::overlay must accept exactly the complete chain of live, uncommitted ancestors, and return Incomplete for a truncated chain or a dropped ancestor and NotAncestor for a wrong one. - Session reads and roots must match the base overlay's model. - Overlay commits must succeed exactly when the parent was the last committed overlay and the DB root matches; direct commits exactly when the DB root matches the session's base. - After every step the DB root and all values must match the committed model. Sessions on a chain whose base the DB has moved past are skipped: nomt does not reject them and panics while seeking. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
citizen-stig
marked this pull request as ready for review
October 29, 2026 09:15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wb3qFhAoTArSEcSTGVDCu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs #968