Rewrite numbered work-item labels in code comments as descriptive names - #21
Merged
Merged
Conversation
The anti-slop linter's prior pass left the bare-numeral degenerate form untouched because the engine matched only worded synonyms; the decimal-aware engine (no-phase #11) now surfaces them. Strip the work-item-number register from src/, tests/, and bridge/ comments — `5.4:` / `(5.5)` / `work-item 5.3` labels and `(Phase 5.0)` headers become descriptive text. Legitimate version numbers (Winsock 1.1, NT 3.1/4.0, the 1.8432 MHz UART clock, test version data) are kept; one Unix-epoch false positive reworded. Comment-only: 0 non-comment lines changed. Verified — engine reports 0 work-item tells (was 7 hard + 44 advisory); mingw cross-build 101/101, host-pbt ALL PASS (50k trials), bridge cargo check clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applies the repository's anti-slop vocabulary discipline to existing
src/and
tests/code comments: numbered work-item labels (a milestone-synonymnoun followed by a numeral) are reworded as descriptive names. The numeral
is the cross-model agentic tell; the discipline keeps it out of code comments
the same way it is kept out of commit subjects and governance prose.
Scope
scan is empty — no
.c/.h/.rscode, no string literals, no test names,no behaviour touched.
5.4 retired "utf8"→"utf8" was retired), not partially substituted — no decimal-mangling.Gate (scoped to the change class)
with correct, idiomatic text (the codemod-output-is-a-claim lesson).
🤖 Generated with Claude Code