pub struct InvestigationContext {
pub entity_id: String,
pub block_id: Option<Uuid>,
pub partition: String,
pub signals: Vec<Signal>,
pub evidence: Vec<Evidence>,
pub confidence: f32,
pub pending_actions: Vec<NextAction>,
}Expand description
Runtime state for one investigation. Cheap to construct; passed by
&mut reference through the skill chain.
Fields§
§entity_id: StringStable identifier for the entity under investigation. May be a block id stringified, an actor id from the grammar layer (Phase 2), or any caller-defined key.
block_id: Option<Uuid>Optional originating block — present when the investigation was triggered by an upstream pipeline. Stored as an opaque UUID so the kernel does not depend on any specific block-id newtype.
partition: StringFree-form partition tag (caller-defined).
signals: Vec<Signal>Signals that triggered this investigation and any signals lifted by earlier skills. Skills add to this set as evidence accumulates.
evidence: Vec<Evidence>Accumulated evidence in chronological order.
confidence: f32Running confidence in [0, 1] that the entity exhibits malicious
behaviour. Skills emit deltas; the agent clamps after each step.
pending_actions: Vec<NextAction>Hints from the most recently executed skill.
Implementations§
Trait Implementations§
Source§impl Clone for InvestigationContext
impl Clone for InvestigationContext
Source§fn clone(&self) -> InvestigationContext
fn clone(&self) -> InvestigationContext
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more