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: layered for 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_budget on 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, deniedModels and models. A blocked model gets a 400 that names the field.
  • Fix: --restricted sessions 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

  1. Before you turn on layered mode, list which developers match more than one policy. Test the merged result in a small group.
  2. Review deniedModels and availableModels. Check your logs for blocked-model requests you did not expect.
  3. Set CLAUDE_CODE_SUBAGENT_EFFORT on purpose if subagent cost or speed matters to you.
  4. Update restricted-session users to 2.1.316.

sources

Drafted with Claude from the linked sources, reviewed by us.