Repository navigation
0.1.47 - 2026-10-28
Verify this release: https://d-o-hub.github.io/rust-self-learning-memory/verify-a-release.html
Release Notes
Added
- Added a schema and SQL column sensor to catch mismatches between storage
queries and the database schema (#1201).
Changed
- Pattern search reuses and batches embeddings (#1198), and hierarchical
retrieval computes the lowercased query once per search (#1212).
Security
-
webpki-roots1.0.7 → 1.0.10 (RUSTSEC-2026-0381),rustls-webpki0.103.15 →
0.103.16 (RUSTSEC-2026-0382) andwebpki-root-certs1.0.7 → 1.0.10
(RUSTSEC-2026-0383). On the root dependency graphcargo auditreports 0
vulnerabilities instead of 4, andcargo deny check advisoriesgoes from
FAILED toadvisories ok(measured against a fresh advisory database, not
the stale local clone). The one advisory that cannot be fixed directly is
rustls-webpki0.102.8, reached transitively through
libsql → hyper-rustls 0.25 → rustls 0.22; rustls 0.22 pins webpki to the
0.102 series, so the fix needs libsql on a hyper 1.x line. It is waived in
bothdeny.tomland.cargo/audit.toml— the two tools read different
advisory databases, so a waiver in only one leaves the other gate red.The excluded
fuzzdependency graph now receives its own blockingcargo deny
andcargo auditchecks throughscripts/check-dependency-audit.sh. The
regression fixture verifies missing and empty lockfiles and asserts the seeded
RUSTSEC-2021-0145finding comes fromfuzz/Cargo.lock(#1208).The
RUSTSEC-2026-0387waiver for transitivecrypto-bigint0.5 is
documented in both audit configurations; MCP uses HS256 rather than the
affected elliptic-curve algorithms (#1215).
CI/CD
-
The release gate now distinguishes the runs that prove a commit is green from
the runs that merely happen to sit on the same SHA (ADR-083, #1200).
release-manager.sh ci-checkcounted every completed non-success run on
origin/mainHEAD, so an always-red scheduled nightly held a release whose
own push CI was green — the defect recorded in LESSON-051. Onlypushand
pull_requestruns gate a release now;scheduleandworkflow_dispatch
runs are advisory and are still reported, never silently dropped. The
classification is an allowlist (a newly-introduced event type does not
silently become gating) and lives inscripts/lib/release-gate-events.sh,
whichscripts/test-release-workflow.shexercises through the real
do_ci_check: red schedule andworkflow_dispatchruns must not block, red
or pending push andpull_requestruns must, and a failed push beyond
unrelated issue-event noise must still block. Each event is queried
separately with--eventbefore its 100-run limit; the unfiltered result list
is used only to report other event types. Queries are pinned to the exact SHA
without--branch main, so a tag-triggered nightly (pushwith the tag as
headBranch) on that SHA remains gating; the regression requires a failed
tagged push to block beside a green main push. Event names live once in the
library arrays and feed both the per-event queries and local selection. The
fixture also asserts that a tag-ref non-gating run remains visible for the
same SHA. -
The release changelog generator no longer rewrites published history
(#1186). Everychore/update-changelogPR from v0.1.41 to v0.1.45 had to be
closed unmerged because its output re-rendered already-published sections —
the v0.1.45 run (#1178) produced one file at+405/-264, rewriting 209
curated prose lines and shifting dates. Two independent defects, proved
against the real git-cliff 2.14.2 binary at the v0.1.45 tag:--output
without--latestre-renders the whole file (--tagalone does not bound the
range), andcliff.tomlhad notag_pattern, so any tag became the release
boundary — a local backup tag rendered as
## [backup/pr-1171-pre-squash] - <date>. The workflow now runs
--latest --tag <vX.Y.Z> --prepend(measured: 0 deletions), pins
cargo install git-cliff --locked --version 2.14.2so a generator upgrade
cannot silently change every release's rendering, gates the ref with a
fail-closedResolve release tagstep before it reaches the shell, and stops
embedding a skip-ci marker in its own commit message, which had been
suppressing the checks on the PRs it opened. ADR-045 amended accordingly. -
The
release-guardskill no longer claims that publishing a release fires
release: publishedand thereby runspublish-crates.yml. Verified at
v0.1.46: the publish run (39123847241) started 13s after the release went
live withevent=workflow_dispatchon the tag SHA, because
release.yml'sdispatch-publishjob dispatches it explicitly — a release
published with the repositoryGITHUB_TOKENcreates norelease-event run
(LESSON-030). The skill now states the dispatch path and records that the
chain owns four crates (do-memory-core,do-memory-storage-redb,
do-memory-storage-turso,do-memory-mcp), all confirmed at0.1.46by
crates.io version membership over HTTP 200, while ado-memory-clior
do-memory-test-utils404 is by design. Looking for arelease-event run
and finding none previously read as a failed publish.
Tests
- Issue #1089 acceptance criterion 3 is now evidenced (#1187):
memory-core/tests/sync_partial_failure_cursor.rsdrives the real
synchronizer with a page size of 4 and a chunk size of 2 against a cache that
rejects one chunk wholesale, and asserts the failing item stays uncached,
that the in-memory and durable watermarks both refuse to advance, and that a
healed retry re-delivers everything the failed run skipped. Keyset ordering
for tied sync timestamps is covered by #1192.
Fixed
-
Clamp hierarchical index query limits to the configured maximum (#1215).
-
Prefer the newest revision when merging redb and Turso records (#1184).
-
Fail the dependency audit when
cargo audititself errors (#1207). -
The changelog generator duplicated released-version sections (#1188):
changelog.ymlran
git-cliff --latest --tag "$CLIFF_TAG" --prepend CHANGELOG.mdunconditionally, so thev0.1.46tag push
prepended a second## [0.1.46]heading above the one the release-preparation PR had already curated
(## [0.1.46] - 2026-10-18over## [0.1.46] - 2026-10-17).parse-changelogrejects a file with two
sections for one version — measured:error: multiple release notes for '0.1.46', rc=1, empty stdout,
versus rc=0/3991 bytes onmain— which is the same payload that ships a GitHub Release with no notes.
scripts/update-changelog.shis now the only entrypoint for this work: it skips when the target version
already has a section, fails instead of silently no-oping whengit-cliffis missing, and validates its
own output (one non-empty heading per version, parseable byparse-changelogwhen installed).
scripts/test-update-changelog.shcovers the duplicate, skip, empty-section, missing-generator and
non-release-ref cases. The workflow and the ADR-045pre-release-hooknow share this script, so the
destructive--outputform cannot be reinstated by a documented copy-paste.
do-memory-cli 0.1.47
Download do-memory-cli 0.1.47
| File | Platform | Checksum |
|---|---|---|
| do-memory-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| do-memory-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| do-memory-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| do-memory-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| do-memory-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
do-memory-examples 0.1.47
Download do-memory-examples 0.1.47
| File | Platform | Checksum |
|---|---|---|
| do-memory-examples-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| do-memory-examples-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| do-memory-examples-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| do-memory-examples-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| do-memory-examples-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
do-memory-mcp 0.1.47
Download do-memory-mcp 0.1.47
| File | Platform | Checksum |
|---|---|---|
| do-memory-mcp-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| do-memory-mcp-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| do-memory-mcp-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| do-memory-mcp-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| do-memory-mcp-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |