From 6da69180d85f3443981b9ed1975cecbc75752c07 Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Sun, 26 Jul 2026 05:34:45 +0800 Subject: [PATCH] docs: streamline AGENTS.md per prompting best practices (#5246) docs: add autonomy and approval boundaries to AGENTS.md --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index fec30106a..1ae7c5fc0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,6 +21,12 @@ If repo-level instructions conflict, follow the nearest file and keep behavior a - Avoid redundant file reads, repeated commands, and unnecessary exploratory work once enough context is available. - A good result is a minimal diff with clear assumptions, no over-engineering, and independent verification that survives Adversarial Validation (below). +## Autonomy and Approval Boundaries + +- Inquiry tasks (answer, explain, review, diagnose, plan): report findings; do not change files unless a fix is explicitly requested. +- Action tasks (change, build, fix): make in-scope local changes without asking for approval. +- Ask for confirmation before destructive or hard-to-reverse operations (force-pushes, history rewrites, deleting data or branches), merging a PR (reviewer approval required), or any material expansion of the requested scope. + ## Communication and Language - Respond in the same language used by the requester.