fix(server): changing the permission mode no longer ends the running turn

A runtime mode change detached every session that cannot switch modes in place, which killed the running turn and its background work. The session now restarts at the next turn instead, and waits while background work is still running.
7d2f9afa53MacKinley Smith committed on 10/21/2026, 8:36:01 PMparentd13fc84

Checks

All checks passed
3 files changedLine totals unavailable