Bisher 12 an fuenf Stellen (geld, spielplan, Rust/WinUI/Swift-Cockpit), laufwache 6, harter
Prozessdeckel 14 per Umgebung. Jetzt eine Zahl in lesen/geld.py; spielplan, laufwache und
tischdeckel (hart = Grenze + 2 Tauschluft) lesen sie, der Server liefert sie als
kopf.tische_hoechstens, die drei Cockpits lesen sie von dort. Wie viele Tische wirklich laufen,
entscheidet weiter der Spielplan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Der Mittler trug auf Windows das Sitzen, aber nicht den Spielzug: der
fire-and-forget-Zug (tischkanal.aktion_blind: verbinden, senden, SOFORT zu)
verlor die Bytes, weil winpipe.Rohr.close() direkt CloseHandle rief - Windows
verwirft dann ungelesene Puffer, der Tisch lief in den Timeout. close() flusht
jetzt vor dem Schliessen (FlushFileBuffers, war deklariert, nie gerufen), nur
wenn geschrieben wurde. Loopback-Probe: 0/320 Verluste mit Flush gegen 3/320
ohne (tests/winpipe_flush_spec.py).
Dazu die restlichen Windows-Blocker des Betriebs:
- click.py: der Kanalbetrieb rief beim Wegplanen zeiger() (Mac-Quartz) -
AttributeError riss den ganzen Laeufer ab. Bei abgeschalteter Maus gibt
click() jetzt sofort den Zielpunkt zurueck (nichts an Quartz), zeiger()
nutzt GetCursorPos statt CGEvent.
- live.py: die Live-Sperre prueft den Halter ueber winproc.lebt statt
os.kill(pid,0) - das BEENDET den Halter unter Windows (TerminateProcess).
- winproc.lebt: nicht-toetende Lebend-Pruefung (OpenProcess, neu).
- laufwache.py: Prozess-Fund ueber winproc statt ps, Kills ueber
winproc.toeten statt SIGKILL, Temp-Pfade, CTRL_BREAK zum sanften Stoppen.
Live geprueft: Laeufer spielt den Zug ueber den Kanal (echo=True), ueberlebt
den Click-Pfad (kein CGEvent-Crash mehr) und sitzt am Tisch.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Practice tables: 20-min session 54/54 turns at the server, control session 28 turns,
0 timeouts; stage: 3 tables, two rounds each, clean teardown.
- Never let the clock run: an engine abstention becomes check or fold (nie_verstreichen).
- Mittler join in a fixed order (kill the duplicate, then announce), a mittler ends with its
game, the laufwache opens no tables, stop waits for the runner to stand up.
- Focus: no lobby connections from HUD, probes or layout; "Focus Window on Turn" off.
- Tables: disconnected or sitting-out opponents do not count; a table without channel is
closed and avoided after 45 s; the join event keeps the writer's pid (strict invariants).
- Geldwache: same room list as the runner, the table's own report, stand up before closing.
- Engine: the small blind completes the top 65 % against limpers (price per fair share);
the calling range of a bet is as wide as the villain calls - value bets into stations.
- Cockpit: the source tree never comes from SHELL; one operating set for laufwache and
Cockpit (sicht/start.py --client, ServerStart).
- Project lives in ~/Projects/pokerfreak (kern was a detour).