From 12fd521f96489884d2eabf928ebc7525c88aa9d5 Mon Sep 17 00:00:00 2001 From: hatayama Date: Sun, 26 Jul 2026 03:28:12 +0900 Subject: [PATCH] Document that agents must not reformat unrelated C# code Surgical triage edits were collapsed into unreviewable one-liners by agent rewrite scripts. Record the no-reformat rule in AGENTS.md so future diffs stay scoped to the requested change. Co-authored-by: Cursor --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 45301ec4a2..5fca7be000 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -35,6 +35,10 @@ Comments in the code, commit messages, PR titles, and PR descriptions must all b Every test method must have a short comment that states what behavior the test verifies. +Do not reformat unrelated code. Surgical edits must keep existing wrapping and layout; only +change lines required by the task. Do not run C# formatters, IDE format-on-save, or rewrite +scripts that collapse multi-line argument lists or object initializers into one-liners. + ## CLI / Unity Package Compatibility Runtime compatibility between the Unity package and the native CLI is gated on an integer