Point the file-length gate at the renamed TODO file
Some checks failed
file length / file-length (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
palette drift / palette (push) Has been cancelled

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) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A47aX5DJwmA3QFn3pkEWi7
This commit is contained in:
Krzysztof Rudnicki 2026-08-24 16:06:39 +02:00
parent a10d190b65
commit d22417f41b

View File

@ -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