Repository navigation
Releases
SuperLocalMemory v4.2.35
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_pathorfile:<abs_path>keys) now store an(mtime_ns, size)freshness envelope and register afile:<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.92when semantic caching is enabled orsemantic_fallback=True. Strictly disabled forfile:,code:,diff:,patch:,ast:, andsymbol:keys. - Durable KV telemetry (
cache_kv_semantic_hits,cache_kv_stale_evictions,tokens_saved_kv, and activekeepalivestatus) persisted inllmcache.dband exposed inslm_optimize_statsandslm cache status.
- File-backed KV entries (
- Automatic Edit-Time Cache Invalidation & Pre-Web L2 Cache Check:
post_tool_outcomehook now invalidates matchingfile:<realpath>entries in<1mswhenever any IDE runsEdit,Write,MultiEdit,NotebookEdit,edit_file,write_file,write_to_file,replace_file_content, ormulti_replace_file_content(fail-open; no-op whenllmcache.dbis absent).before_webhook now checksllmcache.dbfor freshurl:/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-pingflag 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-cacheCommand & Updatedslm-cacheSkill /slm-optimize-advisorAgent: 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) withinvocationNum > 1andtranscriptPathguards, and no longer deletes markers onStop(which Antigravity fires after every turn). - Emits Antigravity 2.x
{"injectSteps": [{"systemMessage": {"systemMessage": ...}}]}instead of legacyephemeralMessage. - 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) topost_tool_outcome,checkpoint,cue,before_web, andstop_outcome(fixing silent"no_session"drops). - Returns
before_web,cue, and turn-2+auto_recallcontext back to Antigravity instead of discarding hook stdout. - Expands root
hooks.jsonmatchers to cover both Antigravity 2.x and legacy tool names.
- Persists session markers under
SuperLocalMemory v4.2.34
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
slmcommand answers in JSON for agents. Add--jsonafter it, putslm --jsonbefore it, or setSLM_JSON=1. Each command prints one JSON document (success,dataorerrorwithcodeandmessage), sends everything else to stderr, and exits 0 for success, 1 for a failure (error.exit_codekeeps a more specific code), 2 when it could not run and 130 when interrupted. Under JSON a command never asks a question: it answersconfirmation_requiredorinput_requiredand names the flag.slm help --jsonlists every command with its options.slm mcp,slm session,slm session-contextand the hooks ignoreSLM_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 withslm tool <name> --json. The four agents can runslm, which the memory advisor could not before, and so can the two bot skills. The shared rules andllms.txtsay the same (#350). slm doctorhas 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 withslm 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-runandremove --dry-runno longer write Claude Code's settings (#349).
Changed
- A failed
slm toolcall now reportserroras{"code", "message"}instead of a plain string, in every way of calling it. The top-levelcodeis kept where a tool gave one. A script that readerroras 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
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 uninstallis removing it. Auto-start now takes the same lock asslm serve installanduninstall, 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 doctornow 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 installwrites is recognised again byslm 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
Nothing changes in the store, and there is nothing to run.
Added
slm toolreaches every MCP tool from the shell:slm tool list,slm tool describe <name>andslm 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 newslm-cliskill 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-hostsand the once-per-version step now keep Claude Code's SLM skills, advisors and/slm-loopcurrent 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~/.claudeis left alone. Advisors are installed with the tool names a directly configured server needs (#333).slm upgrade-hostsno 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 doctorreports a daemon the service does not own. On macOS the service's state is now read correctly, which also letsslm serve uninstallunload a running service again. When the service starts nothing, auto-start falls back to a direct start and says which service needsslm 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 uninstallis 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
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 formcp__superlocalmemory__session_initby exact name, which a plugin-only install does not have, so the agent could not load the tool. The hints now search forsuperlocalmemory session_init, which finds it under either name, and the optional session gate lets both names through. slm doctorandslm upgrade-hostsprint a Codex plugin update that works.codex plugin marketplace addkeeps an existing copy of the marketplace, so on its own it installed the old plugin again; the commands now includecodex plugin marketplace upgrade qualixar.
SuperLocalMemory v4.2.30
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);shadowstill 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 listshows 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-contexttakes--project-dir. - Memory Health,
slm health --memory(alsoGET /api/outcomes/health, MCPhealth(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_RANKINGis 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_directdown tomodel_generated. A memory saved before your store took 4.2.30 islegacyand is trusted exactly as it was before, decided by its date; a memory saved later with no origin record isunknownand 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)andGET /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"), whichslm trust withdrawtakes 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 statusandslm doctor --truthreport modified or unsigned memories by id, andslm signing resignsigns 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 isslm 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, andlist_disputesandsettle_dispute(MCP),slm disputesand the dashboard card "Needs your answer" settle it. A stale dispute is...
SuperLocalMemory v4.2.19
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> --mergeadds 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--executeit previews the exact counts and
writes nothing; with--executeit needs--rollback-dirand 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 exportcould write a bundle thatslm evidence verifythen
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 rebuildwrote 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
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/healthcheck 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 installcould 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
exampleCOMMAND_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 theCLAUDE_SESSION_IDenvironment 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
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 --undoshows 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 andsession_initask 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 behindremember, and the record in
fact_access_logwent 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_contextignored its documentedtotal_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 testsreports nothing), and CI
now runs a pinned ruff on every change. Line length is 120.
SuperLocalMemory v4.2.16
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.