Repository navigation
Mesh v0.7.1
Mesh v0.7.1
Released 2026-10-18 · PyPI · Full changelog
0.7.1 is a remediation release from a full audit of the 0.7.x tree. It fixes privacy leaks, import safety, TTL semantics, namespace and daemon edge cases, and makes environment parsing defensive. The new tests/test_remediation.py pins each fix as a regression test.
Privacy and security
- Imports can no longer overwrite private memories. A Mesh export never contains private rows, so an entry claiming an existing private ID is hand-crafted or hostile.
merge_strategy="overwrite"now skips it. - Private recall queries are redacted from the audit log when any returned memory is private — searching for the exact private text no longer reprints it in
audit_log. - Privatizing a memory scrubs its contradiction text, and rewriting content scrubs matching query telemetry.
mesh updatenow runs the same ingestion guard asmesh learn: control/zero-width stripping, prompt-injection rejection, and credential redaction. It was previously a bypass.- Passive-capture redaction hardened for URL credentials with empty usernames or
@in the password, and forAuthorization:headers. Zero-width/bidi characters are stripped before poison matching. - No unconsented cloud extraction. An unavailable LLM provider degrades to local extraction before any log text is sent.
Behavior fixes
ttl_days=0means "no TTL" everywhere:mesh update --ttl 0clears an existing TTL,reset_ttlrestarts the stored duration, andmesh learnstores permanently.- Imports are deterministic and idempotent. Entries without IDs get a content-derived UUID, so re-importing the same file skips rather than duplicates.
- Namespace operations refuse unsafe targets: symlink escapes, case-insensitive collisions (
mesh_Work.dbvsmesh_work.db), and deletion when a WAL checkpoint cannot complete. - No stale vectors after updates; telemetry stamp refreshes no longer hide another process's writes.
- Interrupted model downloads recover when the cached copy is valid, and
onnx-warmingno longer sticks forever. - Daemon-proxy writes are never silently re-executed when the outcome is ambiguous, and caller context (private defaults, ownership, workspace, sync) travels with proxied calls.
- MCP and HTTP
include_privatedefaults agree, including theMESH_MCP_INCLUDE_PRIVATEenvironment variable. - Malformed numeric environment variables never crash a session. New
mesh/envutil.pyapplies documented defaults and bounds toMESH_HTTP_PORT,MESH_IDLE_UNLOAD_SECONDS,MESH_EMBED_CACHE_SIZE, and peers;nan/inf/garbage fall back cleanly. - Passive capture bounds memory use for piped logs and truncates the oldest content first.
mesh.__all__now matches the lazy export table, and the dashboard reports save/resolve/delete failures instead of failing silently.
Documentation
SKILL.md now documents per-agent skill directories, separate Antigravity and Gemini CLI MCP config files, ttl_days=0 semantics, full guard_ingest() coverage, newer environment variables, and the daemon startup subcommands.
Upgrading
pip install --upgrade mesh-context-layerRestart mesh-server, mesh-http, or your MCP client afterwards. No data migration is required.
Verification
- 142 tests pass locally (15 new remediation regressions); CI runs the suite on Python 3.10, 3.11, and 3.12.
- The 0.6.4 mcp pin and the 0.6.5 contradiction fix remain intact.
Full diff: v0.7.0...v0.7.1