Claude Code v2.1.335 · Anthropic · GitHub release notes, December 2, 2026
Claude Code v2.1.335 adds an audit for harness code written for older models
The release notes, posted at 00:17 UTC on December 3 (7:17 p.m. ET), say Anthropic "Added /claude-api harness-audit to find agent harness code written for older models (loop limits, sub-agents, context management, injected reminders, session-start code) and propose fixes as a diff". The notes do not say which models count as older or what a proposed fix looks like, and we have not run the command. A related change to /claude-api prompt-audit means it "now flags broad ask-first rules, always-delegate instructions" and a few similar patterns in prompts.
Three other entries matter for unattended work. A new Interrupt hook event "fires when a turn is interrupted and says whether a person, another session or the system stopped it". Starting several worktree-isolated agents at once could fail with "failed to read commondir"; that is fixed. And the "Autocompact is thrashing" error now names instruction files such as CLAUDE.md when they take up more of the context than anything else. The notes list 125 entries, 36 of them for the VS Code extension.
Why it matters: The five areas named in that one line are Anthropic's own list of where harness code written for older models needs another look. If you maintain a harness around Claude, check your loop limits, sub-agent setup and injected reminders against it whether or not you run the command. The Interrupt hook also lets an unattended run record whether a person or the system stopped a turn.