Skip to content

Releases

SuperLocalMemory v4.2.35

Choose a tag to compare

@github-actions github-actions released this 01 Dec 08:12
Immutable release. Only release title and notes can be modified.
v4.2.35
865a6df

Nothing changes in memory.db, and existing llmcache.db entries remain readable with zero migration needed.

Added

  • Zero-degradation L2 Cache Engine (slm_cache_set, slm_cache_get, slm_optimize_stats):
    • File-backed KV entries (source_path or file:<abs_path> keys) now store an (mtime_ns, size) freshness envelope and register a file:<realpath> invalidation tag automatically. On read, any file modified or removed on disk is auto-evicted immediately and returned as a clean miss (stale_evicted: true) so stale code is never served.
    • Scoped semantic L2 fallback for non-code keys (search:, url:, query:, doc:) at cosine similarity >= 0.92 when semantic caching is enabled or semantic_fallback=True. Strictly disabled for file:, code:, diff:, patch:, ast:, and symbol: keys.
    • Durable KV telemetry (cache_kv_semantic_hits, cache_kv_stale_evictions, tokens_saved_kv, and active keepalive status) persisted in llmcache.db and exposed in slm_optimize_stats and slm cache status.
  • Automatic Edit-Time Cache Invalidation & Pre-Web L2 Cache Check:
    • post_tool_outcome hook now invalidates matching file:<realpath> entries in <1ms whenever any IDE runs Edit, Write, MultiEdit, NotebookEdit, edit_file, write_file, write_to_file, replace_file_content, or multi_replace_file_content (fail-open; no-op when llmcache.db is absent).
    • before_web hook now checks llmcache.db for fresh url: / search: hits alongside recalled memories before issuing a web search or fetch.
  • Configurable 3h / 6h / 9h Cache Keep-Alive (slm cache keepalive 3h|6h|9h|off|status):
    • Extends active L2 entry TTLs across an unbroken 3-hour, 6-hour, or 9-hour work window at zero API cost, auto-expiring cleanly at window end.
    • Optional --upstream-ping flag for proxy-routed Anthropic sessions (slm proxy): tracks active cacheable prefixes in RAM only (never written to disk) and sends minimal 1-token refresh pings before 5m L1 prompt-cache expiry while inside the chosen window, pausing immediately on any upstream error.
  • New /slm-cache Command & Updated slm-cache Skill / slm-optimize-advisor Agent: rebuilt across all 8 editor plugin packages (Claude Code, Codex, Antigravity, Cursor, Copilot, VS Code, Hermes, Muse).

Fixed

  • Antigravity Plugin Full Parity (antigravity-plugin/):
    • Persists session markers under $SLM_DATA_DIR/.agy_session_markers (default ~/.superlocalmemory/.agy_session_markers) with invocationNum > 1 and transcriptPath guards, and no longer deletes markers on Stop (which Antigravity fires after every turn).
    • Emits Antigravity 2.x {"injectSteps": [{"systemMessage": {"systemMessage": ...}}]} instead of legacy ephemeralMessage.
    • Forwards session_id (conversationId), cwd, and normalized Antigravity 2.x + legacy tool names (read_file→Read, write_file→Write, edit_file→Edit, run_command→Bash, search_web→WebSearch, invoke_subagent→Task) to post_tool_outcome, checkpoint, cue, before_web, and stop_outcome (fixing silent "no_session" drops).
    • Returns before_web, cue, and turn-2+ auto_recall context back to Antigravity instead of discarding hook stdout.
    • Expands root hooks.json matchers to cover both Antigravity 2.x and legacy tool names.

SuperLocalMemory v4.2.34

Choose a tag to compare

@github-actions github-actions released this 21 Nov 12:39
Immutable release. Only release title and notes can be modified.
v4.2.34
3d190b0

Nothing changes in the store, and there is nothing to run. After upgrading, slm doctor shows whether your store holds any of the damaged values described below.

Added

  • Every slm command answers in JSON for agents. Add --json after it, put slm --json before it, or set SLM_JSON=1. Each command prints one JSON document (success, data or error with code and message), sends everything else to stderr, and exits 0 for success, 1 for a failure (error.exit_code keeps a more specific code), 2 when it could not run and 130 when interrupted. Under JSON a command never asks a question: it answers confirmation_required or input_required and names the flag. slm help --json lists every command with its options. slm mcp, slm session, slm session-context and the hooks ignore SLM_JSON, so servers and hooks behave the same when a host sets it for everything (#349).
  • SLM's agents and all 17 skills, in every host's plugin (Claude Code, Cursor, Copilot, VS Code, Codex, Antigravity, Hermes and Muse), now say what to do when SLM's MCP tools are not in the tool list: run slm status --json, then call any tool with slm tool <name> --json. The four agents can run slm, which the memory advisor could not before, and so can the two bot skills. The shared rules and llms.txt say the same (#350).
  • slm doctor has a read-only row, "Stored JSON values", that counts stored values which are bytes rather than text, per column, and says what happens to each (#351).

Fixed

  • Saves no longer fail with 'utf-8' codec can't decode byte 0x81. A stored list or label that holds bytes which are not text is now read safely everywhere, including recall, the dashboard and exports. A save rebuilds such a value from its source instead of starting empty, keeps the original bytes first, and never makes a hidden memory visible. Saving the same text again no longer fails on a damaged earlier copy. A save already dead-lettered this way completes with slm ops resolve <id> --action retry (#351).
  • The embedding, recall and reranker workers reply on a private channel, so a model library printing to the console can no longer break a reply (#351).
  • slm hooks install --dry-run and remove --dry-run no longer write Claude Code's settings (#349).

Changed

  • A failed slm tool call now reports error as {"code", "message"} instead of a plain string, in every way of calling it. The top-level code is kept where a tool gave one. A script that read error as text needs a small change (#349).
  • A full-suite run started for some shards no longer cancels a running one, and the release reads GitHub's host keys with its token, so a busy anonymous limit cannot fail a publish step (#348).

SuperLocalMemory v4.2.33

Choose a tag to compare

@github-actions github-actions released this 20 Nov 21:32
Immutable release. Only release title and notes can be modified.
v4.2.33
70aeaaf

Nothing changes in the store, and there is nothing to run. This release fixes the four known issues listed for 4.2.32.

Fixed

  • Deleting a memory that a backup already holds now succeeds. Before, the delete removed the memory and recorded it outside the backups, then answered "busy, retry" for as long as the backup existed, so a client that followed the retry advice never saw success. The answer now names the backups that still hold the memory (backup_obligations_pending); restoring one of them removes the memory again. A delete whose record could not be written still asks for a retry, because a restore would then bring the memory back (#342).
  • Auto-start no longer reloads the service while slm serve uninstall is removing it. Auto-start now takes the same lock as slm serve install and uninstall, and never waits for it: while an installer holds it, the daemon starts directly with the service's settings (#337).
  • When one data folder has services installed for two ports, the hand-over and slm doctor now count both. Before, a daemon run by the other port's service looked unowned and was asked to stop, and the two services could keep taking the folder from each other (#338).
  • On Fedora, RHEL, AlmaLinux and other distributions that ship a user-wide systemd drop-in, the service slm serve install writes is recognised again by slm serve status, slm doctor, auto-start and uninstall. A drop-in that only sets timeouts is accepted. One that changes the command, the settings, the user or the files the daemon can reach, or that sits in the unit's own folder, still is not (#339).

Changed

  • Tests no longer inherit a logger level that an earlier test set, and the dashboard load test holds each request to its own idle time on the same machine, so two tests that failed at random on slow CI runners are steady (#343).

SuperLocalMemory v4.2.32

Choose a tag to compare

@github-actions github-actions released this 20 Nov 19:32
Immutable release. Only release title and notes can be modified.

Nothing changes in the store, and there is nothing to run.

Added

  • slm tool reaches every MCP tool from the shell: slm tool list, slm tool describe <name> and slm tool <name> --json '{...}'. Where a client cannot load SLM's MCP server, the pictures-and-documents, mesh, code-graph and learning tools are still available. A new slm-cli skill teaches agents the same route (#336).

Fixed

  • A hook no longer loses its events when the spool lock is busy. It writes the batch beside the lock and the next run picks it up. Under heavy load a stress run that kept 19 of 30 events now keeps all 30 (#340).
  • SLM's four Claude Code sub-agents (memory advisor, loop runner, optimize advisor and governance advisor) now receive SLM's memory tools. They named their tools in a form Claude Code does not resolve, so they ran with file tools only. Each now names every tool in both forms Claude Code uses, for the plugin and for a directly configured server (#330).
  • slm upgrade-hosts and the once-per-version step now keep Claude Code's SLM skills, advisors and /slm-loop current when SLM is set up without the plugin. Before, only the hooks were refreshed, and the report said "already current" while the skills were older. Files SLM wrote and you never changed are refreshed; a file you edited is kept and named; a skill you removed is not put back; anything linked from outside ~/.claude is left alone. Advisors are installed with the tool names a directly configured server needs (#333).
  • slm upgrade-hosts no longer stops with an error when Claude Code uses SLM's plugin (#335).
  • Auto-start now asks the installed service (launchd, systemd or Task Scheduler) to start SLM, so one daemon runs with the service's own settings. A daemon started directly no longer inherits the settings of the app that started it. A daemon started outside the service hands over to the service's daemon when the service starts, and slm doctor reports a daemon the service does not own. On macOS the service's state is now read correctly, which also lets slm serve uninstall unload a running service again. When the service starts nothing, auto-start falls back to a direct start and says which service needs slm serve install (#332).
  • The pictures-and-documents skill, the Codex rules and the guides now say what the code does: the feature is on by default, sets itself up on a computer with 16 GB of memory or more, and is one click below that, never refused (#331).
  • Test fixtures and docstrings use fictional names (#341).

Changed

  • The README links SLM's listing in Awesome AI Agents (#334).
  • Test budgets that a slow CI runner could exhaust were raised (#329).

Known issues

  • Auto-start can reload a service while slm serve uninstall is removing it (#337).
  • Hand-over ignores a second service installed for the same data folder on another port (#338).
  • On Linux distributions that ship a user-wide service drop-in, the installed service is not recognised (#339).
  • Deleting a memory that a backup already holds removes it, but the API answers "busy, retry" until that backup is gone (#342). This predates 4.2.32.

SuperLocalMemory v4.2.31

Choose a tag to compare

@github-actions github-actions released this 19 Nov 20:45
Immutable release. Only release title and notes can be modified.
v4.2.31
1fb6380

A small release of three fixes found on a real Mac the day after 4.2.30. Nothing changes in the store, and there is nothing to run.

Fixed

  • The memory check before a web search no longer times out. Claude Code stops a hook after 5 seconds, and this one could take 6: it waited up to 3 seconds for SLM's fast recall, then ran a second, slower recall with its own 3 seconds. In one day of Claude Code sessions it was 42 of 50 hook timeouts, each shown as a hook failure notice. The whole hook now ends within 4 seconds, and the slower recall runs only when the fast one cannot answer. Measured on a 45,000-memory store, it now takes 1.3 to 2.8 seconds.
  • The same hook no longer replaces "nothing relevant" with weak matches. The fast recall shows only memories the answer check supports, as the per-prompt hook does; when it found nothing relevant, the hook used to run the slower recall and add up to 3,000 characters of loosely related memories to the agent's context. That answer now stands.
  • SLM's hints work when SLM comes from the Claude Code plugin. There its tools are named mcp__plugin_superlocalmemory_superlocalmemory__<tool>, but the session-start hint asked for mcp__superlocalmemory__session_init by exact name, which a plugin-only install does not have, so the agent could not load the tool. The hints now search for superlocalmemory session_init, which finds it under either name, and the optional session gate lets both names through.
  • slm doctor and slm upgrade-hosts print a Codex plugin update that works. codex plugin marketplace add keeps an existing copy of the marketplace, so on its own it installed the old plugin again; the commands now include codex plugin marketplace upgrade qualixar.

SuperLocalMemory v4.2.30

Choose a tag to compare

@github-actions github-actions released this 19 Nov 17:16
Immutable release. Only release title and notes can be modified.
v4.2.30
8c9955a

This release adds a way to measure whether memory helps the agents that use it, a layer that records where each memory came from, disputes between memories that say different things, a judge ladder with audits, a living wiki, importing from other apps, picture and document models that set themselves up, and one kill switch that turns all of it off. Everything new is on by default.

The store moves from schema 68 to schema 85. All seventeen migrations (M069 to M085) only add tables, columns and indexes, plus a few data steps with undo records, and every update that changes the store first takes a verified restore point. The migrations run by themselves the first time the new version starts; there is nothing to run. On a copy of a 45,286-memory store the whole upgrade took about 37 seconds, 35 of them the safety copy, and every memory was still there afterwards. A 4.2.19 or older build refuses to open a store stamped 85, with the message that the installation is too old for the database. To go back, run slm db prepare-downgrade first: it takes a verified copy, stamps the store back to schema 51, and leaves the new tables in place, where an older build ignores them. Memories saved by the older build in the meantime carry none of the new records.

Everything new in this release is on by default, and each part has its own off switch (slm flags set <flag> off, or SLM_FEATURE_<FLAG>=off). The parts that act on your memories only act once they have the evidence they need: until then they watch and report, as each entry below says. Four of them measure. SLM writes a receipt each time it hands memories to an agent (ids, rank, score, never text), compares an agent's reply with the memories it was given to see which were used, leaves out one eligible memory or one retrieval channel in about 1 in 10 session starts, and swaps two neighbouring results in about 1 in 20 of an agent's explicit recalls. All of it stays on your computer. slm measurement off turns off the withholding, the swaps and the usage check, slm measurement off --receipts turns the receipts off too, and the dashboard has the same switch under Settings, "Help SLM measure what works". The notice that says this is printed on the first terminal run after an upgrade and at npm install.

The kill switch is slm flags kill on, or SLM_4230_OFF=1 in the daemon's environment. It stops every 4.2.30 background pass and makes reads ignore slots, source leases, disputes and taint, so SLM reads your store the way it did before this release, without a downgrade. It does not bring back memories that 4.2.30 already retired (slm flags rollback-retirements does that), and it does not change the schema.

Added

  • Per-prompt memory. The UserPromptSubmit hook (slm hook auto_recall, registered in the Claude Code family of plugins, Codex, Antigravity and Muse) asks memory before the agent answers, but only when the prompt needs it. Fixed rules skip acknowledgements, greetings, arithmetic, translation requests and slash commands. Of the rest, a prompt is skipped only below a threshold that is set from your own logged prompts so that at most 10% of the prompts that needed memory are skipped, and until enough prompts have a known outcome the score skips nothing. A memory the conversation already received is never shown again, and a hook that cannot answer within its budget adds nothing. On by default (delivery.need_gate); shadow still injects memories on every prompt the fixed rules let through.
  • Cues. A memory can be saved with cues (remember(cues=[...]), slm remember --cue): a file path pattern, a tool and command text, an error text, a repository name or a date. The memory comes back right before or after the matching step, at most once per conversation and at most five per step. Editing a file that memories were saved from also warns that those memories may be out of date. slm cues list shows them.
  • Every recall result says why it came back: which channels found it, whether the answer check judged it supported, weak or related, whether it is current, disputed or from a source that changed, and how long ago it was saved. A memory enters an agent's context in whole sentences, any cut is marked, and a remembered opinion is labelled as a view someone stated and not as a checked fact.
  • A session start chosen for the project the agent is in: the repository and branch, this project's memories, its recent session summaries that say more than a date, its open disputes and the files that changed. It never pulls in another project's memories. slm session-context takes --project-dir.
  • Memory Health, slm health --memory (also GET /api/outcomes/health, MCP health(memory=true) and a dashboard card). It reports deliveries, how often each memory is used with a range, the measured effect of including a memory or a retrieval channel with fixed and anytime-valid intervals, the state of every judge certificate, whether each learner is still learning, and what the harm gate sees. The harm gate only reports; it never removes a memory from what an agent sees. A claim needs at least 20 sessions in each arm.
  • Learning from use. The ranker now retrains in the background on labels from what agents used, weighted by the logged probability of each delivery, and it can reach live recall only after an offline test on held-out deliveries shows a lower bound above zero. Ranking itself stays off unless SLM_RANKING is set. Co-retrieval links now learn from agents' recalls as well as from the dashboard, the bandit settles each play from whether a memory it surfaced was used, and workflow patterns are mined in shadow. Cross-project transfer is retired on purpose, because it would carry one workspace's preferences into another.
  • Where a memory came from. Every memory records how it arrived and is classed from user_direct down to model_generated. A memory saved before your store took 4.2.30 is legacy and is trusted exactly as it was before, decided by its date; a memory saved later with no origin record is unknown and is still shown, but cannot become an instruction by itself. Its taint is the lowest class among it and everything it was built from. Nothing replaces a memory automatically unless the newer one is at least as trusted, and a mismatch opens a dispute instead. slm why FACT_ID, fetch(why=true) and GET /api/trust/why/{id} explain one memory: its origin, signature, disputes, source state and the last times it was shown to an agent, with the reason.
  • A minimal instruction firewall, on by default. It never hides anything from SLM: every memory, whoever or whatever saved it (an agent, a hook, a bounded loop, an import), reaches recall, session start and cues, as in 4.2.19, so learning is never blocked. The one thing it does: text from a web page, a tool's output, another agent's message, an imported file or a model's rewrite cannot by itself become an instruction (a pin, a standing rule or decision, or a core block) until one explicit, recorded promotion (slm trust promote, core_memory(action="promote"), POST /api/trust/promote/{id} or the dashboard card "Held back from instructions"), which slm trust withdraw takes back. Your own words, an agent's own words and everything saved before the upgrade can be instructions directly, so a rule an agent saves works at once.
  • The secret screen, on by default. Every door that saves text replaces anything shaped like a credential with a typed placeholder such as [REDACTED:GITHUB:ab12] before it is stored. The original is kept nowhere, and a save is refused if the screen cannot run. It matches known key formats and long random-looking tokens, not sentences such as "the password is hunter2"; public material (SSH public keys, public certificates, SRI hashes) is left as it is.
  • Signed memories, on by default. The daemon signs each memory with a key from your operating system's keychain and makes each new audit-chain link an HMAC under the same key. This detects a memory changed by something that has your files but not your login session, such as a synced copy or a disk image; it does not stop a process running as you. There is never a key file. On macOS the keychain may ask once to allow access, for example after Python itself is upgraded; SLM never waits for it: it starts normally and signing begins once the keychain answers. When the computer has no keychain to ask (for example a session without a login keychain), SLM does not ask at all and says signing is unavailable. slm signing status and slm doctor --truth report modified or unsigned memories by id, and slm signing resign signs again after a lost key.
  • Agents decide, and every decision is recorded and can be undone. Any caller (an agent through MCP, CLI or HTTP, a script, or a person on the dashboard) can settle a dispute, release a held memory, give a blind audit label, apply or roll back a set of proposed changes, start an import, change the kill switch and sign again. Each is recorded with who, which channel and when in a decision log (M084), listed on the dashboard under "Recent decisions by your agents" with an Undo button, and undone through POST /api/decisions/{id}/undo. The one exception is slm signing resign, which is recorded but has no undo. The channel comes from the connection, never from a parameter, and a caller on another machine keeps its API-key role. The one thing that stays with the owner is consent to send memory text off the machine (slm consent).
  • Explicit slots and disputes in recall. remember(slot="subject/relation", slot_value="...") states the current value of one thing. The same value later is a restatement, and a different one opens a dispute. A recall result whose slot is disputed carries both sides, newest first, with the other side's text and a stated next action, and list_disputes and settle_dispute (MCP), slm disputes and the dashboard card "Needs your answer" settle it. A stale dispute is...
Read more

SuperLocalMemory v4.2.19

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:45
Immutable release. Only release title and notes can be modified.
2c4a8e3

One new option for moving memories between machines. No data migration: the
store stays at schema 68, so 4.2.18 and 4.2.19 can open each other's stores.

Added

  • slm evidence import <bundle> --merge adds a bundle to a profile that
    already has memories, for example one exported on another machine. Rows the
    profile already has are kept exactly as they are, so merging the same bundle
    twice changes nothing. Without --execute it previews the exact counts and
    writes nothing; with --execute it needs --rollback-dir and writes the
    profile's current state there first. If an id in the bundle belongs to a
    different profile, the merge stops before writing. Entities are not combined
    across machines. Restart the daemon afterwards so it loads the new memories
    and computes their embeddings (#322).

Fixed

  • slm evidence export could write a bundle that slm evidence verify then
    rejected. A memory edited after it was saved (by a correction, a supersede or
    an update) kept a record pointing at its old text, and export trusted it.
    Export now uses that record only when it still matches, searches the source
    otherwise, and reports the link as unresolved when the text is no longer
    there. On a real store of 43,000 memories, 24 such memories made the export
    invalid; it now verifies (#322).
  • slm evidence rebuild wrote keyword-index rows with a different tokenizer
    from the live index, keeping common words such as "the", and wrote a row for
    memories with no words. It now writes exactly the rows a normal save writes.

SuperLocalMemory v4.2.18

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:09
Immutable release. Only release title and notes can be modified.
6532ea3

Fixes reported from a Windows install in #319, batched into one release. No
data migration: the store stays at schema 68, so 4.2.17 and 4.2.18 can open
each other's stores. One new optional setting, SLM_DAEMON_HEALTH_PROBE_S.

Fixed

  • Windows: a ready daemon that was busy but alive was reported as unavailable,
    because its /health check got 0.5 seconds. That short wait is meant only for
    a port nobody is listening on, which Windows is slow to refuse. A ready daemon
    whose process is alive now gets the same 2 seconds as on macOS and Linux, and
    SLM_DAEMON_HEALTH_PROBE_S (0.25 to 10 seconds) sets it on any platform. On
    Windows a short connect is tried first, so a port nobody is listening on is
    still reported within half a second. A starting daemon still gets the short
    check (#319).

  • Windows: slm serve install could not install the service. Its safety check
    compared the file's ctime, which CPython can report differently through a path
    and through an open handle for the same unchanged file, so every install
    refused its own new wrapper. On Windows the check no longer uses ctime. The
    file is still pinned by its SHA-256 and held open against writes and deletes,
    so the check is no weaker. A failed install or uninstall now exits with code 1
    instead of 0, and the reason is printed instead of only "Check logs" (#319).

  • A memory with no searchable words (for example a Markdown divider of 99
    hyphens) left a keyword-index obligation that failed verification forever,
    because the keyword index rightly skips text with no words. Such a memory no
    longer owes a keyword-index entry, and stale keyword tokens of a memory edited
    down to no words are removed. Obligations already stuck this way clear on
    their next automatic retry (#319).

  • Importing a saved conversation that quotes agent-harness notices (a
    <task-notification> block) stopped part-way, because the filter for prompt
    machinery treated quoted history in a file you chose to import as machinery.
    Folder and document imports now keep that text as untrusted source text.
    Automatic capture still refuses it, and prompt templates are still refused
    from every source (#319).

  • A refused save now says why. The admission journal records the reason (for
    example COMMAND_REJECTED:ingest_gate:prompt_template) instead of a bare
    code, and the folder report names it along with the part where the file
    stopped (at part 61/821) (#319).

  • A file refused under the old rule could never finish, even after the rule was
    fixed. A refusal is stored under its idempotency key, and a folder retry
    re-sends the same keys so that parts already saved are not saved twice. A
    refusal recorded before this release (with no reason) is now judged once more
    when the same request arrives, so the next scan finishes the file without
    duplicating the parts already saved (#319).

  • The Claude Code Stop hook saved its session summary without a session id: it
    read only the CLAUDE_SESSION_ID environment variable, while Claude Code sends
    the id in the hook payload. A session-summary lookup for the live session
    therefore found nothing. The hook now reads the payload first and falls back
    to the variable (#319).

Security

  • NLTK (pulled in by LLMLingua) is pinned to 3.10.4, which fixes nine advisories
    against 3.10.3, including the one the dependency audit had been ignoring
    because no fix existed. The audit now has no exceptions. SuperLocalMemory
    never called the affected NLTK APIs.

Added

  • A Windows CI lane runs the Windows-specific tests on a real Windows runner on
    every pull request (#319).

SuperLocalMemory v4.2.17

Choose a tag to compare

@github-actions github-actions released this 09 Nov 19:03
Immutable release. Only release title and notes can be modified.
c79c9f5

The last fixes of this cycle, batched into one release. No new settings and no
data migration: the store stays at schema 68, so 4.2.16 and 4.2.17 can open
each other's stores.

Added

  • slm hide <fact_id>... keeps memories out of recall answers and session
    starts without deleting or editing them; slm hide --undo shows them again.
    Both are stored as your own decision, which the automatic bookkeeping rule
    and every repair leave alone. Until now this needed hand-written SQL.
  • Jev can order the memories a session starts with. If you chose Jev as the
    answer check and turned on its reordering (with its consent), the SessionStart
    hook and session_init ask Jev once for the order of their memories, against
    your first message or the project. Only the order is used: the answer-check
    verdict is discarded, so a session start never says "that isn't in
    SuperLocalMemory", and nothing is hidden. It waits at most 1.5 seconds and
    keeps the usual order on any failure. With reordering off, a session start
    makes no Jev request and nothing changes.

Fixed

  • A replaced memory no longer stays pinned at session start. When
    remember(replaces=...) or a correction retired a fact, recall and pinned
    facts already left it out, but the session-start context (slm session-context, which the Claude Code and Codex SessionStart hooks print)
    and the Core Memory blocks read the store with their own queries and kept
    showing the old fact under "Core Memory (pinned, high-value)". Both now skip
    retired facts, and a block compiled before its fact was retired is not shown.
    Nothing is deleted: the retired fact stays in history and audit.
  • A question that names a version is no longer answered by another version.
    "SLM 4.2.15 release" ranked "SLM 4.2.0 released" and six more other-version
    notes first, because embeddings and the entity graph see 4.2.0 and 4.2.15 as
    the same thing. A result that names only other versions now goes below the
    rest, both before recall cuts to your limit and in the final order. An exact
    match still comes first, and nothing is dropped.
  • Recall records which memories it returned again. 3.8.6 made recall
    write-free so it never waits behind remember, and the record in
    fact_access_log went with it; on one store the last recall row was dated
    26 July 2026. Retention's access clock and the "active decisions" Core Memory
    block read that table, so every recall since then counted as unread: a memory
    you kept recalling still aged as unused, and no new decision reached the
    block. The record is now queued on SLM's background writer, so recall itself
    stays write-free. SLM's own warm-up recalls are not counted.
  • PromptInjector.inject_into_context ignored its documented total_budget
    override; it is now split between soft prompts and memories in the configured
    ratio.
  • Cloud backup sync reports the size it uploaded (size_mb).

Changed

  • The code base is lint-clean (ruff check src tests reports nothing), and CI
    now runs a pinned ruff on every change. Line length is 120.

SuperLocalMemory v4.2.16

Choose a tag to compare

@github-actions github-actions released this 09 Nov 12:53
Immutable release. Only release title and notes can be modified.
67f0663

A small follow-up to 4.2.15. No new settings. One automatic data repair runs
on first start (M068, no command): it only marks machine-written session lines
so they stop being returned as answers. Nothing is deleted or edited.

Upgrade every copy of SuperLocalMemory on a machine together: once 4.2.16 has
opened a store, an older copy refuses to open it and its error lists every copy
it finds. To go back to 4.2.15, run slm db prepare-downgrade first.

Fixed

  • Session-end lines with only git details no longer count as memories. The
    end-of-session summary that names just the branch and the uncommitted-file
    total ("session ended ... | branch: main | uncommitted: 2 files changed, 0
    insertions(+), 0 deletions(-)") was treated as real content, so these lines
    were returned by recall and shown at session start. They are now bookkeeping
    like the plain "session ended" line, as are the copies made from them ("the
    user's session ended ...", "The session ended on ", " is the date
    when the session ended", a bare "2 files changed, ..." line). A summary that
    lists recent commits still counts: that is what "what did I ship last
    session?" needs.
  • Bookkeeping saved before the rule learned its shape is now flagged too.
    A one-time migration (M068, no command needed) checks the rows already in
    the store against every shape the rule knows, including the agent checkpoint
    and "the session ended" forms added in 4.2.14 and 4.2.15. On one real store
    it flagged 2,030 rows, every one a bare session-end time or git total.
    Nothing is deleted or edited: flagged rows stay in lists and on the
    dashboard and only leave recall answers, and a row you marked yourself is
    never touched.