Use it now Notable
New env vars let a bridge-spawned child session default to auto permission mode and force-enable artifacts
What
Two new environment variables control sessions spawned as a "bridge child" (a worker session launched by another Claude Code process):
CLAUDE_CODE_BRIDGE_CHILD_AUTO_DEFAULTmakes the child session default its permission mode toauto, overriding the normal default-mode selection.CLAUDE_CODE_BRIDGE_CHILD_ARTIFACTforces the artifact-publishing feature on for that child session, alongside the existingCLAUDE_CODE_ARTIFACTvariable. The code that reports artifacts as off by default for SDK usage (sdk_default_off) now also checks that this new variable is unset before reporting that reason.
Both variables are explicitly cleared on a spawned child's environment and then set to 1 only when the parent process determines they should apply.
Why
This lets a parent process spawning bridge-child sessions control two behaviors — permission mode and artifact availability — that would otherwise default to more restrictive settings for SDK/bridge-style sessions.