Start a cloud session on your own environment with claude --environment, plus hidden --ref and --on-branch companions.
What's wrong with this entry?
claude --environment <environment_id> starts a cloud session on one of your own self-hosted environments (ids look like ccpool_...). An id that does not parse is rejected with an explicit error. Hidden companions --pool (a deprecated alias), --correlation-id, --ref and --on-branch also exist.
--bgcannot be combined with--environment; the two are separate backends and you get a dedicated message pointing at direct invocation.- The
--bgargument filter strips--environmentand--pool, including their=valueforms, before forwarding the remaining arguments.
claude -p "fix the flaky test" --environment ccpool_abc123Create a new cloud session that runs on the given self-hosted environment (ccpool_...).
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.
-
v2.1.248
Cloud and pool flags no longer confuse prompt detection
Both mention environment pool correlation branch