Skip to content

fix(rules): skip noindex pages in thin site norm - #1177

Merged
nc9 merged 1 commit into
squirrelscan:mainfrom
WilliamK112:codex/noindex-thin-site-norm-1029
Oct 27, 2026
Merged

nc9 merged 1 commit into
squirrelscan:mainfrom
WilliamK112:codex/noindex-thin-site-norm-1029

Conversation

@WilliamK112

@WilliamK112 WilliamK112 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • leave noindex pages out of thin-content site norms on indexed sites
  • keep staging and preview behavior unchanged when the site itself is noindex
  • report skippedNoindexPages and preserve byte-identical legacy/streaming results
  • document the behavior and add both unit and SQLite-backed regressions

Closes #1029

Validation

  • bun test ./packages/rules/tests/thin-vs-site-norm.test.ts ./packages/audit-engine/tests/noindex-site-rules-dual-path.test.ts
  • bun test ./packages/audit-engine/tests/site-query-content-rules-golden.test.ts
  • bun run --cwd packages/rules typecheck
  • bun run --cwd packages/audit-engine typecheck
  • bun run docs:check
  • pinned oxfmt --check and oxlint for changed TypeScript files
  • detect-secrets 1.5.0 scan of tracked files
  • verified the noindex regression fails when filtering is removed

Docs: Updated the rule page and rules index. Skill: none.

@nc9
nc9 force-pushed the codex/noindex-thin-site-norm-1029 branch from 863190d to c3ad1b0 Compare October 27, 2026 04:42
@nc9
nc9 merged commit a4f06dd into squirrelscan:main Oct 27, 2026
15 checks passed
@nc9

nc9 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Merged. Thank you @WilliamK112, leaving noindex pages out of the page-type median while keeping a noindex site (staging, preview) judged as before, with SQLite-backed regressions proving the legacy and streaming paths stay byte-identical, was careful work. (Nik)

nc9 added a commit that referenced this pull request Oct 27, 2026
…fied breadcrumb links (#1180)

Layer 2 of 3 of the #926 split. schema/expected-type flags a page the classifier is sure about that declares none of the structured data its type should carry; schema/breadcrumb fails a page that shows a breadcrumb trail without BreadcrumbList. 311 to 312 rules. Also moves two stray v0.0.137 CHANGELOG bullets (#1177, classifier) back to Unreleased and restores that section to the tag. Docs: docs/rules/schema. Skill: no change.
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.

content/thin-vs-site-norm: leave noindex pages out of the site-norm groups (needs a streaming siteQuery change)

2 participants