Commit Graph
2 Commits
Author SHA1 Message Date
MgeeeekandClaude Opus 4.7 1dcf842635 fix(plugin): correct v2 filter syntax in mem0-mcp rubric
The rubric introduced in this PR taught the agent to use
`{"metadata.type": "decision"}` filters, but the v2 search
contract (docs/platform/features/v2-memory-filters.mdx) requires:

1. The root must be a logical operator (`AND`/`OR`/`NOT`) with an array.
   A bare `{"user_id": "..."}` is rejected.
2. Metadata uses a nested object — `{"metadata": {"type": "..."}}` —
   not a dotted key. Only top-level metadata keys are filterable.

Without this fix, agents following the rubric produce filter calls
the platform either ignores or rejects.

Also replaces the literal `"alice"` in the worked example with a
clearly-marked `<your_user_id>` placeholder so agents don't copy
verbatim, and adds a one-line "substitute the active user_id"
instruction.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 19:13:10 +05:30
gabrielstein-mem0 875eedfbac refactor(plugin): rename mem0-codex skill to mem0-mcp
The skill content is runtime-agnostic — same protocol applies to Claude
Code, Cursor, and Codex. The "codex" name was a vestige from when Codex
was the only runtime delivering this guidance via skill (because Codex
didn't have hooks yet). Now all three runtimes run the same hook plus
load the same skill, so name it after the surface it actually documents:
the mem0 MCP tool protocol.
2026-04-30 15:29:19 -07:00