Skip to content

memory-os-ai 4.2.0

Latest

Choose a tag to compare

@RoaminS RoaminS released this 30 Nov 07:26

memory-os-ai 4.2.0

An explicit SQLite backup key, redacted logs, a reproducible build and a public benchmark replay. The published
artifacts are the exact qualified ones, with no rebuild:

  • Source: commit ec1933147c4ee2e71e084efdedc32727b15561e2, tag v4.2.0.
  • PyPI: memory-os-ai 4.2.0 (same bytes as the assets below).
  • Artifact: the dist of GitHub Actions run 46312339887 — wheel
    2782308691d7968bbe4e115ab05efe56114886ba00d4dbc74597f4b6af49a2af, sdist
    d23d64e535378df635046eeca9767d8d729748062ca84ff6a87a0c105a3cd313.

What changed

  • SQLite backup key, created explicitly. memory-os-admin backup-key create creates the key if it is missing
    (mode 0600, content never shown, key identifier shown). quickstart --apply creates it only for a new SQLite
    install, announced in the preview and bound into the plan fingerprint; --undo keeps it, like the token.
    memory-os-admin backup in jsonl on a SQLite store now refuses before creating a key and before stopping the
    service; backup --backend sqlite --online --apply never creates the key.
  • Redacted logs. No caller-supplied data is written to the server and engine logs: no field value, free key,
    undeclared field name, forget identifier, block name, supplied path or exception message. Caller input is described
    only by declared field names, validation error types and lengths; an exception by its type chain and stack frames
    (new module logsafe.py). Log lines only, no functional change.
  • Reproducible build. Build date = sealed commit date; deterministic tar and gzip; wheel files in 0644
    independently of umask; the build recipe is hashed.
  • CI and dependencies. Five-time-zone matrix in the Linux CI with a strict aggregator; the container is built and
    tried in CI on arm64 and x86_64 (no image is published); Actions pinned by SHA, with Dependabot proposing new Action
    pins only (no pip version PRs: locks are frozen and qualified per cell).
  • Public benchmarks. BENCHMARKS.md publishes the frozen 4.1.0 H2 measurement (lexical vs semantic, BEAM 100K)
    with its fingerprints and limits; the R1 replay tooling (pinned revisions, exact fingerprints, dedicated offline
    runtime) is in the repository. The R1 result on this exact commit is published as Release assets (below).
  • Licences and cleanup. LoCoMo derivatives (CC BY-NC 4.0), verbatim LongMemEval excerpts and the unattested
    comparison tables are removed; the legacy v3 sources leave the repository (tag v4.1.3 keeps them;
    memory_migrate_v3 still imports a v3 journal). SECURITY.md added.
  • Windows is not part of 4.2.0.

Details and declared limits: docs/releases/v4.2.0.md.

Install

Needs uv ≥ 0.13.9 on your PATH (never downloaded for you), python3 and bash:

env -u BASH_ENV bash -o pipefail -c "unset SSLKEYLOGFILE; curl -q -fsSL --proto '=https' --proto-redir '=https' https://github.com/RoaminS/Memory-os-ai/releases/download/v4.2.0/install.sh | sh"

Manual commands and the semantic profile: see the README.

Qualification of this exact artifact

The unsigned P9 manifest (memory-os-ai-4.2.0.p9-manifest.json) names the wheel above and records PASS for six
cell/profile pairs:

Cell Profile Means
macOS arm64, Python 3.11 lexical and semantic local qualification on a Mac (gates P1, P3–P7)
macOS arm64, Python 3.12 lexical local qualification on a Mac
macOS arm64, Python 3.13 lexical local qualification on a Mac
Ubuntu 24.04 arm64, Python 3.11 lexical GitHub Actions run 46312339887
Ubuntu 24.04 x86_64, Python 3.11 lexical GitHub Actions run 46312339887

The engine changes were also exercised on a synthetic store created by the published 4.1.3 wheel and read, backed
up and restored by this wheel (gate P8, method P8-B: no real data), and under five time zones (UTC, Europe/Paris,
America/New_York, America/Los_Angeles, Asia/Tokyo; Linux CI run 46312339887 and a local macOS matrix). The P-A and
P-B evaluations were not run for 4.2.0 (waived by the maintainer, see the release document), and no measured gain
is claimed. The bootstrap preview reads a proof state only from a local P9 manifest given with --p9-manifest, never
fetched and not signed.

R1 replay (BEAM 100K, retrieval only)

The frozen H2 protocol was replayed on this exact commit: 400 questions executed, 0 failed, 355 scored, 20
conversations, no LLM judge. Recall@10: lexical 0.4409, semantic 0.4576; paired difference (lexical minus
semantic) −1.675 points, 95 % bootstrap interval [−3.747, +0.404] (by whole conversation, 2000 replicates). The
parity threshold (difference ≥ −2 points and interval lower bound ≥ −3 points) is not met: the semantic
profile stays the recommended one, the lexical profile remains the light option and its gap is published. This is a
retrospective parity check on BEAM 100K only: no claim of superior recall, nothing about generated answers or agent
tasks.

Proof complement (P10-a, P10-c)

memory-os-ai-4.2.0.proof-complement.md (and its .json version) records the two gates of the registry command,
both PASS: P10-a (the qualified wheel, local file, offline, before the PyPI upload; 37/37) and P10-c (the wheel
resolved from PyPI by the registry command, SHA-256 27823086…; 39/39), each with the compact brief through the
relay and no MEMORY_V4_CL100K_PATH. Both use the official MCP Python SDK as a scripted client: real AI clients are
not qualified by these gates. The redacted reports are attached; check the files with
shasum -a 256 -c PROOF-COMPLEMENT-SHA256SUMS. The complement is separate from the P9 manifest, which does not
record P10.

Assets

SHA256SUMS covers five other assets: the wheel, the sdist, memory_os_bootstrap.py (release pin filled for this
wheel), the P9 manifest and install.sh. R1-SHA256SUMS covers the two R1 files: the public summary
memory-os-ai-4.2.0.r1-summary.json and the run record beam_h2_420_r1_v1.json.

shasum -a 256 -c SHA256SUMS
shasum -a 256 -c R1-SHA256SUMS