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
Commit d85010e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/adr/ADR-0010-sandboxed-frame-and-broker.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ Company shells pin the admitted viewer when rendered; the local shell obtains it
26
26
The public shell lazily binds `{ userId }` through the internal `principal` runtime operation before its first directory call or subscription. That handshake is not a patch SDK operation. The shell pins the result for the document, then uses the existing principal checks on calls and stream reconnects; cacheable public HTML never contains a viewer identity. Public `me` remains null.
27
27
Runtime adapters supply bootstrap identity explicitly. Production shares `StreamAdmission` between the handshake and document streams, including stale-token refresh semantics; it does not fall back to ordinary invocation admission.
28
28
Public member-enabled shells hold the trusted session scripts in an inert template containing only public Clerk configuration. Directory authentication activates that template once, including when a stale token needs refresh during the initial handshake. Anonymous refusals leave the public page and its route bridge usable.
29
+
A failed lazy bind can retry on the next directory request. A successful bind keeps its principal for the document's lifetime. Once bound, a public document stops on lost member authority even if it uses only direct calls and has never opened a stream.
29
30
`access_denied`, `session_expired`, `principal_changed` and `revoked` stop the
30
31
document. `not_available_on_public` remains a patch-visible refusal, and public
0 commit comments