Summary
Connecting claude-mem v13.8.0 into Codex worked only after several undocumented compatibility/workaround steps. The final state is healthy, but the path was not discoverable from the upstream docs/issues, so this should be captured as a runbook or fixed in the plugin packaging.
Environment
What was missing
A normal install/enable was not enough to produce a clean Codex runtime. We had to patch multiple live roots and packaging details manually before a fresh Codex session could load the memory tools cleanly.
The undocumented/manual pieces were:
- pin/install
claude-mem@claude-mem-local at v13.8.0 for Codex
- add/enable the
mcp-search integration
- add
.install-version
- add
scripts/codex-hook-output-filter.js
- remove the top-level
description field from hooks/codex-hooks.json
- make plugin-owned
version-check.js return Codex hook JSON
- pipe worker start output through the hook output filter
- make
PreToolUse fail open as a no-op
- apply the same compatibility fixes across all active roots, not only one cache:
- Codex marketplace snapshot
- Codex versioned cache
- Claude cache
- Claude marketplace
Observed final working state
After the workaround, validation passed:
codex plugin list
claude-mem@claude-mem-local installed, enabled 13.8.0
curl http://127.0.0.1:37701/health
{"status":"ok", ...}
Additional validation from a fresh Codex session:
mcp-search was enabled/running
- worker health was
ok on 127.0.0.1:37701
- helper
verify --json returned ok=true
- direct hook smoke tests returned
continue without suppressOutput
- context probe injected recent
mgmt-pve context
- lifecycle smokes returned
Ready. / Done. with no Failed lines
- current interactive Codex session exposes
mcp__mcp_search.search, timeline, and get_observations
Expected upstream outcome
Please add one of these upstream artifacts:
- a documented Codex install/upgrade runbook for
claude-mem v13.8.0, including all compatibility steps and validation commands, or
- a packaging fix so those steps are applied automatically during install/upgrade, with a smoke-test command that confirms Codex can load the MCP tools.
The most important requirement is that future agents should not have to rediscover the multi-root patching and hook-output behavior by trial and error.
Summary
Connecting
claude-memv13.8.0 into Codex worked only after several undocumented compatibility/workaround steps. The final state is healthy, but the path was not discoverable from the upstream docs/issues, so this should be captured as a runbook or fixed in the plugin packaging.Environment
/Users/itarun/mgmt-pveclaude-mem@claude-mem-local13.8.0What was missing
A normal install/enable was not enough to produce a clean Codex runtime. We had to patch multiple live roots and packaging details manually before a fresh Codex session could load the memory tools cleanly.
The undocumented/manual pieces were:
claude-mem@claude-mem-localat v13.8.0 for Codexmcp-searchintegration.install-versionscripts/codex-hook-output-filter.jsdescriptionfield fromhooks/codex-hooks.jsonversion-check.jsreturn Codex hook JSONPreToolUsefail open as a no-opObserved final working state
After the workaround, validation passed:
Additional validation from a fresh Codex session:
mcp-searchwas enabled/runningokon127.0.0.1:37701verify --jsonreturnedok=truecontinuewithoutsuppressOutputmgmt-pvecontextReady./Done.with noFailedlinesmcp__mcp_search.search,timeline, andget_observationsExpected upstream outcome
Please add one of these upstream artifacts:
claude-memv13.8.0, including all compatibility steps and validation commands, orThe most important requirement is that future agents should not have to rediscover the multi-root patching and hook-output behavior by trial and error.