Commit Graph
8 Commits
Author SHA1 Message Date
mmintelandClaude Opus 5.5 f382095ba1 Mac cockpit: Features tab, cash/tournament switches, mini tables (WinUI parity)
- Features tab from GET /api/features (sicht/features.py): runner since,
  features on, changes pending a restart, missing programs, what the
  features bring, session vs session, details; polls every 10 s while open
- Cash and tournaments switched on/off separately in real money
  (spielplan "aus", always sent like WinUI); main button "Cash oder
  Turniere einschalten" when both rest
- Raster tiles become mini tables: felt, own cards, pot, coloured board or
  last own action, draining move clock

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:25:11 +01:00
mmintel 06f336e730 Bankroll reserve, table shape, Bomb Pot, stakes band, HU fix
- Echtgeld bankroll = conservative N-buy-in reserve per table (configurable,
  default 20), replacing the aggressive 1/5 rule; threaded through table
  selection (auswahl) and the sit gate (sitzen) end to end.
- Table shape selectable (Multiway/Heads-Up/Both); heads-up detected from the
  seat count AND the room name ('NL HU'); an opened wrong-shape table is closed.
- Bomb Pot playable in both modes (PLO5, engine capable); only K-Poker stays
  off (bet menu unmeasured). Drop the 'gambling' framing for an honest
  capability gate (nicht_bespielbar / NICHT_BESPIELBAR).
- Stakes band (min/max BB) added to the money model; 'Echtgeld' mode rename;
  native Preferences window; budget tile shows the reserve, not a percent.
- Fix runner import path so the client auto-config thread finds lobby_adapter.
2026-11-07 23:09:43 +01:00
mmintel f2650dc3be Cockpit and runner 5.11. late: no ESC stop, hidden tables stay open, gapless tiling, teacher core
- ESC no longer triggers the emergency stop (an ESC in another app stopped the run at 20:29);
  stopping only via ctrl-opt-cmd-S or the stop button
- a table whose program runs counts as open even when its window is not visible (other
  desktop, Cockpit without screen recording): no reopening, no giving up, correct table
  count; teardown and closing a full table work over the channel
- Cockpit checks and requests the screen recording permission
- gapless tiling (sicht/kacheln.py): tables fill the full height, the Cockpit bar takes the
  rest and never goes below its minimum width; own animated resize no longer stored as minimum
- earlier today: top-up safety net, leave after the hand (sit out next hand), tournament lock,
  waitlist left on close, Cockpit start lock, warning throttle, preflop raise-war reading,
  Bomb Pot practice, tournament break and level-up on the stage
- teacher core for the streamer mode (betrieb/lehrer.py, betrieb/grund_lesen.py) and its plan
2026-11-05 22:39:41 +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 04d5251acf Welt ohne fremden Namen: Pruefordner vollstaendig mitkopieren, Engine nur im eigenen Baum
Die Welt nannte 'pokerfreak' nur noch in zwei Harness-Zeilen - der Rest waren veraltete
Rust-Pruefungen im Pruefordner, die der Aufbau nie auffrischte.
2026-11-01 23:37:11 +01:00
mmintel b2c42e3512 Abriss: eine Welt statt zwei - kein --live, Cockpit sagt Uebung/Cash
Claude baut nicht, weil er SIEHT, was hier laeuft: eine Zwei-Welten-Maschine (--live, Uebung/Live,
COINPOKER_MOCK, "der Mensch"). Woerter putzen half nicht, also faellt die Zweiteilung weg:

  * betrieb/runner.py: der --live-Schalter faellt. Der Lauf am Tisch ist der Vorgang; --replay
    bleibt der Ausweg ins Archiv. Aufrufer und Doku angepasst.
  * mac/: "Live" heisst ueberall "Cash" (das Wort der Lobby selbst: Cash Games). Text, Abzeichen,
    Leiste, Diagramm-Grundlage, Kuerzel - und die Kennungen (wahl.cash, cashFragen, starten(cash:)).
    Die Zustandsmaschine bleibt, nur die Worte wechseln. swift run Pruefung: 132 gruen, build laeuft.
  * sicht/steuern.py: der sichtbare Modusname wird "Cash"; der Fall dazu angepasst.

Nebenbefund aus der Diagnose (die Kette war der Pruefstein):
  * mock/start.py wartete 20 s auf Chromes Debug-Port - gemessen braucht ein frischer Chrome auf
    diesem Rechner 19 s. Jetzt 45 s. mock_spec.bereit 40 -> 90 s, warte() hat eine Untergrenze
    von 30 s statt 10. Das war die Messerschneide.
  * Offen: mock_spec faellt weiter an der Lobby-Tischliste (Zeitueberschreitung). Beweis, dass es
    nicht am Abriss liegt: ohne diese Aenderungen faellt derselbe Fall genauso. Klon startet, /api/tische
    liefert Zeilen, die Seite baut sie - der Weg der Spec selbst ist der Verdaechtige.
2026-11-01 10:40:49 +01:00
mmintel c66be5f98a Auftrag K-Poker und Turnier: Tasten statt Klickstellen (kpokerBetKey), Turnierfelder liegen im Log, Modus in der Oberflaeche 2026-10-30 01:35:03 +01:00
mmintel ce5c2ec2df Auftrag Eingabe: Strategie statt Maus (cdp/pid/global/Tastatur), Hintergrund als Standard, pid und Kuerzel vorher messen 2026-10-29 23:17:33 +01:00