{{ message }}
refactor(storage): consolidate unreleased StateOwner owner grammar in V2 - #1781
Draft
joshuajbouw wants to merge 9 commits into
Draft
refactor(storage): consolidate unreleased StateOwner owner grammar in V2#1781joshuajbouw wants to merge 9 commits into
joshuajbouw wants to merge 9 commits into
Conversation
Add the explicit User owner to the pure StateOwnerCodecV2 wire grammar while keeping the runtime admission and recovery barrier crate-private. Durable commits, staging, quota, filesystem, migration, and recovery paths now fail closed before mutation, and the independent Python reader accepts the same canonical owner tags. Also register the in-band format identity amendment and preserve V1 and existing tags byte-for-byte. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Keep the focused state-owner display decoder beside the other independent Runatal helpers while preserving the reader error boundary and direct execution path. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Exercise PRE_USER_OWNER selection, repeated reopen-time amendment, and the process broker user-owner fail-closed boundary without changing durable semantics. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Index the accepted successor specification from the exact predecessor before volume compatibility enforcement, while retaining fail-closed rejection for unrecognized predecessors and the runtime user-owner barrier. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Canonical user owners are now distinguished from malformed recovery input and rejected before staging quarantine, owner migration promotion, or legacy volume promotion. Volume WAL preflight also prevents path replacement before recovery. Added byte and path preservation regressions. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Perform read-only owner observation across root, WAL, migration, and staging recovery paths before durable mutation. Preserve existing torn and unsupported journal diagnostics while keeping resynchronization bounded. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Bind hosted volume proof locks and identities through artifact selection and mutation, retain semantic owner errors across malformed recovery evidence, and stream WAL and staging owner scans without proportional allocation. Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Member
Author
This was referenced Sep 1, 2026
Member
Author
This was referenced Sep 1, 2026
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.

Linked Issue
Tracking #1780. Successor work: #1797 and #1801.
Summary
Frozen predecessor for the unreleased StateOwner V2 grammar and hosted storage recovery work.
The branch is not reclaim-complete and is not a merge candidate. Its useful design and regression evidence is preserved while the inode-stable volume-root successor proceeds through #1797/#1801.
Changes
Verification
AI / Tool Assistance
Assisted-by: Codex:GLM-5.3 Flash
AI assistance was used for implementation and tests. The maintainer owns the architecture boundary and frozen disposition.
Checklist