Skip to content

fix: keep Agora memory provenance outside model context - #44

Merged
zhuqingyv merged 2 commits into
codex/issue-42-mafrom
codex/memory-provenance-blindness
Jul 13, 2026
Merged

fix: keep Agora memory provenance outside model context#44
zhuqingyv merged 2 commits into
codex/issue-42-mafrom
codex/memory-provenance-blindness

Conversation

@zhuqingyv

Copy link
Copy Markdown
Collaborator

What changed

  • Removed Agora memory policy from the conversational system prompt.
  • Removed agora_memory_* management tools from the model-visible tool list.
  • Kept the host-side Memory controller, /memory commands, UI console, and metadata-driven mounting intact.
  • Added a real MCP stdio regression that captures the outbound chat_complete request.

Root cause

The host exposed MemoryPatch terminology and management tool schemas to every model request. Under leading questions, the model used that leaked vocabulary to invent a false explanation that memory facts were injected into its prompt.

User impact

Ordinary chat now receives native MemoryPatch behavior without knowing that a patch is mounted. Memory operations remain explicit host control-plane actions.

Validation

  • npm run build
  • npm test: 409 tests, 401 passed, 8 explicit skips, 0 failed
  • Captured request proves profile selection remains in metadata while model-visible messages/tools contain no MemoryPatch, MemoryProfile, PatchSet, or agora_memory_* terms.

@zhuqingyv
zhuqingyv marked this pull request as ready for review July 13, 2026 15:52
@zhuqingyv
zhuqingyv merged commit f20d161 into codex/issue-42-ma Jul 13, 2026
zhuqingyv added a commit that referenced this pull request Jul 15, 2026
* feat: redesign Agora memory control plane

* fix: include postinstall in npm package

* feat: integrate Agora Memory v2

* fix: require notarized Agora release evidence

* fix: display the actual MA package version

* fix: make startup responsive and file reads provable

* fix: gate Agora lock on standalone release evidence

* fix: keep Agora memory provenance outside model context (#44)

* fix: keep Agora memory provenance outside model context

* docs: keep memory management in host control plane

* fix: prevent hidden provenance speculation (#45)

* fix: render Agora generation as indeterminate progress

* feat: expose MA as an ACP runtime

* build: add a packageable MA ACP entry

* fix: isolate ACP host configuration

* fix: harden hosted MA isolation
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