Skip to content

feat: add memory-milvus plugin for Milvus/Zilliz Cloud vector memory - #3

Merged
supmo668 merged 1 commit into
testfrom
feat/milvus-memory
Feb 14, 2026
Merged

supmo668 merged 1 commit into
testfrom
feat/milvus-memory

Conversation

@supmo668

@supmo668 supmo668 commented Feb 14, 2026 •

Copy link
Copy Markdown

Summary

New extensions/memory-milvus/ plugin that provides long-term memory with vector search using Milvus or Zilliz Cloud as the backend. Mirrors the existing memory-lancedb plugin interface exactly — same tools, lifecycle hooks, CLI commands, and service registration — but swaps the storage layer to @zilliz/milvus2-sdk-node.

Changes

  • extensions/memory-milvus/index.ts — Main plugin: MemoryDB class (Milvus), 3 tools (memory_recall, memory_store, memory_forget), lifecycle hooks (before_agent_start/agent_end), CLI (ltm list/search/stats), service
  • extensions/memory-milvus/config.ts — Config schema supporting both local Milvus and Zilliz Cloud (SSL auto-detected from https:// prefix)
  • extensions/memory-milvus/openclaw.plugin.json — Plugin manifest with kind: "memory"
  • extensions/memory-milvus/index.test.ts — 10 tests (9 unit + 1 live e2e against Zilliz Cloud)
  • extensions/memory-milvus/package.json — NPM package with @zilliz/milvus2-sdk-node@^2.6.9
  • extensions/memory-milvus/.env.example — Secrets template for both Milvus and Zilliz Cloud

Files Changed

8 files changed, +1528 lines

File list
  • extensions/memory-milvus/package.json (CREATE)
  • extensions/memory-milvus/config.ts (CREATE)
  • extensions/memory-milvus/openclaw.plugin.json (CREATE)
  • extensions/memory-milvus/index.ts (CREATE)
  • extensions/memory-milvus/index.test.ts (CREATE)
  • extensions/memory-milvus/.env.example (CREATE)
  • pnpm-lock.yaml (UPDATE)
  • .gitignore (UPDATE — add .claude/)

Testing

  • pnpm build — type-check passes
  • pnpm check (oxlint + oxfmt) — lint clean on all new files
  • Unit tests — 9 passed (config parsing, validation, capture filters, category detection)
  • Live e2e test — passed against Zilliz Cloud (store → recall → duplicate detection → forget → verify deleted → cleanup)
  • Collection cleanup — test drops temp collection after run

Related Issues

None

New extension plugin that provides long-term memory with vector search
using Milvus or Zilliz Cloud as the backend, mirroring the existing
memory-lancedb plugin interface (same tools, hooks, CLI, service).

- memory_recall: semantic search through stored memories via COSINE similarity
- memory_store: persist memories with embeddings and duplicate detection
- memory_forget: delete by ID or find candidates by query
- Auto-recall/capture lifecycle hooks (before_agent_start, agent_end)
- CLI commands: ltm list, ltm search, ltm stats
- Supports both self-hosted Milvus and managed Zilliz Cloud
- SSL auto-detected from https:// address prefix
- Includes .env.example template for both deployment modes
- 10 tests (9 unit + 1 live e2e) all passing

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@supmo668
supmo668 changed the base branch from main to test February 14, 2026 09:28
@supmo668
supmo668 merged this pull request into test Feb 14, 2026
8 of 13 checks passed
supmo668 added a commit that referenced this pull request Jun 21, 2026
…GR a61d669

chore(syntropy): delete dead findUsersByName (oc-hygiene #3)
supmo668 added a commit that referenced this pull request Jul 21, 2026
…G test-lens finding #3)

resolveGatewayRuntimeConfig now has explicit cases: partial clerk config → boots LOUDLY fails (/partially configured/); full + zero clerk configs boot. Locks the invocation at server-runtime-config.ts:101 (the fn itself was already covered).

Stage: tests
Generated-With: Claude Code
Co-Authored-By: openclaw <[email protected]>
Co-Authored-By: Claude <[email protected]>
supmo668 added a commit that referenced this pull request Jul 22, 2026
…he pass; non-empty = FAIL-ESCALATE (CTO openclaw#4367)

shrinemobile proved the original scenario-3 input (a fresh token for the signed-out session) is UNOBTAINABLE: a real sign-out revokes the session at Clerk, so the FAPI re-mint FAILS at the mint step (empty). Feeding an empty token and scoring its 401 as a pass would be VACUOUS (rejected nothing). Corrected, and stronger: PASS = (a) the re-mint returns EMPTY (Clerk refused to mint for the revoked session — the threat closed at the SOURCE) AND (b) the pre-sign-out captured token → 401 at the validator. A NON-EMPTY re-mint is the real finding → FAIL-ESCALATE (Clerk did not revoke), never scored green. This cleanly distinguishes #3 (a fresh token cannot be obtained) from #2 (the existing token is rejected).

Stage: tests
Generated-With: Claude Code
Co-Authored-By: openclaw <[email protected]>
Co-Authored-By: Claude <[email protected]>
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.

1 participant