From a4813b09bce28d4d53c8fe4f65dc3b93e5a77d2d Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Mon, 24 Aug 2026 15:56:24 +0200 Subject: [PATCH] Add the removal marker to every TODO file The rename commit staged the git mv but not the accompanying content edit, so these TODO files landed without the "REMOVE ME AFTER FINISH" line the md-naming gate requires. Repos whose hook was already live refused that commit; repos without it accepted a file the gate would now reject. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01A47aX5DJwmA3QFn3pkEWi7 --- _installer_import/TODO-file-length-250.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/_installer_import/TODO-file-length-250.md b/_installer_import/TODO-file-length-250.md index 51ba1c9..95a5f86 100644 --- a/_installer_import/TODO-file-length-250.md +++ b/_installer_import/TODO-file-length-250.md @@ -13,7 +13,7 @@ enforced by a gate that fails the commit, not by a note anyone can ignore. Why: a file that cannot be read in one piece forces re-reads and partial edits, which is the single largest avoidable cost in an LLM-assisted workflow. Aim by churn, not size alone — refactoring pays where code is read and changed often -(Fowler, *refactoring economic benefit*). +(Fowler, _refactoring economic benefit_). ## Scope in this repo @@ -21,6 +21,7 @@ churn, not size alone — refactoring pays where code is read and changed often - **1,877 lines** sit in violation; longest file is **765 lines**. Exempt (do NOT split these): + - generated files — `*.g.dart`, `*.freezed.dart`, `*.gr.dart`, `**/l10n/generated/**`, anything with a `GENERATED` header - markup — `.html`, `.css`, `.scss` @@ -32,12 +33,12 @@ Exempt (do NOT split these): ROI = lines x commits in the last year. Work top-down; a long file nobody edits has near-zero payoff and should not be first. -| lines | commits/yr | kind | file | -|------:|-----------:|:-----|:-----| -| 765 | 3 | code | `tests/test_recognize.py` | -| 473 | 3 | code | `steam_installer/recognize.py` | -| 311 | 3 | code | `steam_installer/cli.py` | -| 328 | 1 | code | `tests/test_cli.py` | +| lines | commits/yr | kind | file | +| ----: | ---------: | :--- | :----------------------------- | +| 765 | 3 | code | `tests/test_recognize.py` | +| 473 | 3 | code | `steam_installer/recognize.py` | +| 311 | 3 | code | `steam_installer/cli.py` | +| 328 | 1 | code | `tests/test_cli.py` | ## How to split @@ -81,3 +82,5 @@ A refactor without a gate silently regrows. Before this task is done: Run the repo's own suite, then run the program itself and confirm the behaviour is unchanged. Testing is the last step, never the first. + +REMOVE ME AFTER FINISH