Skip to content

feat(extension): support optional local pairing without automatic downgrade - #428

Open
iuyo5678 wants to merge 1 commit into
feat/local-pairing-04-lifecyclefrom
feat/local-pairing-05-extension-auth
Open

iuyo5678 wants to merge 1 commit into
feat/local-pairing-04-lifecyclefrom
feat/local-pairing-05-extension-auth

Conversation

@iuyo5678

@iuyo5678 iuyo5678 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

New and upgraded unpaired profiles connect directly through the existing business handshake, including to pre-pairing daemons. There is no authentication probe or retry/fallback state machine before ordinary unpaired use.

Profiles with an active key or saved recovery candidate must authenticate; old-server replies, unknown identities, bad proofs and connection closure never automatically downgrade them. Rejected/expired unused links preserve the current connection. Explicit skipping remains a separate user action. Strict daemon rejections are surfaced as pairing-required instead of an optional warning.

This is the 0.4.2 pairing implementation. The final cleanup PR removes unused migration fields and startup hooks; they do not grant or deny unpaired access here.

Validation across the final stack:

  • Rust workspace: 1,020 passed, one existing ignored; formatting and strict Clippy.
  • Extension: 3,570 passed, 363 environment-dependent skips; TypeScript, Biome and production build.
  • Five real-daemon tests using the current CLI and published 0.4.1; real Chrome for Testing pairing/navigation smoke.
  • The 0.4.2 stage independently passed 131 focused tests, three real-daemon tests, typecheck and Biome.

Stack 5/9; base: #427. Review order: #424 → #425 → #426 → #427 → #428 → #429 → #430 → #431 → #432.

@iuyo5678
iuyo5678 force-pushed the feat/local-pairing-05-extension-auth branch from b9a303e to 3f0bc0a Compare November 2, 2026 10:18
@iuyo5678 iuyo5678 changed the title feat(extension): authenticate local daemons and persist pairing credentials feat(extension): support optional local pairing without automatic downgrade Nov 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants