Trim-follow-up to the salvaged PR: document why ensureGatewayOpen asks the socket itself instead of trusting the effect-mirrored gatewayStateRef, and why the registry backs a not-yet-populated ref. No behaviour change.
Trim-follow-up to the salvaged PR: document why ensureGatewayOpen asks the socket itself instead of trusting the effect-mirrored gatewayStateRef, and why the registry backs a not-yet-populated ref. No behaviour change.