Skip to content

v1.32.1.0 fix: cleanup stale flat Codex skill directories on setup install#2237

Open
yihui315 wants to merge 1 commit into
garrytan:mainfrom
yihui315:fix/cleanup-stale-codex-skills
Open

v1.32.1.0 fix: cleanup stale flat Codex skill directories on setup install#2237
yihui315 wants to merge 1 commit into
garrytan:mainfrom
yihui315:fix/cleanup-stale-codex-skills

Conversation

@yihui315

Copy link
Copy Markdown

Summary

The setup script now detects and removes stale flat Claude-format skill directories (from pre-prefixed older Codex installs) that can shadow the generated gstack-* Codex skills and still point at ~/.claude/skills/gstack runtime paths.

Changes

  • setup: Added cleanup_stale_codex_skill_dirs() function that removes stale flat gstack-* skill directories from ~/.codex/skills/ before linking new Codex-format skills
  • test/gen-skill-docs.test.ts: Added test coverage for the cleanup logic

Test results

381 pass
0 fail
5336 expect() calls
Ran 381 tests across 1 file. [2.67s]

Documentation

  • CHANGELOG.md updated (v1.32.1.0)
  • VERSION bumped to 1.32.1.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@trunk-io

trunk-io Bot commented Jul 11, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions github-actions Bot changed the title fix: cleanup stale flat Codex skill directories on setup install v1.32.1.0 fix: cleanup stale flat Codex skill directories on setup install Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant