From 1b73843628fdfbb3968f89427fc272b8add483b0 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Fri, 12 Jun 2026 12:31:54 -0700 Subject: [PATCH] docs: add crate API surface review rule --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 0118ef77b216..016b80205666 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -81,6 +81,10 @@ Likewise, when reviewing code, do not hesitate to push back on PRs that would un ## Code Review Rules +### Crate API surface + +Keep crate API surfaces as small as possible. Avoid proliferating test-only helpers. + ### Model visible context Codex maintains a context (history of messages) that is sent to the model in inference requests.