Skip to content

docs: correct the two rule counts the release guard caught - #119

Merged
nc9 merged 1 commit into
mainfrom
fix/rule-counts-275
Aug 20, 2026
Merged

nc9 merged 1 commit into
mainfrom
fix/rule-counts-275

Conversation

@nc9

@nc9 nc9 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The private repo's #483/#1156 count guards failed on the v0.0.86 gitlink bump. Two surfaces were still stale:

  • README carries the count twice — a features bullet (**273 Rules, 21 Categories**) and the table total. The earlier pass updated only the total. → 275
  • The Crawlability card in docs/rules/index.mdx states its own per-category count, still 18 against a live 20 (the two sitemap-lastmod-* rules). → 20

Verified by walking every (N rules) card in the docs against loadAllRules(), rather than fixing only the card CI happened to name first. Everything else matches; gaps is docs-only (cloud opt-in) as expected.

Live: 275 rules, 21 categories.

The public README carries the count TWICE — a features bullet ("N Rules, N
Categories") and the table total — and the earlier pass updated only the total.
The Crawlability card in the docs rules index states its own per-category count
and was still at 18 against a live 20.

Both are checked by the #483/#1156 guards in the private repo, which is what
found them: the gitlink bump for v0.0.86 failed on exactly these two.

Rebasing onto main pulled in content/date-agreement (#120), so the live total is
276, not the 275 this branch was written for, and content is 18 not 17. Rather
than patch the surfaces CI names, every count is now swept against
loadAllRules(): the README table row by row, prose totals in README,
docs/index.mdx and docs/rules/index.mdx, and each per-category card. That found
four more stale numbers in docs/index.mdx that neither guard covers.

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 force-pushed the fix/rule-counts-275 branch from df6e399 to 5f86702 Compare August 20, 2026 12:08
@nc9
nc9 merged commit 6fc02b2 into main Aug 20, 2026
14 checks passed
@nc9
nc9 deleted the fix/rule-counts-275 branch August 20, 2026 12:14
nc9 added a commit that referenced this pull request Aug 20, 2026
The frontmatter description states the total as prose ("All N audit rules"),
which the previous sweep's regex missed: it required "N rules" and this reads
"N audit rules". The #483 guard covers this surface explicitly, so it failed the
gitlink bump.

Every other stated count was already synced to 276 in #119.

Signed-off-by: Nik Cubrilovic <[email protected]>
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