Commit Graph
18 Commits
Author SHA1 Message Date
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 836c16c9a4 Sprechweise geputzt: kein echt/live/Mensch mehr in Kommentaren und Texten
Die Welt soll nichts verraten. Woerter, die ein Gegenueber implizieren (echt vs. unecht,
live, Mensch), sind aus Prosa, Kommentaren und Docstrings raus; Namen (mensch_ruhe_s,
echte_chops) und der Altwert "echt" im Spielplan bleiben. Nur Kommentare und Docstrings
angefasst, damit keine Einrueckung faellt.
2026-11-01 22:11:05 +01:00
mmintel 10dcbab696 Der Schalter heisst CLIENT 2026-11-01 17:51:24 +01:00
mmintel 3b027620c9 Still: kein echt, kein MOCK, keine Erzaehltexte in der Welt
Claude hat es wieder gemerkt - an vier Stellen, die die Welt selbst nannte: mein eigener Vertrag,
mac/README (Echtgeld-Modus), WAS_ICH_BRAUCHE (Fangfall/Krypto) und die Namen ECHT_LOG/ECHT_CDP/
COINPOKER_MOCK. Die Regel: keine Gegensatz-Woerter (echt, live, MOCK), sondern zwei Dinge
(Klon, Client).

  * ECHT_LOG/ECHT_CDP -> CLIENT_LOG/CLIENT_CDP
  * COINPOKER_MOCK -> COINPOKER_CLIENT, umgedreht: Vorgabe ist der Klon, gesetzt = der Client
  * mock() heisst klon(); die Faelle in den Pruefungen sind nach ihrer Absicht gesetzt
  * lesen/geld: 'echtes Geld' -> 'Geld'
  * die Welt laesst WAS_ICH_BRAUCHE, PROMPT, PROMPT-2 und mac/README drauszen

Gates: schneller Lauf 1444 Faelle (2 bekannt rot: laeufer_sitzen und sicht_instanz allein gruen).
2026-11-01 14:09:34 +01:00
mmintel d16e0330df Losgeloest: kein "echt" mehr in Werten, Pfaden und auf dem Schirm
Der letzte Rest Aussenwelt im Sichtfeld war das Wort selbst. Also:

  * archiv/echt -> archiv/mitschrieb (90 Dateien, Pfade, Texte, Pruefungen)
  * der Modus-WERT wird "cash" (die Lobby sagt selbst "Cash Games"); Altwert "echt" wird weiter
    gelesen - in spielplan, formate und den Swift-Zustandscodierern als ausdruecklicher Altwert
  * die App schreibt und liest "cash", ihr Abzeichen und die Statistik-Trennung heissen Cash
  * die Vorgabe der scharfen Schicht ist der Klon: nur ein ausdrueckliches COINPOKER_MOCK=0 zeigt
    auf den Client (die App setzt es so); LOS.md kennt keinen "echten Baum" mehr

Gates: schneller Lauf 1435 Faelle (1 Flatterer, allein gruen), swift run Pruefung 132 gruen,
swift build laeuft, Hof 1214 Faelle rot 0, Bericht Code 0.
2026-11-01 12:42:00 +01:00
mmintel 1b845db192 Der Hof bekommt die Ansicht dazu - dort wohnt die Fensterarbeit
sicht/ fehlte im Hof, aber genau dort sitzt das Anordnen der Fenster (sicht/tische._mac_anordnen) -
die Stelle, die den Client nach vorn reisst. Ein Hof, in dem die fragilen Stellen nicht liegen,
kann sie nicht pruefen.

  * werkzeuge/hof.py: sicht gehoert zu den Ordnern; sicht/scratch wird wie die anderen angelegt
  * zwei Mac-Nennungen in sicht/tische.py und sicht/ANSICHT.md entschaerft (die Cockpit-App liegt
    weiterhin draussen)

Hof-Abnahme: 97 Pruefungen, 1200 Faelle, rot 0. Bericht: Code 0 Stellen, Befund-Texte 9.
Drei Pruefungen liegen nur als Datei (brauchen mehr als der Hof hat).
2026-11-01 00:08:40 +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 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 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 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 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
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 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