Skip to content

Add atomic conditional batches for protected records - #159

Merged
magiccodingman merged 5 commits into
masterfrom
feat/protected-conditional-batch
Nov 30, 2026
Merged

magiccodingman merged 5 commits into
masterfrom
feat/protected-conditional-batch

Conversation

@magiccodingman

Copy link
Copy Markdown
Owner

Summary

Add typed exact-key guards and atomic inserts, replacements, and deletes across protected stores in one unlocked managed database. Tokens must be encrypted persisted members. The engine authenticates records before opening the write transaction and rechecks the exact persisted snapshots in the transaction.

Validation

Cover both two-tab orderings, a late epoch update after authentication, an abort after native writes were staged, and encrypted reopen. Exercise the typed API from the published trimmed and AOT fixture.

This is an additive change for 4.1.0. Existing single-row conditional writes retain their contract.

@magiccodingman
magiccodingman merged commit 0285efa into master Nov 30, 2026
30 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