Skip to content

docs(rules): bring two rule counts up to 295 - #355

Merged
nc9 merged 1 commit into
mainfrom
fix/rule-counts-295
Sep 13, 2026
Merged

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

Conversation

@nc9

@nc9 nc9 commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

The thirteen schema/entity-* rules added in #338 moved the totals. docs/index.mdx was updated with them; two other hard-coded counts were not.

File Said Live
docs/rules/seo/index.mdx, Structured Data card 12 rules 25
docs/agent-setup/index.mdx, agent fact 282 rules 295

Live numbers read from loadAllRules(): 295 rules across 21 categories, 25 in schema.

Nothing here fails today, because the assertion lives in the private monorepo (apps/api/tests/routes/rule-count-consistency.test.ts, #483 and #1156) and reads these files through the submodule. It goes red the moment the private gitlink moves to a public commit carrying the new rules, which is what surfaced this.

make validate passes.

https://claude.ai/code/session_0174D96WamG9ZhJxRudpeniA

The thirteen schema/entity-* rules in #338 moved the totals. `docs/index.mdx`
was updated with them; two other hard-coded counts were not, and disagree with
the rule registry:

- rules/seo/index.mdx: the Structured Data card said 12 rules, live is 25
- agent-setup/index.mdx: the agent fact said 282 rules, live is 295

Both are asserted against `loadAllRules()` by a test in the private monorepo, so
they block a gitlink bump rather than failing anything here.

`make validate` passes.

Claude-Session: https://claude.ai/code/session_0174D96WamG9ZhJxRudpeniA
Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 merged commit 4ae3d04 into main Sep 13, 2026
14 checks passed
@nc9
nc9 deleted the fix/rule-counts-295 branch September 13, 2026 12:34
@nc9 nc9 mentioned this pull request Sep 16, 2026
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