Repository navigation
inspeximus 3.26.0
inspeximus 3.26.0
UPGRADE IF you run inspeximus inside Hermes Agent, or installed the Hermes MCP catalog entry
Who should upgrade
Upgrade if this is true of you: you run inspeximus inside Hermes Agent, or installed the Hermes MCP catalog entry.
What changed
The 3.25.0 fix for two stores did not fire on the machine that had two stores. Installing the catalog entry fresh on 2026-10-28 is what found it.
Fixed
- The two-store report now counts a ROW store, which is the store almost everyone has. A new store is written as rows, and nobody chooses that, so the file the provider writes is a row store even though it is named
memory.json. The counter read every candidate as JSON, raised on the SQLite header, returned 0, andother_storesdropped the file as empty. The detector built to report two stores reported none, on the real case. The 3.25.0 tests passed because their fixtures wrote JSON by hand: a fixture that does not reproduce the real format is a control that cannot fail. The counting path opens a read-only connection, because the file belongs to another program.
Added
-
INSPEXIMUS_SCOPE=hermesresolves to the store the Hermes memory provider opens. Hermes copies a catalog entry'stransport.envverbatim, substituting only${INSTALL_DIR}and only incommandandargs, so a manifest cannot followHERMES_HOMEand a~in a manifest path means the user home rather than the profile. Measured on a machine whoseHERMES_HOMEwasAppData/Local/hermes: the server opened an empty file under~/.hermeswhile every memory sat in the provider's store, writes succeeded, and recalls came back empty. A manifest now names the scope and never a path.The rule lives in one function,
_surface.hermes_store_path, and the memory provider calls it too, so the server's path and the provider's cannot drift apart. A path recorded in<hermes_home>/inspeximus/config.jsonbyinstall --allor the dashboard still wins, because a user who moved their store meant it. An explicitINSPEXIMUS_PATHstill outranks the scope, andwhere_am_ireports which rule applied.This scope creates
<hermes_home>/inspeximus/if it is missing, and it is the only one that does. A missing store directory is refused everywhere else, because a mistyped path would otherwise become a new empty memory, but nobody types this path: it is computed from the Hermes home. Without that, a new user whose server starts before the provider has ever run got a resolved path and then "no such directory" on every write. A typedINSPEXIMUS_PATHkeeps the refusal.
Tests: tests/test_the_second_store_detector_counts_a_row_store.py and tests/test_a_server_under_hermes_shares_the_providers_store.py. Every fixture is written by the library rather than by hand, and the last test fails if the provider stops calling the shared rule.
What breaks
No line in the 3.26.0 changelog entry carries a BEHAVIOUR CHANGE or BREAKING marker. That is a statement about the entry, which you can check against the source, and it is the only claim this section will make for you.
If that is wrong -- if something a caller relies on changed shape, name or default -- the entry is what needs fixing, not this section: RELEASING.md requires a behaviour change to carry the marker on its own line, and this reads that marker.
Try it -- one command
pip install -U "inspeximus==3.26.0"No server, no API key, no database, no LLM on the write path. A correction, and the retired value
staying retired:
from inspeximus import Inspeximus, regex_extractor
m = Inspeximus(path="demo.json")
m.extractor = regex_extractor # deterministic subject/predicate keys
m.remember("The staging database is db-1.internal.")
m.remember("The staging database is db-7.internal.") # a correction, not a second fact
print([h["text"] for h in m.recall("staging database", k=3)])
# -> ['The staging database is db-7.internal.']For the MCP server (the one part that has a dependency): pip install -U "inspeximus[mcp]" and point
your client at inspeximus-mcp. In Claude Code: /plugin marketplace add DanceNitra/inspeximus then
/plugin install inspeximus@inspeximus.
Check it yourself
Nothing above asks you to take our word for it:
pip download inspeximus-- PyPI records a signed attestation binding the wheel to this repository,
this workflow and this commit. Built by GitHub OIDC; no API token exists anywhere.python -m pytest tests/ -qin a clone -- the suite that had to be green before this was tagged.python tools/release_check.py-- the pre-release checklist itself, including the example above.inspeximus residue --root ./your-deployment --value <a value you deleted>-- points at ANY store,
not just ours, and exits non-zero if the bytes are still there.
Full detail, including what we got wrong and had to correct: CHANGELOG.md.