Skip to content

feat(cloud-connection): unbind keeps an identity residual for re-bind continuity#1797

Merged
xuyushun441-sys merged 2 commits into
mainfrom
feat/unbind-identity-residual
Jun 12, 2026
Merged

feat(cloud-connection): unbind keeps an identity residual for re-bind continuity#1797
xuyushun441-sys merged 2 commits into
mainfrom
feat/unbind-identity-residual

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Phase 2 of the cloud runtime-identity-binding ADR: Disconnect clears the credential but keeps the identity.

  • Unbind revokes cloud-side first, then writes a token-less residual {runtimeId} to the store instead of deleting it
  • A later re-bind to the same org presents the residual as its claim → the cloud revives the same (revoked) registration with a fresh bearer, instead of minting a new device row per disconnect cycle — an iCloud device record surviving sign-out
  • ConnectionCredentialStore.read() accepts token-less residuals; credential() already treats the empty token as "no credential", so status correctly reads as unbound while surfacing the runtimeId

Pairs with the cloud-side Connected Runtimes governance PR (rename / revoke / remove list actions).

+2 tests; 42/42 green.

🤖 Generated with Claude Code

os-zhuang and others added 2 commits June 13, 2026 02:10
… continuity

Disconnect clears the credential (revoking cloud-side first) but keeps
{runtimeId} in the store — a later re-bind to the same org claims and
revives the same registration (cloud claim rule reactivates the revoked
row) instead of minting a new device per disconnect cycle. Same shape
as an iCloud device record surviving sign-out.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 12, 2026 9:15pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/s labels Jun 12, 2026
@xuyushun441-sys
xuyushun441-sys merged commit d01c427 into main Jun 12, 2026
12 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the feat/unbind-identity-residual branch June 12, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants