# Permission bridge fails closed and delegates to the socket owner Status: accepted ## Context The `claude` CLI provider asks permission through `hx mcp-serve`, which forwards over a Unix socket to the TUI process. hx tools run by `codemode` inside mcp-serve ask for their own permission. ## Decision Unknown `permissions` config values (typos) deny: it is a safety setting and failing open would hide the mistake. An unreachable socket denies. The socket owner stores "always" itself, so on the bridge side a yes is a plain yes. Interactive modes (`ask`, `auto`, `yolo`) leave `-p` behavior unchanged. ## Consequences Misconfiguration is visible rather than silently permissive. Code: crates/hx-core/src/approve.rs