Reading this maze
Lettered switchback starts at row 1, column 2. Of the 42 grid positions, 32 are paintable and 10 are walls. The start is already painted; the other 31 tiles remain to be reached.
Diamonds A at row 1, column 1 and row 5, column 6 toggle the gate marked A. Diamond B at row 4, column 2 toggles the gate marked B. Start down and stop at row 6, column 2. Either A diamond flips A; the B diamond changes only B. Revisit the shared signal to adjust a later crossing. The first slide covers 6 of 32 target tiles.
The verified opening crosses 5 tiles before stopping. A breadth-first search proves a 23-slide finish from this exact starting board; that is a reference target, not a move limit. You may revisit any painted tile.
Diamonds A and B control separate gate groups. Each letter toggles only its matching barred gate; the other group keeps its current state. Changes take effect during the same slide. Undo restores both groups, and Hint searches from both gate states and the painted floor.