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.234 Home All releases olderv2.1.233 v2.1.235newer
Claude Code v2.1.234

Managed policy helpers can be an inline script instead of an executable

Use it now
Useful2 Signal3
Managed Settings Notable

Admins can now supply managed policy helpers as an inline script instead of a file on disk.

policyHelpersscriptinterpreter
What

The admin-controlled policyHelpers config, which computes managed settings at startup, now accepts a script plus interpreter pair as an alternative to path. The script is handed to the interpreter over stdin and never written to disk. It is capped at 65536 characters, must be NUL-free valid UTF-8, and must be ASCII-only on Windows. The interpreter is fixed per operating system: sh on macOS, Linux and WSL, pwsh on Windows.

Details
  • Validation now requires each entry to carry path, or script + interpreter, and/or defaultSettings (a static settings payload); mixing path with script is rejected.
  • Inline scripts only work on the per-OS policyHelpers map. On the older singular policyHelper key they are refused with "inline scripts are not supported on the singular policyHelper key".
  • Execution is /bin/sh -s over stdin, or pwsh with -Command wrapping the script in a fixed fragment ending catch { Write-Error $_; exit 1 }; exit $LASTEXITCODE.
  • No feature flag guards the parser; it is reachable for anyone whose admin-controlled policy settings carry such an entry. None of this vocabulary existed in v2.1.233.
Evidence

Inline helper script, delivered to the fixed interpreter over stdin (never written to disk), inline scripts are not supported on the singular policyHelper key

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.234 →