Skip to content

Protect stored events from caller mutation - #14

Merged
EauDoon merged 1 commit into
mainfrom
fix/event-store-snapshots
Aug 30, 2026
Merged

Protect stored events from caller mutation#14
EauDoon merged 1 commit into
mainfrom
fix/event-store-snapshots

Conversation

@EauDoon

@EauDoon EauDoon commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Clone event payloads before signing and freezing them in the in-memory store.
  • Return independent snapshots from append and list operations.
  • Prevent caller mutation from freezing inputs or altering the stored signed event chain.

Verification

  • Repository check and tests: 131 passed.
  • Focused rail suite: 77 passed.
  • Stored snapshots remained stable after input and returned-value mutation.
  • Exact-tree and full-history scans introduced no new finding.

The documented loopback-only experimental boundary remains unchanged.


Devin Review

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@EauDoon
EauDoon merged commit 83f67a8 into main Aug 30, 2026
7 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