From 035439ce027a23067a0c02d64fe3a1779b3726bb Mon Sep 17 00:00:00 2001 From: fujie Date: Sat, 3 Jan 2026 13:21:31 +0800 Subject: [PATCH] docs: forbid agents from auto-pushing to remote main branch --- .agent/workflows/plugin-development.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.agent/workflows/plugin-development.md b/.agent/workflows/plugin-development.md index ffa53fd..b317cc8 100644 --- a/.agent/workflows/plugin-development.md +++ b/.agent/workflows/plugin-development.md @@ -91,3 +91,12 @@ Before committing: - [ ] `docs/` index and detail pages are updated? - [ ] Root `README.md` is updated? - [ ] All version numbers match exactly? + +## 5. Git Operations (Agent Rules) + +**CRITICAL RULE FOR AGENTS**: + +- **No Auto-Push**: Agents **MUST NOT** automatically push changes to the remote `main` branch. +- **Local Commit Only**: All changes must be committed locally. +- **User Approval**: Pushing to remote requires explicit user action or approval. +