v1.6 release notes
Status: unreleased. Previous: v1.5.0 (2026-10-12).
v1.6.0 is the recall-quality release. It is one release carrying
what was planned as three (the 1.5.2 fixes, searchable events and the
auto-context rework, then relations, provenance and mneme eval).
It came out of measuring mneme against a real store: 51
questions with known answers, replayed against six weeks of an agent's
memory. Three findings set the scope. Ten of the 51 answers were not in
any memory at all, only in recorded events that recall could not
search. The automatic context gave events 77% of its budget and showed
the same fifteen of them whatever the message was, leaving room for two
memories. And events older than 28 days had dropped out of every read
path. A fourth: a stale fact outranked its correction in 2 of 7 known
pairs, because the only way to link them hid the old one entirely and so
went unused. So this release makes events searchable, reworks how
auto-context spends its budget, adds typed relations between
memories, fixes the read paths, and ships the evaluation harness
that found all of this.
This is a minor bump per Versioning: new tool
arguments and config keys, and several defaults that changed (listed
first, below). The on-disk format gains side tables but schema_version
stays 1 and no migration runs. A 1.5 binary can still open a 1.6 store;
it ignores what it does not know. The full list is in the
changelog.
Linux and macOS only. Windows support is dropped; see Platforms.
Behaviour changes — check these before upgrading
- Auto-context spends its budget differently. Memories are
guaranteed a share, events are capped at one, and events are ranked
against the message. A
mneme://contextread returns different rows than it did in 1.5, and a read with no?q=uses less of the budget. See Auto-context. - A scoped context read returns global pins too.
?scope=projectused to drop every rule pinned underglobal. Set[auto_context] pin_scopes = []for the old behaviour. - Pinned items are never trimmed, even when they alone exceed
auto_context_token_budget. - Events of kind
archived, and events withretrieval_weight≤ 0.3, are left out of auto-context.?kinds=archivedbrings the first group back. - Decisions, lessons, milestones and summaries are no longer moved to
the cold archive. They stay in the warm tier, where search reaches
them (
[consolidation] cold_exempt_kinds;[]restores archiving). The redb file grows with them. - Working memory (L1) is per connection on the daemon and over HTTP. It was one shared session.
- Read-only tool calls no longer add an L1 turn, so
turns_totalgrows more slowly ([working] record_tool_turns). exportincludes warm-tier events. Dumps get larger; that is the events 1.5 was leaving out.recallhits on returned events refresh theirlast_accessed(at most daily), which delays their move to the warm tier. Turn it off with[episodic] touch_on_recall = false.rememberwithpinned: trueis rejected with a pointer topin. It was silently ignored.
Searching events
Events are not embedded, so recall used to search memories only. A
decision written with record_event and never copied into a memory
could be listed by time and not found by what it said.
recallwithlayers: ["semantic", "episodic"]also runs a keyword search over events whose kind is in[episodic] index_kinds(decision,milestone,lesson,summary,resolution,problem,pivot,observation,archivedby default; nottool_call). Rows from both layers carrylayerandrankand come back in one list ordered byrank. An event containing every query word ranks like a memory at similarity 0.65. The default is still["semantic"], with the same rows in the same order as 1.5.recalltakessince/until(RFC3339 or ULID) andtime_field(created_atorupdated_at).scopetakes several scopes separated by commas.- Warm and cold reads.
recall_recentreads the warm tier whenever the window reaches it, andinclude_cold: trueadds the cold archive (only the quarters the window overlaps).exporttakesinclude_coldtoo, as doesmneme export --include-cold. Rows carrytier. - The index is in memory, built on first use from the hot and warm tiers. Nothing new is written to disk for it.
Details: MCP surface → Searching events.
Auto-context, reworked
- Budget by layer. Pins are never trimmed. Memories are reserved
semantic_min_share(30%) of the budget orsemantic_min_items(5) rows, whichever is smaller, with no ceiling. Events take at mostepisodic_max_share(35%), working turns at most 5%. - Events are chosen for the message. With
?q=, candidates are the recent window plus the event index's matches for the query, so an on-topic event from two months ago can be offered. Exact and near-duplicates are dropped, at most six events of one kind are kept, and long payloads are clipped to 400 characters with"truncated": true. - Freshness of a memory is measured from its last edit, with a 90-day half-life and a floor, instead of 14 days from creation. A current-state memory that is edited in place no longer fades.
?scope=a,breads a set of scopes.- The reply reports
layer_tokens, and rows carryrank.
All of it is tunable under [auto_context].
Memories: updated_at and archiving
updated_at.updaterecords when a memory's content last changed.recall,exportand auto-context carry it.update(id, status: "archived")takes a memory out ofrecalland auto-context without deleting it;status: "active"restores it.recall(include_archived: true)andexportstill show it.recallrows carryrank(similarity plus keyword evidence), on one scale in every mode.exportemitssuperseded_by, so a dump can tell a current fact from a replaced one.
Relations, provenance and mneme eval
Relations between memories
supersedes was the only way to say that one memory replaces another,
and it hides the old one from recall and context. That is right for a
full replacement and wrong for a partial correction, where hiding the
old memory loses the facts that still hold.
rememberandupdatetakerelations: a list of{type, id | ref, reason}. Types aresupersedes,refines,contradictsandevidence_for.reasonis free text, up to 300 characters.idis another memory; forevidence_forit may also be an event.refis an external reference string,evidence_foronly, up to 128 bytes (e.g.research:<slug>,path:/…); mneme stores and matches it exactly and never interprets it. Bad input is rejected before anything is written. An update adds relations; the way to remove one is to forget the memory that carries it.- Demote, don't hide. A memory that another memory
refinesorcontradictsstays inrecallbut ranks lower, withdemoted: true: its keyword evidence is ignored and its rank drops by[recall] demote_margin(0.10), in every mode. This holds while the newer memory is stored, current (not archived, not superseded) and the more recently edited of the two. Auto-context leaves a demoted memory out unless[auto_context] include_demoted = true.supersedeskeeps its hide-the-old-one meaning, andsupersedes: "<id>"still works as shorthand. - Rows carry
relations(superseded_by,refined_by,contradicted_by,refines,contradicts,supersedes,evidence), omitted when empty.recall(expand: 1)addslinked: the id and first 120 characters of each linked memory or event.recall(ref: "research:…")returns the memories that cite that reference;queryis optional with it. - When
rememberreports a closely related existing memory, the reply now shows therelationsentry that would mark the new memory as refining it. The server still decides nothing by itself. - If the memory a relation comes from is forgotten or archived, the target's rank returns. Forgetting a memory removes its relations.
- Ties go to the latest edit. Two memories of equal rank are
ordered newest
updated_atfirst in every mode. A fact and its corrected version often tie, and in keyword mode the tie used to go to the older one. record_event(promote: {type, tags})also stores the event's text as a memory with anevidence_forlink back to the event, in one call. Nothing is promoted unless asked.- Relations are in
exportand survive backup and restore.
Provenance
rememberandupdatetakeprovenance(user_stated,observed,inferred,imported) andsource(a free string such astelegram:…ortool:…, up to 200 characters; it needsprovenance). Rows andexportcarry both,recallcan filter onprovenance(a memory stored without one never matches), andstatscounts memories by it undermemories.by_provenance.- It has no effect on ranking. It is there so that a hygiene pass can ask for, say, inferred facts older than 30 days that nobody confirmed.
mneme eval
mneme evalreplays a question file against a store and reports retrieval quality: hit@1 / hit@5 and MRR forrecallacross modes, scopes and layers, how often a stale fact outranks its correction, and how much of the known-good material auto-context includes. Questions are JSON lines:{id, question, type, scope, gold, gold_l3, stale}. It starts a private server on the data directory (or uses the running daemon with--daemon) and speaks MCP to it, so the numbers describe what an agent gets. It writesmetrics-<tag>.jsonandsummary-<tag>.md, and it checks that it wrote nothing to the store.--min-*/--max-*thresholds turn it into a gate; see CLI.- A synthetic corpus ships with it
(
cargo run --example seed_storage -- corpus), so the numbers can be reproduced without anyone's private data. A nightly CI job seeds it and gates onmneme evalin keyword mode. - The numbers that motivated this release, on the store it was measured
against, with the targets it was built to: recall hit@5 over all 51
questions 0.80 → ≥ 0.90; known-good memories present in auto-context
2/17 → ≥ 7/17; stale-over-current 2/7 → 0/7; global pins kept on a
scoped read 0–1/6 → 6/6. Those targets are for the private 51-question
set and a real embedding model; they have not been re-measured for this
release. On the shipped synthetic corpus (46 questions, stub embedder,
keyword mode, both layers) the release measures: all hit@5 46/46, L4
hit@5 34/34, context gold 41/46, stale-over-current 0/10 in recall and
in context, and global pins kept on every scoped read. Ranking events
against memories in hybrid mode with a real model is not yet tuned;
run
mneme evalon your own questions before relying onlayers: ["semantic","episodic"]in hybrid mode.
Fixes
kindis accepted onremember,updateandrecall, withtypekept as an alias. Replies always called the fieldkind, so agents passed it back and the call failed; in the store that prompted this, 9 of 116remembercalls.forgetno longer leaves the text behind.remember,pinandupdatemirror their content intotool_callevents, andforgetdeleted only the memory. It now redacts those events (hot and warm tiers) and reports how many. Cold bundles are not rewritten.- Warm-tier events are readable. No read path looked at events older
than
hot_to_warm_days(28): a seven-weekrecall_recentwindow returned 7 rows with 344 present, andexportwas not a complete backup. forgetremoves an event from both tiers when a crash left it in two.- L1 isolation and turn counting, as listed under behaviour changes. One client's turns used to appear in every other client's context, and a read-only run added 665 turns.
forget's schema declares onlyid.queryandscopewere advertised and always rejected.
New configuration
| Section | Keys |
|---|---|
[auto_context] | semantic_min_share, semantic_min_items, episodic_max_share, working_max_share, pin_scopes, episodic_query_mix, max_events_per_kind, event_clip_chars, min_event_weight, semantic_half_life_days, semantic_recency_floor |
[episodic] | index_kinds, touch_on_recall, log_tool_call_values (full / ids / off: how much of a call's arguments a tool_call event keeps) |
[consolidation] | cold_exempt_kinds |
[working] | record_tool_turns (writes / all / off) |
[auto_context] (relations) | include_demoted (false): keep memories that a newer one refines or contradicts in the context block |
[recall] | demote_margin (0.10): how much rank a refined or contradicted memory loses. stemming — accepted, not implemented yet; keyword search still matches whole tokens. |
mneme init writes these into a new config.toml with comments. An
existing config needs no change: every key has a default. See
Configuration.
Hermes Agent
- The hook shows what the server selects. Its own filtering (skip lists, weight floor, 200-character clip) is gone; the server does it before spending the budget. Use a 1.6 server with the 1.6 hook.
- One scope per conversation.
mneme init hermes --scope-map <file>gives the hook a JSON map from thread ids to scopes. It then readsmneme://context?q=…&scope=<thread scope>,globalinstead of everything. See Setting up with Hermes Agent. - The
mnemeskill is 1.2.0. It tells the agent to uselayers: ["semantic", "episodic"]for "what did we conclude about X",since/untilfor time questions, andstatus: "archived"to retire a fact.
Platforms
Windows support is dropped. mneme supports Linux and macOS. There
is no Windows binary, CI does not build or test on Windows, the
Windows-specific code is removed, and a non-Unix build stops with a
compile error. On a Windows machine, run mneme inside WSL2, or reach a
mneme serve running elsewhere over HTTP.
Security
Dependencies were refreshed for the RustSec advisories reported against
the 1.5.0 lockfile: zstd, rustls, rustls-webpki, webpki-roots,
quinn-proto and quinn-udp by lockfile update, and zip through
candle-core 0.10 → 0.11. cargo deny check is clean. With
log_tool_call_values = "ids" the timeline keeps a hash and a length
instead of the content of every write.
For contributors
mneme eval(above) is the quality check for retrieval changes.- The perf gate is a same-runner A/B.
perf.ymlbuilds the base commit and the change, runs them in three interleaved rounds and compares each side's best median at 15%. The frozen baseline files are informational. Locally:benches/baselines/ab_gate.sh main. - Structural quality checks run on every PR against a synthetic
corpus (
tests/quality_structural.rs): whatrecalland auto-context must and must not return. - Importable GitHub rulesets for
main, release tags and dev branches are in the repository.
Upgrading
- Binary:
brew upgrade mnemeorcargo install mneme-mcp. Restart running servers. No migration runs. - Take a
mneme backupfirst if you want a way back: a 1.5 binary opens a 1.6 store (schema_versionis still 1; everything new is in side tables it ignores), but it does not know archived memories,updated_at, relations or provenance, so it would show an archived or refined memory as an ordinary one. - Hermes installs: re-run
mneme init hermes --upgradewith the same--hermes-home/--urlas the first install (and--scope-mapif you want scoped reads). The hook and skill are copies; upgrading the binary does not update them. Upgrade the server before the hook. - If you relied on events reaching the cold archive to keep redb small,
set
[consolidation] cold_exempt_kinds = [].