You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: content/quality is documented but disabled, so the category page lists 20 rules for 19 that run #218
Found while adding content/unrendered-markup (#217). Pre-existing on main, not caused by that branch.
content/quality sets disabled: true in its meta (packages/rules/src/content/quality.ts:66), so loadAllRules() skips it and it never runs. But docs/rules/content/index.mdx still carries a card for it, and docs/rules/content/quality.mdx still documents it.
The effect is that the Content category page lists 20 rules while 19 actually run. The published rule counts elsewhere are correct, because they are derived from the live loader, so the totals do not disagree and nothing fails CI. A reader of the category page just sees one rule that will never appear in a report.
Reproduce:
cd packages/rules
bun -e 'import {getRulesByDomain} from "./src/loader"; console.log(getRulesByDomain("content").length)' # 19
grep -c "<Card title=" ../../docs/rules/content/index.mdx # 20
Either re-enable the rule or drop the card and mark the docs page as unavailable. Whichever way it goes, the count in the category card on docs/rules/index.mdx and the Content row in the two per-category tables are already 19 and would not change.
Related, and probably the same decision: packages/rules/src/content/article-toc.ts exports articleTocRule but is not in packages/rules/src/content/index.ts, so it is dead code. docs/docs.json already redirects /rules/content/article-toc to /rules/content, which suggests it was retired and the module was left behind.
Acceptance Criteria
The Content category page (docs/rules/content/index.mdx) no longer presents content/quality as a rule that runs: its card is removed or clearly labelled retired, and its text no longer says it can be turned on with an OpenRouter key
The number of runnable-rule cards on the Content category page equals the number of content/* rules returned by getRulesByDomain("content"), and the Content counts on docs/rules/index.mdx still match the live loader
Checked against current main (ad95fb2): STILL TRUE, with new numbers.
packages/rules/src/content/quality.ts:67 still sets disabled: true.
docs/rules/content/index.mdx now has 24 rule cards (href="/rules/content/<slug>"). The content rules array in packages/rules/src/content/index.ts has 24 entries, contentQualityRule among them, so 23 actually run. The 23 on the Content card in docs/rules/index.mdx is correct.
The quality card (lines 23 to 24) still reads "Off by default and needs an OpenRouter key", which criterion 1 asks to remove.
Fixed in #868 (51af089): the content/quality card is gone from docs/rules/content/index.mdx, which now has 24 cards for the 24 live content/* rules. The Content count on docs/rules/index.mdx (24) still matches.
Activity
nc9 commentedon Oct 11, 2026
Checked against current main (ad95fb2): STILL TRUE, with new numbers.
packages/rules/src/content/quality.ts:67still setsdisabled: true.docs/rules/content/index.mdxnow has 24 rule cards (href="/rules/content/<slug>"). The content rules array inpackages/rules/src/content/index.tshas 24 entries,contentQualityRuleamong them, so 23 actually run. The 23 on the Content card indocs/rules/index.mdxis correct.fix(credits,docs): stop listing issue enrichment; list the 22 rule ca…
nc9 commentedon Oct 16, 2026
Fixed in #868 (51af089): the
content/qualitycard is gone fromdocs/rules/content/index.mdx, which now has 24 cards for the 24 livecontent/*rules. The Content count ondocs/rules/index.mdx(24) still matches.