Skip to content

Bi-temporal knowledge memory + reproducible benchmark #994

Open

Description

@AmitoVrito

Add valid-time + ingestion-time to the property-graph KG (Graphiti-parity: 'what was true on date X' / 'where did this come from'); supersede facts instead of deleting; publish an independent, reproducible LongMemEval + LoCoMo run wired into the <name>-gate CI pattern. (Vendor LoCoMo scores are disputed — a reproducible number is a credibility wedge.)

Acceptance: bi-temporal edges + point-in-time query; invalidation not deletion; CI benchmark gate with published numbers; regression test on a temporal-reasoning fixture.


Part of #948 · v3.0 Verifiable Agent Runtime

Activity

  1. added
    v3
    on Aug 29, 2026
  2. chengyixu commented on Sep 2, 2026

    @chengyixu

    Living Memory then Proactive Execution — I would make the benchmark gate test a precise bi-temporal retrieval contract rather than only publish an aggregate LongMemEval/LoCoMo score. The two temporal coordinates answer different questions and should never be inferred from a single timestamp:

    • valid_as_of: what was asserted to be true in the represented world at time t?
    • recorded_as_of: what did this system actually know by time t, including late ingestion and later corrections?

    For each fact revision, keep immutable recorded_at, an explicit valid interval [valid_from, valid_until), source/provenance, and a stable revision/event sequence for tie-breaking. Supersession and invalidation should append a new revision/event rather than delete the predecessor. A point-in-time query then selects only revisions whose valid interval contains valid_as_of and whose record event was available by recorded_as_of; a later correction must not leak into a historical “what did we know then?” read. Equal timestamps need a deterministic monotonic sequence or stable source-order rule so replay is not accidental.

    A compact, pinned fixture can make that observable in CI: initial fact; supersession without deletion; backdated fact arriving late; invalidation; contradictory provenance; same-timestamp events; and a fact recorded in the future relative to the query. Each case should have expected IDs/revisions, not just an answer string.

    I would report fact-level temporal precision/recall plus: future-knowledge leakage, supersession error rate, provenance accuracy, invalidation handling, and deterministic replay. Publish an evaluation manifest with fixture checksum, dataset/config/index commits, backend and model identifiers, seed, metric-code hash, and per-category counts. The small fixture can be a fast hermetic <name>-gate; full LongMemEval/LoCoMo runs can be separate versioned artifacts so a changing provider model does not turn normal CI into an unverifiable number.

    For Klik’s pre-launch design context, this is the truthful Living Memory then Proactive Execution boundary: temporally attributable retained context can support a proposed next step, but a correct retrieval result is not permission for an external or judgment-dependent action. Current scoped authorization still has to be checked. Design context: https://pre.hiklik.ai/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    v3

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions