Repository navigation
fix(rules): leave noindex pages out of sitemap-coverage and title-pattern-outlier - #551
Conversation
…tern-outlier Both rules still counted pages kept out of search. sitemap-coverage no longer lists a noindex page (meta or X-Robots-Tag) as missing from the sitemap, on the precomputed and fallback paths. title-pattern-outlier leaves noindex pages out of the template vote and never flags them. Both apply only when the site itself is indexable, the same gate as the other index rules, so a noindex-everywhere host is unchanged. Closes #488 Signed-off-by: Nik Cubrilovic <[email protected]>
|
Review of PR 551 (noindex handling for I read the diff and The change is consistent with the #457 gate (
The docs updates in |
Signed-off-by: Nik Cubrilovic <[email protected]>
|
Reviewed the diff for #488. I found no blocking problems, so there are no (high) or (critical) findings.
What I checked and found sound:
I did not run the tests. |
|
Review of #551 (noindex pages left out of I found no correctness, security or performance problems. I only read the diff and
Positives:
|
|
Re the (low) normalized-URL matching note in sitemap-coverage: skipped deliberately. Matching by normalized URL is the same normalization the coverage list itself uses, so the behaviour is intended; a comment can ride a later change to the file. |
Closes #488
What changed
crawl/sitemap-coverageno longer lists a noindex page (meta orX-Robots-Tag) as missing from the sitemap. The filter runs on the precomputed missing list as well as the fallback, and the path is chosen on the unfiltered list so a list emptied by the filter does not trigger a recompute. The engine still builds the unfiltered list, sositemap-validis unaffected.content/title-pattern-outlierleaves noindex pages out of the template vote and never judges them, on both the streaming and in-memory paths. They still count toward the site page floor.siteIndexable === true), the same gate as the other index rules. On a noindex-everywhere host, or when unknown, behavior is unchanged, including the fallback's existing meta-noindex filter.docs/rules/index.mdx(now nine rules) mention the exclusion.integrity/orphan-pageis left alone, per the triage note.Tests
sitemap-coverage.test.ts: precomputed meta-noindex page not listed, header-noindex page on the fallback path not listed, indexable missing page still listed, noindex-everywhere site unchanged.title-pattern-outlier.test.ts: 12 product pages plus 2 noindex short-title pages gives no finding; the same pages without noindex still firebrand-missing; header noindex; noindex pages excluded from template learning; noindex-everywhere unchanged.noindex-site-rules-dual-path.test.ts:content/title-pattern-outlieradded, streamed equals legacy with and without a known-indexable site.streaming-rules-canonical-golden.test.tsstays green.make validateindocs/passes; rules and audit-engine typecheck clean.Agent skill
No change needed. The skill links to the rule pages, which are the reference and are updated here.
Relation to #549
Independent of the
crawl/indexability-conflictsPR; no conflicts with it, so no rebase was needed.