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.224 Home All releases olderv2.1.223 v2.1.225newer

Runner can refuse repo-committed settings that reach outside the workspace

Use it now
Useful3 Signal4
Self-Hosted Runner Notable not in their notes

The runner can warn about or block repo-committed settings that grant access outside the workspace.

--confine-repo-settingsSELF_HOSTED_RUNNER_CONFINE_REPO_SETTINGS
What

Before starting a session, the runner inspects the checked-out repo's .claude/settings.json and settings.local.json for grants that would escape the session workspace and reports or blocks them. --confine-repo-settings (or SELF_HOSTED_RUNNER_CONFINE_REPO_SETTINGS) picks enforce, warn or off; the CLI defaults to warn, which logs what it would have refused and starts the session anyway.

Details
  • What it looks at: permissions.allow paths, sandbox filesystem allowRead/allowWrite, additionalDirectories, bare Edit and Write rules, env set by the repo, and any repo override of the operator's sandbox or hooks posture.
  • Symlinks and .. are resolved, and a path that cannot be resolved is treated as a violation rather than allowed.
  • An invalid value for the flag fails at startup rather than silently falling back.
  • Outcomes are reported through telemetry named self_hosted_confine, with separate reasons for warn and enforce.
Evidence

self_hosted_confine_violation_enforce

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.224 →