Skip to content

v0.17.0 — thread-aware retrieval, reachable event time, convergent replication

Choose a tag to compare

@spranab spranab released this 25 Aug 21:44
· 7 commits to main since this release

v0.17.0 — thread-aware retrieval, reachable event time, convergent replication

32 commits since v0.16.0 (385de3074066e1). Schema v47 → v50 (lazy migration; verified on a live 5,968-row v46 store).

Retrieval: retrieve wide, then compress

  • recall_thread — coverage-first entity-thread retrieval (#188)
  • recall_thread_v2 + persisted source_turn (schema v50) — every record carries its canonical source turn; record_queued computes it through the same extractor as record (#195)
  • resolve_thread_topics — adaptive topic budget for thread recall, floor 12 / cap 16 (#197)
  • select_thread_evidence — relevance-ranked selection under a budget with chronological presentation and recomputable selection diagnostics; typed ThreadSelectionPolicyInfeasible instead of silent truncation (#199)

Event time becomes reachable

  • v48 columns + census: event_time_min / event_time_max persisted and countable (#149 phase 1, #170)
  • recall gains a valid-time filter — filter-first, per contract (#149 phase 2, #173)

Facets (opt-in lane on the synthesis substrate)

  • Standing-instruction facets — opt-in; measured +0.875 on the standing-instruction category in the AMB harness, no default behavior change (#169)
  • Facets expose first mention turn (#187)

Correctness fixes users should have

  • Replication: relate LWW now compares HLC, not wall-clock created_at (#148, #168)
  • Replication: relation LWW projections stay convergent across peers (#171)
  • Hawkes: order preserved for late-arriving events (#153)
  • Migrations: the statement splitter must not cut trigger bodies (#146, #160)
  • Organizer: conservative count sets route to items (#158)
  • Paired bootstrap seed separated (#180)

Engine internals

  • Persisted Unicode-normalized entity key (schema v49) — perf (#190)
  • Manual SAVEPOINT sites migrated to SavepointGuard (#154)

Benchmarks & docs (no runtime effect)

Compatibility

  • Additive schema (v47→v50), lazy migration on first use; no API removals.
  • yantrikdb-hermes-plugin pins <0.16.0; admitting 0.17.0 there is a separate, gated plugin release.