git-ai icon indicating copy to clipboard operation
git-ai copied to clipboard

Checkpoints are triggered by Cursor hooks for repos in excluded_repositories list

Open AtnesNess opened this issue 1 month ago • 0 comments

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

AtnesNess avatar Nov 21 '25 19:11 AtnesNess