diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-15 15:15:21 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-15 15:15:21 +0530 |
| commit | 54afeb6dd89fffae92274cb6fe2e9a86fd57c6e3 (patch) | |
| tree | 0d6aa206f28c9b00f785d0981bb77a97851f1ce4 /PLAN.md | |
| parent | f97ea63ac29c08530b1aaff89277262b44ef7a11 (diff) | |
phase B
Diffstat (limited to 'PLAN.md')
| -rw-r--r-- | PLAN.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -316,6 +316,12 @@ build (`just test`) green before the next. - [ ] **B3.** `just test` — all 17 original tests + new search/eval tests green. ### Phase C — Root thread driver (still effectively single-worker) +- [ ] **C0.** Fix required. src/engine/ttable.c — zobrist_hash scanned all 64 + squares via find_piece_on_square, which asserts on empty squares. + The per-node TT probe made search hit this on any non-full-board position. + Rewrote the piece loop to iterate occupied bitboards + (castling/turn/en-passant tail unchanged). + No existing test asserts on zobrist_hash output, so nothing regressed. - [ ] **C1.** Rewrite `root_thread` in `src/engine/thread.c` to run iterative deepening using `search()`, populating the `engine_message` each depth and respecting `args->stop` + `should_continue`. |
