Skip to content

Commit 1518c33

Browse files
author
STARGA Inc
committed
chore(release): v4.0.18 — Postgres backend parity; docs + badges aligned
1 parent 0ea6ab4 commit 1518c33

5 files changed

Lines changed: 29 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to MIND-Mem are documented in this file.
44

5+
## v4.0.18 — Postgres backend parity (out-of-the-box on any backend)
6+
7+
Fixed 14 audited parity bugs where the recall / scan / governance / export /
8+
reindex / daemon feature layer read the local Markdown corpus + local SQLite FTS
9+
index and ignored the configured `block_store` backend, so a Postgres user's
10+
blocks were invisible to those features (the `sqlite_only_count` drift). Added the
11+
shared backend-aware `storage.iter_active_blocks()` primitive + a
12+
`PostgresRecallBackend` (server-side BM25 + pgvector RRF); made
13+
`build_index`/`index_status` backend-aware and crash-safe on read-only handles;
14+
fixed pgvector detection across schemas, the daemon cron module path,
15+
`init_workspace` Postgres setup, and the MCP `_check_workspace` decisions/-dir
16+
gate. **SQLite/markdown remains the default and is taken byte-for-byte unchanged**
17+
— 5566 tests pass, no regression. 81 new both-backend tests pass against live
18+
Postgres and skip cleanly when `MIND_MEM_TEST_PG_DSN` is unset (SQLite-only CI
19+
green). Audit: `docs/postgres-parity-audit-2026-06-14.md`.
20+
521
## v4.0.17 — Security hardening (crypto labeling, file perms, signing/parser/gRPC)
622

723
Released 2026-06-05.

CLAUDE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
BM25F + vector hybrid search memory system for AI agents.
55
Published on PyPI: `pip install mind-mem`
66

7+
**v4.0.18** (released 2026-06-14) — Postgres backend parity: the recall / scan /
8+
governance / export / reindex / daemon feature layer was reading the local
9+
Markdown corpus + SQLite FTS index and ignoring the configured `block_store`
10+
backend, so Postgres users' blocks were invisible to those features. Added a
11+
shared backend-aware `storage.iter_active_blocks()` + `PostgresRecallBackend`
12+
(BM25 + pgvector RRF), backend-aware/read-only-safe `build_index`/`index_status`,
13+
pgvector cross-schema detection, daemon cron module path, `init_workspace` PG
14+
setup, MCP `_check_workspace` backend-aware gate. **SQLite/markdown default
15+
unchanged** (5566 tests, no regression); 81 new both-backend tests. Builds on
16+
717
**v4.0.17** (released 2026-06-05) — security-hardening companion to v4.0.16
818
(same audit). At-rest encryption relabeled honestly (256-bit HMAC-SHA256
919
keystream + encrypt-then-MAC, **not** AES-256/SQLCipher; recall index not

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<img src="https://img.shields.io/badge/core_deps-zero-brightgreen?style=flat-square" alt="Zero Core Dependencies">
2222
<a href="https://github.com/star-ga/mind-mem/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/star-ga/mind-mem/ci.yml?branch=main&style=flat-square&label=CI" alt="CI"></a>
2323
<a href="https://github.com/star-ga/mind-mem/actions/workflows/release.yml"><img src="https://img.shields.io/github/actions/workflow/status/star-ga/mind-mem/release.yml?style=flat-square&label=Release" alt="Release"></a>
24-
<img src="https://img.shields.io/badge/tests-5465%2B-brightgreen?style=flat-square" alt="Tests: 5465+">
24+
<img src="https://img.shields.io/badge/tests-5600%2B-brightgreen?style=flat-square" alt="Tests: 5465+">
2525
<img src="https://img.shields.io/badge/MCP_tools-83-blue?style=flat-square" alt="MCP Tools: 83">
2626
<img src="https://img.shields.io/badge/clients-17-blueviolet?style=flat-square" alt="AI Clients: 17">
2727
<img src="https://img.shields.io/badge/backends-markdown_%7C_postgres-teal?style=flat-square" alt="Storage: Markdown + Postgres">

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mind-mem"
3-
version = "4.0.17"
3+
version = "4.0.18"
44
description = "Drop-in memory for Claude Code, OpenClaw, and any MCP-compatible agent."
55
readme = "README.md"
66
license = { text = "Apache-2.0" }

src/mind_mem/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
)
4545
from .storage import get_block_store
4646

47-
__version__ = "4.0.17"
47+
__version__ = "4.0.18"
4848

4949
# Best-effort import-time integrity check. Fails open unless
5050
# MIND_MEM_INTEGRITY=strict, so editable installs and source checkouts

0 commit comments

Comments
 (0)