Skip to content

test: add bundle metadata drift regression#28

Merged
DigiEmu merged 1 commit into
mainfrom
test/bundle-metadata-drift-v1
May 8, 2026
Merged

test: add bundle metadata drift regression#28
DigiEmu merged 1 commit into
mainfrom
test/bundle-metadata-drift-v1

Conversation

@DigiEmu
Copy link
Copy Markdown
Owner

@DigiEmu DigiEmu commented May 8, 2026

Summary

Adds a regression test ensuring expected_hash_v1 metadata is excluded from the replay hash scope.

The test modifies expected_hash_v1 while keeping the deterministic snapshot state unchanged, then verifies that the reconstructed state hash remains stable.

Why

DigiEmu Core v1.0 requires a strict separation between deterministic state and verification metadata.

This protects against metadata drift changing deterministic state identity.

Test

Added:

  • TestReplayHashIgnoresExpectedHashV1Metadata

Verification

go test ./...

@DigiEmu DigiEmu merged commit 2ffeabf into main May 8, 2026
5 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