Repository navigation
Description
Umbrella for the ranking-signal hygiene rule family: checks that judge whether a page's signals
agree with each other rather than whether a signal is present.
Premise. Every rule below was derived from an audit of 8 production sites (869 pages) that found
real, shipped defects — and every one of those defects passed the current 272-rule catalog. They
are deterministic, need no LLM, and mostly need no new extraction.
Why the current catalog misses these
| check | closest existing rule | what it actually does | the gap |
|---|---|---|---|
| date agreement | content/freshness, eeat/content-dates |
pass if any date signal exists / report coverage % | never compares signals to each other |
| sitemap lastmod churn | crawl/sitemap-valid |
validates structure; mentions lastmod only in prose | no rule reads lastmod values |
| lastmod vs page date | — | — | nothing correlates the two |
| contextual inbound | links/orphan-pages, links/weak-internal-links |
count raw incoming links | a footer link counts the same as a body link |
| anchor mismatch | links/anchor-text |
page-scope, empty/generic text on outgoing links | never compares anchor text to the target's title/H1/slug |
| AggregateRating scope | schema/review |
validates structure | its own solution says "not the overall site" — nothing enforces it |
The last row is the sharpest: schema/review returns status: "pass" — "AggregateRating: 5/5
(18 reviews)" — on a privacy policy. 53 pages across four sites were in that state and the audit
scored clean.
Cost tiers
- Free (data already reaches rules): V-01, V-02, V-03, V-07.
SitemapUrl.lastmodis already on
site.sitemaps.discovered[].urls[](packages/core-contracts/src/index.ts:1134); date signals and
JSON-LD are already parsed per page. - New bounded scalar: V-04, V-05 need the link graph to distinguish a chrome link (ancestor
nav/header/footer/aside) from a contextual one, in both the legacysite.pagespath and the
siteQueryaccumulator.
Site-wide rules must run off stored scalars so the streaming and legacy paths emit byte-identical
output.
False-positive discipline — read before implementing any of these
The audit's own record on exactly these checks: 4 parser bugs, 163 phantom anchor findings on one
163-page site, 171 on another, and 14 date findings that collapsed to 1 real issue. Every
finding class here has a shape that looks like a defect and is not. Each sub-issue lists its own traps
as must-not-fire acceptance criteria; a rule that ships without a fixture for its trap shape is worse
than no rule, because it teaches users to ignore the category.
The two general ones:
- Judge anchors per (source page, target) pair, not per link. One card = one pair.
- Norm guard before flagging a deviant — page-count floor plus modal agreement.
Sub-issues
Free tier — data already reaches rules:
- V-01 —
crawl/sitemap-lastmod-churn(all lastmod on <= 2 distinct days) - V-02 —
crawl/sitemap-lastmod-drift(lastmod vs the page's own dateModified) - V-03 —
content/date-agreement(the date triple) - V-07 —
schema/reviewAggregateRating scope
Needs a new bounded scalar (chrome vs contextual link classification):
- V-04 —
links/no-contextual-inbound - V-05 —
links/anchor-mismatch(depends on V-04's classification)
Existing-rule defect found on the way in:
- V-06 —
links/anchor-textcounts per link, not per (source, target) pair
Suggested order
V-06 first (XS, pure counting fix, and it is the trap every other anchor finding depends on), then
V-01 and V-07, then V-02 and V-03. V-04 last of the free work since it carries the link-graph column
that V-05 needs.
This is a tracking container, not a work item — implement the sub-issues, not this.
Activity
nc9 commentedon Sep 1, 2026
Closing the epic: date agreement shipped as content/date-agreement (#120, v0.0.86), contextual inbound as links/no-contextual-inbound (#121, v0.0.87), rating scope via #113, and the sitemap lastmod pair as crawl/sitemap-lastmod-churn / -drift (drift scoping fixed in #161, v0.0.89). Only remainder is the anchor-mismatch rule, tracked standalone in #110.