Add mandatory commit instruction to AGENTS.md

Require that every completed task end with a git commit, without waiting
for the user to ask. Committing is part of completing the task.
This commit is contained in:
Alex Gleason committed 2026-04-26 00:58:25 -05:00
1 parent 4044d586db
commit 59c32c845c
1 file changed
+3 -1
+3 -1
View File
@@ -1206,4 +1206,6 @@ The validation ensures code quality and catches errors before deployment, regard
If git is available in your environment (through a `shell` tool, or other git-specific tools), you should utilize `git log` to understand project history. Use `git status` and `git diff` to check the status of your changes, and if you make a mistake use `git checkout` to restore files.
When your changes are complete and validated, create a git commit with a descriptive message summarizing your changes.
When your changes are complete and validated, create a git commit with a descriptive message summarizing your changes.
**ALWAYS commit when you are finished making changes. This is non-negotiable -- every completed task must end with a git commit. Never leave uncommitted changes. Do not wait for the user to ask; committing is part of completing the task.**