[GH-ISSUE #227] Checkpoints are triggered by Cursor hooks for repos in excluded_repositories list #83

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

Originally created by @AtnesNess on GitHub (Nov 21, 2025).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/227

Hook output in Cursor.

...
OUTPUT:
(empty)

STDERR:
ai_agent cursor changed 1 file(s) that have changed since the last commit
Checkpoint completed in 378.25825ms


Hook execution directory matches ~/.cursor. Therefore, find_repository_in_path doesn't find correct repo here https://github.com/acunniffe/git-ai/blob/main/src/commands/git_ai_handlers.rs#L28. and checkpoint is not skipped here: https://github.com/acunniffe/git-ai/blob/main/src/commands/git_ai_handlers.rs#L60

Originally created by @AtnesNess on GitHub (Nov 21, 2025). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/227 **Hook output in Cursor.** ``` ... OUTPUT: (empty) STDERR: ai_agent cursor changed 1 file(s) that have changed since the last commit Checkpoint completed in 378.25825ms ``` Hook execution directory matches `~/.cursor`. Therefore, `find_repository_in_path` doesn't find correct repo here https://github.com/acunniffe/git-ai/blob/main/src/commands/git_ai_handlers.rs#L28. and checkpoint is not skipped here: https://github.com/acunniffe/git-ai/blob/main/src/commands/git_ai_handlers.rs#L60
kerem closed this issue 2026-03-02 04:11:42 +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#83
No description provided.