Add guarded memory transactions#8
Merged
Merged
Conversation
eric-levinson
marked this pull request as ready for review
July 12, 2026 18:48
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.
Summary
MEM_MAPPEDstorage0.2.0-dev.2developer preview and complete its live reversible-write gateRoot cause and impact
The original live gate could not prove a write because repeated in-process scans left scanner-owned binary copies in readable private memory. Later scan pages found those copies and returned
TOO_MANY_MATCHES. Exact save records could also be absent until the relevant Dynasty table lifecycle loaded.The recovery keeps every scanner-owned binary buffer outside the private-only search domain and adds bounded allocation metadata for read-only lifecycle classification. After a Hub → Recruiting → Hub transition, one masked
LeagueSettingcandidate was uniquely classified and reconstructed to the exact independently parsed 256-byte record.Live safety evidence
COMMISHONLYrecord matched the independently derived imageANYrecord matched after restorationValidation
npm run check8BAC318E38F25239B919D492911B0DC995FB138BBB7F64EEEAA04F7905C2100FRelease boundary
This draft does not publish or tag
v0.2.0-dev.2. After review and merge, the release checklist requires tagging the exact merged commit, publishing immutable ZIP/checksum assets as a GitHub prerelease, downloading them afresh, and independently verifying SHA-256 before Brooks integration begins.