Skip to main content

Module active_scope

Module active_scope 

Structs§

ActiveStepScope
The active SOP step’s additional tool exclusions for the agent turn loop.
HeadlessStepScope
A headless step’s tool-scope contract, carried into the fresh agent::run that executes it.

Constants§

SOP_CONTROL_TOOLS
The SOP control surface. A step body must never drive its own run: allowing these inside a step turn lets the model advance, execute, or approve the very procedure it is a step of. Excluded on every SOP step turn — live and headless — regardless of whether the step declares a scope.

Functions§

active_headless_step_scope
The headless step scope this task is running under, if any.
resolve_active_step_scope
Resolve the active step’s enforced tool scope, if step-scope enforcement is enabled and the step declares a scope.
with_active_headless_step_scope
Run future with scope as the active headless step scope.
with_inherited_headless_step_scope
Re-establish an inherited scope on a task that could not inherit it.

Type Aliases§

ActiveScopeHandle