698 B · text History d69022d
//! Embeddable devendra agent.
//!
//! The agent has two layers:
//!
//! - [`reconcile`] — a pure, synchronous reconciler that drives the local
//!   system toward a [`devendra_proto::Manifest`]. It touches the filesystem
//!   and systemd but knows nothing about iroh, so it is fully unit-testable
//!   with a fake [`reconcile::SystemdController`].
//! - [`sync`] — joins the controller's iroh-docs document, feeds manifests to
//!   the reconciler, and reports [`devendra_proto::Status`] back.
//! - [`adopt`] — the onboarding path: scan an existing quadlet directory and
//!   publish its files as a proposal for the controller to review.

pub mod adopt;
pub mod reconcile;
pub mod sync;