Shared memory and context tools for agentic work.
Code Rooms
---
Protocol: L1GHT/1.0
Node: L1GHT_EVIDENCE_BRIDGE
State: shipped
Color: green
Glyph: bridge
Completeness: implemented
Proof: m1nd-mcp/src/tools.rs
Depends on:
- M1ND_L1GHT_DOCUMENT_LANE
- M1ND_RECOVERY_OS
Next:
- L1GHT_SYMBOL_LEVEL_EVIDENCE
- L1GHT_AUTHORING_LOOP
# L1GHT Evidence Bridge
This document is itself L1GHT corpus: it is the durable, machine-legible record
of the work that turned the `π»` epistemic markers from advertised-but-ignored
into structured graph edges that anchor agent-authored knowledge to live code.
Ingest it with `adapter: "light"` after a `code` ingest of this repo, then run
`cross_verify` with `check: "evidence_freshness"` β every claim below whose
cited code changes will flag itself as stale.
## Epistemic Marker Parsing
The [β entity: EpistemicMarkerParser] turns `[π» confidence:]`, `[π» ambiguity:]`,
and `[π» evidence:]` into typed edges that qualify the preceding claim, not the
section. Confidence becomes the edge weight, so uncertain knowledge spreads less
activation through `seek` / `activate` / `impact`.
[β state: shipped]
[π» confidence: certain]
[π» evidence: m1nd-ingest/src/l1ght_adapter.rs]
[β tests: m1nd-ingest/src/lib.rs]
## Confidence Word Forms
The [β entity: ConfidenceParser] accepts both numeric (`0.6`) and word forms
(`low`/`medium`/`high`/`certain`) because real authored corpus uses words. This
is why `[π» confidence: certain]` above resolves to a 0.95-weight edge instead of
silently defaulting to neutral.
[π» confidence: high]
## Evidence Resolution To Code
The [β entity: EvidenceResolver] runs after a light ingest is merged with the
code graph and links each evidence marker to the real `file::<path>` code node
via a `grounded_in` edge. It is the join that makes authored memory verifiable
against code truth instead of pointing at a dead leaf node.
[π» evidence: m1nd-mcp/src/tools.rs]
[β depends_on: EpistemicMarkerParser]
## Staleness Detection
The [β entity: EvidenceFreshnessCheck] is a `cross_verify` check that re-hashes
every `grounded_in` target against the hash recorded at ingest and reports any
claim whose cited code drifted, with attribution: which marker, which claim,
which file, and why. This is the payoff β memory that knows when it is stale.
[π» evidence: m1nd-mcp/src/audit_handlers.rs]
[β depends_on: EvidenceResolver]
[AMBER warning: file-level granularity only; symbol-level evidence is Next]
## Known Boundary
Evidence currently resolves at file granularity. A marker like
`[π» evidence: m1nd-mcp/src/tools.rs:719]` resolves to the file node, not the
function at line 719. Symbol-level pinning is the next slice.
[β event: SymbolLevelEvidenceDeferred]
[π» ambiguity: best id scheme for line-to-symbol resolution undecided]