Skip to content

0.1.47 - 2026-10-28

Choose a tag to compare

@github-actions github-actions released this 28 Oct 20:41
Immutable release. Only release title and notes can be modified.
854f6f8

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-roots 1.0.7 → 1.0.10 (RUSTSEC-2026-0381), rustls-webpki 0.103.15 →
    0.103.16 (RUSTSEC-2026-0382) and webpki-root-certs 1.0.7 → 1.0.10
    (RUSTSEC-2026-0383). On the root dependency graph cargo audit reports 0
    vulnerabilities instead of 4, and cargo deny check advisories goes from
    FAILED to advisories ok (measured against a fresh advisory database, not
    the stale local clone). The one advisory that cannot be fixed directly is
    rustls-webpki 0.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
    both deny.toml and .cargo/audit.toml — the two tools read different
    advisory databases, so a waiver in only one leaves the other gate red.

    The excluded fuzz dependency graph now receives its own blocking cargo deny
    and cargo audit checks through scripts/check-dependency-audit.sh. The
    regression fixture verifies missing and empty lockfiles and asserts the seeded
    RUSTSEC-2021-0145 finding comes from fuzz/Cargo.lock (#1208).

    The RUSTSEC-2026-0387 waiver for transitive crypto-bigint 0.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-check counted every completed non-success run on
    origin/main HEAD, so an always-red scheduled nightly held a release whose
    own push CI was green — the defect recorded in LESSON-051. Only push and
    pull_request runs gate a release now; schedule and workflow_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 in scripts/lib/release-gate-events.sh,
    which scripts/test-release-workflow.sh exercises through the real
    do_ci_check: red schedule and workflow_dispatch runs must not block, red
    or pending push and pull_request runs must, and a failed push beyond
    unrelated issue-event noise must still block. Each event is queried
    separately with --event before 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 (push with 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). Every chore/update-changelog PR 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 --latest re-renders the whole file (--tag alone does not bound the
    range), and cliff.toml had no tag_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.2 so a generator upgrade
    cannot silently change every release's rendering, gates the ref with a
    fail-closed Resolve release tag step 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-guard skill no longer claims that publishing a release fires
    release: published and thereby runs publish-crates.yml. Verified at
    v0.1.46: the publish run (39123847241) started 13s after the release went
    live with event=workflow_dispatch on the tag SHA, because
    release.yml's dispatch-publish job dispatches it explicitly — a release
    published with the repository GITHUB_TOKEN creates no release-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 at 0.1.46 by
    crates.io version membership over HTTP 200, while a do-memory-cli or
    do-memory-test-utils 404 is by design. Looking for a release-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.rs drives 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 audit itself errors (#1207).

  • The changelog generator duplicated released-version sections (#1188): changelog.yml ran
    git-cliff --latest --tag "$CLIFF_TAG" --prepend CHANGELOG.md unconditionally, so the v0.1.46 tag push
    prepended a second ## [0.1.46] heading above the one the release-preparation PR had already curated
    (## [0.1.46] - 2026-10-18 over ## [0.1.46] - 2026-10-17). parse-changelog rejects 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 on main — which is the same payload that ships a GitHub Release with no notes.
    scripts/update-changelog.sh is now the only entrypoint for this work: it skips when the target version
    already has a section, fails instead of silently no-oping when git-cliff is missing, and validates its
    own output (one non-empty heading per version, parseable by parse-changelog when installed).
    scripts/test-update-changelog.sh covers the duplicate, skip, empty-section, missing-generator and
    non-release-ref cases. The workflow and the ADR-045 pre-release-hook now share this script, so the
    destructive --output form 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