Skip to content

Commit 1751bd7

Browse files
committed
docs(gateway): state the configured-root exemption reason precisely
1 parent 7477bb3 commit 1751bd7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/gateway/server/ws-connection/control-ui-build-admission.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ type ControlUiBuildMismatch = {
1111
* reload, but an older document must never become an RPC-capable session.
1212
*
1313
* The exemptions are deliberate, not gaps (ui/AGENTS.md "Gateway Coupling"):
14-
* configured roots serve a non-dist build by definition, "dev" is the ui:dev
15-
* sentinel, and cross-origin stays exempt because build ids embed the build
16-
* timestamp — version-identical source-built installs carry different ids, so
17-
* equality would reject matched pairings, and "reload" cannot remediate a
18-
* client the Gateway did not serve. Exempted skew fails visibly at the first
19-
* missing method instead.
14+
* configured roots serve an independently built artifact the Gateway owns no
15+
* matching build identity for, "dev" is the ui:dev sentinel, and cross-origin
16+
* stays exempt because build ids embed the build timestamp — version-identical
17+
* source-built installs carry different ids, so equality would reject matched
18+
* pairings, and "reload" cannot remediate a client the Gateway did not serve.
19+
* Exempted skew fails visibly at the first missing method instead.
2020
*/
2121
export function resolveControlUiBuildMismatch(params: {
2222
clientId: string;

0 commit comments

Comments
 (0)