Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion parts/common/memnet/memnet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""MemNet — mission working memory for LLM agents (session graph + pin_map)."""

__version__ = "0.20.6"
__version__ = "0.20.7"
2 changes: 1 addition & 1 deletion project.toml
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
2 changes: 1 addition & 1 deletion tests/test_doc_gate_readiness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sysml_cluster_vs_slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/test_sysml_lan_mcp_front.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/test_sysml_product_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading