pub fn register_gate(gate: ShellGate) -> boolExpand description
Install the policy gate. The first registration wins and is never replaced:
returns false when a gate was already registered, so the caller can
refuse to start instead of running under a gate it did not install.