AI agents accumulate beliefs over time. mempill is the append-only, bi-temporal,
provenance-aware claim store that surfaces conflict rather than silently resolving it.
Temporally-correct memory — from the start.
A stored belief can be well-sourced and internally consistent yet factually wrong — because
the underlying truth changed after the claim was recorded, and the agent has no mechanism to
detect or signal that staleness. This is the temporal validity problem.
When contradicting claims arrive and no oracle is present to adjudicate, mempill surfaces
Contested rather than picking a winner. Every outcome is observable through the
12-state disposition model — there are no silent overwrites.
Oracle resolution loop
Stochastic proposals (model output, external lookups) never commit without passing a
deterministic adjudication gate (C7). The oracle port is pluggable — supply your own
resolver, or use the built-in human-in-the-loop pattern.
Valid-time succession
mempill maintains two time axes: transaction-time (engine-stamped, reliable) and
valid-time (caller-supplied, fallible, confidence-tagged). Belief is recomputed at read
time from the full claim history — nothing is overwritten, ever.
Provenance firewall
Every claim carries one of three typed provenance channels: External, RecallReEntry,
or ModelDerived. The type system enforces exhaustiveness and prevents belief-amplification
loops where the engine reads its own output and re-ingests it as fresh evidence.
Dates are lenient — "2026", "2026-06", "2026-06-01", and RFC 3339 all work.
Partial dates snap to the start of the period ("2026-06" → 2026-06-01); the filled day is a normalization placeholder, not asserted precision — granularity-aware valid-time is planned for v0.3.
When two facts genuinely conflict (no time windows to differentiate them), recall returns
is_contested() = true with both values in candidates — it never picks a silent winner.
Need full provenance control? The full claim API (IngestClaimRequest,
ProvenanceLabel, Cardinality, Confidence) is always available.