Files
John SmithandClaude e2132271e7 fix(relay): write authorization bound to verified connection origin (iteration 43)
Closes A3 #3/#4: atmosphere AND speech guards no longer trust forgeable
Yjs clientIDs — SETs and DELETEs both gate on the delivering connection's
HMAC-verified role/user. Corrective broadcasts rate-limited per connection
(5/min then close 4008); persistence debounced 1s with flush on shutdown.
Red tests reproduced forged-GM-clientID acceptance before the fix; live
smoke verified eviction+restore, disconnect, zero mid-debounce writes.
66 relay tests passing (20 new).

Co-Authored-By: Claude <[email protected]>
2026-08-25 10:23:39 -04:00
..