Group of 2 Under the hood
Spawned bridge child sessions can now default to auto permission mode and carry a max age for resuming interrupted turns
What
- New logic classifies a spawned bridge child session as an "rc-child" and decides whether to force
permissions.defaultMode: 'auto'for it, passing anautoMode.environmentlist via a new--settings=argument to the spawned subprocess. Whether this fires at all, and whether it can override the user's own settings, are each controlled by separate gates. - When a bridge worker resumes an interrupted turn after a rebound worker epoch, it now also sets a new
CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MSenvironment variable (only alongside the existingCLAUDE_CODE_RESUME_INTERRUPTED_TURN, and only when the resumed turn is bound). The auto-mode settings argument is computed and passed as--settings=before other server config arguments.
Why This is infrastructure for how Claude Code's bridge feature spawns and resumes child sessions: it controls whether a spawned child defaults to unattended "auto" permission mode and how stale an interrupted turn can be before it's no longer eligible to resume.
Names in the bundleCLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS
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 CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS, on Environment variables.
| `CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS` | Maximum age in milliseconds of the last transcript message for a session that ended mid-turn to continue automatically on resume. When the last message is older than this bound, Claude C…env-vars see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding does not say what value CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS takes or what happens once a turn is older than it.
Anthropic's documentation agrees
Anthropic's documentation has since written up CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS, on Environment variables.