logical.Checkedtypeno test imports ittype Checked = { readonly observedAt: string | null; readonly results: readonly JudgedPolicy[] };What the check of one machine found: when it was observed (nothing where it never was) and each policy's status.
What the policy pack says of one machine: its observation judged by the policies, with the risks a person accepted for it. A machine never observed is waiting in every policy and never failing, because "not observed yet" is not a finding.
import { judgeObserved } from "./judge.ts";
judgeObserved(undefined, [], "2026-11-21T00:00:00Z").observedAt; // nulllogical.Checkedtypeno test imports ittype Checked = { readonly observedAt: string | null; readonly results: readonly JudgedPolicy[] };What the check of one machine found: when it was observed (nothing where it never was) and each policy's status.
logical.judgeObservedfunctionno test imports itfunction judgeObserved(observed: Observed | undefined, accepted: readonly AcceptedRisk[], now: string): CheckedThe observation of a machine (or none) judged by the policy pack and the risks accepted for it, at an instant.
Checkedtypeno test imports ittype Checked = { readonly observedAt: string | null; readonly results: readonly JudgedPolicy[] };What the check of one machine found: when it was observed (nothing where it never was) and each policy's status.
judgeObservedfunctionfunction judgeObserved(observed: Observed | undefined, accepted: readonly AcceptedRisk[], now: string): CheckedThe observation of a machine (or none) judged by the policy pack and the risks accepted for it, at an instant.