Skip to main content

Module services_root

Module services_root 

Source
Expand description

Process-wide cell holding the services root the instance actually runs.

With no bundle sources configured the root is the tree baked into the image at paths.services. With sources it is a composed cache root, and ServicesProvenance records how that root was chosen — including the error that forced a fallback, so an instance running yesterday’s bundle can say so rather than looking healthy.

The cell is installed once, before crate::ConfigLoader reads anything; ServicesRootBootstrap::active_root_or is the accessor for callers that must work whether or not boot has reached that point yet.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

ActiveServicesRoot
ServicesRootBootstrap

Enums§

ServicesProvenance