IronClaude
Workflow discipline and multi-agent orchestration for Claude Code and OpenAI Codex.
IronClaude adds workflow discipline to Claude Code and OpenAI Codex, plus multi-session Claude Code orchestration. Without structure, sessions tend to jump to implementation without planning, produce tests that pass but miss regressions, and can't coordinate work across multiple sessions. IronClaude addresses this with two components that work together:
- Worker -- A Claude Code and OpenAI Codex plugin that enforces disciplined development workflows (brainstorm, plan, execute) with review gates between every task
- Commander -- A Python daemon that orchestrates multiple Worker sessions via Slack, with an autonomous Brain that decomposes objectives and assigns work
Compatibility: Direct Worker mode supports Claude Code and OpenAI Codex. Commander runs Codex as workers and grader alongside Claude, and the Codex Brain runs the disciplined brainstorm → plan → execute workflow, episodic memory, and brokered read-only advisor review. See CODEX_SETUP.md.
The key insight: discipline and orchestration reinforce each other. The Worker's professional mode hooks guarantee that every autonomous session follows the full workflow -- so the Commander can trust the quality of work happening without your direct supervision. And because the Commander runs through Slack, you can supervise and direct multi-session autonomous work from your phone, from anywhere, without being at your terminal. The Brain acts as your proxy at the keyboard.
You can use the Worker alone for single-session discipline, or add the Commander for multi-session orchestration.
What's New in v1.2.0
- One IronClaude for Claude and Codex. The hooks, instructions, memory-search gate and Commander Brain restrictions now behave the same on both clients. Commander-spawned Codex workers start reliably, and work hands off safely between Claude and Codex when one hits its usage limit.
- Checks on the right model. Hook and Commander checks run on Claude Haiku or the newest Codex Luna (the local box first). Harder judgments step up one class. Reviews use a fresh same-tier reviewer, with Fable or Astra only when you ask.
- Tool-free children. Every grader, fast-model child, hook child and the Codex advisor broker runs with no tools on both clients, so text a worker writes can't make them read or run anything. Graders carry their rubric in the prompt, and Claude reviewers use a locked read-only agent.
- No pinned Codex models. Codex defaults are family words (
luna, terra, sol, astra) that resolve to the newest model Codex has installed where it runs, just as haiku or opus does for Claude. A model you name explicitly is used as-is.
- Safer Brain gate. The Brain's gate state lives in a private
~/.ironclaude/state/brain-gate directory, and the Brain hooks refuse to run from anything else. Both Brains refuse git commands that write a file (--output), change branches, or depend on shell brace or glob expansion (@{u} and HEAD@{1} still work), and the Codex Brain starts only with its own MCP servers.
- A down local box costs one try, not every call. If you run your own Ollama or OpenAI-compatible box, a connect failure, an HTTP error, an empty or invalid answer, or a read timeout at the box's own
timeout_seconds makes the hooks and the Commander skip it for local_backoff_minutes (default 15, 0 turns it off) and ask the Haiku-class model (Haiku, or Luna on Codex) instead. The hooks also count running out their own hook_validation_budget_seconds (default 8 s). Only a Commander caller deadline shorter than the box's timeout, such as the fast lane's fast_lane_grade_timeout_seconds, does not count. The hooks and the Commander share the marker in ~/.ironclaude/state/local-backoff/, and it is the only thing that makes IronClaude skip your box, so with 0 your box is tried on every call. The CHANGELOG has the details.
- Proportionate loops and a sharper guard. A scope-fidelity rule keeps PM loops sized to the request. The drift check catches edits outside a task's files and ignores files another live session wrote with its file tools or lists in its active task, so several sessions can share one checkout. IronClaude's own
git status reads no longer take the index lock, so a hook killed mid-read can't leave a stale .git/index.lock that blocks every session's git add. Codex file and shell tools are gated the same way as Claude's, with or without a managed worktree.
Earlier — v1.1.15