Make passive memory context project-wide by default across clients #3299
oglenyaboss
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
claude-mem stores Claude Code, Codex, OpenCode, and other client observations in the same project database, while some passive context paths automatically filter them by
platform_source.As a result, switching between Claude Code and Codex can make existing project memory appear unavailable even though it remains in the same database. Users effectively have to rediscover or restate project context after switching clients.
Proposed policy
Treat the project as the default memory namespace:
platform_sourceremains provenance and diagnostic metadata;platformSourcefilters remain available for manual, diagnostic, and API queries;CLAUDE_MEM_CONTEXT_SCOPE=platformas a compatibility escape hatch;Affected passive paths
The proposed policy applies only to paths that already automatically scope reads by source:
AGENTS.md.Manual search filters and unrelated integrations remain unchanged.
Compatibility
The database schema and stored attribution do not change.
Existing observations retain their original
platform_source. Users who prefer the current isolation behavior can set:Validation performed
A local implementation has been tested with:
projectandplatformmodes;platformSourcefilters remaining isolated.The installed plugin and original database were not modified.
Questions
platforman acceptable compatibility mode?core-dev?Related to #1472, #2081, #2389, and #3088.
All reactions