From ffb675b5c7084f2f9541a2f5192ec44f11c86eab Mon Sep 17 00:00:00 2001 From: Ben Westgate Date: Mon, 28 Sep 2026 00:08:00 -0500 Subject: [PATCH] docs: raise v1 review budget to 5200 lines --- AGENTS.md | 2 +- docs/developer/api.md | 2 +- tests/test_cli.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index cc23028..d3a62a2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -60,7 +60,7 @@ avoid comments or tests that restate the implementation. Add or update concise docstrings when changing public behavior. Write codex32 in lowercase except when referring to the Codex32 Book. -Keep the installed package below 5,000 logical review lines, as enforced by the +Keep the installed package below 5,200 logical review lines, as enforced by the existing test. New dependencies, public API signature or return-shape changes, and lint suppressions require user authorization; an explicit request can already provide that authorization. diff --git a/docs/developer/api.md b/docs/developer/api.md index 82cbdd7..fef8079 100644 --- a/docs/developer/api.md +++ b/docs/developer/api.md @@ -105,7 +105,7 @@ unsupported but remains in the review scope. ### Size budget -V1 keeps the installed package below 5,000 logical review lines, excluding +V1 keeps the installed package below 5,200 logical review lines, excluding blank and comment-only lines while counting subpackages recursively. Changing the budget requires explicit review and authorization together with the matching documentation and enforcement update. diff --git a/tests/test_cli.py b/tests/test_cli.py index 5a2157e..6d50f4f 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -2016,7 +2016,7 @@ def test_production_size_budgets_are_enforced() -> None: for path in package.rglob("*.py") } - assert sum(counts.values()) < 5000, counts + assert sum(counts.values()) < 5200, counts @pytest.mark.parametrize(