Skip to content

Conversation

@gverma-openai
Copy link
Contributor

Updated system skills bundled with Codex were not correctly replacing the user's skills in their .system folder.

  • Fix .codex-system-skills.marker not updating by hashing embedded system skills recursively (nested dirs + file contents), so updates trigger a reinstall.
  • Added a build Cargo hook to rerun if there are changes in src/skills/assets/samples/*, ensuring embedded skill updates rebuild correctly under caching.
  • Add a small unit test to ensure nested entries are included in the fingerprint.

@@ -86,21 +86,8 @@ fn read_marker(path: &AbsolutePathBuf) -> Result<String, SystemSkillsError> {
}

fn embedded_system_skills_fingerprint() -> String {
Copy link
Collaborator

@xl-openai xl-openai Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI We can also just bump SYSTEM_SKILLS_MARKER_SALT.

@gverma-openai gverma-openai merged commit 5fb4618 into main Feb 2, 2026
32 checks passed
@gverma-openai gverma-openai deleted the gverma/skills/fix-skills-marker branch February 2, 2026 02:17
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants