An env var forces coordinator workers onto the session's model, ignoring any requested one.
What's wrong with this entry?
Setting CLAUDE_CODE_COORDINATOR_FORCE_WORKER_INHERIT_MODEL makes spawned workers use the session's model no matter what is requested: the coordinator prompt states the model parameter is ignored, the Agent tool marks its model parameter unavailable, and the spawn path clears any requested model. It only matters when coordinator mode is on via CLAUDE_CODE_COORDINATOR_MODE. Left unset, the prompt merely argues against downshifting workers to weaker models.
- The variable is new in this build.
- Existing code sets and deletes
CLAUDE_CODE_COORDINATOR_MODEon the process environment itself.
- The model parameter is ignored on this session. Do not set it.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.