> **JSON-RPC boundary: STDIO ↔ HTTP / WebSocket** **Legatus** is a protocol boundary process. It reads JSON-RPC from STDIN and relays messages through one of two modes: - `:http` — request/response transport to upstream HTTP endpoint - `:websocket` — bidirectional relay over persistent WebSocket Legatus solves one specific problem: