Letting Codex Agents Commit: Making .git Writable in the workspace-write Sandbox
Codex CLI's workspace-write sandbox lets the agent edit anything in your repo -- except commit. Every git commit dies with:
Codex CLI's workspace-write sandbox lets the agent edit anything in your repo -- except commit. Every git commit dies with:
Update (July 2026): as of Codex 0.144.4, this technique no longer works -- the model_context_window override is now ignored, and context ceilings are enforced server-side. See the full update at the end of this post.
Learning Machine is where I share highest-impact thinking from the frontier of AI engineering: the conferences, the conversations, the detailed application of AI at scale -- plus you're now on the inside of all of the work that I'm doing. All killer, no filler.
You're in. Check your inbox to confirm.
Something went wrong. Try again, or email corey@gallon.me.