Agent Shipped

Issue · 2026-10-22 · Claude Code · Hooks · Workflows · Releases

Claude Code 2.1.302, tmux Agents and a Push Quiz

Hi, Paul here. This week I went through the latest Claude Code release notes line by line, because the headline version is not the one that matters. I also have a tmux setup for running several agents and a hook that makes you prove you understand what your agent wrote.

What changed: read 2.1.302, not 2.1.303

The newest release, v2.1.303, lists exactly one line: "Bug fixes and reliability improvements". Nothing to act on. The one before it, v2.1.302, has a long list, and a few items change behavior you may rely on:

What to do: if you run claude -p in scripts or CI, check which permission mode you are really getting, and pass --permission-mode explicitly. If your headless runs started spawning forked subagents you did not expect, that env var is the switch. Update, then run one of your unattended jobs once while you watch it.

Workflow of the week: agents in tmux

The tmux and Claude Code guide is a practical setup for running more than one agent without losing track of them. The core of it:

  1. One tmux session per project, named after the repo. -A attaches if it exists, so the command is safe to repeat:
tmux new-session -A -s api -c ~/code/api
  1. One window per agent:
tmux new-window -t api -n auth -c ~/code/api
  1. Send a task from a script. The guide says to send the text literally, pause, then send Enter as a separate call:
tmux send-keys -t api:auth -l "run the test suite and fix what fails"
sleep 0.3
tmux send-keys -t api:auth Enter
  1. Read output back with wrapped lines joined, and log continuously to a file:
tmux capture-pane -p -J -S -200 -t api:auth
tmux pipe-pane -o -t api:auth 'cat >> ~/agent-logs/api-auth.log'
  1. Get alerted when a pane goes quiet with set-window-option -g monitor-silence 30.

The guide is also honest about the ceiling. Silence detection fires for any quiet pane, not just a finished agent. capture-pane returns the rendered screen, not what the agent did, so scraping breaks when the UI changes. Agents in separate sessions share no state unless you build file-based plumbing, and nothing survives a reboot. My read: good for two to four agents you glance at, not an orchestration layer. If you only want a worktree plus a tmux session, the guide notes recent Claude Code versions can do that with claude --worktree --tmux.

Copy this: Sphinx, a push-time quiz

Sphinx is a Git hook for agent-assisted work. When you push a protected branch, a reviewer that never saw your chat reads the diff and asks what the change does under failure conditions. Answer correctly and the push continues. Answer wrong and it explains the gap and gives you a new scenario.

Install, per the site:

npm install -g sphinx-understand
sphinx install
git push

It needs Node 22.19 or later on macOS, Linux or WSL, and works with Codex, Claude Code, Cursor, OpenCode, Pi or plain Git. sphinx install asks which model reviews your changes: your existing agent, OpenRouter, or any OpenAI-compatible endpoint. The tool is free and MIT licensed, but the page gives no pricing for the review model, so that cost depends on your provider. Your answers do not reach the coding agent, and sphinx yolo skips the check and logs every skip.

I have not run it yet. The idea suits people who ship agent output they did not read closely, which is a lot of us. The risk is that you start typing yolo every time.

Worth your time

Reply and tell me

When you run agents unattended, what is the one check that has saved you from shipping something broken: a test, a hook, a second agent, or just reading the diff? Hit reply and tell me. I will share the best setups next issue.

Paul

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.

Related guides