pub trait ReviewScenario: Send + Sync {
// Required method
fn scenario_id(&self) -> &str;
// Provided methods
fn triggers(&self) -> ReviewTriggerPolicy { ... }
fn injects_into_main(&self) -> bool { ... }
}Expand description
Host-supplied review scenario. Rubrics live here — not in Core.
Required Methods§
fn scenario_id(&self) -> &str
Provided Methods§
fn triggers(&self) -> ReviewTriggerPolicy
Sourcefn injects_into_main(&self) -> bool
fn injects_into_main(&self) -> bool
Whether pending findings from this scenario inject into the main prompt.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".