Repository navigation
Description
Follow-up to #409 and #422, which already delivered discovery opt-outs, rule-based selection and per-host throttling. Those controls are useful; this request concerns a narrower native contract: explicitly allow individual probe paths without enabling all variants attached to a rule.
Our integration currently keeps ax/llms-txt, ax/agents-md and ax/well-known-agent globally disabled because enabling a rule activates a fixed bundle that cannot be narrowed to individually approved paths. A safe customer-side measurement of entire bundles has not been established. The historical fail2ban reproduction on 0.0.98 is recorded in #409; no new customer incident is claimed here.
Requested behavior: allow /llms.txt without /llms-full.txt, /.well-known/llms.txt or /docs/llms.txt, and /AGENTS.md without other variants. Keep per-host limits. Recognizable WAF/jail block signals must stop remaining optional probes; excluded/aborted probes remain not checked, never missing.
Synthetic reproduction / acceptance fixture:
- Run against a local server logging every requested path, with only /llms.txt explicitly approved. Assert the exact allowed optional requests, with no implicit variants.
- Redirect that path to an excluded path: the redirect must not bypass the allowlist.
- Return a recognizable block response and assert that remaining optional probes stop without negative finding coverage.
- Verify robots/sitemap operation and existing throttling remain functional.
An upstream release alone is insufficient to re-enable these rules in our integration: the native path contract must pass these checks. No downstream replacement crawler is requested.
Triage
Probe selection today is per probe kind: selectDiscoveryProbes (packages/rules/src/discovery-probes.ts) enables a probe if any enabled rule declares it, and the llms-txt probe fetches llms.txt and llms-full.txt together (packages/crawler/src/llms.ts). There is no per-path allowlist. #409 and #422 delivered opt-outs and throttling; this request is the narrower per-path contract. Needs a design decision on config shape and on how redirects interact with the allowlist.
Acceptance Criteria
- A config option allows individual optional probe paths; with only /llms.txt approved a request log shows exactly that optional request and no variants.
- A redirect from an approved path to an excluded path is not followed for the probe.
- A recognizable WAF or block response stops the remaining optional probes, and their rules report not checked, not missing.
- robots.txt, sitemap fetching and per-host throttling keep working.
- Docs and the config reference describe the option.
Generated by Claude Code
Activity
test: fix the tests the full suite caught: integrity rules record a c…
feat(crawler): approve discovery probe paths one by one and stop opti…
fix(crawler): scope block signals to the audited host and tidy probe …
test: fix the tests the full suite caught: integrity rules record a c…
nc9 commentedon Nov 12, 2026
Shipped in v0.0.179: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.179
Acceptance criteria checked against the tag; the change is 0c9407d.
nik
fix(report): skip the host probe for local and special-use hosts; #1655…
fix(report): skip the host probe for local and special-use hosts; #1655…
deniskern commentedon Nov 14, 2026
Tested v0.0.179 against a local logging server: the allowlist sent only
/llms.txtand/AGENTS.md, and a 429 stopped the pending probe. Thanks for shipping this.Two remaining problems are in #1794: skipped/refused probes appear as prose in
infoChecksrather than typednotCheckedoutcomes, and an explicitly allowed/AGENTS.mdwas reported as not approved. We keep the three Overhub discovery rules disabled until these outcomes and the redirect/block cases pass on our pinned release. No new customer-side probes were run.