What's wrong with this entry?
The ScheduleWakeup tool used in dynamic /loop sessions now accepts a stop: true field to explicitly terminate the loop, replacing the previous implicit approach of simply omitting the call.
stop: truecancels all pending wakeups and records a terminal event- When called after the loop has already ended, it logs a cleanup-only message and suppresses the terminal event to avoid double-firing
- The
/loopinstructions now clearly enumerate step 6: "To stop the loop — call ScheduleWakeup withstop: true(no other fields) ... Stopping is the loop's normal ending — the user can restart it anytime with /loop." - A
loopEndedflag is now tracked in session state to guard against duplicate stop events - A
noopfield was already present;delaySeconds,reason, andpromptare now explicitly documented as required only whenstopis not true - The tool description now reads: "call with
stop: trueto end the loop immediately" (was: "omit the call to end it")
Loop stop handler (search for "[loop] model called ScheduleWakeup({stop:true})" and "stop the /loop — cancel pending wakeups, schedule nothing")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.