pub struct StatusReport {Show 16 fields
pub schema: &'static str,
pub instance: bool,
pub profile: Option<ProfileId>,
pub docs_root: Option<DocsRoot>,
pub plan_zone: Option<PlanZone>,
pub docs_scratch: Option<Utf8PathBuf>,
pub plan_zone_env: Option<String>,
pub docs_scratch_env: Option<String>,
pub canon_version: Option<CanonVersion>,
pub binary_version: CanonVersion,
pub alignment: Option<Alignment>,
pub managed_drift: usize,
pub adopted_drift: usize,
pub failures: usize,
pub ok: Option<bool>,
pub paths: Paths,
}Expand description
One instance’s state, as sdd status reports it.
Fields§
§schema: &'static strThe machine schema this object declares.
instance: boolWhether the target carries an instance.
profile: Option<ProfileId>The installed profile.
docs_root: Option<DocsRoot>The instance’s documentation root.
plan_zone: Option<PlanZone>The plan zone the instance records.
docs_scratch: Option<Utf8PathBuf>The docs scratch the instance records.
plan_zone_env: Option<String>What SDD_PLAN_ZONE carries here, when it is set. The variable
overrides the recorded value, so an audit needs both.
docs_scratch_env: Option<String>What SDD_DOCS_SCRATCH carries here, when it is set.
canon_version: Option<CanonVersion>The canon version that produced the instance.
binary_version: CanonVersionThe version this binary carries.
alignment: Option<Alignment>How the two versions relate.
managed_drift: usizeManaged files missing, symlinked, or byte-drifted.
adopted_drift: usizeAdopted files awaiting reconciliation.
failures: usizeVerification failures in total.
ok: Option<bool>Whether verification passes.
paths: PathsEvery path this binary can name for this target and this user.
A skill reads this section rather than spelling a path of its own. Every entry states what decided it, so a reader can tell a recorded answer from a derived one.