mirror of
https://github.com/db9979/uconsole_asw_game.git
synced 2026-12-06 12:54:18 +01:00
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