Skip to content

Plannotator does not respect CODEX_HOME environment variable #852

Closed

Description

@cwardgar

Pretty self-explanatory. Here are the relevant docs for the variable. Plannotator unconditionally installs skills and hooks to ~/.codex/, and plannotator last fails with “No rendered assistant message found” if conversations are not stored there.

It's probably worth auditing the other harnesses to see if alternative installation directories are supported for them or not. Many of us prefer our config files to live under ~/.config/<app>/, not ~/.<app>/.

Activity

  1. backnotprop commented on Jun 5, 2026

    @backnotprop
    Owner

    I will release the fix tonight.

  2. backnotprop commented on Jun 5, 2026

    @backnotprop
    Owner

    Fixed in #850, going out in the next release (probably tonight).

    The runtime now looks for Codex sessions under $CODEX_HOME/sessions (falls back to ~/.codex), so plannotator last works with a relocated home. All three install scripts also use CODEX_HOME for detection, config paths, and cleanup.

    Also did the audit you suggested: CLAUDE_CONFIG_DIR, COPILOT_HOME, FACTORY_CONFIG_DIR, and XDG_CONFIG_HOME (OpenCode) were already respected. Codex was the only one we missed. Gemini and Kiro don't document an override upstream yet, so nothing to do there for now.

    Re-run the installer after the release lands. Thanks for the report and the docs link, made this easy to track down.

  3. backnotprop commented on Jun 9, 2026

    @backnotprop
    Owner

    This shipped in v0.20.0, which is out now. Update when you get a chance and let me know if anything is still off. I will be keeping an eye out for bugs.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions