This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 3495787edbdb Improve branch management instruction to AI agents
3495787edbdb is described below
commit 3495787edbdbe8001985c8f1c8495d966a7541d2
Author: Aurélien Pupier <[email protected]>
AuthorDate: Wed Mar 25 09:57:44 2026 +0100
Improve branch management instruction to AI agents
Signed-off-by: Aurélien Pupier <[email protected]>
---
AGENTS.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/AGENTS.md b/AGENTS.md
index ddd45ed05473..44fa8026ad56 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -25,11 +25,14 @@ These rules apply to ALL AI agents working on this codebase.
- An agent MUST NOT open more than 10 PRs per day per operator to ensure human
reviewers can keep up.
- Prioritize quality over quantity — fewer well-tested PRs are better than
many shallow ones.
-### Branch Ownership
+### Git branch
- An agent MUST NEVER push commits to a branch it did not create.
- If a contributor's PR needs changes, the agent may suggest changes via
review comments,
but must not push to their branch without explicit permission.
+- An agent should prefer to use his own fork to push branches instead of the
main apache/camel repository. It avoids to fill the main repository with a long
list of uncleaned branches.
+- An agent must provide a useful name for the git branch. It should contain
the global topic and issue number if possible.
+- After a Pull Request is merged or rejected, the branch should be deleted.
### JIRA Ticket Ownership