pub fn classify(
gwk_present: bool,
contract_sha256: Option<String>,
foreign_objects: Vec<String>,
) -> TargetStateExpand description
Decide what a target database is, from facts already queried out of it.
Split from the queries so the decision table is testable without a server;
inspect is the thin part that gathers the facts.