Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.309 ·

sed -i is now recognised as a command that edits files in place

Claude Code now recognises sed -i and gsed -i as in-place file edits, alongside commands using --fix, --in-place or --auto-correct

You'll notice Improvements
JSON All of v2.1.309
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash SafetyArea: what it touches
ImprovementsKind: in v2.1.309,
ImprovementsSection of the release

Unclear It is not clear what Claude Code does differently with a command once it is recognised as an in-place edit.

What

Claude Code keeps a list of patterns for shell commands that change files where they sit (an "in-place" edit) rather than printing a result. That list already matched commands using --fix, --in-place and --auto-correct. It now also matches sed -i and gsed -i, including when -i is combined with other short options such as -Ei.

Why

Commands that Claude Code runs in your terminal are sorted into kinds, and this list marks the ones that act like formatters or fixers. A sed -i command now lands in that group instead of being treated as an ordinary command.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what Claude Code does differently with a command once it is recognised as an in-place edit.
Anthropic's release notes agreeFixed the /rewind list showing "No code changes" for a turn that changed checkpointed files through /code-review --fix, a subagent or a…

See this entry in the whole of v2.1.309 →

Feedback