Commit Graph
2 Commits
Author SHA1 Message Date
mmintelandClaude Opus 4.8 d667968354 Windows-Port: Laeufer steht auf statt online-AFK + begleitende Seam-Fixes
Kernverhalten (Owner 10.11.: "wenn er grad nicht lauffaehig ist dann steh
doch vom tisch auf, NICHT IMMER ONLINE AFK SEIN"):
- _kanal_bestaetigt ist ehrlich: ein Kanal-Zug, dessen Rahmen NICHT rausging
  (Mittler weg), zaehlt als unbestaetigt - nicht mehr blind "Versand zaehlt".
- tischkanal.senden_und_warten/aktion melden ueber `status`, ob gesendet wurde;
  _kanal_aktion reicht das durch und sagt es im Rueckgabetext.
- Sitzer zaehlt nicht zugestellte Cash-Zuege je Tisch (unzustellbar); ab
  NICHT_LAUFFAEHIG=2 in Folge steht der Laeufer ueber den BESTEHENDEN Abgang
  auf (naechste Hand aussetzen, laufende zu Ende, dann hoch; toter Kanal sofort
  via abgang.reif). Ein bestaetigter Zug setzt zurueck. Turnier ausgenommen
  (Relais-Lib send-only, nie ein Echo). Denkzeit/Humanisierung laeuft unveraendert
  vor jeder Aktion; der tot-Kanal-Fall schliesst das Fenster weiter via _meiden.
- Spec: tests/nicht_lauffaehig_spec.py; kanal_tat-Stub an die status-Signatur.

Begleitende Windows-Seam-Fixes (Laeufer setzt sich und spielt am Client):
- hand/winfenster.py: Fensterlage ueber den Rust-Fensterdienst; Raum je PID
  ueber die EINE Quelle client/tischlage.raum_aus_befehl (kein zweiter Parser).
- client/winproc.py: prozesse() ohne Haenger (stdout in Tempdatei statt Pipe).
- sicht/quellen.py: Fensterwahrheit unter Windows aus winfenster.tischfenster.
- hand/notaus.py: esc_waechter nutzt winproc statt `ps -Ao` (Mac) unter Windows.
- client/tischlage.py, hand/click.py, hand/theater.py, lesen/raumliste.py,
  mcp/lobby_adapter.py: plattformgerechte Anpassungen des Ports.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-10 22:09:05 +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