Special Thanks
Thank you to the contributors whose work is in this release:
- @rise11hx-cmyk, the dashboard sync actions now sit on the island row and the compact card is retired (#2142)
- @zlg-codes, dashboard edits no longer reject a memory as a duplicate of itself (#2129)
- @seung-waedet, every consolidation run is recorded as a memory (#2106)
- @tonydzi, a hybrid hub forwards applied delta-sync events to its secondary (#2135)
- @massimiliano1991, the sync orchestrator logging guard and the Milvus cross-store entity fix (#2132, #2130)
- @Dhruv-Sharma29, coerced-type warnings now point at
memory ontology add(#2131) - @munjikesh, the Windows dashboard restart now exits by code under the wrapper (#2105)
- @testx1011, the original OpenCode autostart implementation and the Windows end-to-end run (#2088, landed as #2109)
Highlights
- An agent can register a memory type without a restart:
memory ontology add <name>andmemory ontology list. - Every consolidation run, scheduled, manual or failed, is stored as a memory and listed at
GET /api/consolidation/runs. - A DeepSeek Harness plugin injects project memories into new agents and captures turn outcomes. The OpenCode plugin can start the memory service when nothing answers.
- Milvus read paths and graph entity reads now honour the claimed store, and Milvus counts no longer include purged tombstones.
- A hybrid hub forwards the delta-sync events it applied to its Cloudflare secondary (part 1 of 2).
Nothing in this release is breaking.
Added
- Every consolidation run is recorded as a memory, so its history survives restarts and reaches other nodes (#2097, seung-waedet).
A run used to leave nothing behind but an SSE event and, for scheduled runs, an
in-memory list the next restart cleared, so a failed overnight run or a run on
another node could not be seen.consolidate()now stores oneconsolidation-run
memory per run, scheduled, manual or failed, taggedhorizon:<h>andnode:<id>
(MCP_AGENT_ID, else the hostname), with the report counters, the errors, the run
id and a newtrigger(scheduledormanual) in its metadata. The normal sync
carries it to other nodes, and a failing write never fails the run. Incremental runs
that found nothing are not recorded. Each node keeps its newest 50 runs
(MCP_CONSOLIDATION_RUN_LOG_KEEP); setMCP_AGENT_IDwhere the hostname changes, as
in containers, or every new hostname starts a history of its own. Consolidation,
forgetting, compression and insight cards skip these memories.
GET /api/consolidation/runs(read scope) lists them newest first, filtered by
nodeandhorizon. - The OpenCode plugin can start the memory service when nothing answers (#2088, testx1011).
memoryService.autoStartis off by default. Withenabled: truethe plugin runs the
configured argv (["memory", "launch"]by default, with the port taken from
memoryService.endpoint, becausememory launchmoves to a free port when the
configured one is taken) once the health check fails, and waits under a single
startTimeoutMsdeadline before the session continues without memories. The launcher
runs from the user's home directory, so a cloned checkout cannot shadowuvicornor
supply the server's.env, and the start decision uses the storage-free
/api/health, so a slow detailed check cannot make a running service look stopped. A
reachable endpoint is used as-is and a started service is never stopped: the
dashboard, a second editor and other MCP clients share it. The block is honoured from
the user configuration only, so a cloned repository cannot name the command the editor
runs; server settings such asMCP_ALLOW_ANONYMOUS_ACCESSstay in the service's own
.env. - DeepSeek Harness gets a project-memory plugin (#2111, #2114). DSH has no
shell hooks, sodsh/memory-hooks/is a Cordis bundle: onagent/createdit
searches the service for the working directory's project and contributes one
delimited<project-memory>snapshot (5 results, 2000 characters) to the
agent's system prompt, labelled as recalled data and never as instructions.
Retrieval only; capture is still open. A missing or slow service is ignored, so
agent creation never fails because memory is unavailable. - DeepSeek Harness captures turn outcomes and skips non-project directories
(#2111, #2115). Thedsh/memory-hooks/bundle now buffers each turn's human
prompt and assistant text throughsession/eventand stores it on
agent/turn-stoppingwhen the shared classifier matches a decision, error,
learning, implementation, important or code pattern.#skipforces a skip,
#rememberforces a capture, subagent turns stay out by default, and the
stored memory is taggeddsh-capture. Project context now requires a project
marker (.git,package.json,pyproject.toml, ...) and walks up to the
root, so a workspace likedefault-workspaceno longer gets arbitrary
high-scoring memories injected;requireProjectMarker: falserestores the old
directory-name behaviour. memory ontology add/list, and a tool schema that names them (#2126). The ontology has been writable at runtime since #1897 —ontology_entries,storage.add_memory_type(), andPOST /api/ontology/memory-types— but the schema an agent reads for thetypefield named onlyMCP_CUSTOM_MEMORY_TYPES, which needs a restart and is process-wide. An agent storingmemory_type: lessonwas told to set an environment variable and never learned the overlay existed. The schema now namesmemory ontology add <name>first, and the command is new: it writes the overlay straight from the CLI against the resolved database path, so no server is needed.memory ontology add lesson,memory ontology add standup --parent meeting,memory ontology list. docs/memory-ontology.md now separates the runtime path from the startup one at the top of "Registering custom types" instead of leading with the env var.
Fixed
- A hybrid hub forwards the delta-sync events it applied to its Cloudflare secondary (#1506).
apply_remote_eventwrites through the primary's SQLite connection, so a spoke's create, edit or delete reached the hub and every other spoke but never D1, which silently became a partial copy holding only the hub's own writes. The scheduled sync cycle now tails the hub'ssync_eventswith a persisted per-secondary cursor (thepush_cursortable andpush_to_peerloop spokes already use) and replays each event to the secondary: a create or edit stores or updates the current row in its store, a delete deletes it. The cursor moves only after the secondary acknowledged, so a restart or a D1 outage between "applied" and "forwarded" re-delivers instead of dropping. A hub that upgrades starts at the end of its log; the drift scan keeps the backlog. Each forwarded event is recorded in the newsecondary_forwardedtable (migration 023), the identity a later pull-side guard can check. Part 1 of 2: the pull-side echo guard follows separately. - Windows dashboard restart left the old server running, and the scheduled-task wrapper misread exit codes (#1943, munjikesh).
The restart background task calledsys.exit(), which only raisesSystemExitinside the ASGI app, so the process kept serving. It now ends withos._exit(): underrun_http_server_background.ps1(marked byMCP_WRAPPER_SUPERVISED) with exit code 75, which the wrapper relaunches at once without using up a crash attempt or the restart delay, and unsupervised after starting a replacement. The wrapper also reads.HandleafterStart-Process, because Windows PowerShell 5.1 otherwise returns$nullfor the exit code and logged even a graceful stop as an error. - Milvus read paths honour the claimed store, and the backend claims store scoping (#1958, part of #1683). Since #1962 the hash-addressed calls confine, but the eleven read paths accepted
storeand dropped it —search_memories,retrieve,recall,get_all_memories,count_all_memories,get_memories_by_time_range,get_by_exact_content,get_all_tags_with_counts,get_memory_timestamps,delete_by_tagsandget_graph_visualization_data. Aread:<store>credential would have searched, listed, counted and recalled across every partition, which is whyget_by_hash_is_store_scopedstayedFalseon this backend. Each path now builds its filter through_store_scope(), soNoneand"all"stay unscoped and"default"confines like the other backends; a collection without thestorefield refuses a named store instead of serving every partition. The graph view reads the association collection's ownstorefield from #2119 and fails closed when that collection predates it. The flag isTruenow, somemory_exploreandmemory_detailcan take per-store grants once #2120 adds them toSTORE_CONFINED_TOOLS. - Dashboard edits no longer reject a memory as a duplicate of itself (#2044, zlg-codes). Content changes now use the original memory's versioned-update endpoint, while tag-only edits ignore outer whitespace instead of creating a new version. Oversized edits split on every backend, Milvus stores restored text as a new version within the selected store, and reused chunks must match the edited text and fields exactly. Repeated chunks keep separate rows and position indexes.
- Document removal and the bulk operations no longer cover the dashboard with the
loading overlay (#2009).removeDocument()and the four Manage bulk operations now
report busy to the status island on their existing sources, clear the entry on success
and keep their failure there, disable the triggering button while the request runs and
rely on it instead ofsetLoading(true). A removal in flight is tracked per upload id,
so a re-render cannot start a second delete for the same document. The overlay stays on
the view loads, search, the document viewer and ontology writes, which the island does
not report. - CSV files with a trailing newline keep their detected delimiter (#2093).
_detect_delimiter()split the sample on\n, so a trailing newline or a blank row
added an empty sample line with zero delimiters, the consistency check failed and
detection fell back to a comma. Files separated by;, tab,|or:were then
ingested as a single column, losing the header and the table structure. The sample now
splits only at CSV line endings and drops blank rows. - Store-scoped entity reads no longer cross partitions (#2118, part of #1880).
memory_graphhas no store column, so everyGraphStorageentity read was global:list_entities,get_entity_profile,find_memories_by_entityandget_entities_for_memorycounted and returned links from every store, and_discover_related_entitieswalkedcommon_neighborsunfiltered. A credential scoped to one store therefore receivedrelated_entitiesreachable only through another store's memories —chunkswas already confined by post-filteringget_by_hash,related_entitieswas not. The graph shares its SQLite file withmemories, so each of those reads now confines through the store of the edge's source memory, andmemory_detailpasses its claimed store down instead of scanning alimit * 10window and discarding the difference.Noneand"all"stay unscoped, so single-store installs and every unscoped caller see exactly what they saw before.MilvusGraphStorageaccepts the samestorekeyword to keep the signature-parity guard green and returns nothing for a named store until #2119 gives its collection the field — refusing rather than serving the global answer. - Milvus graph: edges carry the store, and entity reads honour it (#2119, part of #1880). The association collection is separate from the memories, so unlike the SQLite graph (#2118) it cannot join to find out which partition an edge belongs to — and nobody who writes an edge knows it, because
Memorycarries no store and the call sites hold only the hash. The collection now has astorefield (VARCHAR,default_value="default", INVERTED index), and the backend resolves the store from the paired memory collection when it writes an entity link or an association. A cross-store association pair is refused, and a memory the collection does not hold falls back to the default partition — the same place an unwritten row lands — while a lookup that actually fails is refused rather than guessed.list_entities,get_entity_profile,find_memories_by_entity,get_entities_for_memoryandcommon_neighborsfilter on it,Noneand"all"stay unscoped. A collection created before the field has nothing to confine on, so a named store is refused there until it is recreated — the same decision as #1879 on the memory collection. Ashares_entitypair that spans two stores is now unwritable on Milvus, so a rebuild over a multi-store backend stops at the first one; the graph is derived data and re-running regenerates it, and making the rebuild store-aware is #2123. - A coerced memory type still pointed at the env var that needs a restart (#2127, Dhruv-Sharma29).
When a store names a type the ontology does not know, the MCPmemory_storeresponse and
POST /api/memorieswarn that it was stored asobservation. Both warnings told the caller
to setMCP_CUSTOM_MEMORY_TYPES, which only takes effect after a restart, although #2126
added a runtime path. They now namememory ontology add <name>first and keep the env var
as the startup alternative. To make that one-line change possible,handle_store_memoryand
the RESTstore_memorywere split into module-level helpers (failure handling, the response
message, the on-store checks); every other part of both responses is unchanged. - An entity rebuild over a multi-store Milvus backend completes instead of stopping
after it has deleted the old edges (#2123). Since #2119 the Milvus graph refuses a
shares_entitypair whose two memories live in different stores, and the rebuild
planned such pairs, deleted every entity edge, then raised on the first refused write.
The Milvus scan the rebuild counts now carries each row's store, and the plan drops a
pair whose ends are in two stores, or whose store it cannot tell, before the preview is
shown. The report gainsshares_entity_pairs_skipped_cross_storeand
shares_entity_pairs_skipped_unknown_store, with one warning per run. A preview now
reads the association collection's schema, and an unreadable schema stops the rebuild
before anything is deleted, with a message that names it. SQLite and hybrid are
unchanged. - A Milvus count no longer reports purged tombstones as live memories (#2136).
count_all_memories,count_memories_by_tagand the two totals inget_stats
subtracted a later tombstone scan from an earlier rawcount(*), so a
purge_deleted()landing between the two reads turned the deleted rows into live
ones for that call. The count now adds up rows that carry no tombstone instead of
subtracting the ones that do, so a purge between the reads has nothing to inflate. - A Milvus live total is counted from one scan, so a concurrent metadata write cannot
count a memory twice (#2139). The fix for #2136 still made two reads: acount(*)
over the rows whose metadata never mentionsdeleted_atand a scan of the rows that
do. A write that added"deleted_at": nullbetween them moved a live row from the
first set into the second.count_all_memories,count_memories_by_tagand both
totals inget_statsnow read the rows once; the price is a scan where there was a
count(*). - The dashboard's compact sync control is gone; its actions live on the status
island (#2007). Pause, resume and "sync now" are now actions of thesync
source's island row, offered by the same status the row already shows: pause
while a sync runs, resume while paused, "sync now" the rest of the time. A
node without hybrid sync sees neither row nor actions, exactly as it never saw
the control.forceSync()reports the run to the island at once, since a
force sync may finish without a single SSE progress event, and a running sync
keeps its pause action across SSE progress events. The delta-sync panel stays.
Internal
- The dashboard's full-page loading overlay is removed (#2096).
setLoading(),this.isLoading, the#loadingOverlayelement and the.loading-overlayCSS rules never showed anything: the stylesheet hid the overlay withdisplay: noneand no code added theactiveclass that would show it. The 24setLoadingcalls inapp.jsand thefinallyblocks that held only asetLoading(false)are deleted. The.loading-spinnerrule and thestatus.loadingtranslation key stay, as inline spinners and settings fields still use them. - DeepSeek Harness is documented as another MCP client (#2112). DSH's
dsh-mcp-clientspeaks Streamable HTTP, and the service already serves MCP at
/mcpfrom the same core as the stdio transport;dsh/README.mdcarries the
profile row, the authenticated variant, the tool namespacemcp__memory__<tool>
and the TLS limit (DSH cannot accept a self-signed certificate). Automatic
retrieval and capture are not included: DSH 0.2.x has no shell hooks, tracked
in #2111. - The DeepSeek Harness bundle ships a live functional test (#2116).
dsh/tests/functional-live.mjsruns six scenarios against a real service:
project snapshot from a marker above the working directory, skip for a
directory without a marker, decision capture with tags and type,#skip, the
subagent default and a forced#remember. It deletes every memory it creates
and stays out of the CI glob because it needs a running service. storage/sync/orchestrator.pyjoinsGUARDED_MODULES(#1146).
The apply reason in the "Applied event" and "not applied" log lines, which can carry the peer's envelope data or an exception text fromapply_remote_event(), is wrapped with_sanitize_log_value. A sentinel test pins the wrapper.