All notable changes to MemNet will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.3 — 2026-06-10
read list --where field=value— filter rows by field value (exact match; repeat for AND).*and?wildcards supported (e.g.--where name=*Tiexin*).- Efficiency benchmarks and regression tests for
--wherefiltering (scripts/benchmark_efficiency.py,tests/test_efficiency.py). - New application note:
application-notes/llm-sysml-v2-modeling.md— LLM-assisted SysML v2 textual modeling (6U CubeSat PDU controller) following the 6-step pipeline; README and LLM-GUIDE updated with pointers.
0.2.0 — 2026-06-10
- Single source of truth for the package version:
pyproject.tomlreads it fromsrc/memnet/__init__.pyviahatch.version. memnet version --jsonfor automation; default output is now a wire line@VER: memnet|<version>.memnet add— create new rows only (id_existsif the id is already in the graph).memnet update— replace existing rows only (not_foundif the id is missing).CHANGELOG.md.
- CLI
memnet versionnow emits the wire-format@VER: memnet|<version>line instead of the plainmemnet <version>string. - Breaking:
memnet writeremoved. Useaddfor new rows andupdatefor changes.LLM-GUIDE.mdandREADME.mdupdated. memnet examples writerenamed tomemnet examples add.- LAW02 in the bundled workflow example now documents add-then-update id discipline.
0.1.0 — 2026-06-10
Initial public release.
- In-memory working-memory graph for LLM agents (no automatic disk state).
memnet serve— local TCP server holding sessions in RAM; CLI is a stateless client.- Wire-format I/O (
@TAG: field|field|...) on stdout;@ERR,@WRN,@STAT,@DELsignals on stderr. - Session lifecycle:
session open / resume / current / list / close, TTL (default 60 min, envMEMNET_SESSION_TTL_MINUTES). - Optional snapshot save/load (
session save --file,session load --file [--ttl] [--keep-id]) — wire-format files the user owns. - Tag schema (fixed
EDG/LAW+ user tags at open), strict field validation, relation allow-list with--allow-new-relation. - Graph reads:
query warm --anchor <id>— active-only, LAW-prepended (the recommended agent read).query context— cold/full view, warns on stale rows.query neighbors,query path.
- Direct reads:
read list,read get. - Mission lifecycle via
recyclelabels (persistent,delete_on_settle,delete_on_expire); settled missions hidden fromwarmreads. - Housekeeping:
housekeep stats|stale|recyclable|dangling|orphans,housekeep prune ... --apply. - Advisory warnings:
near_cap*,ttl_expiring,stale_in_store,stale_dangling,stale_orphans,stale_graph,mission_settled,fanout_clamped,dangling_endpoint,corrupt_row, etc. - Bundled examples (
memnet examples map|workflow|write|path|agent-guide) and inline guides (memnet guide,memnet guide --loose). LLM-GUIDE.md— full agent playbook (goldfish loop, settlement pattern, ID discipline, common failure modes).- 26 tests passing on Python 3.11 / 3.12.
- v1 is local only — TCP loopback, no remote / MCP / authentication.
- Caps are configurable via
MEMNET_MAX_*env vars. - Sessions live in process memory only. On
serverestart, all sessions are gone unless saved viasession save.