Permission-mode reader: the key CC actually sends
CC serialises the mode as permission_mode — snake_case. Two of the three
helpers read permissionMode only, so they had never once returned true.
Pick a payload shape and watch all three decide, before and after.
Payload
Helper verdicts
| helper | before | after | consequence |
|---|
Why it went unnoticed
A mode gate that silently evaluates false has no symptom of its own. Nothing errors and
nothing logs — the prompts simply keep appearing, which reads as "the flag doesn't work"
rather than "the helper is dead." isBypassMode survived only because it
happened to carry a snake_case fallback its own comment described as defensive; that
fallback was doing 100% of the work. Its two siblings had no fallback and no consumers
loud enough to notice.