Skip to content

feat(rules): ax/content-signals separates absent, declared, invalid and not checked - #1711

Closed
nc9 wants to merge 1 commit into
mainfrom
feat/content-signals-absent-1649
Closed

nc9 wants to merge 1 commit into
mainfrom
feat/content-signals-absent-1649

Conversation

@nc9

@nc9 nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Closes #1649.

ax/content-signals now reports details.state (absent, declared, invalid, not-checked). Absence is claimed only for a fully read robots.txt: a missing, refused, failed or 512 KiB-capped read with no directive is a skipped not-checked check instead. A directive found in a capped read is still reported. No new request. The 512 KiB read cap moves to @squirrelscan/utils/constants (ROBOTS_MAX_BYTES) so the crawler and the rule share it.

Behaviour change: a site with no robots.txt used to get an info absent; it is now not checked. Docs, CHANGELOG and 11 new tests (one existing test updated for that change). Goldens unchanged. Skill change: none.

@nc9

nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Landed on main as 48d8711, da28a38, 5aca4d8 (later commits there carry the review fixes). Closing this draft as superseded.

nik

@nc9 nc9 closed this Nov 11, 2026
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.

ax/content-signals: report an absent Content-Signal policy separately

1 participant