Update refactor_claude_todo.md counts after gate exemption fixes

Git-ignored files, vendored agent-skill bundles and the CI checkout dir are
now exempt, since no commit could ever fix them. Repo counts and the ranked
violation lists are regenerated accordingly; the global baseline drops from
657 to 597.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C7yZz45ezmzCB89Cv5gAtZ
This commit is contained in:
Krzysztof Rudnicki 2026-08-14 15:59:21 +02:00
parent dc79579391
commit 8cbcabdcae

View File

@ -13,14 +13,15 @@ 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, 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 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 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 ## Scope in this repo
- **71 files** currently exceed 250 lines (of 222 eligible files). - **71 files** currently exceed 250 lines (of 220 eligible files).
- **26,768 lines** sit in violation; longest file is **897 lines**. - **26,768 lines** sit in violation; longest file is **897 lines**.
Exempt (do NOT split these): Exempt (do NOT split these):
- generated files — `*.g.dart`, `*.freezed.dart`, `*.gr.dart`, `**/l10n/generated/**`, - generated files — `*.g.dart`, `*.freezed.dart`, `*.gr.dart`, `**/l10n/generated/**`,
anything with a `GENERATED` header anything with a `GENERATED` header
- markup — `.html`, `.css`, `.scss` - markup — `.html`, `.css`, `.scss`
@ -33,7 +34,7 @@ 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. has near-zero payoff and should not be first.
| lines | commits/yr | kind | file | | lines | commits/yr | kind | file |
|------:|-----------:|:-----|:-----| | ----: | ---------: | :--- | :-------------------------------------------------------------------------------- |
| 390 | 48 | code | `screen_locker/screen_lock.py` | | 390 | 48 | code | `screen_locker/screen_lock.py` |
| 771 | 12 | code | `stronglift_replacement/workout_app/lib/screens/settings_screen.dart` | | 771 | 12 | code | `stronglift_replacement/workout_app/lib/screens/settings_screen.dart` |
| 897 | 8 | code | `stronglift_replacement/workout_app/lib/screens/history_screen.dart` | | 897 | 8 | code | `stronglift_replacement/workout_app/lib/screens/history_screen.dart` |