You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex setup rewrites root symlink into generated skill directory on macOS #261
Codex setup rewrites root symlink into generated skill directory on macOS
Hey gstack team — ran into this while using /gstack-upgrade:
What I was trying to do: Upgrade a shared gstack install and keep Codex using the same installation as Claude. What happened instead: After ./setup --host auto (or --host codex), the ~/.codex/skills/gstack symlink ended up pointing at the generated .agents/skills/gstack/ directory instead of the gstack repo root. That made runtime paths like ~/.codex/skills/gstack/bin/gstack-update-check fail because bin/ does not exist under .agents/skills/gstack/. My rating: 6/10 — setup mostly worked, but the Codex root symlink became invalid for runtime assets after upgrade.
Steps to reproduce
Install gstack as a git checkout in a Claude skills directory.
Expose the same install to Codex via ~/.codex/skills/gstack.
Run ./setup --host codex or ./setup --host auto on macOS.
$ readlink ~/.codex/skills/gstack
.../.agents/skills/gstack/
$ ~/.codex/skills/gstack/bin/gstack-update-check
no such file or directory
What would make this a 10
setup should replace the existing Codex symlink atomically so it always points to the gstack repo root, never to the generated .agents/skills/gstack/ directory.
Implemented in #269 - the gstack*/ glob in link_codex_skill_dirs() was matching the sidecar dir and overwriting the root symlink. Added a guard to skip it.
Activity
fix: skip sidecar dir in Codex skill linking to preserve root symlink
mvanhorn commentedon Mar 21, 2026
Implemented in #269 - the gstack*/ glob in link_codex_skill_dirs() was matching the sidecar dir and overwriting the root symlink. Added a guard to skip it.
fix: skip sidecar dir in Codex skill linking (#269)
garrytan commentedon Mar 23, 2026
Fixed in #346 (Wave 2 Codex Compatibility).
fix: Codex compatibility — 1024-char cap, duplicate skills, repo-loca…
fix: Codex compatibility — 1024-char cap, duplicate skills, repo-loca…
fix: skip sidecar dir in Codex skill linking (garrytan#269)