Repository navigation
fix(store): preserve saved access through recovery and restore parity - #172
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Preserve saved host access and mounted workspace drafts when certificate identity or host protocol validation fails. Store now enters explicit recovery, stops automatic retry churn, blocks dispatch, and offers Retry saved connection or Forget access and reconnect. Retry revalidates the saved pin and stream without replaying commands or accepting a replacement certificate; stale requests cannot change a newer connection.
The same patch refreshes installed-host discovery on each Check/Connect, retries failed group-directory resolution, handles all five Modex account commands locally with an accurate unavailable state, and adds native Workspace menu actions through the existing shortcut pipeline. Existing guest/renderer keys dispatch once. Inert dialogs and disconnected workspaces preserve drafts while leaving recovery controls keyboard-accessible. Attachments remain excluded from Store.
Stacked on #166 (
companion-readiness). Merge hold: land #166 first, then reconcile against actualmainand retarget this PR before merging.Verification
npm run buildandnpm run typecheckpassed.npm test: 490 passed, one expected OpenKnowledge integration skip.MODEX_TEST_OPEN_KNOWLEDGE=1 npm run test:e2e: 171 desktop and seven site tests passed.The separate signed native receipt records isolated current-account Codex/Claude turns, Stop, controlled-name encrypted-access relaunch, same-process draft retention across host restart, matching-code Allow, and revocation. It does not establish fresh-user setup, installed-app credential migration, native installed-host auto-launch, sleep/wake, full Store parity, or Apple distribution acceptance. Those gates remain explicit in the readiness matrix.