26 Commits
Author SHA1 Message Date
mmintel 72e6d40c46 Selbstheilung der Lobby: aus leerem/haengendem Zustand kommt er selbst raus
Die Lobby ist eine Webseite und kann leer bleiben ('No games available yet') oder im Login haengen
('Logging you in...') - live 30.10. blieb sie stehen und der Laeufer lief in den Abbruch. Jetzt
eine Leiter, mild zuerst: Retry -> Reiter anklicken (live belegt: 0 -> 60 Zeilen, wirkte wo Retry
nichts tat) -> Reiterwechsel -> Reload -> App-Neustart. Der Laeufer ruft sie bei 'keine
Tischzeilen', Ereignis lobby_geweckt. Dazu: die Sicht fragt Bildschirm/Fenster nur noch alle 10 s
ab - JEDE System-Events-Abfrage holt den Client nach vorn (Fokusmessung 0 statt 20-25 pro 25 s).
2026-10-30 22:13:42 +01:00
mmintel 230d7c292f Selbst gebaut: Geld wirkt, ein Raum gilt, tisch_stelle, PLO6
Bisher war alles nur gelesen und im Cockpit angezeigt. Vier Stuecke, jedes mit Spec.

1. Geld wirkt: annehmen()/preis_anteil()/chops() im EV-Chop (gezahlter Anteil aus dem Ergebnis
   rueckgerechnet - es gibt keine Angebotszeile im Log), netto_zeile/netto_satz in der Geld-Ansicht
   (brutto, Rake, Rakeback, netto, Haende), OHNE_RAKEBACK/MIT_RAKEBACK in der Tischwahl samt
   Grund, Vorteile aus dem Log im Lobby-Adapter.

2. Ein Raum gilt: uebernahme() nimmt das offene Fenster eines anderen Raums (nur eindeutig, nur
   benannte Fenster, erst nach der Gnade); geheilt wird auch ein Raum aus einem frueheren Lauf,
   wenn gar kein Tischfenster mehr offen ist; Ereignis raum_uebernommen. Beleg live 30.10. 16:13:
   fuenfmal raum_ohne_fenster auf "Big Ben 1678151" und nach 78 s Abbruch, waehrend ein Fenster
   fuer 1677370 offen war.

3. tisch_stelle(name): MCP-Werkzeug plus Namensregister (hand/stellen.py) - ein Klick auf Namen
   statt getippter Fensteranteile, mit Beleg oder ehrlichem "ohne Beleg". settings_panel und
   zeitbank sind markierte Vorgaben, bis wir sie am Tisch messen.

4. Spielart PLO5/PLO6 aus der Zahl der eigenen Karten (der Raumname nennt nur "PLO"), beide
   Pot-Limit - vorher fiel ein Sechser durch die Tabelle. Der Kern kennt PLO6 jetzt selbst
   (pokerfreak 8c2039c).
2026-10-30 17:51:27 +01:00
mmintel 4c97e2db53 Kontostatus und Betrugskennzeichen im Cockpit sichtbar
Die Sicht legt die Kennzeichen als fertige Anzeigezeilen in kopf.konto
(felder, warn) - Verdacht, Sperre, Ruhezeit, Rake, Rakeback, Tischregeln,
EV-Chop, Marken, eigene Einstellungen. Das Cockpit zeigt sie als farbige
Leiste unter der Statuszeile und als Karte in der Uebersicht.
2026-10-30 16:57:14 +01:00
mmintel 95fdbd1276 Code-Funde gebaut: Tischregeln, Marken, EV-Chop, Einstellungen (gegen 171 MB geprueft) und in der Sicht sichtbar 2026-10-30 16:28:04 +01:00
mmintel 1466b1917d Rake exakt aus dem Log zaehlen (potAmount gegen potAmountAfterRake, fensterweise wegen Umbruch) - in der Sicht sichtbar 2026-10-30 16:06:38 +01:00
mmintel 2dfb1bb25a Rakeback als Rechnung (gutschrift, netto_bb100) und Ruhezeit-Pruefung; Ruhezeit in Sicht und Protokoll - 1028 gruen 2026-10-30 15:59:47 +01:00
mmintel eadc21641f Kontostatus im Kopf der Sicht: Verdacht, Sperre, schwarze Stunden und Vorteile (hand/fraud.py, lesen/vorteile.py) - plus Statuszeile im Laeuferprotokoll 2026-10-30 15:45:16 +01:00
mmintel b60b844468 Betrug: Kennzeichen haengen der Sitzung an; schwarze Stunden 0-5 gemessen; drei Hebel (lesen, Verhalten, Nachpruefung) und Selbststart zum Testen 2026-10-30 15:29:05 +01:00
mmintel 7c3fb508ed Sitznummern: alle sechs gemessen (ABGELEITET geleert) und Spezifikation angepasst - er setzt sich auf 2 und 4, ohne an verworfenen Stellen zu haengen 2026-10-30 15:13:42 +01:00
mmintel 41180ae0e7 Client-Code gelesen: K-Poker vollstaendig gebaut (Schluessel, Panel, Fold-Bestaetigung), Tisch-Optionspanel mit Sitout/RIT/Straddle/Offload 2026-10-30 13:54:58 +01:00
mmintel 4f7b240d96 Sitznummern des Clients gemessen: er zaehlt unten beginnend - Karte korrigiert, Live-Setzen damit entblockt 2026-10-30 12:26:57 +01:00
mmintel 50493df1f2 Offene Liste: was bei Claude scharfzustellen ist (live-Sicht, Sitznummern, ein Raum, Eingabe), was bei mir, und was nicht mehr verhandelt wird 2026-10-30 12:22:54 +01:00
mmintel b86bab9140 Rake gemessen statt geschaetzt: winnerInfo traegt potAmount und potAmountAfterRake - 5 Prozent, Cap 1 BB bestaetigt, Vorflop ohne Abzug 2026-10-30 12:08:52 +01:00
mmintel 5f59866b04 Auftrag Spitzenklasse: Rake zuerst, Exploit als Formel, Postflop gegen Solver, fairer netto-Massstab 2026-10-30 11:59:40 +01:00
mmintelandClaude Opus 5.5 56265f343d Not-Aus heisst keine Eingabe mehr; offene Tische je Raum
Live 30.10.: ESC at 11:03:09 set all stop files, yet the runner clicked
"max" and "buyin" at 11:03:12 - stellen_klicken checked only before a
sequence, the mouse path never, and cleanup clicked sitout/cross
"trotz_stopp". hand/notaus.py is now the one source for the stop files
(act, click, stopp); click.click checks before start, on every movement
step and before pressing (KlickNotAus), pid_klick too, sequences check
before each click, trotz_stopp no longer overrides Not-Aus, dialog.esc
sends no key and the live pointer stops. The runner logs "nicht geklickt
(Not-Aus)" instead of a sitout it did not do. The header counted every
window of a table process (table + dialog = 2); it now counts rooms from
the process list. Tests get their own stop folder (POKERFREAK_STOPP_ORDNER)
so they never see or touch the machine's Not-Aus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:20:36 +01:00
mmintelandClaude Opus 5.5 26531d7299 Kein Geister-Tisch im Cockpit, Lobby wartet auf die Tischzeilen
Live 30.10. 10:47: starting Practice showed "Big Ben 1676813" as a table
although none was open - `jetzt` kept the last decision (10:09) whose
table was long closed. It now follows the same rule as seats: only while
the table is open. The runner then failed to open a practice table: it
read the rows 0.5 s after the tab click (measured: they appear after
~2.5 s) and fell back to a blind "Join". It now polls up to ZEILEN_FRIST
and says so instead of joining blind. Lobby tabs measured read-only in
mock/vorlage/lobby-reiter.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:53:36 +01:00
mmintelandClaude Opus 5.5 9f67abbd64 Formate: Tische je Format im Spielplan, Format je Hand, Vergleich je Format
The user wants to choose what the bot plays (several formats at once) and
learn which works best. Each table now knows its format from roomProperties
(lesen/formate.py: cash, aof, bombpot, turnier, kpoker), every hand records
it, and the stats compare formats with a 95 % span; a "best" verdict only
when one span lies above all others. The plan holds tables per format; the
runner fills per format and never sits at an unchosen one. Lobby tabs other
than Cash/Practice are unmeasured, so those formats are selectable but the
runner says why it opens nothing. All-In or Fold hands now count as AOF in
the stats (they were dropped); the runner still abstains there until the
AoF buttons are measured - spielart_spec's exact reason text is updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:43:23 +01:00
mmintelandClaude Opus 5.5 6da428d456 Web-Oberflaeche entfernt: das Cockpit ist nur noch die Mac-App
The web page (sicht/seite.html) and the floating web bar (sicht/leiste.py,
leiste_mac.js) duplicated what the Swift app already does: panel, ESC
Not-Aus (EscRegel, tested in RegelnSpec), click protection via
cockpit.json. The server keeps /ws, /api/steuern and /foto; "/" is now 404.
start.py always runs server-only, so the app no longer passes --nur-server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:10:18 +01:00
mmintel b3532c9914 Merge main (Profile, Fenster, Spieler-Vorschau) in modi 2026-10-30 10:02:09 +01:00
mmintelandClaude Opus 5.5 ad66b713bc Tischvorschau: Gegner mit Profil je Tisch, aktuelle Hand aus dem Log
Gegnerprofile kamen bei mehreren Tischen vom falschen Platz: spot_from_log
ordnet die hud_stats jetzt ueber die Sitzliste des eigenen Raums zu
(profil.aus_sitzliste). Die Vorschau zeigt alle Plaetze mit Rolle, Stack,
Aktion, Typ und VPIP/PFR/F2B, auch ohne laufenden Laeufer, und keine alten
Karten an Tischen, an denen du nicht sitzt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:01:39 +01:00
mmintelandClaude Opus 5.5 0fcf356c42 Modi: Turnierlage an den Kern, K-Poker setzt aus, Modus in der Ansicht
The tournament lobby was already parsed but never reached the core. Each
tournament table is now linked to its lobby (tourneyLobbyName or
tournamentId) and the request carries `tournament`; a missing price or
rank list makes the turn unclear instead of guessing. K-Poker tables
(roomProperties.isKPoker) abstain until the key table is measured
(mock/vorlage/kpoker-tasten.md). The clone writes the rank list with each
lobby update and the tournament ids where the real log has them; the
view shows level, field and bubble, or menu and clock.

klonmaus appends mock/ to sys.path so mock/turnier.py no longer shadows
lesen/turnier.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 09:50:12 +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 2ad34f92b7 Messkript fuer die Eingabe: drei Varianten (aktiviert/global, Hintergrund/pid absolut und relativ) 2026-10-29 23:34:38 +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
mmintelandClaude Opus 5.5 5130fd417c Profil-Dialog: erkennen, vor dem Klick schliessen, zweiter Klick; Leiste, Tische anordnen, ESC-Not-Aus
- hand/dialog.py: Wache auf bad_beat_counter im Log (offenes Profil), Kopfzeilen-Signatur im Bild,
  schliessen per ESC (falls gemessen) sonst Kreuz, --messen/--zeigen
- runner: Dialog vor jedem Klick zu; unbestaetigter Klick -> schliessen, nachsehen, zweiter Klick
- Zeiger meidet Sitzschilder (sitzen.SCHILDER)
- Klon: /api/profil, /api/einstellung esc_schliesst, Hover oeffnet Profil, echte Logzeilen
- Cockpit als Leiste (immer oben), Tische nach vorn/anordnen, ESC und Strg+Alt+Umschalt+S als
  Not-Aus, Klickschutz unter der Leiste, neue Seite mit Navigation
- Kette im Klon: Log-Weg, stiller Dialog mit zweitem Klick, Messung (ESC schliesst nicht, Kreuz ja),
  Bild-Weg vor dem Klick - alle gruen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:45:10 +01:00
mmintelandClaude Opus 5.5 1f1a4ab2b7 Cockpit (sicht/): lokale Sicht auf Bot, Tische, Geld und Stil - nur Standardbibliothek
- sicht/quellen.py: liest Schatten, Strom, Zustand, Statistik, Log-Schwanz, Not-Aus, Fenster;
  nur bei Änderung, abgeschnittene Zeilen fallen weg und werden gezählt, fehlt etwas: leer
- sicht/ansicht.py: rein, wirft nie - acht Bereiche (Kopf, Jetzt mit Countdown und Klick-Beleg,
  Wachstum mit bb/100 und 95-%-Intervall, Entscheidungen mit Filterregel, Geld, Sitzen, Stil,
  Ticker), Grund des Kerns im deutschen Klartext; Format in sicht/ANSICHT.md
- sicht/ws.py, server.py, start.py: nur 127.0.0.1, eine WebSocket-Verbindung, schickt nur
  geänderte Bereiche; Host/Origin geprüft
- sicht/steuern.py: Not-Aus, Läufer starten/stoppen (eigene Prozessgruppe, PID-Datei),
  Tische schließen, Übungstisch öffnen, Screenshot je Tisch - mit Rückmeldung
- sicht/seite.html: eine Seite, SVG-Diagramme von Hand, leere Zustände, ?demo
- betrieb/runner.py: Entscheidungen tragen Raum und Hinweis im Schattenlog
- tests/sicht_ansicht_spec.py (23), tests/sicht_ws_spec.py (10)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 14:25:59 +01:00