Skip to content

titen-memory 0.7.0

Choose a tag to compare

@RamaAditya49 RamaAditya49 released this 07 Aug 05:31
· 77 commits to main since this release
43334dc

Stable release · npm latest

npm install -g titen-memory@0.7.0

Install guide · Release page · npm package


Changed

  • Breaking: source.ref is now required on every observation write. A
    caller that omitted it received 201; it now receives 400 VALIDATION_ERROR. The MCP tool spec already stated the obligation, so MCP
    callers are unaffected; direct HTTP callers must add a pointer back to where
    the content came from. Migration: add "ref" to the source object on
    POST /v1/observations — any stable identifier for the origin (a commit sha,
    a ticket id, a URL, a tool invocation id). There is no compatibility flag: an
    entry that cannot be traced to an origin cannot be told apart from junk, which
    is the whole point of the audit work below. Part of #280.

Added

  • Zero-config local mode. npx titen-memory mcp with no environment opens
    or creates ~/.titen/memory.db, provisions an organization, workspace,
    project and owner as real rows, and serves MCP over stdio in-process — no HTTP
    hop, no key to paste, no outbound call, FTS-only. The served mode and its auth
    path are unchanged; this is an additional entry point, not a relaxation.
    Closes #278.
  • Drop-in compatibility with @modelcontextprotocol/server-memory. The nine
    reference-server tool names are served alongside the native ones, search_nodes
    is routed through Titen retrieval rather than a substring scan, and an existing
    memory.json is imported on first run. The switching cost is one line of MCP
    config. Closes #279.
  • recalled provenance is server-issued. POST /v1/context/compile returns
    a signed context token; an observation written while carrying it is stamped
    source.type: "recalled" by the server, and a caller that merely declares
    recalled is refused. Stateless HMAC, so no new table and no migration.
    Known ceiling, stated in the code: the stamp proves the write was made while
    holding a Titen-issued pack, not that its content came from that pack, so it
    is a sound lower bound on the recall loop and never an upper one. Closes #280.
  • titen audit. Reports exact-duplicate, near-duplicate, recall-loop,
    secret-pattern and stale rates over a memory.json, a Mem0 export, or a Titen
    store. No network, no LLM, no upload, no composite score, no leaderboard. Its
    first published run is against Titen's own store and opens by naming two
    defects in this product. Closes #281.
  • Concurrent-writer durability suite on both runtimes, with the invariants
    published before the run and each re-run with its primitive removed to prove
    the suite can fail. Closes #282.

Evidence