How ContextDB works
Follow one deployment claim through three processes. Choose a step under each figure to inspect it, pause the animation, or change its speed. On a narrow screen, use each figure's Full screen control to see more detail. The figures describe capabilities in the current code; planned retrieval and memory work is separate.
1. A claim enters
An application writes “Deploys use canary rollout” with a source. ContextDB can embed its content, resolves the source's credibility, and checks nearby claims. The admission gate can reject a weak or duplicate claim. An admitted claim is checked for contradictions and written to the graph, vector index, and event log.
With opt-in fingerprint deduplication, a repeat from the same source touches the existing node. A different source adds versioned corroborating evidence to that node without another embedding. Write path details
2. A question finds evidence
“How do we deploy?” can draw candidates from vector search, a graph walk when seed IDs are provided, and recent session context. ContextDB merges candidates and scores them for similarity, confidence, recency, and utility. Default scoring exposes a weighted score breakdown. An optional reranker can alter the final order and returns its own scoring explanation.
Exact-term search, reciprocal rank fusion, natural-language time parsing, and token-budgeted results are roadmap items, not parts of this current flow. Read path details
3. A disagreement becomes a decision
Suppose another source says “Deploys use blue-green.” A confirmed contradiction creates an edge between claims and can produce a review task. If a caller submits feedback, ContextDB records a durable event that can affect source credibility. The review queue derives tasks from contradictions and other evidence signals so an operator can inspect sources and record a decision.
Review workflow decisions are recorded for later inspection. The current consolidation worker can create semantic summaries with links to source episodes; automatically refreshed, versioned derived summaries are planned. Review worker details