/** * Regression test for the "/goal stop doesn't work" report. * * The runaway state file showed `goal: null` with a 326-iteration /loop — * clearGoal() returned "No goal set" and never touched the loop. The fix: * /goal stop|clear stops a running loop too and aborts the in-flight turn. * * The extension module holds goal/loop in module-level state, so the tests * drive it through the captured command handlers with a stub ctx, the same * way pi would. */ export {};