:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(signals): port mcp-tool-calls scout to the report channel (#67527)
Andrew Maguire0f1b9f3b415a
diff --git a/products/signals/skills/AGENTS.md b/products/signals/skills/AGENTS.mdindex 2db0aa504986..47286df82ec7 100644--- a/products/signals/skills/AGENTS.md+++ b/products/signals/skills/AGENTS.md@@ -221,9 +221,10 @@ agent-enabled team's `LLMSkill` rows by `scout_harness/lazy_seed.py` — seeconsistent shape — not raw counts. Coverage-aware: it first probes which enrichmentfields the project captures (they split by regime — PostHog's own hono server vsexternal SDK servers) and picks lenses to match, resting detection only on always-present- fields (error flag, duration, tool name, session). Emits one `emit_signal` finding per- tool for the pipeline to diagnose and fix; bundles `references/queries.md`, a HogQL- cookbook validated against real telemetry.+ fields (error flag, duration, tool name, session). On the **report channel**+ (`emit_report` / `edit_report`): files one report per tool carrying the fix hypothesis,+ editing the live report when the problem persists; bundles `references/queries.md`, a+ HogQL cookbook validated against real telemetry.### How the coordinator decides what runsdiff --git a/products/signals/skills/signals-scout-mcp-tool-calls/SKILL.md b/products/signals/skills/signals-scout-mcp-tool-calls/SKILL.mdindex 5ba756fb420d..c1c2f78b8560 100644--- a/products/signals/skills/signals-scout-mcp-tool-calls/SKILL.md+++ b/products/signals/skills/signals-scout-mcp-tool-calls/SKILL.md@@ -3,16 +3,18 @@ name: signals-scout-mcp-tool-callsdescription: >Signals scout for PostHog MCP tool calls. Watches $mcp_tool_call telemetry for tools thatneed improvement — high, broad-reach failure rates, retry/hammering that betrays a confusing- schema, slow or context-bloating responses — and emits a signal per tool so the pipeline can- diagnose it and suggest a fix. Adapts to which fields the project actually captures.+ schema, slow or context-bloating responses — and files each validated tool-quality finding+ as a report in the inbox; otherwise writes durable memory and closes out empty. Adapts to+ which fields the project actually captures.compatibility: >- Designed for the PostHog Signals agent in a Claude sandbox with PostHog MCP scopes- (read-only analytics plus signal_scout_internal:write for scratchpad + emit-signal).- Assumes the signals-scout MCP family (project-profile-get, runs-list, runs-retrieve,- scratchpad-search, scratchpad-remember, scratchpad-forget, emit-signal) plus execute-sql,- read-data-schema, and inbox-reports-list. The SQL cookbook lives in references/queries.md- (read it on demand); deep-dives into posthog:exploring-mcp-tool-quality and- posthog:querying-posthog-data.+ PostHog Signals agent (Claude sandbox). Read-only analytics + signal_scout_internal:write+ (scratchpad) + signal_scout_report:write (report channel), plus execute-sql,+ read-data-schema, and the inbox tools in the MCP tools section. The SQL cookbook lives in+ references/queries.md (read it on demand); deep-dives into+ posthog:exploring-mcp-tool-quality and posthog:querying-posthog-data.+allowed_tools:+ - emit_report+ - edit_reportmetadata:owner_team: signalsscope: mcp_analytics@@ -20,36 +22,23 @@ metadata:# Signals scout: MCP tool calls-You are a focused MCP tool-quality scout. Find the PostHog MCP tools that **need improvement**-for this project's agents, and emit one signal per tool. The grouping + research pipeline-downstream diagnoses the cause and suggests a fix; your job is to surface the _right_ tool with-enough evidence that the diagnosis has somewhere to start. An empty run is a real outcome;-re-emitting a tool a prior run already flagged is worse than emitting nothing.+You are a focused MCP tool-quality scout. Find the PostHog MCP tools that **need improvement** for this project's agents, and file one report per tool. You own the diagnosis end-to-end — detect the tool, localize the cause with the lenses the data supports, and file a report carrying the fix hypothesis. An empty run is a real outcome; re-filing a tool a prior run already covered is worse than filing nothing.-**"Needs improvement" is broader than "fails a lot."** A tool earns a signal when agents can't-use it cleanly, which shows up as any of:+You author reports directly via the report channel (`signals-scout-emit-report` / `signals-scout-edit-report`): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for a localized, validated tool-quality problem you'd stand behind as a standalone inbox item a human will act on. A tool the inbox already covers (still failing the same way, still being hammered) is an **edit**, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the MCP-tool-quality framing.++**"Needs improvement" is broader than "fails a lot."** A tool earns a report when agents can't use it cleanly, which shows up as any of:1. **Failures** — a high `$mcp_is_error` rate over meaningful volume and reach.-2. **Struggle** — agents call it repeatedly within a session, or fail-then-retry it, which- almost always means a confusing schema/description even when calls eventually succeed.+2. **Struggle** — agents call it repeatedly within a session, or fail-then-retry it, which almost always means a confusing schema/description even when calls eventually succeed.3. **Slowness** — high p95 `$mcp_duration_ms` (and, in the hono regime, `timeout` failures).4. **Context bloat** — oversized responses (hono regime only).-5. **Un-diagnosable failures** — it fails but the project captures no error detail, so the fix- is to add instrumentation.+5. **Un-diagnosable failures** — it fails but the project captures no error detail, so the fix is to add instrumentation.-**Signal-vs-noise discriminator (internalize this):** rate/struggle **weighted by volume and-reach**, concentrated in a consistent shape. Raw counts are noise (a high-traffic tool fails-and repeats more in absolute terms while being healthy); a high _rate_ or _per-session-struggle_ across _many distinct users/sessions_ is the signal. A tool at 40% failure on 2,000-calls across 30 users, or one agents call 4× per session in 60% of sessions, is a strong-finding; the same shape on 12 calls from one session is not.+**Signal-vs-noise discriminator (internalize this):** rate/struggle **weighted by volume and reach**, concentrated in a consistent shape. Raw counts are noise (a high-traffic tool fails and repeats more in absolute terms while being healthy); a high _rate_ or _per-session struggle_ across _many distinct users/sessions_ is the signal. A tool at 40% failure on 2,000 calls across 30 users, or one agents call 4× per session in 60% of sessions, is a strong finding; the same shape on 12 calls from one session is not.## The data + reliability tiers (this is the key discipline)-MCP tool calls land on the `$mcp_tool_call` event, emitted by both PostHog's own hono server-**and** external customer servers instrumented with the SDK. Crucially, **the two regimes-capture different fields**, so never hardcode a field's presence — check coverage first-(query 0) and pick lenses to match.+MCP tool calls land on the `$mcp_tool_call` event, emitted by both PostHog's own hono server **and** external customer servers instrumented with the SDK. Crucially, **the two regimes capture different fields**, so never hardcode a field's presence — check coverage first (query 0) and pick lenses to match.**Tier 1 — always present (build detection on these):**@@ -74,56 +63,32 @@ capture different fields**, so never hardcode a field's presence — check coverTwo consequences to remember, both verified against real data:-- **Presence = `isNotNull(properties.X)`; never `!= ''` or `NOT IN ('', 'None')`** (both return- garbage/>100% coverage for the MCP props). `$mcp_error_type` is especially quirky — bare value- equality gives contradictory counts across query shapes, so define _classified_ failures by a positive- `toString(...) IN (<known classes>)` whitelist and _unclassified_ by subtraction (failures − classified),- never by `NOT IN`. Token fields are numeric (`isNotNull`). The cookbook queries encode all of this —- use them verbatim, don't hand-write comparisons.-- **`$mcp_error_type` existing ≠ failures being classified.** Even on PostHog's own hono data, most- `$mcp_is_error` failures are _tool-result_ errors (the handler returned `{isError:true}`) that never- get a class — `error_type` stays `'None'`. On PostHog's own project only ~4% of failures carry a real- class. So when the coverage probe shows low `pct_failures_classified`, the **unclassified-failure- bucket is the main story** — rank with failure rate (query 1) + struggle (query 2), and treat the- missing detail as an observability-gap finding rather than assuming the class breakdown will explain it.- On an **external customer's** MCP data it's the reverse regime: no classes, but `$mcp_error_message`- may carry raw text.--The full SQL cookbook is in [`references/queries.md`](references/queries.md) — read it rather-than reinventing the queries. Also read `posthog:exploring-mcp-tool-quality` and-`posthog:querying-posthog-data` (both baked into the sandbox; `models-mcp` is the schema-source of truth) when you go deep.+- **Presence = `isNotNull(properties.X)`; never `!= ''` or `NOT IN ('', 'None')`** (both return garbage/>100% coverage for the MCP props). `$mcp_error_type` is especially quirky — bare value equality gives contradictory counts across query shapes, so define _classified_ failures by a positive `toString(...) IN (<known classes>)` whitelist and _unclassified_ by subtraction (failures − classified), never by `NOT IN`. Token fields are numeric (`isNotNull`). The cookbook queries encode all of this — use them verbatim, don't hand-write comparisons.+- **`$mcp_error_type` existing ≠ failures being classified.** Even on PostHog's own hono data, most `$mcp_is_error` failures are _tool-result_ errors (the handler returned `{isError:true}`) that never get a class — `error_type` stays `'None'`. On PostHog's own project only ~4% of failures carry a real class. So when the coverage probe shows low `pct_failures_classified`, the **unclassified-failure bucket is the main story** — rank with failure rate (query 1) + struggle (query 2), and treat the missing detail as an observability-gap finding rather than assuming the class breakdown will explain it. On an **external customer's** MCP data it's the reverse regime: no classes, but `$mcp_error_message` may carry raw text.++The full SQL cookbook is in [`references/queries.md`](references/queries.md) — read it rather than reinventing the queries. Also read `posthog:exploring-mcp-tool-quality` and `posthog:querying-posthog-data` (both baked into the sandbox; `models-mcp` is the schema source of truth) when you go deep.## Quick close-out: is MCP even in use?-If `$mcp_tool_call` is absent from the profile's `top_events` (or a 7-day `count()` is ~0),-this project isn't using the PostHog MCP. Write one scratchpad entry and stop:+If `$mcp_tool_call` is absent from the profile's `top_events` (or a 7-day `count()` is ~0), this project isn't using the PostHog MCP. Write one scratchpad entry and stop:-- key: `not-in-use:mcp_analytics:team{team_id}`+- key: `not-in-use:mcp_analytics` (the scratchpad is already team-scoped — no id in the key)- content: brief note ("checked at {timestamp}, no $mcp_tool_call events in 7d")## Orient-- `signals-scout-scratchpad-search` (`text=mcp`) — durable steering from past runs. `pattern:`- entries hold the baseline rates and the captured **regime** (hono vs external-SDK) so you- don't re-probe it cold; `noise:` / `addressed:` / `dedupe:` say what's benign, fixed, or- already emitted.+- `signals-scout-scratchpad-search` (`text=mcp`) — durable steering from past runs. `pattern:` entries hold the baseline rates and the captured **regime** (hono vs external-SDK) so you don't re-probe it cold; `noise:` / `addressed:` / `dedupe:` say what's benign, fixed, or already filed; `report:` / `reviewer:` entries point at the open report for a tool and who owns it.- `signals-scout-runs-list` (last 7d) — what prior MCP runs found and ruled out.- `signals-scout-project-profile-get` — confirm `$mcp_tool_call` reach off `top_events`.-- `inbox-reports-list` (`search=mcp` or a tool name, `ordering=-updated_at`) — tools you've- already surfaced land under `source_product=signals_scout`; don't re-emit a live one.+- `inbox-reports-list` (`search`=a tool name, `ordering=-updated_at`) — the reports already in the inbox. A tool you've reported before is an **edit**, not a fresh report; pull the closest matches with `inbox-reports-retrieve` before authoring. Your own report-channel reports persist their backing signals under `source_product=signals_scout`, so don't filter by another source product — you'd miss every report you authored.## Field-coverage probe-Run **query 0** from the cookbook (unless a fresh `pattern:mcp_analytics:regime` scratchpad-entry already records it). It tells you the regime and which Tier-2 lenses are usable this-run — record the answer in memory so future runs skip the probe. Everything after this adapts-to what it returns.+Run **query 0** from the cookbook (unless a fresh `pattern:mcp_analytics:regime` scratchpad entry already records it). It tells you the regime and which Tier-2 lenses are usable this run — record the answer in memory so future runs skip the probe. Everything after this adapts to what it returns.## Lenses-Pick what the profile/probe flags as interesting and rotate across runs — don't run every lens-every tick. Each maps to a cookbook query.+Pick what the profile/probe flags as interesting and rotate across runs — don't run every lens every tick. Each maps to a cookbook query.| Lens | Detects | Reliability | Query || ------------------- | ------------------------------------------------ | ------------------------------- | ----- |@@ -138,10 +103,7 @@ every tick. Each maps to a cookbook query.| Output bloat | oversized responses | hono only | 8 || Category rollup | tools ranked within category (low priority) | hono only | 9 |-The workflow for a candidate is **detect → localize → hypothesize**: query 1/2/4 detect a tool-worth attention using only reliable fields; then use whichever Tier-2 lens the probe said is-available (3a or 3b, plus 5/6) to localize the cause and form a fix hypothesis. If no Tier-2-lens is available, query 7 turns that absence into its own finding.+The workflow for a candidate is **detect → localize → hypothesize**: query 1/2/4 detect a tool worth attention using only reliable fields; then use whichever Tier-2 lens the probe said is available (3a or 3b, plus 5/6) to localize the cause and form the fix hypothesis your report carries. If no Tier-2 lens is available, query 7 turns that absence into its own finding.## Save memory as you go@@ -150,76 +112,57 @@ Encode the category in the key prefix so future runs find it with one `text=mcp`- key `pattern:mcp_analytics:regime` — _"hono regime: $mcp_error_type populated, no messages, mode+tokens present."_ (or the external-SDK inverse) — saves the probe next run.- key `pattern:mcp_analytics:baseline` — _"~4k calls/day, project-wide error rate ~6%; query-run and execute-sql carry most volume; avg 1.4 calls/session/tool."_- key `noise:mcp_analytics:<tool>` — _"<tool> ~15% validation chronically; agents recover on retry. Skip unless rate clears 30% or reach broadens past 20 users."_-- key `dedupe:mcp_analytics:<tool>` — gates re-emitting a tool you surfaced; record date + window.+- key `dedupe:mcp_analytics:<tool>` — _"Filed failure-rate report on <tool> 2026-06-30 (28% over 7d, 40 users). Skip unless the shape changes or it recovers then breaks again."_ One stable key per tool — update it in place, don't mint a dated variant.- key `addressed:mcp_analytics:<tool>` — _"<tool> 5xx fixed 2026-06-30; back to baseline."_+- key `report:mcp_analytics:<tool>` — _"Report `019f0a96-…` covers <tool>'s failure rate. Edit it (append_note the fresh numbers) while the problem persists and the report is still live; if it was resolved and the tool later regresses, that's a fresh report."_+- key `reviewer:mcp_analytics:<area>` — _"MCP server tools owned by `alice` (GitHub login) — route tool-quality reports there."_## Decide-Cross-check `inbox-reports-list` and your `dedupe:` entries first — a tool with a live report-is a **skip**. Then:--- **Emit** via `signals-scout-emit-signal`, **one signal per tool** (aggregated over the- window), never one per failed call. A **strong finding**: confidence ≥ 0.85, the problem- (failure / struggle / latency / bloat) high over the volume floor with reach across multiple- users/sessions, and — when a Tier-2 lens is available — localized to a class/message/intent- with counts in the `evidence`. Confidence ≥ 0.65 is the emit gate; below that, write memory.- - `description`: Hook (tool + the quantified problem + volume + reach) → Pattern (the shape:- dominant error class, the retry loop, the p95, the intent that fails) → Hypothesis (likely- cause + fix direction, keyed off the Tier-2 lens) → Recommendation. Write for an engineer- who's never seen this tool. **State which regime the evidence came from** so the diagnosis- knows what it's working with.- - `dedupe_keys`: `mcp-tool-failure:<tool>` (add `:<error_type>` or `:latency` / `:struggle`- when tracking a specific cause separately).- - `severity`: P2 for a high-rate/high-struggle, broad-reach, clearly-localized problem; P3 otherwise.- - `finding_id`: `mcp-tool-<tool>-<date>` (a trace id, not an idempotency key — reusing it- writes a second signal).- - After emitting, write a `dedupe:mcp_analytics:<tool>` entry.-- **Emit an observability-gap signal** (query 7) when a tool fails materially (≥50 errors) but- ≥90% of failures are unclassified (`$mcp_error_type IN ('', 'None')` and no message). The finding is:- "tool X fails at N% but failures aren't diagnosable — add error-type/message instrumentation- to its MCP handler." dedupe `mcp-observability-gap:<tool>`, severity P3. This is a real,- actionable improvement the pipeline can turn into an instrumentation task.-- **Remember** if below the bar or to record what you ruled out.-- **Skip** with a one-line note if a `noise:` / `addressed:` / `dedupe:` entry or a live inbox- report already covers it.+For a candidate that clears the bar, the call is **edit an existing report, author a new one, remember, or skip** — use judgment, these are the rails:++- **Search the inbox first.** The `report:mcp_analytics:<tool>` scratchpad pointer is the reliable path (it holds the `report_id` — `inbox-reports-retrieve` it directly); with no pointer, `inbox-reports-list` by the specific tool name (`ordering=-updated_at`), not a broad word like `mcp`. A tool with a live report and no material change is a **skip**.+- **Edit** (`signals-scout-edit-report`) when a still-live report already covers the same tool problem — still failing at the same rate, still being hammered, still slow. `append_note` the fresh numbers (rate trend, broadening reach), or rewrite the title/summary on a report you authored. This is the default when a match exists. `edit-report` can't change status, so if the matched report is `resolved` / `suppressed` / `failed`, don't append (it won't resurface) — author a fresh report for the relapse and repoint the `report:` key.+- **Author** (`signals-scout-emit-report`) only when nothing live covers it — **one report per tool** (aggregated over the window), never one per failed call. A **report-worthy finding**: confidence ≥ 0.85, the problem (failure / struggle / latency / bloat) high over the volume floor with reach across multiple users/sessions, and — when a Tier-2 lens is available — localized to a class/message/intent with counts in the `evidence`. Below that bar, write memory instead. The `summary` follows Hook (tool + the quantified problem + volume + reach) → Pattern (the shape: dominant error class, the retry loop, the p95, the intent that fails) → Hypothesis (likely cause + fix direction, keyed off the Tier-2 lens) → Recommendation. Write for an engineer who's never seen this tool, and **state which regime the evidence came from**. Set `priority` (P0–P4) + `priority_explanation` — a high-rate/high-struggle, broad-reach, clearly-localized problem is P2; P3 otherwise. Set `suggested_reviewers` via `signals-scout-members-list` (objects — a `{github_login}` or `{user_uuid}`, not bare strings; cache under `reviewer:mcp_analytics:<area>`); left empty the report reaches no one. Then choose the actionability + repo together:+ - In the **hono regime** the tool lives in PostHog's own MCP server, so unless this project's team owns that code, the action is an investigation / upstream report → `actionability=requires_human_input` and `repository=NO_REPO` (NO_REPO is what stops `priority`+reviewers from spawning a pointless repo-selection sandbox).+ - When the team **owns the MCP server** (the external-SDK regime, or PostHog's own project where the hono tools are in-repo) and the hypothesis is a concrete code change — a schema/description fix, a handler bug — → `actionability=immediately_actionable` with `repository="owner/repo"` (or omit `repository` to let the selector pick) to open a draft PR.+ - After authoring, write the `report:mcp_analytics:<tool>` pointer with the `report_id` so the next run edits instead of duplicating, and update the `dedupe:` entry.+- **Author an observability-gap report** (query 7) when a tool fails materially (≥50 errors) but ≥90% of failures are unclassified (`$mcp_error_type IN ('', 'None')` and no message). The finding is: "tool X fails at N% but failures aren't diagnosable — add error-type/message instrumentation to its MCP handler." Priority P3; on a team-owned server the instrumentation change is concrete enough for `immediately_actionable` + the server repo, otherwise `requires_human_input` + `NO_REPO`. This is a real, actionable improvement.+- **Remember** if below the bar or to record what you ruled out; **skip** with a one-line note if a `noise:` / `addressed:` / `dedupe:` entry or a live inbox report already covers it.## Disqualifiers (skip these)-- **Single-user / single-session** — a tool "failing" or "hammered" from one `distinct_id` or- one `$session_id` is one developer, not a fleet problem. Always weigh `users` / `sessions`.+- **Single-user / single-session** — a tool "failing" or "hammered" from one `distinct_id` or one `$session_id` is one developer, not a fleet problem. Always weigh `users` / `sessions`.- **Low absolute volume** — below the project's floor, both rate and struggle are noise.-- **Self-recovering validation** — agents routinely malform the first call and succeed on- retry; some `sessions_error_then_more_calls` is normal. Weigh the _persistent / high-share_- case, not baseline first-tries. The struggle signal is the _elevated_ tail, not its presence.-- **The bare `exec` wrapper** — the single-exec dispatcher has empty category; the- effective-tool-name coalesce unwraps it, but don't emit for a raw `exec` row.+- **Self-recovering validation** — agents routinely malform the first call and succeed on retry; some `sessions_error_then_more_calls` is normal. Weigh the _persistent / high-share_ case, not baseline first-tries. The struggle signal is the _elevated_ tail, not its presence.+- **The bare `exec` wrapper** — the single-exec dispatcher has empty category; the effective-tool-name coalesce unwraps it, but don't file a report for a raw `exec` row.- **`rate_limited` alone** — throttling is a quota story unless sustained and broad.-- **Errors during a known PostHog incident** — an `api_5xx` surge across _many_ tools at once- is an upstream outage, not a per-tool bug; check timing before attributing it to one tool.-- **Structurally-slow tools** — some tools are legitimately long-running (large exports); a high- p95 alone isn't a bug. Weigh it against `timeout` failures and the tool's nature; record the- expected band in `pattern:` memory.+- **Errors during a known PostHog incident** — an `api_5xx` surge across _many_ tools at once is an upstream outage, not a per-tool bug; check timing before attributing it to one tool.+- **Structurally-slow tools** — some tools are legitimately long-running (large exports); a high p95 alone isn't a bug. Weigh it against `timeout` failures and the tool's nature; record the expected band in `pattern:` memory.- **Chronically-noisy tools recorded in scratchpad** — respect `noise:` thresholds.-When in doubt, write memory instead of emitting. A false MCP-quality signal erodes trust fast.+When in doubt, write memory instead of filing a report. A false MCP-quality report erodes trust fast.## MCP tools- `execute-sql` — the workhorse for every cookbook query over `$mcp_tool_call`.- `read-data-schema` — confirm which `$mcp_*` properties exist for this project before relying on them.-- `inbox-reports-list` / `inbox-reports-retrieve` — what's already surfaced; check before emitting.- `signals-scout-project-profile-get` — cold orientation snapshot.-- `signals-scout-scratchpad-search` / `-remember` / `-forget` — durable steering (regime, baselines, dedupe).++Inbox & reviewer routing:++- `inbox-reports-list` / `inbox-reports-retrieve` — the reports already in the inbox; check before authoring so you edit instead of duplicating (`ordering=-updated_at`).+- `inbox-report-artefacts-list` — a comparable report's artefact log, where the routed `suggested_reviewers` live (the report record doesn't expose them) — reviewer precedent.+- `signals-scout-members-list` — this project's members with their resolved `github_login`, to route `suggested_reviewers` (wrap as a `{github_login}` object, or pass the member's `{user_uuid}` and let the server resolve). The in-run roster; the org-scoped resolver tools aren't available in a scout run.++Harness-level:++- `signals-scout-scratchpad-search` / `-remember` / `-forget` — durable steering (regime, baselines, dedupe, report pointers).- `signals-scout-runs-list` / `-runs-retrieve` — what prior runs found.-- `signals-scout-emit-signal` — emit a per-tool signal (the emit contract rides in the harness prompt).+- `signals-scout-emit-report` / `signals-scout-edit-report` — author a report / edit an existing one (the report-channel contract is in the harness prompt).-Deep-dive skills baked into the sandbox: `posthog:exploring-mcp-tool-quality`,-`posthog:exploring-mcp-tool-usage`, `posthog:querying-posthog-data`.+Deep-dive skills baked into the sandbox: `posthog:exploring-mcp-tool-quality`, `posthog:exploring-mcp-tool-usage`, `posthog:querying-posthog-data`.## Close out-One paragraph: the regime you found, which lenses you ran, which tools you emitted for and why-(failure / struggle / latency / bloat / gap), what you remembered, what you ruled out. The-harness saves this as the run summary; future runs read it via `signals-scout-runs-list`. Don't-write a separate "run metadata" scratchpad entry. "Looked but found nothing meaningful" is a-real outcome.+One paragraph: the regime you found, which lenses you ran, which tools you filed or edited reports for and why (failure / struggle / latency / bloat / gap), what you remembered, what you ruled out. The harness saves this as the run summary; future runs read it via `signals-scout-runs-list`. Don't write a separate "run metadata" scratchpad entry. "Looked but found nothing meaningful" is a real outcome.diff --git a/products/signals/skills/signals-scout-mcp-tool-calls/references/queries.md b/products/signals/skills/signals-scout-mcp-tool-calls/references/queries.mdindex fee72e4f2fdc..8406b9a6d4e6 100644--- a/products/signals/skills/signals-scout-mcp-tool-calls/references/queries.md+++ b/products/signals/skills/signals-scout-mcp-tool-calls/references/queries.md@@ -72,7 +72,7 @@ Read the result:- `pct_failures_with_message` high (and classified ~0) → **external-SDK regime**: use query 3b to sample messages.- Both ~0 on a project with real failures → **observability gap**: you can still detect _which_ tools fail(query 1) and how agents struggle (query 2), but not _why_ from the taxonomy. That gap is itself- emittable (see the scout's Decide section).+ report-worthy (see the scout's Decide section).- `pct_with_intent` ≥ ~20 → intent lens (query 5) is worth running. (On PostHog's own data this is ~100%.)- `distinct_clients` > 1 → the per-client split (query 6) can localize a client-specific break.@@ -270,7 +270,7 @@ In the hono regime you can additionally split by `properties.$mcp_mode` (`'cli'``'tools'` = multi-tool): a tool that fails only in `cli` mode points at the `exec`-wrapperschema rather than the tool itself.-## 7. Observability-gap detection (an emittable finding)+## 7. Observability-gap detection (a report-worthy finding)Tools that fail materially but carry no diagnosable detail — the improvement is to add errorinstrumentation (or a clearer returned-error message) so failures become debuggable. The