Skip to content

docs(rules): correct the count in the rules index frontmatter - #122

Merged
nc9 merged 1 commit into
mainfrom
fix/docs-frontmatter-count
Aug 20, 2026
Merged

nc9 merged 1 commit into
mainfrom
fix/docs-frontmatter-count

Conversation

@nc9

@nc9 nc9 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The frontmatter description states the total as prose ("All N audit rules"). The sweep in #119 missed it because its regex required "N rules" and this reads "N audit rules".

The #483 rule-count guard in the private repo covers this surface explicitly, so the gitlink bump failed on it. Every other stated count is already at 276.

Lesson applied: the guard test is the authority on which surfaces exist, not a hand-rolled regex. Verified by running the guard itself against this tree rather than re-approximating it.

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]>
@nc9
nc9 merged commit 144afda into main Aug 20, 2026
14 checks passed
@nc9
nc9 deleted the fix/docs-frontmatter-count branch August 20, 2026 12:31
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