48eff0fcbb
The #147 step 3.1 bench must measure a real battle on the default server-thread single-player path, where the window is a client of its own integrated server. Two control-socket handlers bypassed the client mod there: - chat sent raw to the server (send_chat) in remote mode, skipping the chat-box's client-mod interception (handle_chat_input -> mod_command), so /airdef deploy|wave|stats never reached the client-side mod and no battle deployed (fingerprints null, tick fuel 395K vs 12.7M in-frame). - chat-log read the connection's raw buffer (remote_chat), which never holds a client mod's own lines (they land in ui.chat via add_mod_chat_line; the server's lines are mirrored into ui.chat by chat_line). Both now behave as the player's chat box: chat routes through handle_chat_input (client-mod command first, else the server), chat-log reads the player-visible ui.chat. status.chat (remote_chat) is unchanged; the in-frame path is unchanged. Harness only — no sim rule, frequency, limit or combat decision touched. Co-Authored-By: Kimi Code <noreply@moonshot.ai>