Repository navigation
docs: correct the two rule counts the release guard caught - #119
Merged
Merged
Conversation
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
force-pushed
the
fix/rule-counts-275
branch
from
August 20, 2026 12:08
df6e399 to
5f86702
Compare
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]>
11 tasks done
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.
The private repo's #483/#1156 count guards failed on the v0.0.86 gitlink bump. Two surfaces were still stale:
**273 Rules, 21 Categories**) and the table total. The earlier pass updated only the total. → 275docs/rules/index.mdxstates its own per-category count, still 18 against a live 20 (the twositemap-lastmod-*rules). → 20Verified by walking every
(N rules)card in the docs againstloadAllRules(), rather than fixing only the card CI happened to name first. Everything else matches;gapsis docs-only (cloud opt-in) as expected.Live: 275 rules, 21 categories.