Skip to content

: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.

chore(signals): add exploring-signals-scouts skill (#62027)

Andrew Maguire0182da61eab3
diff --git a/products/signals/skills/AGENTS.md b/products/signals/skills/AGENTS.md
index 1e94e53b8435..504b1aee0435 100644
--- a/products/signals/skills/AGENTS.md
+++ b/products/signals/skills/AGENTS.md
@@ -3,13 +3,17 @@
Two distinct skill families live in this directory:
1. **Official PostHog skills** — `signals/`, `inbox-exploration/`,
- `authoring-signals-scouts/`. First-party PostHog skills published via
- `products/posthog_ai/dist/skills/` and loaded by users through the PostHog MCP. They
- teach a caller how to query, browse, and reason about signals data —
- `authoring-signals-scouts/` is the meta one: it teaches a user's agent how to write,
- edit, and adapt the scout fleet itself (per-team via the skills store, or canonically
- in this directory). They are not part of the automated agent path — humans (and
- human-driven agents) reach for them on demand.
+ `authoring-signals-scouts/`, `exploring-signals-scouts/`. First-party PostHog skills
+ published via `products/posthog_ai/dist/skills/` and loaded by users through the PostHog
+ MCP. They teach a caller how to query, browse, and reason about signals data. Two are
+ meta skills about the scout fleet itself: `authoring-signals-scouts/` teaches a user's
+ agent how to write, edit, and adapt scouts (per-team via the skills store, or canonically
+ in this directory), and `exploring-signals-scouts/` is its read-only counterpart —
+ teaching a caller how to observe and make sense of what a project's scouts are doing and
+ how they're performing (the `signals-scout-config-list` / `-runs-list` / `-runs-retrieve`
+ / `-scratchpad-search` / `-project-profile-get` tools, run anatomy, and health
+ assessment). They are not part of the automated agent path — humans (and human-driven
+ agents) reach for them on demand.
2. **Scout fleet** — `signals-scout-*/`. Canonical default skills that the headless
Signals agent loads into its system prompt at runtime. These are also the first
example of PostHog shipping templated skills _into a user's PostHog Skills Store_:
diff --git a/products/signals/skills/authoring-signals-scouts/SKILL.md b/products/signals/skills/authoring-signals-scouts/SKILL.md
index 81978ad219eb..8c487bef3a5a 100644
--- a/products/signals/skills/authoring-signals-scouts/SKILL.md
+++ b/products/signals/skills/authoring-signals-scouts/SKILL.md
@@ -133,6 +133,11 @@ loop is **dry-run + inspect**:
Repo contributors get a faster loop — `hogli sync:skill` and the harness's local run path;
see [`references/lifecycle-and-testing.md`](references/lifecycle-and-testing.md).
+To **read** what your scouts are doing rather than change them — surveying the fleet, inspecting
+individual runs, the scratchpad memory, and assessing performance — use the read-only companion
+skill [`exploring-signals-scouts`](../exploring-signals-scouts/SKILL.md). Keep the two in sync when
+the scout config / run / scratchpad surfaces change.
+
## Quality bar for a v1 scout
- A named, cheap **signal-vs-noise discriminator** anchored near the top.
diff --git a/products/signals/skills/exploring-signals-scouts/SKILL.md b/products/signals/skills/exploring-signals-scouts/SKILL.md
new file mode 100644
index 000000000000..57eeb6031b44
--- /dev/null
+++ b/products/signals/skills/exploring-signals-scouts/SKILL.md
@@ -0,0 +1,253 @@
+---
+name: exploring-signals-scouts
+description: >
+ How to explore and make sense of PostHog Signals scouts — the scheduled agents that scan a
+ project and emit findings into the Signals inbox. Use when a user wants to understand what
+ scouts they have, how each one is behaving, and whether the fleet is actually working. Covers
+ surveying the fleet and its schedules, reading recent scout runs and drilling into a single
+ run's reasoning, inspecting the durable scratchpad memory the fleet has built up, tracing a
+ run to the findings it emitted, and assessing a scout's health and performance over time
+ (cadence, success rate, emit rate, signal-to-noise). Read-only and exploratory — to write or
+ tune a scout, use `authoring-signals-scouts` instead. Trigger on "what are my scouts doing",
+ "how is my <x> scout performing", "show me recent scout runs", "why did this scout find/emit
+ nothing", "what has the fleet learned", "explore scout run <id>", "is my scout working".
+metadata:
+ owner_team: signals
+---
+
+# Exploring Signals scouts
+
+A **scout** is a scheduled agent that wakes on its own interval, looks at one PostHog project,
+decides what's genuinely worth surfacing, and either emits it as a **finding** into the Signals
+inbox or closes out empty (a real, valid outcome). PostHog ships a fleet of canonical scouts — a
+cross-product generalist (`signals-scout-general`) plus per-surface specialists
+(`-error-tracking`, `-llm-analytics`, `-logs`, `-revenue-analytics`, `-surveys`,
+`-csp-violations`, `-observability-gaps`). A project may also have **custom scouts** beyond the
+canonical fleet — any `signals-scout-*` skill a team authored (e.g. `-brand-mentions`,
+`-mcp-feedback`) shows up here too, so don't assume the roster is only the canonical set.
+
+This skill helps you **understand and explore what a project's scouts are doing and how they're
+performing** — entirely through read-only MCP tools. It is the observability counterpart to
+[`authoring-signals-scouts`](../authoring-signals-scouts/SKILL.md) (which teaches writing and
+tuning) and to [`inbox-exploration`](../inbox-exploration/SKILL.md) (which covers the inbox
+reports scouts feed into).
+
+There are four things you can observe about the fleet, each with its own tool:
+
+| What you want to know | Tool | What it tells you |
+| -------------------------------------------- | --------------------------------------- | ------------------------------------------------------------- |
+| Which scouts run, how often, in what posture | `signals-scout-config-list` | One row per scout: schedule, `enabled`, `emit`, `last_run_at` |
+| What the scouts actually did, run by run | `signals-scout-runs-list` / `-retrieve` | Per-run status, timing, end-of-run summary, deep-link |
+| What the fleet has learned across runs | `signals-scout-scratchpad-search` | Durable per-team memory (baselines, noise, allowlists) |
+| What the scouts surfaced to the user | `inbox-reports-list` | Findings that cleared the bar and became inbox reports |
+
+The orienting fifth is `signals-scout-project-profile-get` — the deterministic snapshot of "what's
+true about this project" that every scout cold-starts from. When a scout found nothing, this is
+usually why.
+
+## Start here: is the fleet even set up?
+
+Don't assume the project has scouts. The fleet only runs on teams enrolled via the `signals-scout`
+feature flag, and a project may have no configs, all-disabled scouts, or scouts stuck in dry-run.
+Run this first whenever a user asks about their scouts for the first time in a session.
+
+```json
+signals-scout-config-list
+```
+
+Read the result against three cases:
+
+- **Empty (`count: 0`)** — no scouts are registered. The project isn't enrolled in the scout
+ fleet (or hasn't ticked yet). Say so plainly; don't go fishing for runs. Point the user at the
+ Signals scout settings / PostHog Code onboarding rather than inventing activity.
+- **Configs exist but all `enabled: false`** — the fleet is registered but paused. Nothing is
+ running. Tell the user which scouts exist and that they're all off.
+- **At least one `enabled: true`** — the fleet is live. For each enabled scout note its
+ `run_interval_minutes` (cadence), `emit` (false = **dry-run**, runs but writes nothing to the
+ inbox), and `last_run_at` (when it last fired — `null` means it has never run). Now proceed to
+ the user's actual question.
+
+A scout that is `enabled: true` but `emit: false` is the most common source of "my scout isn't
+doing anything" confusion: it _is_ running and reasoning every tick, it just isn't allowed to post
+findings yet. Always surface the `emit` posture when reporting on a scout.
+
+See [`references/scout-data-model.md`](references/scout-data-model.md) for every field on a config,
+run, and scratchpad entry, the run status values, and how the pieces link together.
+
+## Workflow: survey the fleet
+
+"What scouts do I have / what are they doing?" — lead with `config-list`, then enrich with the
+most recent run per scout so the user sees liveness, not just configuration.
+
+1. `signals-scout-config-list` — the roster.
+2. For each enabled scout, `signals-scout-runs-list` and pick the newest run with a matching
+ `skill_name` (runs come back newest-first across the whole fleet, so a single call usually
+ covers everyone). Report `status` and how long ago it ran.
+
+Present it as a table the user can scan — scout, cadence, posture, last run, last outcome — and
+call out anything anomalous (never run, last run errored, stuck in dry-run for a long time).
+
+## Workflow: understand one scout end to end
+
+"How does my error-tracking scout work / how is it doing?"
+
+1. **Read its config** — find the row in `config-list` for `signals-scout-error-tracking`:
+ schedule, posture, last run.
+2. **Read its body** — `posthog:llma-skill-get {"skill_name": "signals-scout-error-tracking"}`
+ returns the team's actual instruction set (which may be a canonical default or a diverged,
+ hand-edited row). This is what the agent is told to do every run — its signal-vs-noise
+ discriminator, explore patterns, and disqualifiers. To understand _why_ a scout behaves the
+ way it does, read its body.
+3. **Read its recent runs** — `runs-list` with `text` set to the skill's domain, or just scan the
+ newest runs and filter to its `skill_name`. The end-of-run `summary` on each run is the scout's
+ own account of what it looked at and decided.
+4. **Read what it remembered** — `scratchpad-search` (see below). The memory entries a scout wrote
+ reveal the baselines and noise it has internalized about this project.
+
+## Workflow: read recent runs
+
+`signals-scout-runs-list` returns the most recent runs across the whole fleet, newest first
+(capped at 100). Use it to answer "what happened lately?"
+
+- **Scope to a window** with `date_from` / `date_to` (ISO-8601; inclusive lower, exclusive upper
+ on `created_at`). Walk backwards by passing an earlier `date_to`.
+- **Search summaries** with `text` — a case-insensitive substring match on each run's end-of-run
+ `summary`. This is how the headless scout dedupes, and it's how you find "did any run already
+ look at the checkout error spike?"
+
+Each summary row carries `run_id`, `skill_name`, `skill_version`, `status`, `started_at`,
+`completed_at`, `task_url` (a deep-link into the Tasks UI for the full transcript), and the
+`summary` prose. Lead with the `summary` when narrating to the user — it's the scout's own
+plain-language close-out — and always offer the `task_url` for the full reasoning.
+
+## Workflow: drill into a single run
+
+When the user wants the full story of one run (or pastes a run id / Tasks URL):
+
+```json
+signals-scout-runs-retrieve
+{ "id": "<uuid>" }
+```
+
+Note the field name flip: `runs-list` returns each run's id as `run_id`, but `runs-retrieve`
+takes it as `id`. Pass the `run_id` value through as `id`.
+
+Returns the full run: `status`, `started_at` / `completed_at` (compute duration from these),
+`skill_name` / `skill_version` (what ran, at what body version), the end-of-run `summary`, and
+`task_url`. The transcript — the actual tool calls and reasoning — lives in the Tasks UI behind
+`task_url`, not in this payload; hand the user that link when they want to see every step. A
+**failed** run returns an empty `summary` and **no error field** — the payload looks the same as
+the list row, so to learn _why_ it failed you must open `task_url`.
+
+**Telling whether a run emitted is not as direct as you'd hope.** The run row carries no emit
+flag and no finding count — the only readily-available signal is the prose `summary`, which says
+"EMITTED nothing" on a quiet run and names what it emitted otherwise. Read it carefully: a phrase
+like "already emitted P1 … did not re-emit" describes a _prior_ run and means this run emitted
+nothing, so substring-matching the summary for "emitted" is unreliable. Findings do carry a
+deterministic `source_id = run:<run_id>:finding:<finding_id>`, but it's stored in the signal's
+`metadata.extra` (not a top-level field) and grouping merges scout findings into the same
+clusters as other sources, so the `source_product: "signals_scout"` inbox filter does **not**
+reliably surface them. See [`references/scout-data-model.md`](references/scout-data-model.md) for
+the run-to-finding link and its limits.
+
+A run with `status` complete and an empty-handed summary ("surface at baseline, nothing to
+emit") is a **healthy** outcome, not a failure — most runs should close out empty. Treat a stream
+of empty close-outs as the fleet doing its job, not as the fleet being broken.
+
+## Workflow: inspect what the fleet has learned
+
+The **scratchpad** is the fleet's durable, per-team memory — prose entries scouts write so future
+runs get smarter and quieter. Reading it tells you what the fleet believes about this project.
+
+```json
+signals-scout-scratchpad-search
+{ "text": "error_tracking" }
+```
+
+Returns entries newest-first (capped at 100); `text` matches `content` and `key`
+case-insensitively. Omit `text` to browse everything. Each entry's `key` carries a category
+prefix that tells you _what kind_ of learning it is:
+
+| Prefix | Meaning |
+| ------------- | ------------------------------------------------------------------ |
+| `pattern:` | A baseline — how this team's data normally shapes |
+| `watch:` | A live issue being tracked but still below the emit bar |
+| `noise:` | A pattern the fleet has decided to ignore (dev-only, single-user…) |
+| `addressed:` | Something the team fixed or moved on from |
+| `dedupe:` | A gate on re-emitting a specific issue / fingerprint / finding |
+| `allowlist:` | Vetted entities never to re-surface |
+| `not-in-use:` | A product/surface this team doesn't use (close-out memo) |
+| `mcp-gap:` | A tooling gap a scout noticed worth raising later |
+
+This is the common vocabulary, not a closed set — scouts coin their own prefixes and `<domain>`
+labels as needed (the live fleet uses `watch:` heavily, for example), so treat an unfamiliar
+prefix as just another category. Entries cross-reference each other with `[[key]]` wikilinks. Keys
+follow `<prefix>:<domain>:<entity>` (e.g. `dedupe:error_tracking:019e8375-…`).
+
+When a user asks "why isn't my scout flagging X anymore?", search the scratchpad for `noise:`,
+`addressed:`, `dedupe:`, and `allowlist:` entries — the fleet may have deliberately learned to
+suppress it. The canonical prefix vocabulary and the four-state dedupe classifier the fleet reasons
+in terms of are documented in
+[`../authoring-signals-scouts/references/dedupe-and-memory.md`](../authoring-signals-scouts/references/dedupe-and-memory.md).
+
+## Workflow: see what scouts have surfaced
+
+Scout findings reach the user as inbox reports. You might expect to filter the inbox to the scout
+source:
+
+```json
+inbox-reports-list
+{ "source_product": "signals_scout", "limit": 20 }
+```
+
+**In practice this often returns nothing even on a project where scouts are actively emitting** —
+scout findings flow through the same grouping pipeline as every other source and get attributed to
+the underlying product (`error_tracking`, `llm_analytics`, …), not tagged `signals_scout` at the
+report layer. So don't treat an empty result here as "the fleet emitted nothing." The reliable way
+to know what a specific run surfaced is its `summary`; to browse the inbox generally, use the
+[`inbox-exploration`](../inbox-exploration/SKILL.md) skill (statuses, suggested reviewers, drilling
+into a report's underlying signals). The emit contract behind each finding — weight, confidence,
+severity, the description prose — is documented in
+[`../authoring-signals-scouts/references/emit-contract.md`](../authoring-signals-scouts/references/emit-contract.md).
+
+## Workflow: assess health and performance
+
+"Is my scout actually working / earning its cost?" There's no single metric — judge a scout over a
+window of runs. Pull the runs (`runs-list` with a `date_from`), then reason across the dimensions
+below. The full playbook, including how to read each signal and the common failure modes, is in
+[`references/assessing-performance.md`](references/assessing-performance.md).
+
+- **Cadence adherence** — are runs landing roughly every `run_interval_minutes`? Large gaps mean
+ the coordinator is skipping it (disabled, drained from the flag, or capped out on busy ticks).
+- **Success rate** — how many runs reach a clean `status` vs. error out? A run of errors is a
+ broken scout, not a quiet one.
+- **Emit rate** — what fraction of runs emitted vs. closed out empty. Near-zero over a long window
+ on a live surface can mean the discriminator is too strict (or the surface really is quiet);
+ near-100% usually means it's too noisy. Most healthy scouts emit rarely.
+- **Signal-to-noise** — of what it emitted, how much became actionable inbox reports vs. got
+ suppressed? Cross-check emitted findings against `inbox-reports-list` report states.
+- **Memory growth** — a healthy scout accumulates `pattern:` / `noise:` / `dedupe:` entries over
+ time. A scout with an empty scratchpad after many runs isn't learning.
+
+## Tips
+
+- **Always surface the `emit` posture.** "Running but in dry-run" is the single most common reason
+ a user thinks a scout is broken when it isn't.
+- **An empty close-out is success.** Most runs should find nothing. Don't report a wall of clean,
+ empty runs as a problem.
+- **There's no emit flag to filter on.** Neither the run row nor the inbox exposes a clean
+ "scout-emitted" filter — judge emit-vs-quiet from each run's `summary`, and don't read an empty
+ `source_product: "signals_scout"` inbox result as "the fleet emitted nothing."
+- **A ~30-min run that `failed` is usually a timeout, not a broken scout.** Completed runs finish
+ in a couple of minutes; a run that ran the full budget and failed over-investigated. The fleet
+ self-corrects by writing "tight-run recipe" scratchpad entries.
+- **Lead with the run `summary`**, then offer `task_url` for the full transcript — don't dump raw
+ run rows at the user.
+- **`last_run_at: null`** means a scout has never fired — check it's enabled and the project is
+ enrolled before digging further.
+- **To explain a quiet scout, read the project profile.** `signals-scout-project-profile-get`
+ shows whether the surface it watches is even in use — a logs scout on a project with no logs has
+ nothing to do.
+- **This skill is read-only.** To change a scout's schedule, posture, or body, hand off to
+ [`authoring-signals-scouts`](../authoring-signals-scouts/SKILL.md) — it covers
+ `signals-scout-config-update` and the skills-store edit path.
diff --git a/products/signals/skills/exploring-signals-scouts/references/assessing-performance.md b/products/signals/skills/exploring-signals-scouts/references/assessing-performance.md
new file mode 100644
index 000000000000..739d7fe8ec25
--- /dev/null
+++ b/products/signals/skills/exploring-signals-scouts/references/assessing-performance.md
@@ -0,0 +1,98 @@
+# Assessing a scout's health and performance
+
+There is no single "is my scout good" number. A scout's job is to be quiet most of the time and
+right when it speaks — so a naive "it emitted nothing" reads as broken when it's usually correct.
+Judge a scout across a window of runs along the dimensions below, and reach for the matching
+diagnosis when one looks off.
+
+Pull the window first:
+
+```json
+signals-scout-runs-list
+{ "date_from": "2026-05-01T00:00:00Z", "limit": 100 }
+```
+
+Filter the result to the scout's `skill_name`, then reason across the dimensions, reading each
+run's `summary`. Learned memory comes from `signals-scout-scratchpad-search`. Note up front: there
+is **no emit flag or finding count on a run**, and `inbox-reports-list { "source_product":
+"signals_scout" }` does not reliably surface scout output (grouping attributes findings to the
+underlying product) — so emit-related dimensions below are read from the run summaries, not a clean
+metric.
+
+## The dimensions
+
+### 1. Cadence adherence — is it running on schedule?
+
+Compare the gaps between consecutive `started_at` timestamps against `run_interval_minutes` from
+the config. Roughly-on-schedule is healthy. Persistent large gaps mean the coordinator isn't
+dispatching it as often as configured.
+
+- **Diagnosis if gaps are large:** check `enabled` (a paused scout never runs), confirm the project
+ is still enrolled in the `signals-scout` feature flag, and remember busy ticks are capped — a
+ team with many overdue scouts may see some run late. See the coordinator notes in
+ [`scout-data-model.md`](scout-data-model.md).
+
+### 2. Success rate — are runs completing cleanly?
+
+Count clean completions vs. `failed` runs over the window. Distinguish two failure modes by
+duration: a `failed` run that ran ~30 minutes (the per-run budget) before failing **timed out** —
+the scout over-investigated, which is common and semi-expected on high-volume surfaces (logs, error
+tracking), and the fleet self-corrects by writing "tight-run recipe" scratchpad entries. A `failed`
+run that died quickly is more likely genuinely broken.
+
+- **Diagnosis:** open the `task_url` of a failed run (the error is not in the run payload) to read
+ the transcript. A quick failure from a query tool erroring, a body referencing an event/table
+ that no longer exists, or a changed surface schema is an authoring fix — hand off to
+ `authoring-signals-scouts`. Recurring timeouts on a firehose surface point at a too-broad body
+ that needs a cheaper discriminator, also an authoring fix.
+
+### 3. Emit rate — how often does it speak?
+
+Of completed runs, what fraction emitted a finding vs. closed out empty? You read this from the run
+`summaries` (no emit metric exists). Judge it against the surface, not in the abstract — **most
+healthy scouts emit rarely**, and on a quiet, mature project nearly every run legitimately closes
+out empty.
+
+- **Near-zero over a long window:** either the watched surface is genuinely quiet (confirm with
+ `signals-scout-project-profile-get` — is the surface even in use?), or the scout's
+ signal-vs-noise discriminator is too strict. Read a few run summaries: if the scout keeps saying
+ "saw X but below threshold", the bar may be too high.
+- **Near-100%:** the scout is too noisy — its discriminator isn't separating baseline from
+ anomaly. Expect lots of suppressed reports downstream (dimension 4).
+- Both fixes are authoring changes (retune the discriminator / thresholds / disqualifiers).
+
+### 4. Signal-to-noise — was the output worth it?
+
+Of what the scout emitted, how much was actionable vs. dismissed as noise? You can't filter the
+inbox to `source_product: "signals_scout"` (grouping attributes findings to the underlying product,
+so that filter returns nothing), so judge this from the run summaries plus the scratchpad: a
+healthy scout's summaries describe deliberate, calibrated emits and the scratchpad fills with
+`dedupe:` / `noise:` / `addressed:` entries as it learns what not to re-raise.
+
+- **Diagnosis if it looks noisy:** if summaries show the same thing emitted repeatedly, or the
+ scratchpad lacks `dedupe:` entries for things it has flagged, its dedupe memory isn't working —
+ an authoring fix to the save-memory and disqualifier sections.
+
+### 5. Memory growth — is it learning?
+
+A scout that has run many times should have accumulated `pattern:` (baselines), `noise:`, and
+`dedupe:` scratchpad entries. Search the scratchpad and look at `created_by_run_id` and timestamps.
+
+- **Diagnosis if the scratchpad is empty after many runs:** the scout isn't internalizing what it
+ sees, so every run re-reasons from cold and is prone to re-emitting. The body's save-memory
+ guidance may be weak — an authoring fix.
+
+## Putting it together
+
+A **healthy** scout looks like: runs landing on cadence, almost all completing cleanly, the large
+majority closing out empty, the rare emit mostly surviving as an actionable report, and a
+scratchpad that grows `pattern:`/`noise:`/`dedupe:` entries over time.
+
+An **unhealthy** scout shows one of: frequent errors (broken — read the transcript), a flood of
+emits most of which get suppressed (too noisy — retune), dead silence on a surface the profile shows
+is active (too strict — retune), or no memory growth despite many runs (not learning).
+
+When the diagnosis points at the scout's instructions — discriminator, thresholds, disqualifiers,
+save-memory, schedule, or posture — that's where exploration ends and authoring begins. Hand off to
+[`../../authoring-signals-scouts/SKILL.md`](../../authoring-signals-scouts/SKILL.md), which covers
+the dry-run-first test loop and `signals-scout-config-update`.
diff --git a/products/signals/skills/exploring-signals-scouts/references/scout-data-model.md b/products/signals/skills/exploring-signals-scouts/references/scout-data-model.md
new file mode 100644
index 000000000000..085123c98cfa
--- /dev/null
+++ b/products/signals/skills/exploring-signals-scouts/references/scout-data-model.md
@@ -0,0 +1,120 @@
+# Scout data model — what you're reading
+
+Three records describe a scout's life on a project, plus one snapshot it orients from. This
+reference is the vocabulary for everything `exploring-signals-scouts` returns.
+
+## SignalScoutConfig — the scout's settings
+
+One row per `(team, skill_name)`. Returned by `signals-scout-config-list`. This is the scout's
+control surface, separate from its instruction body (the `LLMSkill`).
+
+| Field | Meaning |
+| ---------------------- | --------------------------------------------------------------------------------------------- |
+| `id` | Config id — the handle `signals-scout-config-update` takes to tune it. |
+| `skill_name` | The `signals-scout-*` skill this config controls. Fixed; one config per skill per team. |
+| `enabled` | `false` = paused. The coordinator skips disabled scouts entirely. |
+| `emit` | `false` = **dry-run**: the scout runs and reasons every tick but writes nothing to the inbox. |
+| `run_interval_minutes` | Cadence, 10–43200. Default 60 (hourly). The coordinator dispatches when due. |
+| `last_run_at` | When it last fired. `null` = never run. Drives the due-check. |
+
+A scout that is `enabled: true, emit: false` is alive and working — it just can't post findings.
+This is the intended posture for a new or freshly-edited scout, and the most common cause of "my
+scout does nothing" reports.
+
+## SignalScoutRun — one execution
+
+Returned by `signals-scout-runs-list` (summary) and `signals-scout-runs-retrieve` (detail; same
+shape). Each run is one sandboxed agent execution of one scout. The run is a thin bridge to a
+`tasks.TaskRun` — status, timing, and the full transcript live on the Task side.
+
+`runs-retrieve` takes the run id as `id`, **not** `run_id` — even though the list and the detail
+payload both name the field `run_id`. Pass the list's `run_id` value through as `id`.
+
+| Field | Meaning |
+| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `run_id` | UUID of the run. Pass it to `runs-retrieve` as `id`. Strictly team-scoped (404 across teams). |
+| `skill_name` | Which scout ran. |
+| `skill_version` | The body version that ran. If a scout was edited, older runs ran an older version — useful when comparing behavior before/after a change. |
+| `status` | Run outcome, from the linked `TaskRun` (see below). |
+| `started_at` | ISO-8601 — when the `TaskRun` was created. |
+| `completed_at` | ISO-8601 — when it finished. `null` while in flight. Duration = `completed_at - started_at`. |
+| `task_id`, `task_run_id` | Identifiers on the Tasks side. |
+| `task_url` | Relative deep-link to the Tasks UI for this run — **the full transcript** (every tool call and reasoning step) lives here, not in the run payload. |
+| `summary` | The scout's own one-paragraph end-of-run close-out. The primary thing to read and relay. Empty for runs that errored before close-out. |
+
+### Run status values
+
+`status` flows from the linked `tasks.TaskRun`. Treat a completed run with an empty-handed summary
+as a **healthy quiet run**, not a failure — most runs should close out empty.
+
+- in-flight / started — currently running (`completed_at` null).
+- completed — finished cleanly. May or may not have emitted; read the `summary`.
+- failed — the run errored before closing out. Its `summary` is empty and the payload exposes
+ **no error field** — open `task_url` to see what went wrong. In practice the common failure is a
+ ~30-minute timeout (the per-run budget) from over-investigation, not a logic-broken scout; a
+ `failed` run whose duration ≈ the budget is almost always a timeout.
+
+(The exact string set comes from the Tasks `TaskRun` model; match leniently — read the `summary`
+and `completed_at` together rather than keying on one status string.)
+
+## Run → finding link (and why it's awkward)
+
+Findings are **not** stored on the run row, and there is no emit flag or finding count on it
+either — so you cannot query "which runs emitted" directly. When a scout emits, the finding goes
+through `emit_signal()` with `source_product="signals_scout"` / `source_type="cross_source_issue"`
+and flows through the same grouping pipeline as every other source. Each finding gets a
+deterministic `source_id = run:<run_id>:finding:<finding_id>`, **but**:
+
+- The `source_id` is stored in the signal's `metadata.extra`, not a top-level field, and grouping
+ v2 generates its own `document_id` and dedupes on that — never on `source_id`.
+- Grouping merges scout findings into clusters alongside other sources, so the resulting
+ `SignalReport` is attributed to the underlying product (`error_tracking`, …). On a live project,
+ `inbox-reports-list { "source_product": "signals_scout" }` can return **zero** even while scouts
+ are actively emitting — don't rely on it to count or find scout output.
+
+So in practice the run's prose `summary` is the readily-available record of what a run did or
+didn't emit. A run that closed out empty has no findings — expected and correct most of the time.
+
+## SignalScratchpad — durable fleet memory
+
+Returned by `signals-scout-scratchpad-search`. One row per `(team, key)`; re-using a key upserts.
+This is the fleet's cross-run memory — prose entries scouts write so future runs are smarter and
+quieter.
+
+| Field | Meaning |
+| --------------------------- | ---------------------------------------------------------------------- |
+| `key` | Agent-chosen semantic key, unique per team. Carries a category prefix. |
+| `content` | Prose, read verbatim into a future run's prompt. |
+| `created_by_run_id` | Which run wrote it (`null` if the run was later deleted). |
+| `created_at` / `updated_at` | When written / last rewritten. |
+
+The `key` prefix tells you the kind of learning: `pattern:` (baseline), `watch:` (a live issue
+tracked but still below the emit bar), `noise:` (ignore), `addressed:` (fixed/moved on), `dedupe:`
+(gate re-emit), `allowlist:` (never re-surface), `not-in-use:` (surface not used), `mcp-gap:`
+(tooling gap). This vocabulary is open — scouts coin their own prefixes and `<domain>` labels, so
+treat an unfamiliar prefix as just another category. Entries link to each other with `[[key]]`
+wikilinks. The canonical prefix set and the four-state dedupe classifier the fleet reasons in terms
+of live in
+[`../../authoring-signals-scouts/references/dedupe-and-memory.md`](../../authoring-signals-scouts/references/dedupe-and-memory.md).
+
+## SignalProjectProfile — orientation snapshot
+
+Returned by `signals-scout-project-profile-get`. A deterministic, cached snapshot of "what's true
+about this project" — products in use, product intents, integrations, warehouse sources, signal
+source configs (split enabled/disabled), inbox report counts, and top events with reach/burst
+metrics. This is the ground truth every scout cold-starts from.
+
+When exploring, reach for the profile to **explain** scout behavior: a scout watching a surface the
+profile shows as absent (no logs, no LLM events, no revenue source) has nothing to do, and its
+quiet runs are correct. The profile is ground truth from authoritative tables; the scratchpad is
+the fleet's inferred learnings — don't conflate them.
+
+## How the coordinator decides what runs
+
+Useful context when a scout's runs are sparser than its schedule implies. A periodic Temporal
+coordinator ticks (~every 30 min) and, for each enrolled team, dispatches every enabled scout whose
+schedule is due (`last_run_at is None` or `now - last_run_at >= run_interval_minutes`),
+most-overdue first, capped per tick. Enrollment is via the `signals-scout` feature flag's allowlist.
+So a scout can be enabled yet run late if: the team was drained from the flag, the scout was
+disabled, or busy ticks hit the per-tick cap. There is no sampling — a due, enabled, enrolled scout
+runs.