Skip to content

Retire Neo4j and narrow the AgensGraph 0.7 claim - #189

Merged
chouswei merged 1 commit into
masterfrom
cursor/retire-neo4j-narrow-agens-2494
Sep 25, 2026
Merged

chouswei merged 1 commit into
masterfrom
cursor/retire-neo4j-narrow-agens-2494

Conversation

@chouswei

Copy link
Copy Markdown
Owner

Closes #187

Neo4j had no runtime caller (agentReachable=false; DurableBuffer.hydrateFlushCallers="tests").
At 80, 229, and 504 nodes it is not faster on an equal query. JVM startup is about 7 s and 811 MiB, against 0.87 s and 33 MiB for MemNet.
Its flush-then-hydrate round trip did not return the same node set it flushed.

Change

SysML first, then code. Neo4jAdapter, Neo4jLibraryPort, and liveNeo4jClaimed move to the leftover archive shelf (MemNetArchive, off ProjectMemNet load). Factory bindsExactlyOneOf is fake|agensgraph. The 0.7 row is adapter + operator round trip (no runtime caller). No new hydrate/flush caller. No package version bump.

MEMNET_NEO4J_* is ignored with one log warning. The engine starts.

Removed:

  • parts/common/memnet/memnet/durable/neo4j.py
  • parts/common/memnet/memnet/durable/neo4j_library.py
  • tests/test_neo4j_library.py

Also dropped the neo4j optional extra and the neo4j_live marker.

Checks

  • ruff check and ruff format --check on parts/common/memnet, parts/memnet-mcp/software, and tests
  • pytest: 403 passed, 1 skipped (agensgraph_live)
Open in Web Open in Cursor 

Move the Neo4j cabinet onto the leftover archive shelf and bind the
factory to fake|agensgraph. Ignore MEMNET_NEO4J_* so a host that still
exports it starts. The 0.7 row is adapter plus operator round trip
with no runtime caller.

Closes #187

Co-authored-by: chouswei <chouswei@users.noreply.github.com>
@chouswei
chouswei merged commit 4110dbe into master Sep 25, 2026
2 checks passed
@chouswei chouswei mentioned this pull request Sep 25, 2026
4 tasks done
chouswei added a commit that referenced this pull request Sep 25, 2026
Hatch, project.toml, and memnet.__version__ move to 0.19.15 so this tip can upload. Changelog records storage role labels, Path-B ingest kinds, and Neo4j retired. Last published PyPI stays memnet-llm==0.19.14 until upload.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: chouswei <chouswei@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AgensGraph 0.7 live hydrate/flush claim has zero runtime callers

2 participants