Skip to content

crawler: allowlist individual discovery probe paths and stop optional probes on blocks #1655

Closed

Description

@deniskern

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:

  1. 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.
  2. Redirect that path to an excluded path: the redirect must not bypass the allowlist.
  3. Return a recognizable block response and assert that remaining optional probes stop without negative finding coverage.
  4. 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

  1. added theissue type on Nov 9, 2026
  2. added
    enhancement
    size: L
    on Nov 9, 2026
  3. nc9 commented on Nov 12, 2026

    @nc9
    Contributor
  4. deniskern commented on Nov 14, 2026

    @deniskern
    Author

    Tested v0.0.179 against a local logging server: the allowlist sent only /llms.txt and /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 infoChecks rather than typed notChecked outcomes, and an explicitly allowed /AGENTS.md was 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clienhancementsize: L

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions