pub struct BaselineCompareSkill;Expand description
general.baseline_compare — suppresses confidence when behaviour falls
inside the entity’s known baseline. Conservative by design: if no
baseline.available signal is present the skill is a no-op.
Trait Implementations§
Source§impl Default for BaselineCompareSkill
impl Default for BaselineCompareSkill
Source§fn default() -> BaselineCompareSkill
fn default() -> BaselineCompareSkill
Returns the “default value” for a type. Read more
Source§impl Skill for BaselineCompareSkill
impl Skill for BaselineCompareSkill
fn id(&self) -> &str
fn description(&self) -> &str
Source§fn applies(&self, ctx: &InvestigationContext) -> bool
fn applies(&self, ctx: &InvestigationContext) -> bool
Whether this skill is willing to run given the current context.
Default: always applicable. Specialist skills typically gate on
signal presence or evidence already collected.
Source§fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 mut InvestigationContext,
_tools: &'life2 ToolRegistry,
) -> Pin<Box<dyn Future<Output = Result<SkillOutcome, KernelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 mut InvestigationContext,
_tools: &'life2 ToolRegistry,
) -> Pin<Box<dyn Future<Output = Result<SkillOutcome, KernelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Execute the skill. Implementations may inspect and mutate
ctx
directly (appending evidence/signals) and/or return non-evidence
adjustments via SkillOutcome.Auto Trait Implementations§
impl Freeze for BaselineCompareSkill
impl RefUnwindSafe for BaselineCompareSkill
impl Send for BaselineCompareSkill
impl Sync for BaselineCompareSkill
impl Unpin for BaselineCompareSkill
impl UnsafeUnpin for BaselineCompareSkill
impl UnwindSafe for BaselineCompareSkill
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more