Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.248 ·

Cloud and pool flags no longer confuse prompt detection

Cloud flags like --pool and --ref no longer swallow their values as your prompt.

You'll notice Improvements
JSON All of v2.1.248
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
CLIArea: what it touches
ImprovementsKind: in v2.1.248,
ImprovementsSection of the release
What

Claude Code does a quick scan of the command line before the real argument parser runs, to find the positional prompt. That scan now knows --environment, --pool, --ref, --on-branch, --correlation-id and --forward-home-settings each take a value, so those values are no longer mistaken for your prompt or for another flag's argument.

Details
  • All six are real options elsewhere in the build, including the hidden --forward-home-settings <true|false> and --on-branch/--ref for cloud pool revisions.
Evidence

--forward-home-settings

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

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --ref, on CLI reference. | `--ref <branch>` | With `--environment`, base the new session's checkout on a named ref instead of local `HEAD` | `claude -p "Run the smoke test" --environment ccpool_abc123 --ref main` | cli-reference see the edit
Confirmed since Anthropic's documentation has since written up --environment, on Write a credential helper. Set [`inferenceCredentialHelperArgs`](/docs/third-party/claude-desktop/configuration#inferencecredentialhelperargs) to a JSON array of strings to pass arguments to the helper. Claude Desktop passes each entry to the executable as one argum… third-party/claude-desktop/credential-helper see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --environment, on Write a credential helper.

See this entry in the whole of v2.1.248 →

Feedback