feat(db): add durable identity binding lifecycle - #4772
Draft
cea-block wants to merge 6 commits into
Draft
Conversation
Preserve published binding history while projecting authoritative lifecycle state into additive tables. Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Serialize binding transitions and retain tombstone authority across enrollment, rotation, and revocation paths. Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Exercise lock ordering, restart boundaries, and migration ambiguity with deterministic checkpoints. Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Fail closed across database and relay authority paths when identity state is ambiguous, stale, revoked, or unreadable. Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
This was referenced Aug 4, 2026
* commit 'e9d16d592b16c32832830d64c27ab9512304176d': test(desktop): stabilize off-relay video menu fix(desktop): keep sidebar within size limit Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
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.
Why
Identity bindings need durable migration state and serialized lifecycle transitions so authorization remains closed during enrollment, rotation, revocation, recovery, restart, and ambiguous legacy state.
What
Review guide
Risk assessment
Medium. This PR adds an additive database migration and changes identity authorization paths. Ambiguous state denies authorization, and lifecycle transitions are transactional.
Testing
References