Skip to content

fix(rules): report excluded EEAT candidate paths as not checked - #2450

Draft
longshore-nc9[bot] wants to merge 1 commit into
mainfrom
fix/eeat-excluded-not-checked
Draft

longshore-nc9[bot] wants to merge 1 commit into
mainfrom
fix/eeat-excluded-not-checked

Conversation

@longshore-nc9

@longshore-nc9 longshore-nc9 Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Fixes #2445.

An EEAT candidate path that [crawler] exclude or include refuses is never requested, and nothing linked to it, so eeat/about-page and eeat/privacy-policy fell through to "missing". They now report notChecked with a typed reason.

  • The crawler records a not-requested probe (notRequested) for configured paths and built-in slug paths that the crawl scope excludes, and for configured paths when the crawl was stopped before the post-crawl request.
  • Both rules emit a skipped check with skipReason excluded-by-config or crawl-stopped, and details.path and details.reason. A found probe or a linked-but-uncrawled page still wins.
  • Hints for both reasons in the not-checked report; rule docs for both rules; changelog entry.
  • Page cap: a configured path is requested after the crawl drains even at the page cap, so the cap alone never leaves a candidate unrequested. A stop (--max-duration or manual) is the case covered by crawl-stopped.
  • Cloud audits do not pass the candidate paths, so they behave as before.

Tests: the existing #1428 e2e fixture now runs with and without exclude for both rules and the built-in slugs (v1 and v2 engines), plus a rule unit test and the skip-reason table pin.

Commands: bun run scripts/test-suites.ts --run rules|report|crawler|rest (rest: one flaky timeout in scripts/install-contract.test.ts under load, passes alone and on main), bun run typecheck in core-contracts, crawler, rules, report, audit-engine, apps/cli; bun run format:check in apps/cli; make validate in docs; bun scripts/changelog.ts check.

Docs: rules/eeat/about-page, rules/eeat/privacy-policy. Skill: none.

This branch has not been deployed

No deployments
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.

EEAT: excluded candidate paths are reported missing instead of not checked

1 participant