pub fn has_undeclared_ai(
jp: &JudgementProvenance,
declaration: &RelianceDeclaration,
) -> boolExpand description
The integrity-breach detector (§8.3): returns true if any AgentType::SoftwareAgent appearing in
jp.informed_by (recursively, through nested sub_provenance) is not covered by declaration’s
permitted set (matched by AgentRef.id). An undeclared AI reliance discovered after the fact is a
serious integrity breach — the omission is itself evidence.
Only software agents are checked; other agent types are not subject to the standing-declaration gate.