Skip to content

Commit 99be334

Browse files
committed
Ask AI agents to not take git actions on their own call
1 parent aeae755 commit 99be334

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ without ticket prefixes. For pull requests: branch from `main`, add tests for
4646
behavior changes, update docs for API changes, ensure the test suite passes,
4747
and avoid introducing new compiler warnings. Link issues when applicable and
4848
include clear reproduction steps for bug fixes.
49+
50+
**IMPORTANT — Agent commit policy**: Never run `git commit`, `git push`,
51+
`git reset`, `git rebase`, or any other destructive/state-changing git operation.
52+
Do not ask for permission to do so either. Committing and all repo state changes
53+
are exclusively the user’s decision. Just do the code work and stop there.

0 commit comments

Comments
 (0)