# AgentSite — Probe Behavior
<!--
ref: @agentsite/scoring-probe-behavior
tags: [agentsite, probes, bot-block, mention-probe]
triggers: [our probe got blocked, bot wall during scoring, browser UA retry, mention probe tiers, which engines do we probe]
trigger_prompt: When changing how probes fetch a site, or how a bot block is scored.
category: reference
complements: [@agentsite/scoring-doctrine]
version: 3
updated_at: 2026-10-24T21:32:13.732Z
-->

A bot block is the Layer 1 signal, not a failure — score it zero and retry as a browser to populate the rest. Mention Probe v2 tiering lives here too.

Fetch this when: our probe got blocked; bot wall during scoring; browser UA retry; mention probe tiers; which engines do we probe.

Part of [`@agentsite/scoring-doctrine`](@agentsite/scoring-doctrine) — see it for sibling topics.

---

## A bot block is the signal

**When an AEO probe is bot-blocked, surface it as a Layer 1 zero + yellow finding (never silently fight through), but DO retry with a browser UA to populate content for Layers 2-4. Refined 2026-05-29 from "never retry" → "retry for diagnosis only, never to hide the block."**

When designing AEO probes that fetch a customer's site, treat the agent's
view as authoritative for Layer 1. If a Cloudflare/WAF challenge, HTTP
403/429/503, or auth wall intercepts the probe with our bot UA, the
block IS the Layer 1 signal — it scores to 0 with a yellow finding.

**Then retry once with a browser UA** to read the HTML so Layers 2-4
have content to grade. The block stays set on the bundle (`blocked: true`
→ `aeo_report.raw_access_blocked` → Layer 1 yellow card + score 0); the
retry just unblocks the rest of the diagnosis. Don't fail fast on the
whole report when only Layer 1 fails.

**Why:** The product's job is to tell the customer what AI crawlers
actually see (Layer 1) AND give a full diagnosis of the rest of the
content (Layers 2-4). Pre-2026-05-29 we hard-skipped scoring blocked
pages — that yielded a "measured separately" label on Layer 1 and zero
useful content signal. The call: "We don't want to fail fast. We
want to report as much as we can." The block stays the Layer 1 signal;
the retry recovers the rest.

**How to apply:**
- Identify probes honestly on the first fetch (`AgentSiteBot/1.0 (+https://agentsite.app/bot)`).
- Detect block conditions: HTTP 403/429/503, or body matching known CF/WAF challenge markers (`cf_chl_opt`, `cf-chl-bypass`, "Just a moment", "Attention Required! | Cloudflare", "Checking if the site connection is secure", `__cf_chl_`).
- On block: retry the SAME url with a generic browser UA (Chrome-shaped Mozilla string). If the retry succeeds, parse the HTML, populate `markdown`/`rawHtmlStats`/etc., BUT keep `blocked: true` on the bundle so the Layer 1 yellow finding still fires.
- If the retry is ALSO blocked or empty, return the empty-content blocked bundle — Layer 1 carries the signal alone.
- Render the block as a *yellow* (warn) finding card. Layer 1 composite is **0** when `rawAccessBlocked` is true (never null / "measured separately").
- Refuse to apply downstream content-bonus penalties (empty-shell multipliers, low rawComposite) when blocked — the content we DID get came from a browser, so the empty-shell test would convict on the wrong evidence.

Implementation: `RawHtmlBundleBuilder.build` does the two-attempt fetch
(`AgentSiteBot/1.0` then Chrome-UA fallback); `rawScoreAll` no longer
skips blocked bundles whose markdown was populated by the retry;
`layer1Composite` returns 0 (not null) when `rawAccessBlocked`.

Locked 2026-05-20 (block IS the signal), refined 2026-05-29 (retry for
content). The "measured separately" Layer 1 label was retired in the
same change.


## Mention Probe v2 decisions

**AccuracyRate is a co-headline next to composite score (not folded in); Tier 3 runs 2 engines on paid (ChatGPT + Claude), ChatGPT-only on free. Decided 2026-06-02 to resolve spec-mention-probe-v2.md Q1 + Q2.**

For `workspace/spec-mention-probe-v2.md` (three-tier mention probe), two design decisions are locked:

**Accuracy is a co-headline, not folded in.** `accuracyRate` (Tier 3, claim-vs-live diff) renders as a second top-line number alongside the existing composite `score`. Two equal-weight top numbers on the report. NOT mathematically merged into the composite formula.

**Why:** Accuracy diff IS the load-bearing metric for AgentSite's positioning lane. Burying it in a panel undersells the only-we-do-it signal; folding it into the composite muddies existing math + dilutes the sales pitch.

**How to apply:** When designing the v2 viewer or any place that summarizes a v2 report, render `accuracyRate` at the same visual tier as `score`. Don't blend them into a single number. The diff box itself (engine-says-X / live-says-Y) stays the headline deliverable.

**Two engines for Tier 3 on paid, ChatGPT-only on free.** Pro/Studio runs Tier 3 on ChatGPT (canonical) + Claude. Free runs ChatGPT only. Tier 2 (Research) stays on all 4 engines regardless of tier.

**Why:** A single-engine accuracy diff invites the "but other engines got it right" objection — two engines proves the gap is universal across agents, which is the sales pitch. Adding a third or fourth engine to Tier 3 is mostly diminishing returns on credibility for linearly more fetch+diff cost.

**How to apply:** Tier 3 provider selection: pick `chatgpt` always; add `claude` only when `options.paid === true`. Don't run gemini/groq for Tier 3. When designing Tier 3 cost gating, treat ChatGPT-only as the floor and ChatGPT+Claude as the paid ceiling.

Spec status: §Resolved decisions in `workspace/spec-mention-probe-v2.md`. Q3 (auth-gated diffs), Q4 (rendered-vs-raw fetch), Q5 (cost ceiling) remain open.

---

*Related: `@agentsite/render-outputs` · `@agentsite/platform-conventions` · `@agentsite/project` · `@agentsite/aeo-voice-list` · `@agentsite/scoring-what-the-score-claims`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*