From 180a9096b3be4d45f575f7c2d8a0fd3ea46ced20 Mon Sep 17 00:00:00 2001 From: euxaristia <25621994+euxaristia@users.noreply.github.com> Date: Sat, 11 Jul 2026 17:27:07 -0400 Subject: [PATCH] docs: add codebase minimization guideline to AGENTS.md --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 35b775f6..0b912611 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,6 +14,7 @@ This file outlines the project conventions and repository guidelines for coding - Tests live next to the source file (`foo_test.go` next to `foo.go`). - Run `make lint` before opening a PR. - Never edit files under `third_party/` — those are vendored. +- Unify functions/methods where possible to prevent codebase inflation. Prefer a single cross-platform function with conditional checks over duplicating helpers per platform. ## 2. Guidelines for Coding Agents