Skip to main content

Module context

Module context 

Source
Expand description

InvestigationContext — the runtime object that flows through every super::Skill in an agent step.

Skills mutate the context by appending Evidence and adjusting confidence; they do not own it. The owning super::Agent threads a single context through its skill chain for one investigation.

Structs§

Evidence
A single piece of evidence accumulated during an investigation.
InvestigationContext
Runtime state for one investigation. Cheap to construct; passed by &mut reference through the skill chain.
Signal
A named, lightweight signal lifted from a sketch, baseline check, or upstream skill. Skills key their applies predicate on signal names.

Enums§

NextAction
Hint a skill may emit to drive subsequent skill selection. The agent loop is free to honour or ignore these — they are advisory.