From 79719b82602f1e80f882f55b13e7a35cc02e14a2 Mon Sep 17 00:00:00 2001 From: chouswei <104312007+chouswei@users.noreply.github.com> Date: Tue, 10 Nov 2026 14:12:57 +0800 Subject: [PATCH] Release 0.20.7 --- CHANGELOG.md | 2 ++ parts/common/memnet/memnet/__init__.py | 2 +- project.toml | 2 +- tests/test_doc_gate_readiness.py | 2 +- tests/test_sysml_cluster_vs_slice.py | 2 +- tests/test_sysml_lan_mcp_front.py | 2 +- tests/test_sysml_product_gateway.py | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5b6a7f..c418ea9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ This project uses Semantic Versioning as **interpreted for MemNet**: package `a. ## [Unreleased] +## [0.20.7] - 2026-11-10 + ### Added - **Restart-safe transport** — an upgrade or restart of `memnet serve`, memnet-mcp-http or the product gateway now pauses callers instead of breaking them. The client pool (`ServePool.send`, used by the CLI, the memnet-mcp tcp client and the gateway) retries a refused connection, a reset before the request was fully sent, and `@ERR: serve_draining|retry_after_s=N` (waiting at least `N`), with exponential backoff and jitter, for at most `MEMNET_SERVE_RETRY_S` (default 30 s; `0` turns it off). A reset after the request was sent is retried for reads only; a write is never replayed. One module, `memnet.serve_retry`, says which commands are reads; anything else, including an unknown command, counts as a write. memnet-mcp streamable-http is stateless with JSON replies, so a restart drops no MCP session. The gateway no longer probes before a call or caches a failed version check. When it places a new session, only the last candidate backend pauses; a down backend with another behind it is tried once and skipped, so fail-over stays instant. MN-REQ-06.19, MN-VER-06-S17. diff --git a/parts/common/memnet/memnet/__init__.py b/parts/common/memnet/memnet/__init__.py index 7745083..90b1544 100644 --- a/parts/common/memnet/memnet/__init__.py +++ b/parts/common/memnet/memnet/__init__.py @@ -1,3 +1,3 @@ """MemNet — mission working memory for LLM agents (session graph + pin_map).""" -__version__ = "0.20.6" +__version__ = "0.20.7" diff --git a/project.toml b/project.toml index c71bd37..59b9c54 100644 --- a/project.toml +++ b/project.toml @@ -1,7 +1,7 @@ [project] name = "memnet" repo = "MemNet" -version = "0.20.6" +version = "0.20.7" description = "Mission working memory for LLM agents: session graph + pin_map, not a RAG corpus" # No pcba-libs pins — software-only system (see LAYOUT.md). diff --git a/tests/test_doc_gate_readiness.py b/tests/test_doc_gate_readiness.py index 4b19d52..b1a3ca5 100644 --- a/tests/test_doc_gate_readiness.py +++ b/tests/test_doc_gate_readiness.py @@ -52,7 +52,7 @@ def test_version_is_0_19_27(): - assert __version__ == "0.20.6" + assert __version__ == "0.20.7" def test_cap_contract_needles_unchanged(): diff --git a/tests/test_sysml_cluster_vs_slice.py b/tests/test_sysml_cluster_vs_slice.py index ebeed31..6bd58d3 100644 --- a/tests/test_sysml_cluster_vs_slice.py +++ b/tests/test_sysml_cluster_vs_slice.py @@ -111,5 +111,5 @@ def test_teach_one_screen_contrast(): def test_no_semver_bump_in_this_invent(): text = _PROJECT.read_text(encoding="utf-8") - assert 'version = "0.20.6"' in text + assert 'version = "0.20.7"' in text assert "0.19.28" not in text diff --git a/tests/test_sysml_lan_mcp_front.py b/tests/test_sysml_lan_mcp_front.py index 9a1a65f..d4365ae 100644 --- a/tests/test_sysml_lan_mcp_front.py +++ b/tests/test_sysml_lan_mcp_front.py @@ -120,5 +120,5 @@ def test_teach_contrasts_47_and_worth_building(): def test_no_semver_bump_in_this_invent(): text = _PROJECT.read_text(encoding="utf-8") - assert 'version = "0.20.6"' in text + assert 'version = "0.20.7"' in text assert "0.19.28" not in text diff --git a/tests/test_sysml_product_gateway.py b/tests/test_sysml_product_gateway.py index 5d69661..8614385 100644 --- a/tests/test_sysml_product_gateway.py +++ b/tests/test_sysml_product_gateway.py @@ -64,5 +64,5 @@ def test_contract_is_not_draft_and_no_semver_bump(): assert "worthBuildingVisible=true" in nest assert "MemNetProductGateway" in nest project = PROJECT.read_text(encoding="utf-8") - assert 'version = "0.20.6"' in project + assert 'version = "0.20.7"' in project assert "0.19.28" not in project