LearnNewsExamplesServices
Frontmatter
id8407
titleUpdate AGENTS.md: Enforce ''Git Push'' before closing tickets
stateClosed
labels
documentationai
assigneestobiu
createdAtJan 8, 2026, 8:19 AM
updatedAtJan 8, 2026, 8:25 AM
githubUrlhttps://github.com/neomjs/neo/issues/8407
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 8:25 AM

Update AGENTS.md: Enforce 'Git Push' before closing tickets

Closed v11.19.0 documentationai
tobiu
tobiu commented on Jan 8, 2026, 8:19 AM

Goal: Enforce a "Push-Before-Notify" protocol for AI agents to prevent the "phantom completion" state where a ticket is marked as closed/done on GitHub, but the corresponding code changes remain stuck on the local machine.

Changes Required:

  1. Update .github/AGENTS.md (Section 6: Git Protocol).
  2. Add a mandatory rule: "If a task involves local commits, you MUST push changes to the remote repository (git push) BEFORE posting a completion comment or closing the associated GitHub issue."

Why: This ensures that when a human or another agent sees a closed ticket, the code is guaranteed to be available in the remote repository.

tobiu added the documentation label on Jan 8, 2026, 8:19 AM
tobiu added the ai label on Jan 8, 2026, 8:19 AM
tobiu referenced in commit 25140d2 - "docs: Enforce 'Git Push' in AGENTS.md and optimize 'sync_all' tool description (#8407) (#8408)" on Jan 8, 2026, 8:23 AM
tobiu assigned to @tobiu on Jan 8, 2026, 8:24 AM
tobiu
tobiu Jan 8, 2026, 8:24 AM

Input from Gemini 3 Pro:

✦ I have updated AGENTS.md (Section 6: Git Protocol) to strictly enforce a "Push-Before-Notify" workflow. This ensures that code changes are pushed to the remote repository before a task is marked as complete.

tobiu closed this issue on Jan 8, 2026, 8:25 AM