Skip to main content

Module grounding

Module grounding 

Source
Expand description

Grounding trait for evidence verification (V2 Pattern).

v0.2.0 — Rewritten to match how all sisters ACTUALLY implement grounding.

The real pattern across Memory, Vision, Identity, and Codebase is:

  1. ground(claim) → Search-based claim verification (BM25, word-overlap, etc.)
  2. evidence(query) → Get detailed evidence for a query
  3. suggest(query) → Fuzzy fallback when exact match fails

Key differences from v0.1.0:

  • No evidence_id parameter — all sisters SEARCH for evidence
  • ground() takes a claim string, not a GroundingRequest with evidence_id
  • Three-status result: verified / partial / ungrounded
  • Optional per sister (Time has no grounding)

Structs§

EvidenceDetail
Detailed evidence item returned by the evidence() method.
GroundingEvidence
A piece of evidence returned by grounding.
GroundingResult
Result of a grounding check.
GroundingSuggestion
A suggestion returned when a claim doesn’t match exactly

Enums§

EvidenceType
Type of evidence (kept for categorization, but no longer used as the primary lookup mechanism).
GroundingStatus
Status of a grounding check

Traits§

Grounding
Grounding capability — sisters that verify claims implement this.