From e4fe12aaf1cdc41f8b665f2397a50dddf9d7c007 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Tue, 17 Feb 2026 15:38:41 -0500 Subject: [PATCH] docs: add critical auto-commit rule to AGENTS.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agent must automatically commit and push after completing work. User should NEVER have to ask about commit status. 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush --- AGENTS.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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