Skip to main content

Module set_scope

Module set_scope 

Source
Expand description

set_scope — the entry agent declares its working scope after planning. Shares the ScopeGuard with the runner’s guardrails: mutating tool calls (edit/write) outside the declared roots are then denied with actionable feedback. Re-declaring (or widening) the scope is itself a visible, auditable tool call — out-of-scope work can’t drift in silently.

Structs§

SetScopeTool
Declare/replace the working scope enforced by the shared ScopeGuard.