Claude Code 2.1.316 adds gateway policy layering and a subagent effort setting
Version 2.1.316 adds layered policies and pooled budgets for the Claude apps gateway, a subagent effort variable, and fixes to restricted sessions and model checks.
what changed
Claude Code 2.1.316 was listed on 31 October 2026. We picked the changes that matter most for teams that run Claude Code at scale.
- New
managed.policy_mode: layeredfor the Claude apps gateway. Every policy that matches a developer now applies, each merged over the ones below it. Before, only the first match applied. - Pooled group budgets on the gateway. One monthly budget is shared by a group, on top of each member’s own limit. It is set with
pooled_budgeton the spend limits admin API. - New
CLAUDE_CODE_SUBAGENT_EFFORT. It sets the effort level that subagents run at when nothing else names one, instead of inheriting the session’s. - Fix: the gateway now checks every model a request names against
availableModels,deniedModelsandmodels. A blocked model gets a 400 that names the field. - Fix:
--restrictedsessions no longer upload files from outside the working directories when a Read allow rule covered them.
why it matters
Layered policies change what a developer is allowed to do. If you use the gateway today, a developer who matches several policies may now get a different result.
The model check fix closes a gap in a deny list. If you relied on deniedModels, some requests may have passed that you meant to block.
The upload fix matters to anyone who uses restricted sessions as a data control.
what we would do
- Before you turn on layered mode, list which developers match more than one policy. Test the merged result in a small group.
- Review
deniedModelsandavailableModels. Check your logs for blocked-model requests you did not expect. - Set
CLAUDE_CODE_SUBAGENT_EFFORTon purpose if subagent cost or speed matters to you. - Update restricted-session users to 2.1.316.
sources
- Claude Code changelog, version 2.1.316 (Anthropic)
Drafted with Claude from the linked sources, reviewed by us.