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>
Live 30.10. the bot clicked the Practice tab it was already on and the
user saw clicks beside the window. Lobby: read the active tab (.active-tab,
measured) and click only if needed, then verify it switched; never Join a
table whose window is open (fill and self-heal). A real mouse click is only
sent when the point and its scattered end lie inside the target window
(KlickAusserhalb, a FensterNichtVorn), and not at all without a lobby
window. Two mcp_server_spec tests patched the wrong name and clicked the
real lobby with the real mouse whenever CoinPoker ran - they now patch
lobby_adapter and demand an opened table; tests/lauf.py blocks the real
debug port for every spec.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
A card per format with its table count under the plan tiles (unmeasured
formats are marked), the table tile shows the sum. Results show bb/100
per format with its 95 % span on a shared axis and the verdict, Practice
and Live separately.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Bis zum Spielen als Leiste mit Symbolen und "Als Naechstes", die letzte
Sitzung mit grossem Ergebnis und Ende in Worten, Geld als Skala von der Null
bis zum Stopp mit Regel-Marken, und "Gerade eben" je Hand eine Zeile
(Karten, Aktionsfolge, Ergebnis) in Bloecken je Sitzung - die Gruppierung
ist eine reine Funktion (CockpitKern/Verlauf.swift, VerlaufSpec).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The data layer already sends `modus` on jetzt and on each decision row.
The app now decodes it (TischModus, lenient like the other models) and
shows it on every live tile and in the opened decision: tournament level,
blinds, a pulsing Bubble / green "im Geld" capsule and one tick per
remaining player (filled = paid place, a bar above 40 players); K-Poker
as key caps with sizes and the move clock; Cash as a quiet chip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Die Aufnahme ist eine 0.05/0.10-Hand, der Raum spielt 1K/2K. bbAmount 0.1
neben Stacks von 200000 hiess fuer den Laeufer 1 Mio. BB - im Klon kam nie
ein Nachkauf. aufnahme() rechnet alle Geldfelder beim Laden um (Faktor
BIG_BLIND / AUFNAHME_BB).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ein Zug las die Fenster vier- bis fuenfmal (osascript, 1-2 s je Abfrage):
der Klick kam nach Ablauf der Uhr (live 01:11 "Zug zu alt", mock_spec
test_kette). fenster_fuer nimmt jetzt die hoechstens 1 s alte Liste
(FENSTER_FRISCH_S); warten_bis_klick klickt spaetestens 3 s vor Uhrablauf.
Dazu: Klon klickt nie mit der echten Maus, ein beim Klick verschwundenes
Fenster ist kein verlorener Zug, KLICK_ZEILE geht ohne Vorspann, und
mock_spec, dialog_spec und live_position_spec schreiben nicht mehr ins
echte Schattenprotokoll.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
- 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>
- 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>
- hand/zeiger.py: ein Zeiger, der lebt (Drift, Spielen, ungleiche Kreise, Zittern nur in
Phasen), deutet (zeig_auf/wackle/zeig_weg über den Briefkasten), beim Klick ruht und bei
menschlichem Eingriff Ruhe gibt; Lauf im eigenen Faden, blockiert das Spiel nie
- hand/klonmaus.py: Bildschirm - ein Zeiger über allen Tischfenstern, Weg quer durch die
Fenster, nur das Fenster darunter zeichnet ihn; geschlossene Fenster werfen nicht mehr
- hand/maus.py: ab und zu ein nervöser zweiter Klick (4 %, nur im Klon)
- betrieb/strom.py, buehne.py, regie.py: Ereignisstrom, Bühnenserver, Regie deutet
Karten/Board/Knopf vor dem Klick; MCP zeig_auf/zeig_weg
- betrieb/runner.py: Beenden in zwei Phasen (Sitout, laufende Hand zu Ende, dann aufstehen,
Frist 120 s); im Klon Setzen Tisch für Tisch statt überall Buy-in-Dialoge zu öffnen
- lesen/spot_from_log.py: kein KeyError beim Knopf, solange der eigene Platz unbekannt ist
- lesen/turnier.py, mock/turnier.py: Turnier-Wache und Klon-Turnier mit Prüfstücken
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Denkzeit in Baendern (trivial/normal/schwer), weiche Kappen, keine zwei gleich
- Sitzen: Gedaechtnis je Raum, Stellen statt Nummern (gelernt aus reserve_Seat), Sitout erkennen
und zurueck, ein Tisch, keine doppelten Fenster
- Laeufer: Strg-C/Signal/Not-Aus -> Sitout, dann aufraeumen; Wiederaufnahme; Schattenlog je Tag
- Ergebnis je Hand (lesen/ergebnis.py) ins Schattenlog, Statistik (betrieb/statistik.py, MCP stats)
- Geld: Kaufhoehe je Modus (coinType), Fuenftel-Regel angeschlossen (nie 0 Tische trotz Kauf),
Aufstehen unter 20 BB, Verlustdeckel Tisch/Sitzung, Stakes-Leiter, Ratholing schaltbar
- Tischauswahl nach Staerke (lobby/auswahl.py); Klon: Sitout/I'm Back, Aufstehen per Kreuz
- werkzeuge/messung.py: Aktions-, Groessen- und Gedenkzeitverteilung ueber den Bestand
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>