[PR #592] Fix Codex install-hooks clobbering notify array #593

Closed
opened 2026-03-02 04:14:04 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/592

State: closed
Merged: Yes


Summary

  • preserve existing user-defined args in Codex notify when it already points to git-ai checkpoint
  • update only the git-ai binary path when stale
  • treat merged state as up-to-date to avoid repeated overwrites
  • add regression tests for preservation and stale-binary update behavior

Testing

  • cargo test --lib codex::tests::
  • cargo fmt -- --check

Fixes #583

**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/592 **State:** closed **Merged:** Yes --- ## Summary - preserve existing user-defined args in Codex `notify` when it already points to git-ai checkpoint - update only the git-ai binary path when stale - treat merged state as up-to-date to avoid repeated overwrites - add regression tests for preservation and stale-binary update behavior ## Testing - cargo test --lib codex::tests:: - cargo fmt -- --check Fixes #583
kerem closed this issue 2026-03-02 04:14:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#593
No description provided.