mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 19:07:17 +01:00
Three exemptions the first cut missed, all of them files no commit could ever fix: - Git-ignored files (todo's exported BACKLOG.md, logs, scratch dumps). These are rewritten wholesale by whatever produces them, so splitting one is meaningless, and pre-commit never sees them anyway. Applied to explicitly-named paths as well as --all, so the two modes cannot disagree about the same file. - Vendored agent-skill bundles (.agents/skills, .claude/skills). A SKILL.md is a fixed-name file with frontmatter; splitting one breaks the format. Matched by directory name wherever it appears, since these get dropped into any repo. - .utils, where CI checks out this repo. Without it a repo's lint job fails on utils' own long files, which that repo cannot fix. Baseline accordingly drops from 657 to 597. Re-verified all eight fixtures: over-cap fails, under-cap passes, generated/vendored/wordlist/git-ignored exempt, prose still capped, and the gate still passes on its own source. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C7yZz45ezmzCB89Cv5gAtZ |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| baseline-2026-08-14.json | ||
| check.py | ||
| config.py | ||
| SURVEY-2026-08-14.txt | ||