Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

docs: cap source files at 600 lines

Rach Pradhan99509154af61
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 00000000..1b523b18
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,8 @@
+# Repository instructions
+
+## File size
+
+- Keep every hand-written source file at or below 600 lines of code.
+- When a change would push a file past 600 LOC, split cohesive responsibilities into focused sibling modules as part of the same change.
+- If a touched file is already over 600 LOC, do not grow it; move it toward the limit before adding more behavior.
+- Generated files, vendored dependencies, lockfiles, and machine-produced artifacts are exempt; change their generator or source instead of hand-editing them.