ctrlrun.Control — class, defined at src/ctrlrun/control.py:261
evaluate() decides an action and touches nothing. execute() decides it, runs the
executor, and records a receipt and events for whatever happened.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Policy, state and evidence composed around a single action (SPEC-v0.1 §8).
ctrlrun.Control — class, defined at src/ctrlrun/control.py:261
from ctrlrun import Control
class Control
def __init__(policy: Policy, store: StateStore, approvals: ApprovalProvider | None = None, *, clock: Callable[[], datetime] = _utc_now, approval_ttl: timedelta = DEFAULT_APPROVAL_TTL, lease: timedelta = DEFAULT_LEASE, sinks: Sequence[EventSink] = (), suspend_timeout: timedelta = DEFAULT_SUSPEND_TIMEOUT, identity: IdentityProvider | None = None, authority: Authority | None = None, environment: str | None = None)
evaluate() decides an action and touches nothing. execute() decides it, runs the
executor, and records a receipt and events for whatever happened.
Related topics
The Agent Control StandardAcsControlHookctrlrun verifyApprove in SlackCTRLRun and agent oversight toolkitsWas this page helpful?