Skip to content

docs(rules): one rule count everywhere - #652

Merged
nc9 merged 1 commit into
mainfrom
chore/rule-count-300
Oct 11, 2026
Merged

nc9 merged 1 commit into
mainfrom
chore/rule-count-300

Conversation

@nc9

@nc9 nc9 commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

One rule count everywhere: 300+ (floor of the live 301 enabled rules from loadAllRules(), 21 categories unchanged).

Replaced strings

File Before After
README.md 301 Rules, 21 Categories, Total: 301 rules across 21 categories 300+ equivalents
docs/index.mdx 301 rules, 21 categories (card), **301 rules**, **Total: 301 rules across 21 categories.** 300+ equivalents
docs/rules/index.mdx All 301 audit rules, **301 rules** 300+ equivalents
docs/agent-setup/index.mdx 301 rules across ... 300+ rules across ...
docs/developers/agents/{copilot,gemini-cli,windsurf}.mdx, docs/developers/mcp.mdx 260+ 300+
.claude-plugin/marketplace.json, npm/package.json 260+ 300+
packages/utils/src/constants.ts PUBLIC_RULE_COUNT_FLOOR = 260 (comment said 264) 300

Left alone: CHANGELOG, benchmarks, _redirects and HTTP 301 references.

Skill

Yes. squirrelscan/skills (SKILL.md descriptions, README, plugin manifests) still says 260+. Companion skills PR is in that repo; the private repo guard pins them.

Validation

  • make validate in docs/: passes (426 pages, all checks).
  • Companion private PR (squirrelscan/repo) updates the rule-count-consistency guard and bumps this gitlink.

Advertise 300+ rules (floor of the live 301) on docs, README, agent
docs, plugin/npm descriptions; floor constant 260 to 300 (rounded to
nearest 50, copy goes stale only at 350).

Signed-off-by: Nik Cubrilovic <[email protected]>
@claude

claude Bot commented Oct 11, 2026

Copy link
Copy Markdown

Review of #652: the change is a pure copy and constant update. It looks correct and I found nothing blocking.

  • (nit) packages/utils/src/constants.ts:466: nothing in this repo reads PUBLIC_RULE_COUNT_FLOOR. The enforcement lives in the private guard, so I could not check it from here. The new comment says the guard fails once the live count reaches floor + 50. Live is 301 and the floor is 300, so the next 49 rule additions are safe. After that the guard fails and the floor needs a manual bump to 350.
  • (nit) packages/audit-engine/tests/fixtures/entity-map/squirrelscan-com.json:6503 still says 260+. It is a captured fixture, so leaving it alone is reasonable. Say so if the private guard greps fixtures.
  • (nit) The docs/index.mdx and README category tables still show exact per-category counts next to a 300+ total. That is fine, but the page now shows both an approximate total and exact rows.
  • Grep check: no other 260+ or 301 rules strings remain outside CHANGELOG, as the PR description says.
  • The PR depends on the companion skills and private PRs. Merge order matters: the private guard should not run against the old 260 floor.

No (high) or (critical) issues.

@nc9
nc9 merged commit a1e81bb into main Oct 11, 2026
15 checks passed
@nc9
nc9 deleted the chore/rule-count-300 branch October 11, 2026 10:57
nc9 added a commit to squirrelscan/skills that referenced this pull request Oct 11, 2026
…site 2.4) (#20)

Rule count 260+ to 300+ in both SKILL.md descriptions and bodies, the READMEs, agents/openai.yaml and the Claude Code, Cursor and Agent Plugins manifests, matching squirrelscan/squirrelscan#652. squirrelscan 1.12, audit-website 2.4, manifest.json regenerated (scripts/manifest.ts --check ok).

Signed-off-by: Nik Cubrilovic <[email protected]>
nc9 added a commit to squirrelscan/.github that referenced this pull request Oct 11, 2026
Org profile README said 250+ other rules; now 300+, matching squirrelscan/squirrelscan#652.

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