Function active_headless_step_scope
pub fn active_headless_step_scope() -> Option<HeadlessStepScope>Expand description
The headless step scope this task is running under, if any.
A tool that starts a child agent run passes this into the child’s
AgentRunOverrides: spawning a child does not widen the step’s capability
boundary, so the child re-resolves the same exclusions against its own
registry. None outside a headless step, where there is no boundary to
carry.