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: configuration/rules.mdx is stale (category count, per-category counts, missing integrity, legacy ai/* ids) #172
Found during the #171 rule-count pass. docs/configuration/rules.mdx has drifted far enough that it needs a content rewrite, not a numeric touch-up:
Says "All 18 audit rule categories"; there are 21 live categories.
Fourteen stale **Rules:** N values, some badly off (accessibility says 12, live is 61; performance says 9, live is 29; ax says 2, live is 17).
Omits the Site Integrity category entirely.
Documents the legacy ai/* rule id alias instead of the canonical ax/*.
It was deliberately left out of #171 (numeric fixes only) and out of the count guard, because guarding a page this stale would just fail CI until rewritten.
Related one-line fix to include: the comment at packages/utils/src/constants.ts:448 says the live rule total is "currently 264"; it is 278.
Acceptance Criteria
docs/configuration/rules.mdx states the live category count and lists every live category, including Site Integrity
every **Rules:** N value on the page matches the live per-category counts from loadAllRules(), or the counts are removed in favour of a link to the rules reference
Merged #512 into this issue, since both cover docs/configuration/rules.mdx. From #512: the option to replace the per-category counts with a link to the rules reference, and a criterion for the ax/* section, which still says the category is off by default and needs OPENROUTER_API_KEY. Still stale on main: "All 18 audit rule categories" and the old **Rules:** N values.
Checked against current main (ad95fb2): STILL TRUE apart from criterion 5.
docs/configuration/rules.mdx:87 still says "All 18 audit rule categories". PUBLIC_CATEGORY_COUNT is 21, and docs/rules/index.mdx has 21 category cards. Site Integrity is still not on the page.
The **Rules:** N values are unchanged (Core SEO 11, the ai/* section 2, several left blank).
The agent experience section (from line 490) is still headed ai/* and still says "DISABLED BY DEFAULT - Requires OpenRouter API key" and "Requires OPENROUTER_API_KEY".
Criterion 5 is done: docs(rules): one rule count everywhere #652 rewrote the packages/utils/src/constants.ts comment, which now says "currently 301 enabled rules" (line 461). That matches the 21 category counts on docs/rules/index.mdx, which add up to 301.
Fixed in #868 (51af089). docs/configuration/rules.mdx now has a table of the 22 live categories, Site Integrity included, each with its pattern and its rules page, and no per-category counts (the rules reference has those). ax/* is the primary form, with ai/* and adblock/* described as aliases. The agent experience text names the five cloud-backed rules and makes no off-by-default or OPENROUTER_API_KEY claim. The constants comment already said 308. packages/rules/tests/docs-category-table.test.ts keeps the table, its count and its links in step with loadAllRules().
Activity
nc9 commentedon Oct 10, 2026
Merged #512 into this issue, since both cover
docs/configuration/rules.mdx. From #512: the option to replace the per-category counts with a link to the rules reference, and a criterion for theax/*section, which still says the category is off by default and needsOPENROUTER_API_KEY. Still stale on main: "All 18 audit rule categories" and the old**Rules:** Nvalues.nc9 commentedon Oct 11, 2026
Checked against current main (ad95fb2): STILL TRUE apart from criterion 5.
docs/configuration/rules.mdx:87still says "All 18 audit rule categories".PUBLIC_CATEGORY_COUNTis 21, anddocs/rules/index.mdxhas 21 category cards. Site Integrity is still not on the page.**Rules:** Nvalues are unchanged (Core SEO 11, theai/*section 2, several left blank).ai/*and still says "DISABLED BY DEFAULT - Requires OpenRouter API key" and "RequiresOPENROUTER_API_KEY".packages/utils/src/constants.tscomment, which now says "currently 301 enabled rules" (line 461). That matches the 21 category counts ondocs/rules/index.mdx, which add up to 301.fix(credits,docs): stop listing issue enrichment; list the 22 rule ca…
fix(credits,rules): tie the issue_enrich filter to ENRICHMENT.enabled…
nc9 commentedon Oct 16, 2026
Fixed in #868 (51af089).
docs/configuration/rules.mdxnow has a table of the 22 live categories, Site Integrity included, each with its pattern and its rules page, and no per-category counts (the rules reference has those).ax/*is the primary form, withai/*andadblock/*described as aliases. The agent experience text names the five cloud-backed rules and makes no off-by-default orOPENROUTER_API_KEYclaim. The constants comment already said 308.packages/rules/tests/docs-category-table.test.tskeeps the table, its count and its links in step withloadAllRules().