code-comments: soften to 2 contiguous lines, exempt eco-* repos #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The code-comments validator at MAX_CONTIGUOUS=1 rejects every two-line Python explanation and every multi-line Go godoc. Survey across coilysiren/* finds 14,018 violations at TOL=1, 9,932 at TOL=2. The dominant pattern is first-party idiomatic style, not vendored content.
Eco-modding repos (eco-*) sit on Unity / C# trees with mod-author comment conventions that conflict with the rule shape entirely.
Fix
check_code_comments.py: bumpMAX_CONTIGUOUS_COMMENT_LINESto 2. Two-line blocks pass; 3+ contiguous still flagged. Single-line + 90-char cap unchanged.apply-agentic-os-hooks.py: per-repo skip list. Repos matchingeco-*prefix get the managed block withoutcode-comments. Other validators (documentation-layout, etc) still apply.Out of scope
The vendored-file escape hatch from #22 (per-hook exclude preservation, git ls-files filter). Separately tracked.
Follow-up
After v0.2.8 ships and rolls out, file a cleanup issue per non-eco repo with non-zero violations. Fan out via
coily dispatch interactive.