Four changes. Each was verified, not assumed.
Codex remote control now starts at boot.
A system-level systemd unit at /etc/systemd/system/codex-remote-control.service runs the app-server daemon the ChatGPT app pairs to. It has to be system-scoped rather than a user unit because this box has no user systemd bus. Pairing survives restarts, so boot reconnects with no manual code.
The first version worked, then failed on restart. Registering with the remote side errors if a start lands within a few seconds of a stop, or before the network is up at boot. Fixed with a 6-attempt retry loop and a post-stop settle delay.
Verified: enabled at boot, cold start, two back-to-back restarts, live control socket, working pairing.
The orchestrator contract went global.
It lived at workspace-4/CLAUDE.md, so only sessions in that one directory obeyed it — while the MCP tools, being user-scoped, loaded everywhere. Agents in the other three workspaces had the delegation tools and no instructions for them. The contract now lives at ~/.claude/CLAUDE.md and applies in every directory. Confirmed by headless sessions run from /tmp citing it.
Permission prompts are off.
defaultMode: bypassPermissions. Unattended runs were the reason: with prompts on, a headless or scheduled run stalls on approval, which quietly defeats the whole “never stop working” premise.
Fan-out is now bounded by RAM.
A PreToolUse hook denies a new subagent when memory is short: 600 MB required per agent above a 2.5 GB floor, hard ceiling of 12 concurrent. It fails open — a broken guard that blocked delegation would cost more than the problem it prevents.
Measured on this box: 19.5 GB total, ~15.4 GB typically available, one subagent costs ~280 MB typical and ~455 MB peak. Fixed services swing by over a gigabyte on their own, which is why a fixed agent count was the wrong control.
Verified that a hook denial is still honoured while permission prompts are bypassed — those are separate layers.