Commit Graph
889 Commits
Author SHA1 Message Date
Marc MintelandClaude Opus 5.5 ce3ff985c8 Opponent model tooling to main: pruefe.py with measure zug and range, certificate schema, single Python reader, test vectors, jam range of the jammer, GEGNERMODELL.md, IDEEN line
Taken from claude/temperatur-766cbc @ bfd374b18 (tooling and docs only; motor code goes via claude/live-stand). Python specs green on this tree: gegnermodell koerper 24, pruefe 31, range_mass 11, range 22, zellen 26, zertifikat 19; jam_range 84.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 14:26:01 +01:00
Marc MintelandClaude Opus 5.5 97331880d6 Gate 10: basis.vor_regel (move before the base rule) as a known optional field, present only when the rule changed the move
The base-rule change belongs to the base, not to the end check; the protocol chain starts at the move after the rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 09:30:07 +01:00
Marc MintelandClaude Opus 5.5 534c0766e9 Gate 10: an end-check entry without computation may carry null gain/bound/confidence with a reason
Only for wer=endpruefung with a non-empty grund; a strike still needs its beleg; exploitation entries keep mandatory numbers.
277 gate tests green, 4 of 4 hand mutants caught.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 09:10:54 +01:00
Marc MintelandClaude Opus 5.5 ec0bcff1c9 Gate 10: daten_sha of an intervention may name several data sources (object name -> sha)
The end check reads a band table and a pool model; one string cannot name both. Empty object or empty values stay a finding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 09:00:53 +01:00
Marc MintelandClaude Opus 5.5 5368491bb8 Gate 9 spec: test names and assertion follow the toleranz_bb rename
The previous commit left one assertion on the old field name (275 run, 1 failed); now all green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 02:23:55 +01:00
Marc MintelandClaude Opus 5.5 89276d3a9b Gate 9: field toleranz_bb (= 4 x residual gap) instead of restluecke_bb; converged move carries unless provably worse
The lead is a difference of two move values each within the gap e of the best response, so its evidence interval is
[L - 2e, L + 2e]; the row carries toleranz_bb = 4e and the gate accepts lower bound >= -toleranz_bb, i.e. L >= -2e.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 02:23:16 +01:00
Marc MintelandClaude Opus 5.5 481e737e55 Gate 9: against the best response of a converged solution a move within its residual gap carries (lower bound >= -restluecke_bb)
Decision (I): converged mixed all-ins are equal in value within the solver's gap and stay; the measured side keeps
lower bound > 0. A row may carry restluecke_bb (number >= 0); without it the old rule holds. 276 gate tests green,
5 of 5 hand mutants caught.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 02:06:02 +01:00
Marc MintelandClaude Opus 5.5 288d255997 Gate 10: range correction before the solve (basis.eingabe_korrigiert + protocol entry range_korrektur); plan status 06.12. night
With exploitation on, the measured opponent range (A1) feeds the solve; the aus run solves on exact Bayes ranges.
For such rows the base move is the aus run's move, which must itself be clean; the protocol must carry the entry.
269 gate tests green, 5 of 5 hand mutants caught.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 01:14:35 +01:00
Marc MintelandClaude Opus 5.5 2ee3186269 Gate 10: switch kind 'pruefstand' - a test-bench start switch must be set explicitly to 0 in the live line
The trunk gets a replay mode (abspiel_iterationen) that only a service started with MOTOR_PRUEFSTAND=1 accepts;
a request field that changes the computation must never be open in live play.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 00:09:10 +01:00
Marc MintelandClaude Opus 5.5 773ce006f3 Gate 5: a version with memory on must prove the start probe loaded it (basis.bin SHA, players > 0)
speicher.rs lade() fell back silently to an empty memory when basis.bin was present but unreadable;
only the log line '0 Spieler' showed it (found by gedaechtnis2 05.12.). Until the strict reader is live,
the gate blocks a start probe with 0 players and reports a missing load record as missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 23:38:07 +01:00
Marc MintelandClaude Opus 5.5 6415845a84 Gate 10: vorflop_rechnung is a base source (Quelle::VorflopRechnung, clean replacement of the preflop price fallback)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 23:04:54 +01:00
Marc MintelandClaude Opus 5.5 a04d8bdcb1 Gate 10: protection layer - probe and pool veto leave the exploit set; a strike of the end check needs evidence
Stem claude/live-stand b807fabba moved allin_probe_gemessen and jamprobe_pool from the exploiters to the end check (always on, can only strike).
- AUSBEUTE_WER without both; as protokoll.wer they are now unknown.
- An endpruefung entry that changes the move carries beleg (non-empty text or object) besides daten_sha.
- The run with MOTOR_AUSBEUTE=aus may differ from basis only through such a strike (vorher == basis, nachher == final move, with beleg); counted as gestrichen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 22:55:26 +01:00
Marc MintelandClaude Opus 5.5 f167ba1e3e Gate 10: field is basis.vermischt, mischung optional, missing protokoll reported once
basis.vermischt (endstrecke::VERMISCHT) must be present and empty in every
answer. Until protokoll exists, one finding with a count replaces per-line
chain breaks; the chain check stays for answers that carry protokoll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 22:48:41 +01:00
Marc MintelandClaude Opus 5.5 085486507d Gate 10: basis.vermischung mandatory and empty, protocol chain check ending in endpruefung
Every answer must carry an empty basis.vermischung list; the Altlasten file is
now an optional second view. The protocol must be a chain basis -> entries ->
final move with endpruefung as the last (and only last) entry; each break is
reported with the answer line and the broken link. Moves compare with a named
size tolerance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 22:44:36 +01:00
Marc MintelandClaude Opus 5.5 8deb235762 Gate 10: two-layer answer format (basis + protokoll), open mixings, aus = basis, exploitation shares
Every answer must carry basis {action, size, quelle, mischung} and protokoll
(closed set of wer, all keys). An open mixing marker in the base or a non-empty
Altlasten list locks the gate; a MOTOR_AUSBEUTE=aus run must equal the base of the
normal run line by line. The shares of base moves changed by the exploitation
(per wer) go into the gate's evidence via ausbeute_anteile().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 22:41:06 +01:00
Marc MintelandClaude Opus 5.5 a960f6e6d6 fassung_tor gate 10: sets of claude/live-stand (no gemessene_antwort, no nl2/vorflop_allin; those layers are deleted)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 21:41:10 +01:00
Marc MintelandClaude Opus 5.5 b2a18ba5fb fassung_tor gate 10: splash and rake are not interventions (splash is a path, rake lives in the source's computation), as agreed with mehrweg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 21:20:49 +01:00
Marc MintelandClaude Opus 5.5 ba6313552f fassung_tor gate 10: every answer's eingriffe end with endpruefung, also an otherwise empty list (it seals the answer, as agreed with mehrweg)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 21:18:29 +01:00
Marc MintelandClaude Opus 5.5 60e3d5acd9 Gate 10 (Waechter) in fassung_tor: switch table and answer provenance checked by machine
Gate 10 checks the live line (MOTOR_ZEILE) against the classified table
docs/notizen/SCHALTER-MOTOR.md (gate 2 keeps SCHALTER.md) and every gate-1
answer for its source and intervention chain. Closed sets as agreed with
session mehrweg: QUELLEN without regel/suche, with notfall and enthaltung;
EINGRIFFE with vorflop_allin and nl2, endpruefung must end every non-empty
list; optional rueckfall {von, grund} is checked, optional weg is not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 21:18:29 +01:00
Marc MintelandClaude Fable 5.2 16e3b5541f Gate 9: no all-in or call of an all-in goes live without a carrying computation
Owner 05.12.: the all-ins broke our neck every time. fassung_tor.py now
refuses a version unless allin.json lists every all-in and all-in call on the
real requests, each with its computations (own all-in: measured response AND
best response; call: every bound) with a lower bound above 0, read and judged.
Also moves the unittest main block to the end of the spec file so the gate-8
tests run when the file is executed directly (175 tests green).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-05 20:42:17 +01:00
Marc MintelandClaude Opus 5.5 5839a0abfa fassung_tor: gate 8 duels against every third-party bot in messung/fremd/BOTS.json, 15-minute window
Owner 05.12.: duels against all third-party bots as a fixed gate, quick to run, not for hours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 10:55:24 +01:00
mmintelandClaude Opus 5.5 dd1a50918e fassung_tor: gate 7 requires mirror calibration only when a kind is carried by the mirror
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 08:48:07 +01:00
mmintelandClaude Opus 5.5 a54bae8091 fassung_tor: gate 7 also carried by exact-reference loss and by 'base fed correctly', no model value
Owner 05.12. asked to solve gate 7 cleanly instead of an exception. Technical fixes
(real history, sit-outs, clock) have no counterpart in bought hands; exact-solution levers
(flop library, jam probe, off-tree) are measured against exact references. Two carriers:
exakt (loss vs exact reference, blocked when candidate clearly loses more) and
basis_richtig (every deviation equals the base's own move with real input or no deadline).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 08:15:21 +01:00
mmintelandClaude Opus 5.5 bd6d7d8da5 fassung_tor: gate 3 accepts fewer than 1,000 leaves when run in the 15-minute gate window
CLAUDE.md (owner 03.12.) caps all gates together at 15 min wall time and says what does
not fit is made smaller, not waited for; the tool still required 1,000 leaves (old 60-min
wording), which took 2-3 h on the play machine. Without a stated window the 1,000 target
still applies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 07:42:06 +01:00
mmintel 710f6960f9 Stealth: Geraeteprofil mit Schirmen (system_profiler/diskutil), MAC-Wechsel, Stocken im Mausweg (test_wurf_hat_alle_felder, test_ersetzt_lange_werte_zuerst, test_stocken_haelt_den_punkt_und_endet_auf_dem_ziel, test_profil_ohne_macs_ist_gelb) 2026-12-04 20:55:17 +01:00
mmintel 0989583149 Sicherheitslage im Cockpit: Client-Fassung, Geraeteprofil, Fremdprogramme, Kanal, Entscheid, Tische als Ampelzeilen (test_aktuell_ist_gruen, test_veraltet_ist_rot_mit_beiden_nummern, test_solver_ist_gelb_und_wird_genannt, test_ohne_echo_lange_ist_rot, test_lage_warnt_bei_rot_und_gelb) 2026-12-04 20:48:33 +01:00
mmintelandClaude Opus 5.5 7d8a2a3fe1 fassung_tor: versions that run alone carry their motor switches in MOTOR_ZEILE (gate 2 register, gate 5 line check)
Owner 04.12.: no A/B until stable; the version is the only engine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 17:55:40 +01:00
mmintelandClaude Opus 5.5 548fa2fab4 fassung_tor: gate 7 for exploitation layers via model prediction + pool score
Owner 04.12.: exploitation is judged by a mathematical score, not by the
uncalibratable mirror. An exploitation version (art: ausbeute) passes gate 7 if
its opponent model is not clearly worse than S2 on held-out hands, the pool
score rises clearly, and the guard (loss vs best response) rises at most by the
lower bound of the pool gain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 15:35:52 +01:00
mmintelandClaude Opus 5.5 4c827c613b fassung_tor: hard gate 7 'Spiegel' (value per deviation kind needs real evidence)
River value v3 passed every gate and lost live on 04.12.: off-policy evaluation
was blind where the base never played the new move, so the value came from the
lever's own model. Gate 7 accepts a deviation kind only if a calibrated mirror
(real players' results with the same move in bought hands) or full base support
with supported off-policy carries it; model value alone blocks as unknown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 09:28:01 +01:00
mmintelandClaude Opus 5.5 aaec21dcf5 Turnier-Paket: Spec prueft mit der echten Exe den ganzen Weg ueber den Schalter (Ordner, Frist, Zug, Protokoll)
Auf Windows werden die Schein-Exe-Faelle uebersprungen; dieser Fall laeuft
dort mit SCHUBFOLD_EXE und prueft auch die Zeit gegen die halbe Frist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:39:56 +01:00
mmintelandClaude Opus 5.5 4fa6e9b3bc Turnier-Paket: Schub/Call-Loesung mit Chip-Tafel und warmem Start vor dem Turniermotor (Schalter TURNIER_SCHUBFOLD, aus = bitgleich)
Schub/Fold-Lagen im Turnier (vor dem Flop, vor uns nur Fold oder
all-in, wirksam bis 15 bb) entscheidet die Schub/Fold-Loesung unter
Turnierwert (Malmuth-Harville ueber Tisch und Feld). Abnahme an 53
echten Lagen: warm mit 100.000 Austeilungen 1 von 53 anders als
6,4 Mio. (0,008 % Preisgeld), Median 1,2 s.

Ohne Schalter fragt der Laeufer den Turniermotor genau wie bisher
(gleiche Frist). Ohne Antwort in der halben Frist entscheidet der
Turniermotor mit der restlichen Frist. Jede Frage steht in
archiv/lauf/schubfold.jsonl.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:19:27 +01:00
mmintelandClaude Opus 5.5 e83ae8a19a Leser: Zug-Rahmen mit timerName "sitoutTimer" ist kein Zug (Turnier: toCall 0 und CHECK bei offenem Blind)
Sitzen wir aus, schickt der Client trotzdem game.user_turn an uns: timerName "sitoutTimer", alle userTurnOptions leer,
callAmount 0.0. Daraus entstand eine Anfrage mit toCall 0 und CHECK, obwohl der Blind offen war: 55 von 367 geloggten
Turnieranfragen vor dem Flop (26.-30.11.), 53 davon nachweislich aus diesen Rahmen (Rohlog, eigene Zuege). Der Motor
antwortete 39-mal mit einem gespielten CHECK; der Client foldete alle 54 Haende selbst (haende.jsonl: nur FOLD), Kosten
-14,3 bb = die Antes und Blinds des Aussetzens, nicht des CHECK.

Nur timerName zaehlt: leere Optionen allein sind kein Merkmal, echte Turnierzuege kommen auch so (JamAmTurniertisch).
Spec tests/turnier_anfrage_spec.py Aussetzen (Rahmen wie im Rohlog vom 30.11., Name und Hand-ID ersetzt): vorher 2 rot,
jetzt 20 OK; beispiele, turnier, aof_preis, bounty, turnier_tischwechsel, gegnerzahl, turniermotor_bahn gruen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 20:57:17 +01:00
mmintelandClaude Fable 5.2 8416fc40ae Fassung basis-0312: proven base alone back at the table; gate tool accepts a version without arm B
The Sharingan search does not converge within the live budget on flop
and turn, so the base plays until the new engine beats it in a duel.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-03 20:47:31 +01:00
mmintelandClaude Fable 5.2 26ba54a763 Merge origin/main into main
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-03 14:07:29 +01:00
mmintel 6e5fa4d470 Merge remote-tracking branch 'origin/main' 2026-12-03 13:21:19 +01:00
mmintelandClaude Fable 5.2 bd93aae3a4 Fassung-Tor: Tor 3 = gepaartes Duplikat gegen SHARINGAN B (schnell), LBR nur Auskunft
Bestanden, wenn das Intervall der Differenz Kandidat-Basis nicht ganz unter 0 liegt;
unter 1.000 Blaettern, ungepaart, falscher Gegner oder falsche Messeinstellung = fehlt.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-03 12:59:28 +01:00
mmintelandClaude Fable 5.2 5cead48388 Fassung-Tor: sechs harte Tore als Werkzeug, Einspiel-Skript mit Freigabe, Schalter-Register
werkzeuge/fassung_tor.py prueft Abweichungsliste, Schalter-Register, LBR/Duplikat,
Richter, Betrieb und Buch aus Dateien und schreibt FREIGABE.json nur bei vollem Bestehen
(Owner-Ausnahme nur mit woertlichem Satz). fassung_einspielen.ps1 spielt die Schalterdatei
nur mit passender Freigabe und Hashes ein. docs/notizen/SCHALTER.md: Register, ehrlich
ungeprueft. TOR.json fuer basis-plus als Trockenlauf-Eingabe.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-03 12:39:17 +01:00
mmintel 07314ca884 Merge commit 'eb0e6b11' into claude/winui-cockpit-optimization-cb305a 2026-12-03 10:23:49 +01:00
mmintelandClaude Opus 5.5 53903c4c74 Strom: Sitz-Eintraege ueber den Kanal (geklickt=True) lesbar statt TypeError
runner.buchen_sitz schreibt geklickt=True, wenn _kanal_setzen gesetzt hat; _sitzen wollte den
Wahrheitswert wie eine Liste zusammenfuegen. 02.12. live ~800 von 8000 Stromzeilen
'Eintrag nicht lesbar (TypeError)' (mitspielen / Play Next Game). Jetzt Sitz-Ereignis
'ueber den Kanal: <stellen>'. Spec tests/strom_sitzen_kanal_spec.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 20:01:40 +01:00
mmintelandClaude Fable 5.2 9187be5e5f aivat_spec: Gefoldeter mit grossem Einsatz ist kein Caller (Mutant "Gefoldete zaehlen als Gegner" ueberlebte)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 18:40:29 +01:00
mmintelandClaude Fable 5.2 a8cf8fb689 aivat: Sperr-Term zaehlt den nicht gecallten All-in-Rest nicht mehr als Topf (topf_im_spiel)
Ursache: knoten_aus_handbild nahm als Topf der All-in-Sperre den Gesamteinsatz des Helden
(inkl. des vom Gegner nie gecallten Teils) plus Gegnereinsaetze bis zu diesem Wert. Setzt der
Held 100 bb all-in gegen einen 30-bb-Gegner, war der Topf 133 statt 60; der Term
Topf * (Endanteil - Anteil zur Sperre) wurde bis 2,2-fach zu gross (live -95,8 bb bei 30,5 bb Einsatz).

Fix: topf_im_spiel() deckelt jeden Einsatz beim hoechsten Einsatz eines lebenden Gegners
(und beim Einsatz des Helden); der Rest geht zurueck und steht nie auf dem Spiel.
Gilt fuer alle Knoten, bei gleichen Einsaetzen unveraendert.

Spec: tests/aivat_spec.py Klasse Sperre (7 Faelle, 4 rot vor dem Fix).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 17:40:04 +01:00
mmintelandClaude Fable 5.2 eb0e6b1118 AB_SPOT_FRUEH: Abbild bei jeder Strassenkarte als Vorsuche in die B-Bahn (Standard aus)
Bei Flop-, Turn- und Riverkarte geht das Abbild der Lage ({"suche_frueh": true}) in die B-Bahn, in die
die echte Anfrage der Strasse spaeter geht, damit der Arm B rechnet, waehrend die Gegner ziehen.
Nur Arm B (die Exe von A kennt das Feld nicht). Die Vorsuche haelt nie eine echte Anfrage auf: sie geht
nur in eine leere Bahn, der Flop nur mit AB_SPOT_FLOP_TIEF, und der Arbeiter rechnet sie nicht mehr,
wenn die Strasse vorbei ist oder die echte Anfrage schon da ist. Je Abbild eine kompakte Zeile `frueh`
im Schattenlog (rechnet_s, grund), kein Zug. Der Leser legt das Abbild jetzt auch am Flop ab (nur mit
AB_SPOT_FRUEH=1; die Vorrechnung und Arm A ignorieren den Flop).

Specs: tests/ab_spot_spec.py (Schalter, Bahnen, besetzt, Strasse vorbei), tests/ab_spot_frueh_leser_spec.py.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 16:53:14 +01:00
mmintelandClaude Fable 5.2 904176e079 AB_SPOT_FLOP_TIEF: Flop-Anfragen an B in die zweite Bahn, Preflop allein in der ersten (Standard aus)
Loest Arm B den Flop live (2-5 s je Anfrage), stand Preflop in Bahn 0 hinter den Flop-Loesungen,
und der Laeufer wartete bis zur Frist von A. Mit AB_SPOT_FLOP_TIEF=1 geht der Flop in die Bahn
von Turn/River; ohne den Schalter bleibt die Zuordnung wie heute.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 15:23:13 +01:00
mmintelandClaude Fable 5.2 57437a809f AB_SPOT_VERFALL: abgelaufene B-Anfragen nicht mehr an den Motor (Bahn staut sich nicht, Standard aus)
Mit einer langsamen B-Fassung rechnete der B-Arbeiter jede Anfrage zu Ende, auch wenn A laengst
gespielt hatte; die Bahn lief voll und der ganze Test wurde blind. Mit AB_SPOT_VERFALL=1 setzt der
Arbeiter eine Anfrage mit abgelaufener Frist auf "B zu spaet", zaehlt sie (b_verfallen) und schreibt
eine Zeile {bahn: ab_b, verfallen: true, wartet_s}. _hand-Buchungen und A-Bahnen bleiben unberuehrt.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 15:23:13 +01:00
mmintelandClaude Opus 5.5 8742d3049a Gedaechtnis 2.0 live: Hand mit schon gesehener Nummer nie doppelt in den Strom (Archiv-Zeilen tragen nur die Nummer)
Der Motor erkennt Doppelte an Hash(q, h). Archiv-Zeilen im Strom stehen als q "anfrage", h = Nummer; der Haken schreibt q "live",
h = Raum|Nummer, die Hand stuende nach dem Start zweimal darin. Jetzt merkt sich gesehene_haende je Zeile h und die nackte
Nummer (Teil nach dem letzten "|"); der Haken und lesen/zuschauer_strom.py ueberspringen eine Hand, deren Nummer schon steht
(weder Datei noch _hand-Zeile). Specs: handsatz 51, zuschauer 22, sammler 68 (1 uebersprungen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 15:09:33 +01:00
mmintelandClaude Opus 5.5 75754f9e5a Gedaechtnis 2.0 live: Zuschauer-Haende als Handsatz (reine Funktion) und Werkzeug zuschauer_strom
Ein Eingang neben dem Laeufer, ohne betrieb/sammler.py anzufassen. Der Datensatz des Sammlers traegt die Zuege nicht,
darum nimmt die Funktion den hhDealer-Text samt Datensatz (Raum, Hand, Zeit, Flaggen): lesen/zuschauer_handsatz.py baut daraus
den Verlauf und nutzt dieselbe Umsetzung wie der Laeufer (lesen/handsatz.py). Gezeigte Karten und Brett kommen mit, der
Stapel in bb steht in "st". Klarnamen nie im Satz (Schluessel vw ueber kennung.py).

lesen/zuschauer_strom.py <datensatz.jsonl ...> <Ordner> haengt nur neue Haende an <Ordner>/strom.jsonl (Kennung Raum|Hand,
auch gegen die Zeilen des Laeufers) und weigert sich, solange laeufer.pid auf einen lebenden Prozess zeigt.
Anhaengen und Einlesen liegen jetzt in lesen/handsatz.py (anhaengen, gesehene_haende), der Laeufer nutzt dieselben.

tests/zuschauer_handsatz_spec.py: 21 Pruefungen, tests/handsatz_spec.py: 49, tests/sammler_spec.py unveraendert gruen (68, 1 uebersprungen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 15:09:33 +01:00
mmintelandClaude Opus 5.5 fed634c9ff Gedaechtnis 2.0 live: _hand nur an Bahnen mit MOTOR_GEDAECHTNIS2, Laeufer schreibt strom.jsonl, Schalter GEDAECHTNIS2_LAEUFER
Auf dem Live-Stand cda05e62. Aenderungen gegen den Haken c639c330:
- Eigener Schalter GEDAECHTNIS2_LAEUFER=1 (kern_schalter.txt, Standard aus, ohne Marke). Ohne ihn ist der Laeufer
  bitgleich zum Live-Stand, auch wenn MOTOR_GEDAECHTNIS2 in AB_SPOT_B steht.
- Eine _hand-Zeile geht nur an Bahnen, deren Motor-Prozess MOTOR_GEDAECHTNIS2 in seiner Umgebung hat. Die Umgebung kommt aus
  derselben Funktion wie beim Start des Prozesses (Schatten._umgebung: os.environ, bei B-Bahnen dazu AB_SPOT_B), keine zweite
  Liste. Arm A ohne Gedaechtnis bekommt nie eine Zeile. Den Ordner liefert die erste solche Bahn.
- Alle Zeilen tragen "_schreibe": 0; einziger Schreiber ist der Laeufer. Zieldatei strom.jsonl statt strom-laeufer.jsonl:
  der Motor laedt beim Start nur strom.jsonl, sonst saehe er die Haende des Laeufers erst nach einem Umkopieren.
- Anhaengen: je Hand ein Schreibvorgang mit ganzer Zeile samt Zeilenende, nur "ab", Datei sofort wieder zu, reines ASCII,
  bei halber letzter Zeile zuerst ein Zeilenende. Schlaegt es fehl, geht die Zeile trotzdem an den Motor; Fehler einmal gemeldet.
- Eine Buchung im Motorfaden (_laufen) faengt jeden Fehler ab und zaehlt nie als Absturz.

tests/handsatz_spec.py: 49 Pruefungen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 15:09:33 +01:00
mmintelandClaude Fable 5.2 945130c2b8 Gedaechtnis 2.0: Laeufer-Haken auf main, Hand an jeden Motor-Prozess (MOTOR_GEDAECHTNIS2, Standard aus)
Uebertragen von 5a197fed (alte Live-Basis) auf die Bahnen von main. Jeder Motor-Prozess
(Hauptbahn, tiefe Bahn, Vor-, Flop- und B-Bahnen) haelt seinen eigenen Speicher, darum geht
die Handzeile an jede Bahn; nur die Hauptbahn traegt "_schreibe": 1, alle anderen 0, sonst
stuende jede Hand mehrfach im Strom des Motors.

Das Spiel geht vor: put_nowait, eine Bahn nimmt Haende nur bis SCHLANGE_MAX/2 (voll =
verworfen und gezaehlt, Zuege behalten Platz), in der Vorrangbahn hat eine Handzeile den
niedrigsten Rang, die Antwortzeile wird gelesen und verworfen, nichts im Schattenlog, eine
versagende Bahn stoert keine andere. Ohne Schalter: keine Datei, keine Zeile, nichts eingehaengt.

Spec tests/handsatz_spec.py: 37 Pruefungen (23 vom Handsatz, dazu Verteilung auf alle Bahnen,
Rang, Motorfaden mit Attrappenprozess, Haken im Leser).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 15:09:33 +01:00
mmintelandClaude Opus 5.5 cda05e6235 Sammler: Handgrenze je Tisch (max_haende, gestreut, danach Pause wie Zuschauzeit)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 14:29:30 +01:00
mmintelandClaude Opus 5.5 29b58f852e Sammler: stille Tische zu (3 min ohne Hand), Knopf-Zwischenstand fuer das Cockpit
- --still-min (Vorgabe 3): Tisch zu, wenn so lange keine Hand fertig wurde; die Lobbyliste allein liess leere
  Tische 1-7 min offen und sah sitzende Nichtspieler nie (~1 % der Handabstaende an laufenden Tischen > 3 min).
- Phase im Stand (schliesst/aus) und Stand nach jedem geschlossenen Tisch; steuern.sammler_zustand meldet
  startet|laeuft|stoppt|aus und offen; ansicht.sammler_ liefert phase und knopf ("Stopp · 5/16", "Stoppt … 7").
  Vorher zeigte das Cockpit schon "Sammeln", waehrend er noch schloss.
- Wahl des Cockpits traegt max_min, pause_min, must_show, still_min mit Vorgaben.

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