From 825436f043912cd6f6206359cbe2d356ee991c17 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 2 Mar 2026 14:42:38 +0100 Subject: [PATCH] AGENTS.md: add instruction not to commit binaries (#33921) I noticed that some autonomous agents have a tendency to commit binaries if asked to create a PR. --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 33b31eb632..91032c8f17 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -66,6 +66,10 @@ go run ./build/ci.go check_baddeps Verifies that no forbidden dependencies have been introduced. +## What to include in commits + +Do not commit binaries, whether they are produced by the main build or byproducts of investigations. + ## Commit Message Format Commit messages must be prefixed with the package(s) they modify, followed by a short lowercase description: