Skip to content

[bug] Plugins disabled after uninstall + reinstall cycle #488

Description

@ndycode

Summary

After running codex-multi-auth uninstall, reinstalling via npm i -g codex-multi-auth, double-clicking the macOS Codex Multi Auth.app, and restarting /Applications/Codex.app, the Codex plugins panel shows plugins toggled off. Automations that rely on those plugins stop working.

Split from issue #486 as the symptom is independent of the pinned-account 503 root cause being tracked there.

Reporter context

Expected

Plugin enable state survives a reinstall cycle.

Actual

Plugin enable state appears reset on first launch after reinstall.

Investigation ideas

  • scripts/postinstall.js and scripts/preuninstall.js are the most likely overwriters of plugin state.
  • Plugin manifest is bundled (bundleDependencies: ["@codex-ai/plugin"]); confirm whether reinstall rewrites the user-side enable flags from the bundled manifest defaults.
  • Cross-check whether plugin enable flags live under ~/.codex/multi-auth/ (wiped during uninstall) or under a path that should survive uninstall.

Compliance Confirmation

  • Personal development workflow scope
  • No policy-bypass request
  • No secrets in the report

Refs #486.

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