Walk onto P1, then record. The ghost replays your path and stays at its end.
Loop rules
P1 opens G1, P2 opens G2, and P3 opens G3. Rewinding restarts you and every ghost together.
Each move or wait advances time. Blocked moves do not.
One ghost per gate; up to 160 turns per loop. Reloading clears the recordings.