Repository navigation
v0.16.0: the first stable release of the 0.16 line
PRME v0.16.0 is the first stable release of the 0.16 line. pip install prme now installs it. It holds everything in 0.16.0a1 to 0.16.0a9 and the changes below.
The full benchmark did not run for this release. Earlier notes said a stable release waits for it. The maintainer decided on 2026-10-29 to release 0.16.0 without it. 0.16.0 passed CI, including a new job with the newest allowed dependencies, and the cheap fast tiers and the offline evidence gate, replayed from the recorded caches with no live model call.
Install
pip install prme
pip install 'prme[privacy]' # the local sanitizer; install its English model too (docs/SANITIZATION.md)DuckDB 2 is supported, and so are the newest openai, anthropic and instructor releases. The duckdb<2 advice of 0.16.0a9 no longer applies. cryptography stays pinned to exactly 50.0.2.
Upgrading from 0.15.0
Ten defaults changed during the alpha line. Each has an environment variable that restores the 0.15.0 behavior, and none rewrites a stored memory:
| Default turned on | Turn it off with |
|---|---|
lexical_term_weights (PostgreSQL only) |
PRME_LEXICAL_TERM_WEIGHTS=false |
enable_ingest_claim_fixes |
PRME_ENABLE_INGEST_CLAIM_FIXES=false |
packing.folded_records_keep_rank |
PRME_PACKING__FOLDED_RECORDS_KEEP_RANK=false |
enable_mention_links |
PRME_ENABLE_MENTION_LINKS=false |
packing.graph_seed_words |
PRME_PACKING__GRAPH_SEED_WORDS=false |
enable_owner_name_carry |
PRME_ENABLE_OWNER_NAME_CARRY=false |
packing.session_context_skip_entities |
PRME_PACKING__SESSION_CONTEXT_SKIP_ENTITIES=false |
enable_owner_group_links |
PRME_ENABLE_OWNER_GROUP_LINKS=false |
scoring.rrf_graph_seed_count |
PRME_SCORING__RRF_GRAPH_SEED_COUNT=false |
enable_pronoun_repair |
PRME_ENABLE_PRONOUN_REPAIR=false |
The alpha line turned these on under its fast-tier rule. enable_pronoun_repair is the exception: the maintainer turned it on in 0.16.0a8 without meeting that rule's defect probe condition. None of them has been through the full benchmark audit.
New and off by default: store-time extraction (store(extract=True)), extraction corrections, reingest() (enable_reingest), owner-window extraction, multi-model embeddings with reembed(), embedding prefixes, and privacy admission policies with sanitization, sealed evidence, erasure, expiry, migration, export and restore.
A store that uses a privacy runtime holds only protected records, refuses every plain write, refuses to open without its runtime, and waits for pending memory erasures and expired memory before export. A custom ErasureLedger adapter must add registration_head(store_id). The CHANGELOG has every alpha's notes.
New since 0.16.0a9
- DuckDB 2 (#382, fixes #377). A store reopened after a crash now folds its replayed write-ahead log into the file when the engine closes, so a single-file pack stays one file. DuckDB 2.0 left the log beside the file. A CI job now runs the whole suite with the newest allowed dependencies.
- Protected stores (#380). A protected store no longer drops the keyword search entry of an entity stored directly with
store()when its indexes are rebuilt, when it is restored, or when a protected single-file pack opens. - Privacy gate (#378, #379, #381; tests and docs only). The PV-11 gate is complete except one case. 99 of 104 scenario runs pass on DuckDB and PostgreSQL, and 3 more do not touch a storage backend. 120 of 121 adapter checks pass. A 24-query storage parity set and 24 sealed-profile scenarios pass. The open case is EM07, standard migration parity for protected stores, tracked in #327. See
docs/plans/2026-10-evidence-privacy/PV-11-report.md.
Regression check
On main at 5072ab3b against v0.16.0a9, both replaying the recorded caches with PRME_BENCH_CACHE_ONLY=1 and no live model call. The release commit changes only the version, the CHANGELOG and docs.
| Check | Result |
|---|---|
| Defect probes and chat probe | every probe rank and link identical to 0.16.0a9 |
| Corrections probe | identical apart from record IDs and run time |
| Fast cycle, all stages (store, ingest, store-extract) | pass, 168 measures unchanged |
| Offline evidence gate | every LoCoMo and LongMemEval-S row identical |
The wheel was also tested installed in a fresh Python 3.11 environment with every extra, which resolved duckdb 2.0.0, openai 3.3.0 and instructor 1.17.0. The repository tests ran against it on DuckDB and PostgreSQL: 7,820 passed and 32 failed. All 32 failed only because the test copy had no git history and no src/ folder: 14 read files under src/ by path and 18 need a git commit ID. A Python 3.13 smoke test (store and retrieve on a single-file pack, with duckdb 2.0.0) passed. VALIDATION.json lists every check, and what was not run.
Known open items
- EM07, standard migration parity for protected stores (#327).
- Known flaky tests:
tests/test_ingested_corrections.py::test_mcp_owner_declaration_is_strict_and_persistedcan stop the test process with a native DuckDB abort while the engine closes, andtests/test_checkout.py::TestMainCheckout::test_a_plain_clone_resolves_to_itselffails inside a git worktree. Neither affects the installed package.
Files
prme-0.16.0-py3-none-any.whl, prme-0.16.0.tar.gz, VALIDATION.json and SHA256SUMS.