Skip to content

fix: trust installed Codex hooks - #326

Merged
arzafran merged 9 commits into
mainfrom
fix/cmux-upstream-aug31
Aug 31, 2026
Merged

fix: trust installed Codex hooks#326
arzafran merged 9 commits into
mainfrom
fix/cmux-upstream-aug31

Conversation

@arzafran

Copy link
Copy Markdown
Member

Summary

Port cmux #11258 to keep Programa lifecycle hooks executable on Codex 0.150+.

  • write per-handler hooks.state trust hashes at actual merged positions
  • preserve foreign hooks and user-owned Codex configuration
  • fail closed and keep installs atomic across malformed or symlinked config
  • remove the obsolete codex_hooks feature toggle and unsupported Notification handler

Test plan

  • Test-only first commit records the pre-fix failure in CI
  • Isolated CODEX_HOME behavioral regression
  • Tagged Debug build with Zig 0.16.0
  • GitHub Actions unit and CLI regression jobs

@arzafran
arzafran marked this pull request as ready for review August 31, 2026 17:23
@arzafran
arzafran merged commit 7a13e34 into main Aug 31, 2026
8 checks passed
@arzafran
arzafran deleted the fix/cmux-upstream-aug31 branch August 31, 2026 17:23
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