Files
uconsole_asw_game/tests
Claude 21e968f1ab Remote Crew: keep slow work off the global lock, per-source auth limits
Audit 2026-10-03 (web-remote-crew sections 3-7):

- C8: apply_command_v2 revalidates and claims under the lock, runs apply()
  outside it (main thread only, so the world cannot change in between),
  then records the result in a second short section; an already completed
  command is never applied twice. Web-host setup/login run scrypt before
  the global lock; WebHostAuth has its own small lock.
- C9: publish_v2 keeps (session, epoch) per role and private events keep
  their role, so /proposals, /events and /simlog never re-parse the full
  role state.
- C10: failed logins and pairings are counted per source address (socket
  peer, or the proxy-appended X-Forwarded-For entry with --public-origin)
  in a bounded table; the web-host room no longer rotates its code on
  anonymous failures (the LAN listener still does after five).
- C11: switching stations clears an audio ring only when the switching
  session holds that station's lease, never for observers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 16:10:46 +00:00
..
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00
2026-09-23 12:10:58 +02:00