[GH-ISSUE #385] Bash operations doesn't appear as AI edit #142

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

Originally created by @vlad-vladov-ft on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/385

Hello, thanks for this interesting CLI. I've noticed that when the Agent deletes a file using Bash operations, the subsequent commit attributes the change to the user (human) rather than the AI.

I understand that tracking changes made via shell commands is difficult. However, could we implement tracking using hooks similar to those used in OpenCode or other CLI tools to ensure AI actions are correctly attributed?

I didn't research could we do it using hooks or not, but leave it as proposal for now

git-ai version: 1.0.36
opencode version: 1.0.28

Image Image
Originally created by @vlad-vladov-ft on GitHub (Jan 21, 2026). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/385 Hello, thanks for this interesting CLI. I've noticed that when the Agent deletes a file using Bash operations, the subsequent commit attributes the change to the user (human) rather than the AI. I understand that tracking changes made via shell commands is difficult. However, could we implement tracking using hooks similar to those used in OpenCode or other CLI tools to ensure AI actions are correctly attributed? I didn't research could we do it using hooks or not, but leave it as proposal for now git-ai version: 1.0.36 opencode version: 1.0.28 <img width="745" height="246" alt="Image" src="https://github.com/user-attachments/assets/b7530aea-b1f2-4b2e-b524-ba4460825e5b" /> <img width="923" height="138" alt="Image" src="https://github.com/user-attachments/assets/65361d42-f8a1-4cb3-859e-ce2b0988bbb9" />
kerem closed this issue 2026-03-02 04:12:14 +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#142
No description provided.