Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Edit auto mode rules as a document in your editor

Use it now
Useful4 Signal3
Permissions Notable

In /permissions Auto mode you can open the environment rules as a document and edit them in your editor.

/permissions
What

The Auto mode tab of /permissions gains an "Edit environment" action that opens the environment rules as a document in your editor. When you save, the whole draft is re-checked against what the screen loaded and refused with "The environment changed since this screen loaded" if it moved underneath you. Lines starting with ### are treated as section headers, not rules, and cannot be added, edited or deleted through this flow.

Details
  • The tab renders whenever auto mode is available to the session; it is hidden only when the session reports auto mode unavailable. No remote flag controls it.
  • All add, update, delete and toggle paths are now wrapped in a telemetry span named auto_mode_rule_edit, whose failure code comes from the underlying write error.
  • One branch is dead by construction: the toggle path computes its escape hatch as a function that always returns false, so switching off an empty section always refuses with "An empty section cannot hold the off state".
Evidence

'### ' lines are environment section headers (structure, not entries) and cannot be written here.

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →