Operational truth: for an asset, what is declared of it, what is observed of it, what differs between them and how old the observation is; and the assets seen that nobody declared, and the ones declared that were never seen. A discovered asset has nothing declared and is never aligned, so only its age is told; an asset never observed is never-observed, never a match.
What was observed of an asset: when, by what (the source the observation is attributed to: a probe, an agent, a connector), and the keyed records seen. No evidence without attribution (OTO).
The alignment of an asset (OTO oto:AlignmentState): aligned where what is declared and what is observed agree, drifted where they differ and not-observed where nothing was observed, which waits and is never a failure.
type Truth = {
readonly asset: string;
readonly state: Asset["state"];
readonly observedAt: string | null;
reado…(804 characters)
typeTruth= {
readonlyasset:string;
readonlystate:Asset["state"];
readonlyobservedAt:string|null;
readonlycurrency:Currency;
/** What differs between what is declared and what is observed; nothing where nothing was observed or nothing is declared. */readonlydifference:Drift|null;
/** Whether what is declared and what is observed agree: false where they differ, and false where nothing was observed. */readonlyagrees:boolean;
/** The alignment: `not-observed` where nothing was observed, `aligned` where it agrees, `drifted` where it does not; a discovered asset has nothing declared and is `not-observed`. */readonlyalignment:Alignment;
/** What was observed was attributed to this source, where anything was observed. */readonlysource:string|null;
};