Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

A JSON file passed to --agents is now protected like a settings file

A JSON file passed to --agents is now protected from edits the same way Claude Code's settings files are

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

--agents is an option you can give when starting Claude Code, and it can point at a JSON file. When it does, Claude Code now records both the path you gave and the file's real location after following any shortcuts (symlinks). Any attempt to edit that file is then treated like an edit to a protected settings file.

When Claude Code works out where a settings .json file lives, it now also follows symlinks, including for files that do not exist yet.

Why

Claude cannot quietly rewrite the file that defines your --agents configuration during a session, just as it cannot freely rewrite your settings. Following symlinks means a shortcut pointing at the file does not get around that protection.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeImproved --agents to accept the path to a JSON file (with -p) as well as inline JSON, and to allow an empty prompt

See this entry in the whole of v2.1.281 →

Feedback