Repository navigation
Description
Description
After a user-scope install made by CLI 5.7.0, neither aidd sync --global nor aidd setup --global --release <tag> from CLI 5.8.0 moves Codex to the new built/5.8.0. Both commands exit 0, and aidd doctor --global reports "User-scope installation is healthy" while Codex still loads the previous release. Claude Code follows the new built/ in the same runs.
The Codex registration that the CLI refuses as "unproven" is the one the CLI itself wrote with 5.7.0.
Steps to reproduce, each trial in a fresh, empty HOME (no prior Claude Code, Codex or AIDD state, no manual plugin install):
export HOME=$(mktemp -d)
export XDG_CONFIG_HOME=$HOME/.config AIDD_USER_CONFIG_DIR=$HOME/.config/aidd AIDD_SKIP_UPDATE_CHECK=1 \
CLAUDE_CONFIG_DIR=$HOME/.claude CODEX_HOME=$HOME/.codex
P=aidd-context,aidd-dev,aidd-vcs,aidd-pm,aidd-orchestrator,aidd-refine
npx @ai-driven-dev/[email protected] setup --global --source remote --release v5.14.0 --ide claude,codex --plugins "$P" --yes
# Trial D: the documented update first, then the explicit release
npx @ai-driven-dev/[email protected] sync --global
npx @ai-driven-dev/[email protected] setup --global --source remote --release cli-v5.8.0 --ide claude,codex --plugins "$P" --yes
npx @ai-driven-dev/[email protected] sync --global
codex plugin list
npx @ai-driven-dev/[email protected] doctor --global
# Trial E (new HOME, same 5.7.0 install): the explicit release directly
npx @ai-driven-dev/[email protected] setup --global --source remote --release cli-v5.8.0 --ide claude,codex --plugins "$P" --yes
npx @ai-driven-dev/[email protected] sync --global
codex plugin listAffected file(s)
cli/ (native plugin activation for Codex, doctor --global). Root cause in the code: not established.
Expected behaviour
Codex's aidd-framework marketplace points to $HOME/.config/aidd/cache/built/5.8.0/aidd-framework/codex and loads the plugins of cli-v5.8.0 (for example aidd-context 2.12.0), as Claude Code does. If the CLI cannot move it, the command exits non-zero or doctor --global reports the drift.
Observed behaviour
Each 5.8.0 command prints, for Codex:
Warning: Native plugin activation — catalogue 'aidd-framework' host catalogue source is unproven; host registration left untouched. codex marketplace add $HOME/.config/aidd/cache/built/5.8.0/aidd-framework/codex failed: Error: marketplace 'aidd-framework' is already added from a different source; remove it before adding this source
Warning: Native plugin activation — upgrade marketplace 'aidd-framework' skipped: codex marketplace upgrade aidd-framework failed: Error: marketplace `aidd-framework` is not configured as a Git marketplace- Exit code 0 for every command (both trials).
codex plugin list: marketplace still$HOME/.config/aidd/cache/built/5.7.0/aidd-framework/codex,aidd-context2.11.0 (both trials).- Claude Code reads
built/5.8.0(folder version 2.12.0 after the explicit release) in both trials; its registry still lists version 2.11.0. doctor --global(trial D) printscodex (v5.7.0)andclaude (v5.7.0), then "User-scope installation is healthy".
AI tool
Other: Codex 0.169.0 (the dropdown has no Codex entry). Claude Code 2.1.332 ran in the same trials and followed the new built/.
aidd-cli version
5.7.0 for the install, 5.8.0 for the update (aidd/5.8.0 node/22.23.1 linux-x64).
OS
Linux
Additional context
- Also seen on a real user-scope installation, updated on 2026-11-27 with CLI 5.8.0: same "unproven" warning, exit code 0, Codex left on
built/5.7.0,doctor --globalhealthy. - Workaround that moved Codex:
codex plugin marketplace remove aidd-framework,codex plugin remove <plugin>@aidd-frameworkfor each plugin, thensetup --global --release cli-v5.8.0again. After it, Codex readsbuilt/5.8.0. - Trial D also shows that
sync --globalkeeps a pinnedref(v5.14.0stays inmarketplaces.json);docs/INSTALL.md("Update") presentssync --globalas the update without saying so. - Trial D then rebuilds
built/5.8.0in place and keeps 35 files removed incli-v5.8.0(fix(cli): a--globalrebuild for a newer release keeps the files that release removed #1230, fixed onnextby364ca041e, not in 5.8.0). doctor --globalwas run in trial D only.
Code of Conduct
- I agree to follow this project's Code of Conduct.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIdeation
Activity