Skip to main content

systemprompt_api/services/server/lifecycle/
mod.rs

1//! Server startup reconciliation and lifecycle wiring.
2//!
3//! Reconciles enabled agents and system MCP services into a running state,
4//! bridges runtime startup events, and initializes the scheduler before the
5//! server begins accepting traffic.
6//!
7//! Copyright (c) systemprompt.io — Business Source License 1.1.
8//! See <https://systemprompt.io> for licensing details.
9
10pub mod agents;
11mod event_bridge;
12mod heartbeat;
13pub mod reconciliation;
14mod scheduler;
15
16pub(super) use agents::reconcile_agents;
17pub(super) use event_bridge::start_event_bridge;
18pub(super) use heartbeat::start_registry_heartbeat;
19pub(super) use reconciliation::reconcile_system_services;
20pub(super) use scheduler::initialize_scheduler;