From d22417f41b6886e30412d9d8a2238a82c6b62bc2 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Mon, 24 Aug 2026 16:06:39 +0200 Subject: [PATCH] Point the file-length gate at the renamed TODO file The failure message named refactor_claude_todo.md, which the markdown namespace migration renamed to TODO-file-length-250.md. A gate telling you to read a file that no longer exists is worse than one that says nothing. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01A47aX5DJwmA3QFn3pkEWi7 --- file_length/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_length/check.py b/file_length/check.py index ea11177..2cc077a 100644 --- a/file_length/check.py +++ b/file_length/check.py @@ -175,7 +175,7 @@ def main() -> int: for path, lines in sorted(violations, key=lambda item: -item[1]): over = lines - MAX_LINES print(f" {path}: {lines} lines (over by {over})", file=sys.stderr) - print("\nSplit them, or see refactor_claude_todo.md in this repo.", file=sys.stderr) + print("\nSplit them, or see TODO-file-length-250.md in this repo.", file=sys.stderr) return 1