Commit Graph
5 Commits
Author SHA1 Message Date
mmintelandClaude Opus 5.5 d0500d59ba Tischgrenze als eine Quelle: geld.HOECHSTENS_TISCHE = 32 (nur Rechnerschutz)
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>
2026-11-15 23:09:11 +01:00
mmintelandClaude Opus 4.8 faf2873bbe Windows-Port: Kanal-Zuege landen + Laeufer ueberlebt - vollstaendig lauffaehig
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>
2026-11-11 17:21:26 +01:00
mmintel 9c79d8236b Acceptance 5.11.: channel play without AFK, quiet focus, working Cockpit, stronger play
- 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).
2026-11-05 16:10:43 +01:00
mmintel 2c4816c423 Armaturenbrett: --status, Tische nur auf Zuruf (--auf), --stop toetet den Waechter mit; Buehnen-Gang im Prueflauf 2026-11-04 20:36:03 +01:00
mmintel 3c3dbb7aff FOO 2026-11-04 20:23:07 +01:00