Skip to content
context Artifact [5f7f281327]
Login

Artifact [5f7f281327]

Artifact 5f7f281327e1e4eead58f1556b1df39fbb4c21853fe86b1348beb181a0e043dd:


TraceDecay: temporal store study

Paths relative to the clone td.Xnn88w/r. STS = crates/tracedecay-session-temporal-store/src.

Headline

The temporal store has no decay. The only decay in the repo is a ranking multiplier in a different crate (the memory fact store). The "freshness" claim in the README is a daemon/generation mechanism, not a quote-pinning one.

Data model: valid time and recorded time

Supersession

What decays

Invalidation and propagation

Freshness and provenance

Evals

Worth borrowing

  1. Two timestamps on every claim: when it was recorded and when it was true. Strict as-of rule: both must be at or before the cutoff, and unknown valid time is excluded rather than assumed.
  2. Append-only claims plus a derived supersession relation. "Current" is a pure query, and history is never deleted. For the wiki, that is "latest pinned check-in wins".
  3. A deterministic total order for tie-breaks: valid time, recorded time, id.
  4. Stale-with-reason propagation. When a source check-in changes, mark dependents stale with a reason code and keep them. This matches pinned-source claims directly.
  5. A cheap health lint for contradictory state, such as stale without a cause.
  6. Typed freshness states reported on every answer, with lag as an integer.

Over-built or oversold