Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

Force-login-org / policy validation failures now get logged and reported with a reason

Failed org/policy validation during headless startup now gets logged with a reason

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.274,
Under the hood

Failed org/policy validation during headless startup now gets logged with a reason

**What

When Claude Code runs in headless mode (--print) and account or organization policy validation fails, it now records a report before erroring out. If the policy couldn't be read (policyUnreadable), a policy_invalid event is reported. In the final force-login-org check, a failure now also logs the session ID, message, and reason, and runs an additional cleanup step.

**Why

This gives better visibility into why a headless session was blocked by organization policy, making these failures easier to diagnose instead of just failing silently.

See this entry in the whole of v2.1.274 →