Reproduction
Native #683 acceptance on main b435f7b917, Codex 0.153.4:
- Start
agent-bundle dev --install-host claude --install-host codex for examples/audiobook-curator.
codex plugin list reports audiobook-curator@audiobook-curator-marketplace installed and enabled at the stable .agent-bundle/dev/codex source.
- Launch a real Codex session from Workbench.
/mcp lists 12 servers but omits curator; asking for search_audible returns “isn’t available in this session.” Restarting the Workbench host session does not help.
- Run only:
codex plugin remove audiobook-curator@audiobook-curator-marketplace
codex plugin add audiobook-curator@audiobook-curator-marketplace
- Launch another Workbench Codex session.
/mcp now reports curator: connected (16 tools) and tools/call search_audible succeeds with hook/session correlation. No artifact bytes or manifest were changed for this successful run.
The persistent Codex plugin app-server appears to keep a stale component snapshot across the Agent Bundle dev install. #677 made the source stable and receipt-owned, but an installed/enabled row is not enough to make its MCP/hooks visible to a new Codex CLI session.
Acceptance
- A Codex app-server already running before
agent-bundle dev --install-host codex picks up the installed/replaced plugin before the command reports the host attached.
- The first Workbench Codex session sees every MCP server and hook declared by the adopted epoch; no manual remove/add.
- Restart/rebuild replaces the same registration idempotently and refreshes changed component hashes.
- Test with the real Codex CLI behind
AGENT_BUNDLE_NATIVE_HOST_CONTRACTS=1; fake-host tests remain deterministic but are not the sole proof.
Related: #677, #683.
Reproduction
Native #683 acceptance on
mainb435f7b917, Codex 0.153.4:agent-bundle dev --install-host claude --install-host codexforexamples/audiobook-curator.codex plugin listreportsaudiobook-curator@audiobook-curator-marketplaceinstalled and enabled at the stable.agent-bundle/dev/codexsource./mcplists 12 servers but omitscurator; asking forsearch_audiblereturns “isn’t available in this session.” Restarting the Workbench host session does not help./mcpnow reportscurator: connected (16 tools)andtools/call search_audiblesucceeds with hook/session correlation. No artifact bytes or manifest were changed for this successful run.The persistent Codex plugin app-server appears to keep a stale component snapshot across the Agent Bundle dev install. #677 made the source stable and receipt-owned, but an installed/enabled row is not enough to make its MCP/hooks visible to a new Codex CLI session.
Acceptance
agent-bundle dev --install-host codexpicks up the installed/replaced plugin before the command reports the host attached.AGENT_BUNDLE_NATIVE_HOST_CONTRACTS=1; fake-host tests remain deterministic but are not the sole proof.Related: #677, #683.