Repository navigation
test(witness): bind captured tree head and verification reports - #182
Merged
rajnisht7 merged 1 commit intoDec 1, 2026
Merged
Conversation
Signed-off-by: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com>
dinakarjs
requested review from
a team,
lywinged and
rajnisht7
as code owners
December 1, 2026 04:50
rajnisht7
approved these changes
Dec 1, 2026
rajnisht7
left a comment
Member
There was a problem hiding this comment.
@dinakarjs Thank you for picking these up, checked 529e361, all the follow-ups from #143 look addressed and tests pass clean
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.
Follow up on #143 and #143 (review).
The captured Nenrin fixture tests now verify the signed tree head against the pinned witness key, recompute its root from the ordered receipt entry hashes, and compare both committed verification reports with fresh verification output. Negative controls reject a changed signature and signed tree size, and demonstrate that reversing the receipts changes the root.
Rename the grade-mismatch test to describe the absence of cryptographic binding, and scope the checkpoint-1 limitation to the September 7 Action State receipt. No fixture or runtime behavior changes; this does not add a new witness capture, Bitcoin-chain verification, or registry-continuity evidence.
Validation: 477 tests passed (
python -m unittest discover -s tests), including all 15 focused Nenrin fixture tests.ruff check .andgit diff --checkpassed. Dependencies installed from the hashed CI, witness, and runtime requirements.Implemented and validated with OpenAI Codex.