Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.273 ·

Auto mode's environment check is now a reusable helper

The check for whether Auto mode has a configured environment is now a shared helper validated against a schema

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaRemote Controlwhat it touches
KindInternal Changesin v2.1.273,
Group of 2 Under the hood

The check for whether Auto mode has a configured environment is now a shared helper validated against a schema

What

The logic that decides whether an environment is configured for Auto mode has been pulled out of inline code that previously ran only at spawn time, and turned into reusable helper functions (je() and de()). The new helpers:

  • Read the user settings file, falling back to policy settings if needed.
  • Validate the result against a new autoModeConfigSchema.
  • Are used to populate the userAutoModeEnvironmentConfigured value only when the auto-mode environment array is non-empty and that value hasn't already been supplied.

Why

Making this a reusable, schema-validated helper means the auto-mode-environment check can be reused wherever it's needed, not just at spawn time, and is validated consistently.

See this entry in the whole of v2.1.273 →

Feedback