From fb715cd446d5f4c56b50be399b1720b21f9f5a07 Mon Sep 17 00:00:00 2001 From: geometrybase Date: Mon, 15 Jun 2026 06:22:44 +0000 Subject: [PATCH] Require automatic upstream pushes Request: - Make AGENTS.md explicitly require automatic pushes to the remote after commits. Changes: - Add a Git Workflow rule to push the current branch to its configured upstream remote after a successful commit. - Add a reporting rule for missing upstream configuration or failed pushes. Verification: - Reviewed the updated Git Workflow section. - Ran git diff --check. --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 5b8ae16..0ad563d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -73,6 +73,8 @@ Strong success criteria let you loop independently. Weak criteria ("make it work ## Git Workflow (Automatic Commits) - After each completed repository change, create a focused git commit automatically before the final response. +- After a successful commit, push the current branch to its configured upstream remote automatically before the final response. +- If no upstream remote is configured, or if the push fails, report the skipped/failed push with the exact reason. - Use small, focused commits. - Use rich multi-line commit messages so `git log` is the primary step-by-step history for this repo. - All generated code and documentation outputs should be written in English by default.