diff --git a/AGENTS.md b/AGENTS.md index 57c356e..fa5ea86 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -316,7 +316,18 @@ git push origin main ### Important Rules +#### 🔴 CRITICAL: AUTO-COMMIT RULE +**After completing ANY work, you MUST:** +1. Check `git status` for uncommitted changes +2. Stage all relevant changes with `git add` +3. Commit with conventional message +4. Push to remote with `git push origin main` +5. NEVER wait for user to ask "is everything committed?" + +**This is NOT optional.** The user should NEVER have to ask about commits. + #### ✅ DO +- **AUTO-COMMIT AND PUSH** after completing work (see CRITICAL rule above) - Read files before editing them - Use exact text matching (whitespace matters) - Test after every change @@ -334,6 +345,7 @@ git push origin main - Run lint checks #### ❌ DO NOT +- **Wait for user to ask about commits** - AUTO-COMMIT ALWAYS - Edit files you haven't read - Guess at text matches (be precise) - Commit without testing