Skip to main content

Module executor

Module executor 

Expand description

Live SOP action executor.

Structs§

RegisteredSopDriver
One driver a generation owns, with the run it drives when that is known.
SopDriverRegistry
Spawn a background task that drives a resumed SOP action to its next blocking or terminal state. Gate-clearing surfaces without an ambient agent turn (HTTP decide, WS approvals, manual dashboard runs) land here: ExecuteStep runs through a fresh agent loop under the step’s resolved agent, DeterministicStep routes through the engine’s headless deterministic driver, and every other action is already parked or terminal.
SopDriverSink
Owned spawner for headless run drivers at an ingress boundary.

Functions§

admit_sop_driver
Admit a headless driver into a generation-owned handle set, creating the task only once the generation has accepted it.
admit_sop_driver_for_run
admit_sop_driver for a driver that advances one known run, recorded so a teardown that has to abort the driver can settle that run.
drive_resumed_broker_action
Drive a broker-approved run from a headless approval surface.
drive_resumed_broker_action_with_capability
spawn_and_register_sop_driver
Start a headless run driver and register it with its generation in one atomic step.
spawn_and_register_sop_driver_with_capability
spawn_headless_run_driver
Start a headless run driver without registering it with a generation.
spawn_headless_run_driver_with_capability

Type Aliases§

SopDriverHandles
Shared handle set for headless run drivers, so every trigger source’s drivers are owned by the same drain/reload boundary.