From 1f8b5b5b4a944449b0a59a84464ae5923d362aa5 Mon Sep 17 00:00:00 2001 From: fujibee Date: Sun, 6 Sep 2026 02:13:10 -0700 Subject: [PATCH 1/3] spawn: launch codex through the bundled monitor shim, and refuse a bare fallback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A codex seat spawned by spawn.sh never received a message: the bridge retried against its thread every few seconds ("already has an active writer"). The seat's argv was the real binary with no --remote. Only the monitor shim adds --remote, and the shim is installed on purpose as an interactive-shell function (#193), which is not exported and does not exist in the non-interactive shell that runs a boot script — so `command -v codex` there resolves the real binary, on every spawn, not only the first. A type manifest may now declare `spawn_wrapper=