pub struct StatusReport {Show 19 fields
pub schema: &'static str,
pub classification: Option<Classification>,
pub invalid: Option<String>,
pub instance: bool,
pub profile: Option<ProfileId>,
pub docs_root: Option<DocsRoot>,
pub docs_scratch: Option<Utf8PathBuf>,
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 legacy_state: Vec<LegacyState>,
pub migration: Option<String>,
pub paths: Paths,
pub pending: Option<Pending>,
}Expand description
One instance’s state, as sdd status reports it.
Fields§
§schema: &'static strThe machine schema this object declares.
classification: Option<Classification>What the target is, read from the target alone, or nothing where the
instance is newer than this binary: an older binary cannot judge a
record a newer release wrote, and upgrade would say it can.
SATISFIES distribution:a-landing-classifies-its-target-first
invalid: Option<String>Why the record or the declaration cannot be trusted, where the
classification is invalid.
instance: boolWhether the target carries an instance.
profile: Option<ProfileId>The installed profile.
docs_root: Option<DocsRoot>The instance’s documentation root.
docs_scratch: Option<Utf8PathBuf>The docs scratch the instance records.
docs_scratch_env: Option<String>What SDD_DOCS_SCRATCH carries here, when it is set. The variable
overrides the recorded value, so an audit needs both.
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.
legacy_state: Vec<LegacyState>What an older release left under this user’s state and cache roots.
No verb of this release reads any of it, so each entry is a path an operator removes by hand once nothing of the older release is still running.
migration: Option<String>The migration the declaration holds open, by its id. While one is
open, classification reads migration.
SATISFIES setup:an-open-migration-is-declared
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.
pending: Option<Pending>A newer release than the pin, where the version-check cache records one. Read offline, from the cache alone.