Live 30.10. the bot clicked the Practice tab it was already on and the
user saw clicks beside the window. Lobby: read the active tab (.active-tab,
measured) and click only if needed, then verify it switched; never Join a
table whose window is open (fill and self-heal). A real mouse click is only
sent when the point and its scattered end lie inside the target window
(KlickAusserhalb, a FensterNichtVorn), and not at all without a lobby
window. Two mcp_server_spec tests patched the wrong name and clicked the
real lobby with the real mouse whenever CoinPoker ran - they now patch
lobby_adapter and demand an opened table; tests/lauf.py blocks the real
debug port for every spec.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ein Zug las die Fenster vier- bis fuenfmal (osascript, 1-2 s je Abfrage):
der Klick kam nach Ablauf der Uhr (live 01:11 "Zug zu alt", mock_spec
test_kette). fenster_fuer nimmt jetzt die hoechstens 1 s alte Liste
(FENSTER_FRISCH_S); warten_bis_klick klickt spaetestens 3 s vor Uhrablauf.
Dazu: Klon klickt nie mit der echten Maus, ein beim Klick verschwundenes
Fenster ist kein verlorener Zug, KLICK_ZEILE geht ohne Vorspann, und
mock_spec, dialog_spec und live_position_spec schreiben nicht mehr ins
echte Schattenprotokoll.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>