You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.**Sync with remote first**: `git pull --rebase origin <branch>` to ensure local branch is up to date. If the branch is behind or diverged, you MUST rebase before committing.
-**New commit**: Standard commit with message, then `git push`
147
+
-**⚠️ A commit without a push is incomplete. You MUST push.**
148
+
149
+
6.**Verify push succeeded (MANDATORY before replying)**:
150
+
- Run `git log -1 --format='%H'` locally and `git ls-remote origin <branch>` to confirm the remote has your commit
151
+
-**If they differ**: The push failed or was never executed. Do NOT post a "Done" reply. Diagnose and retry, or report the failure to the user.
152
+
-**If uncommitted changes remain** (`git status`): The commit failed. Fix it first.
153
+
-**⚠️ NEVER post a "Done" or "Fixed" reply unless the push is verified on the remote.** Posting false claims of completion erodes reviewer trust and wastes human reviewers' time.
145
154
146
155
-**Concise Reply template**: `Done. [1-line what changed]. [Optional 1-line why]`
0 commit comments