You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Devices paired with a device key reconnect by themselves after a level change #1190
Since T3 Code v0.1.11 (pingdotgg#37980, pingdotgg#37990), almost every device pairs with a DPoP device key, and its session renews in place.
J5 ends a person's sessions when their level changes, and their devices renew through POST /api/j5/session/renew. That route refuses DPoP sessions (SessionRenewal.ts, FORK.md case 70). After the advance, a level change makes most of that person's phones and saved servers pair again by hand, instead of reconnecting once.
Decision (Jackson, 2026-11-22, advance decision D4): accept re-pairing in the advance, and build the renewal path as this follow-up.
Work:
Give J5's renewal route a DPoP path. It takes the old token plus a proof from the same key, issues the new scopes on the same session row, and keeps the key binding.
Mobile and web saved environments use it after a level change.
Rewrite D33's "reconnect once" line back.
Test: a level change on a DPoP device renews without re-pairing, and a revoked session still can't renew.
Scope addition, from the advance's security review (reviewer-fable, 2026-11-22).
What breaks: claiming an unplaced device (Access.claimDevice) also ends the session for renewal. For a DPoP device, that renewal is refused.
How it shows up: a phone paired from a j5 auth pairing create link made without --person answers "who are you", then loses its session and must pair again. Pairing again from the same kind of link leaves it unplaced again. J5's own share links and j5 pair always name a person, so this only affects that CLI path.
What the advance does: no new code path. The CLI's no---person text warns that phones need --person, and D33's rewrite mentions it.
Here: once J5's renewal handles DPoP sessions, a claimed DPoP device renews into its person's scopes instead of being refused. Test both the claim path and the level-change path.
Activity
Jacksondr5 commentedon Nov 23, 2026
Scope addition, from the advance's security review (reviewer-fable, 2026-11-22).
What breaks: claiming an unplaced device (
Access.claimDevice) also ends the session for renewal. For a DPoP device, that renewal is refused.How it shows up: a phone paired from a
j5 auth pairing createlink made without--personanswers "who are you", then loses its session and must pair again. Pairing again from the same kind of link leaves it unplaced again. J5's own share links andj5 pairalways name a person, so this only affects that CLI path.What the advance does: no new code path. The CLI's no-
--persontext warns that phones need--person, and D33's rewrite mentions it.Here: once J5's renewal handles DPoP sessions, a claimed DPoP device renews into its person's scopes instead of being refused. Test both the claim path and the level-change path.
feat(upstream): advance to T3 Code v0.1.11 (#1205)