Repository navigation
fix(desktop): recover canonical device-home persona coordinates - #21
Merged
reynholm merged 1 commit intoOct 19, 2026
Merged
Conversation
Assisted-by: Codex Signed-off-by: Savva Melnikov <s.melnikov@bitrix.ru>
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.
Joining a workspace can fail with
invalid home event signed scope or coordinatewhen recovery replays a builtin Claim. The journal recordsbuiltin:fizz/builtin:honey, while signed persona events usebuiltin-fizz/builtin-honey. Recovery rejects the event and blocks workspace preparation. The same mismatch affects the last-instance Delete reported in #14.Resolve local persona IDs through the existing
persona_d_tagpolicy, including imported source slugs. Use the same coordinate for retained-head lookup, label deduplication and monotonic retry timestamps. Retained-only label worklists preserve their original coordinates even when an unrelated local ID collides. Recovery keeps the original signed bytes, owner and relay; signature, kind, owner and coordinate validation remains mandatory and SQL batches remain atomic.Fixes #14.
Validation:
just cipassed: repository-wide static checks, Rust/Tauri/desktop/mobile tests, and desktop/web builds. GitHub Actions checks are running separately.This remains a draft pending native-app and human acceptance. Verify reconnecting with a persisted builtin Claim, deleting the last builtin instance, and renaming the device twice while publication is unavailable, then retrying. No release or installed-app update is included.