pub trait ComplianceSource: Send + Sync {
// Required method
fn fetch(
&self,
agent_id: &str,
window: &ComplianceScoreWindow,
) -> Result<ComplianceSourceResult, ComplianceScoreError>;
}Expand description
Pluggable compliance source. Substrate adapters plug in an chio-store-sqlite-backed implementation; the handler itself stays decoupled from storage.