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:
- Fork subagents are on by default in
claude -p, the Agent SDK, the desktop app and VS Code, as they already were in the terminal. SetCLAUDE_CODE_FORK_SUBAGENT=0to turn them off. - Hooks are capped. At most 12 prompt or agent hooks of one event run at a time; the rest wait their turn.
claude -pand Agent SDK sessions with no permission mode now start indefaultmode on third-party providers, with telemetry off, or on a fresh install.--permission-mode autokeeps auto.- New setting:
CLAUDE_CODE_AUTO_MODE_MODELpicks the model the client-side auto mode classifier uses. It does not change the model for server-side auto mode. - Idle compaction now has a row in
/configso you can turn it off. - A notice in
/design-syncand/design-loginsays standalone Claude Design (claude.ai/design) closes on December 14, 2026.
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:
- One tmux session per project, named after the repo.
-Aattaches if it exists, so the command is safe to repeat:
tmux new-session -A -s api -c ~/code/api
- One window per agent:
tmux new-window -t api -n auth -c ~/code/api
- 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
- 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'
- 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
- Redesigning source control at Anthropic: Anthropic says merges grew from about 2,500 a day in May 2026 to over 30,000 by September and it moved off git to an in-house system called Scion in five months; read it for the agents-as-heavy-clients angle, not as advice to drop git, since Anthropic does not present Scion as a public product.
- Claude Code best practices: the official page leads with giving Claude a check it can run (tests, a build, a screenshot), and its section on a Stop hook as a deterministic gate is worth ten minutes.
- whatsapp-mcp: a read-only MCP server for searching your own WhatsApp messages, running in your Cloudflare account; it needs the Workers Paid plan and uses an unofficial library the README says is against WhatsApp's terms, so weigh that first.
- tv-detox: a prompt plus scripts for letting Claude Code or Codex strip ads and bloat from an old Android TV over adb, with apps turned off rather than deleted; the README warns that some Google TV setups got stuck restarting, so read the caveats before touching a TV you care about.
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