Skip to main content

vsh_commit/
lib.rs

1//! Capability-rooted revalidation and trusted commit engine for VSH.
2//!
3//! The committer is the only core component that can mutate a host workspace. It
4//! consumes a non-cloneable reservation, revalidates only recorded dependencies,
5//! persists an intent journal, moves replaced nodes into quarantine, installs content
6//! with create-new semantics, and verifies the final state before marking a commit.
7
8mod committer;
9mod host;
10mod journal;
11mod plan;
12
13pub use committer::{
14    CommitConfig, CommitError, CommitReceipt, Committer, FaultInjector, FaultPoint, NoFaults,
15    RecoveryConflict, RecoveryReport, RevalidationConflict, VerificationFailure,
16};
17pub use host::{HostError, SnapshotLimits};
18pub use journal::JournalError;
19pub use plan::{CommitPlan, CommitPlanError, PlanDecodeError};
20
21#[cfg(test)]
22mod tests;