Skip to content

Codex dev install is not visible to a running plugin app-server until remove/add refreshes it #716

Description

@ScriptedAlchemy

Reproduction

Native #683 acceptance on main b435f7b917, Codex 0.153.4:

  1. Start agent-bundle dev --install-host claude --install-host codex for examples/audiobook-curator.
  2. codex plugin list reports audiobook-curator@audiobook-curator-marketplace installed and enabled at the stable .agent-bundle/dev/codex source.
  3. 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.
  4. Run only:
    codex plugin remove audiobook-curator@audiobook-curator-marketplace
    codex plugin add audiobook-curator@audiobook-curator-marketplace
  5. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions