662 B
662 B
id, title, type, appliesTo, requiredTests
| id | title | type | appliesTo | requiredTests | ||
|---|---|---|---|---|---|---|
| api-client-transport-policy | API Client Transport Policy | ai-coding-rule |
|
|
Gateway RPC transport is IPC-only by default. Renderer code must not enable WebSocket or HTTP transport unless src/lib/api-client.ts explicitly gates it behind clawx:gateway-ws-diagnostic.
When diagnostics are enabled, the allowed order is WS -> HTTP -> IPC; otherwise the allowed order is IPC.
Failed non-IPC transports must use backoff before retry. gateway:httpProxy remains a Main-owned proxy path and must not become direct renderer Gateway HTTP access.