Skip to content

refactor(rules): probe the still-warning rules, downgrade two - #8

Merged
benjaminjackson merged 1 commit into
mainfrom
severity-pass
Jul 28, 2026
Merged

refactor(rules): probe the still-warning rules, downgrade two#8
benjaminjackson merged 1 commit into
mainfrom
severity-pass

Conversation

@benjaminjackson

Copy link
Copy Markdown
Owner

Summary

Other follow-up from #6: 21 of 27 rules were still warning, most of them shipped before the info tier meant anything — before no-x-no-y-frag and not-x-but-y split off the ambiguous half of their patterns, warning was just "not that one." Now that the split has real weight, the rest of the catalog deserved the same scrutiny those two got.

What changed

Probed all 21 still-warning rules against a 1.06M-word corpus of the same five authors used to justify prior rationale (Austen, Melville, Madison, Thoreau, Emerson).

19 held up clean — zero hits, or hits that were genuinely the described cadence occurring rarely in careful prose (exactly-the, rich-tapestry), the same shape as no-x-no-y and em-dash-overuse, which already went through this in earlier PRs and stay untouched here.

Two didn't:

  • is-real-and-not requires nothing about what follows the conjunction, so "is real, and/but/not" fires on any predicate-adjective sentence regardless of what comes next. Emerson's "my debt to my senses is real and constant" isn't a both-sidesing move, just two adjectives — indistinguishable from the tell on surface form alone. Moves to info.
  • worth-naming collapses the AI meta-signpost with the plain sense of a thing worth mentioning. Emerson's "the only thing worth naming to do that" is the latter. Moves to info.

Along the way, found a real bug rather than a confidence question: puffery-words' bare nestled was matching the literal verb (a head nestled against a shoulder, a kitten nestled into a blanket) as often as the puffery sense. Narrowed to require a following in/among/between, the shape the travel-brochure cliché actually takes. Severity unchanged.

Testing

rspec — 229 examples, 0 failures. Every corpus quote is public domain and named in a comment per docs/SPEC.md's provenance rule; no corpus itself is committed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KKRi7mTZKtDeo47FnYMP3t

Most of the catalog reached warning before the info tier meant anything --
before no-x-no-y-frag and not-x-but-y split off the ambiguous half of their
patterns, warning was just "not that one." Now that the split has real
weight, the 21 rules still at warning deserved the same scrutiny those two
got: probed against a 1.06M-word corpus of the same five authors (Austen,
Melville, Madison, Thoreau, Emerson) used to justify prior rationale.

19 held up clean -- zero hits, or hits that were genuinely the described
cadence occurring rarely in careful prose (exactly-the, rich-tapestry),
consistent with no-x-no-y and em-dash-overuse, which went through this
already and stay untouched here.

Two didn't:

`is-real-and-not` requires nothing about what follows the conjunction, so
"is real, and/but/not" fires on any predicate-adjective sentence regardless
of what comes next. Emerson's "my debt to my senses is real and constant"
isn't a both-sidesing move, just two adjectives -- indistinguishable from
the tell on surface form alone. Moves to info.

`worth-naming` collapses the AI meta-signpost with the plain sense of a
thing worth mentioning. Emerson's "the only thing worth naming to do that"
is the latter. Moves to info.

`puffery-words`' bare `nestled` turned out to be the literal verb (a head
nestled against a shoulder) as often as the puffery sense in the corpus.
Narrowed to require a following in/among/between, the shape the cliché
actually takes -- severity unchanged, this one was a pattern bug, not a
confidence question.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KKRi7mTZKtDeo47FnYMP3t
@benjaminjackson
benjaminjackson merged commit e6ca8f8 into main Jul 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant