pub trait ProbeGate: Send + Sync {
// Required method
fn probe<'a>(
&'a self,
qualified_tool_id: &'a str,
args: &'a Value,
turn_number: u64,
risk_level: &'a str,
) -> Pin<Box<dyn Future<Output = ProbeOutcome> + Send + 'a>>;
}Expand description
Probe interface required by ShadowProbeExecutor.
Decoupled from zeph-core to avoid a reverse crate dependency. The agent builder
wires in a concrete Arc<zeph_core::agent::shadow_sentinel::ShadowSentinel> at
construction time.
Uses Pin<Box<dyn Future>> returns for dyn-compatibility (same pattern as ErasedToolExecutor).