setPermissionMode only wrote the control_request; the mode was never folded back into the session status, so the badge and Ctrl/Cmd+M looked dead. Optimistically merge + emit the new mode immediately; the next system/init still reconciles. Co-Authored-By: Claude <noreply@anthropic.com>