Skip to main content

Module fanout_spawner

Module fanout_spawner 

Source
Expand description

The daemon-side FanOutSpawner: resolves a fan-out worker’s blueprint (self-at-worker-stage / a named agent / a capability query) and starts it in the shared world, seeded with its work item.

The runtime’s fan-out systems only start and track workers; finding the blueprint is CLI policy, so it lives here - mirroring how build_agent resolves any spawn. For worker_stage the worker runs the parent’s own blueprint entered at that stage (via leviath_runtime::pipeline::force_transition); for worker_agent / worker_query it runs a separate installed blueprint.

Structs§

DaemonFanOutSpawner
Everything build_agent needs, captured so a fan-out worker can be spawned from inside a world-system (which has no access to the daemon’s context).