: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): opt the product-analytics scout into the report channel (#66989)
Andrew Maguire4e8206a384b3
diff --git a/products/signals/skills/signals-scout-product-analytics/SKILL.md b/products/signals/skills/signals-scout-product-analytics/SKILL.mdindex 50c6b2aff295..9382787af02d 100644--- a/products/signals/skills/signals-scout-product-analytics/SKILL.md+++ b/products/signals/skills/signals-scout-product-analytics/SKILL.md@@ -3,13 +3,18 @@ name: signals-scout-product-analyticsdescription: >Signals scout for core product-analytics flows — funnels, retention, lifecycle, stickiness,and paths. Watches the team's saved flows for a derived-rate regression (conversion or- retention sliding) while entrants hold.+ retention sliding) while entrants hold, and files it as a report in the inbox.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 and emit). Assumes the- signals-scout MCP family plus the product-analytics query tools listed in the body's MCP- tools section (query-funnel, query-retention, query-lifecycle, query-stickiness, query-paths,- query-trends, insight-get, execute-sql, read-data-schema).+ Designed for the PostHog Signals agent in a Claude sandbox with PostHog MCP scopes:+ read-only analytics plus signal_scout_internal:write (for scratchpad) ++ signal_scout_report:write (for emit-report/edit-report, granted because this scout authors+ reports directly via the report channel). Assumes the signals-scout MCP family plus the+ product-analytics query tools listed in the body's MCP tools section (query-funnel,+ query-retention, query-lifecycle, query-stickiness, query-paths, query-trends, insight-get,+ execute-sql, read-data-schema).+allowed_tools:+ - emit_report+ - edit_reportmetadata:owner_team: signalsscope: product_analytics@@ -24,6 +29,13 @@ a lifecycle mix tilting toward dormant. You answer the question a PM asks in a w"is our activation funnel still converting, is week-1 retention holding?" — proactively,every run, instead of waiting for a human to open the chart.+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 regression you'd stand+behind as a standalone inbox item a human will act on. A flow that's still sliding (or+recovering then relapsing) that the inbox already covers is an **edit**, not a new report.+**The discriminator: a derived-rate regression with a steady denominator.** A flow's signalis the **conversion rate / retention rate / composition share**, not its raw counts. The moveis real only when that rate deviates from the flow's own trailing, seasonality-matched@@ -33,7 +45,7 @@ capture/volume problem, not yours — hand it off (see Disqualifiers). Internali**rate moved, denominator didn't.****What you do NOT do** (these are other scouts' territory — stay off them to avoid noise and-re-emitting their findings):+re-reporting their findings):- Raw event-count bursts/drops/flat-lines on saved time-series insights → `anomaly-detection`.- Recommending a funnel / insight / alert the team _hasn't built yet_ → `observability-gaps`.@@ -67,17 +79,25 @@ coverage compounds across runs instead of restarting cold.### Get oriented-Three cheap reads cold-start every run:+Cheap reads cold-start every run:- `signals-scout-scratchpad-search` (`text=product_analytics`, high `limit`, then `text=flow`)- — your watchlist, per-flow baselines, and what you've ruled out. The default limit is 20;- pass a high limit so overdue flows don't fall out of the round-robin. This is what makes you- cheaper each run.+ — your watchlist, per-flow baselines, what you've ruled out, which report covers a flow+ (`report:` keys), and who owns it (`reviewer:` keys). The default limit is 20; pass a high+ limit so overdue flows don't fall out of the round-robin. This is what makes you cheaper each+ run.- `signals-scout-runs-list` (last 7d) — what prior runs of this scout (and siblings) scoredand ruled out. Don't re-score a flow a recent run already covered.- `signals-scout-project-profile-get` — `products_in_use`, `product_intents` (the`activated_at` milestones name the activation events worth a funnel), `top_events` forvolume context, `recent_dashboards` for what's in active use.+- `inbox-reports-list` (`search`=flow name/event, `ordering=-updated_at`) — the reports already+ in the inbox. Your own report-channel reports persist their backing signals under+ `source_product=signals_scout` (**not** `product_analytics`), so don't filter+ `source_product=product_analytics` — you'd miss every report you authored; either omit the+ filter or use `signals_scout`. A regression on a flow you've reported before is an+ **edit**, not a fresh report; pull the closest matches with `inbox-reports-retrieve` before+ authoring.### Build / refresh the watchlist of flows@@ -145,33 +165,88 @@ a future run finds it with one `text=` search:cheaply instead of recomputing the full baseline.- `dedupe:product_analytics:flow:<short_id>:<date>` — a regression already surfaced, with thecondition that should re-escalate it (a further drop, or recovery + relapse).+- `report:product_analytics:flow:<short_id>:<rate>` — the `report_id` of a report you authored for+ a regression on this flow's specific rate (the affected step/cohort/state), so the next run edits+ _that rate's_ report (append_note with the fresh window) instead of duplicating; a distinct rate on+ the same insight gets its own pointer and its own report.+- `reviewer:product_analytics:<area>` — a resolved owner (bare lowercase GitHub login) for a+ flow / product area, so reports route to a human faster.### Decide-Classify each candidate against prior runs and the scratchpad (net-new / material-update /-already-covered / addressed-or-noise), then:--- **Emit** via `signals-scout-emit-signal` when it clears the bar. A **strong finding** here:- the rate dropped clearly below the flow's seasonality-matched baseline (robust z ≥ ~3, or a- conversion-point drop beyond the baseline band), the **entrant denominator held** (quantify- both — "step-2 conversion 62%→48% while step-1 entrants steady at ~5.2k/day"), the move is- broad across segments (not one known cohort), it's not explained by a running experiment or a- flow-definition edit, and confidence ≥ 0.8. Put the flow `short_id`, the latest-window rate,- the baseline band, the per-step/per-cohort numbers, the entrant volumes, and the time window- in the evidence. **Severity:** P2 for a confirmed broad regression on a human-saved flow; P3- for a single-segment or suggestive move, and for anything on an `inferred` flow. Cross-check- `inbox-reports-list` first — if `anomaly-detection` already owns a related metric move, emit- only if your behavioral-rate angle is materially new.+Before you author, check whether this flow already has a report — the+`report:product_analytics:flow:<short_id>` scratchpad pointer is the reliable path: it holds the+`report_id`, so `inbox-reports-retrieve` it directly. Only with no pointer fall back to an+`inbox-reports-list` search (`ordering=-updated_at`), and search the flow's _specific_ terms (its+name, the step events, the `short_id`) — a broad word like `funnel` returns hundreds of unrelated+reports on a busy project and buries yours. Classify each candidate against prior runs and the+scratchpad (net-new / material-update / already-covered / addressed-or-noise), then:++- **Edit** the existing report via `signals-scout-edit-report` when the inbox already covers+ the flow. A regression is rarely brand-new — a funnel that's still sliding, a retention+ cliff that deepened, a flow that recovered then relapsed: `append_note` with the fresh+ window's rate, baseline band, and entrant volumes (or rewrite the title/summary on a report+ you authored). This is the default when a match exists **and it's still live in the inbox**;+ don't mint a near-duplicate. **A persistent regression is one report across weeks:** when a new+ complete window confirms the flow is still below baseline (or has deepened), that's a+ _re-escalation_ — `append_note` the fresh week onto the report your+ `report:product_analytics:flow:<short_id>` pointer names and advance the `dedupe:…:<week>` gate;+ do **not** author a fresh report per week. The same flow moving twice is one report, not two.+ **But scope the match to the same rate, not just the same `short_id`:** one funnel/retention+ insight carries several independent rates (step-2 vs step-5 conversion, one retention cohort vs+ another, one lifecycle state), and a drop on a _different_ step/cohort is its own regression with+ its own owner — keep the `report:product_analytics:flow:<short_id>` pointer keyed to the affected+ rate (e.g. `…:flow:<short_id>:step2`) and only `edit-report` when the matched report covers that+ same rate; a genuinely distinct rate gets a fresh report so it isn't buried under an unrelated+ thread.+ **And check the matched report's status first:** `edit-report` can't change status, so appending+ to a `resolved` / `suppressed` / `failed` report (one that won't surface in the inbox) buries a+ real relapse under a closed item. When the prior report is no longer live, **author a fresh+ report** for the relapse and repoint `report:product_analytics:flow:<short_id>` at the new id.+- **Author** a fresh report via `signals-scout-emit-report` when nothing in the inbox covers+ it (or a known regression has new evidence that changes the verdict). A **strong finding**+ here: the rate dropped clearly below the flow's seasonality-matched baseline (robust z ≥ ~3,+ or a conversion-point drop beyond the baseline band), the **entrant denominator held**+ (quantify both — "step-2 conversion 62%→48% while step-1 entrants steady at ~5.2k/day"), the+ move is broad across segments (not one known cohort), it's not explained by a running+ experiment or a flow-definition edit, and confidence ≥ 0.8. Put the flow `short_id`, the+ latest-window rate, the baseline band, the per-step/per-cohort numbers, the entrant volumes,+ and the time window in the `evidence`. A behavioral regression is an investigation, not a+ one-line code fix, so set `actionability=requires_human_input` and **leave `priority` and+ `repository` unset** — they're PR-autostart fields, and supplying `priority` + `suggested_reviewers`+ with no `repository` signals PR intent that spins up a repo-selection sandbox only to no-op+ (autostart needs `immediately_actionable`). Reach for them (P2 broad regression on a human-saved+ flow, P3 single-segment / `inferred`) only on the rare regression you'd actually want a draft PR+ for. **Set `suggested_reviewers` whenever you can confidently resolve one** — each entry is+ `{github_login?, user_uuid?}`, and the usual route here is to pass the flow's owning person as a+ `user_uuid` (a saved insight's `created_by`; the server resolves it to their GitHub login), or reuse+ a cached `reviewer:product_analytics:<area>` login. **But `user_uuid` resolution is fail-loud: a+ `created_by` that isn't an org member with a linked GitHub identity (a PM, a customer, a since-departed+ user) rejects the _whole_ `emit-report`, not just the reviewer.** So don't reflexively hand a raw+ `created_by` you're unsure about — prefer a cached login or a `created_by` you've already routed; if+ you can't confidently resolve an owner, author the report **unrouted** and `edit-report` reviewers in+ later once you resolve one, rather than risk failing the emit. The org-scoped resolver tools are+ usually absent from a scout run, so don't depend on them — see+ [`references/report.md`](references/report.md). Routing is how the report reaches a human; left empty+ it's assigned to nobody and likely missed, so resolve one when you safely can. After authoring, write a+ rate-scoped `report:product_analytics:flow:<short_id>:<rate>` scratchpad entry (the affected+ step/cohort/state, not just the `short_id`) with the `report_id` so the next run edits _this rate's_+ report instead of duplicating — and a distinct rate on the same insight gets its own pointer. The+ full report channel — field schema, safety × actionability status mapping, reviewer routing,+ dedupe (it is **not** idempotent), and the edit rules — lives in+ [`references/report.md`](references/report.md).- **Remember** if suggestive but below the bar (confidence < 0.65), or to refresh a baseline.-- **Skip** if a `noise:` / `addressed:` / `dedupe:` entry already covers it.+- **Skip** if a `noise:` / `addressed:` / `dedupe:` entry, or an existing inbox report,+ already covers it.-Dedupe keys: `funnel_regression:<short_id>`, `retention_regression:<short_id>`,-`lifecycle_shift:<short_id>`, or `insight:<short_id>`.+If `anomaly-detection` already owns a related metric move in the inbox, author only if your+behavioral-rate angle is materially new; otherwise edit-or-skip. The same fact twice in the+inbox degrades signal-to-noise more than missing one finding for one tick.### Close out-One paragraph: which flows you scored, what you added, what regressions you emitted, what you-ruled out and why. The harness saves this as the run summary; future runs read it via+One paragraph: which flows you scored, what you added, which reports you authored or edited,+what you ruled out and why. The harness saves this as the run summary; future runs read it via`signals-scout-runs-list`. Do **not** write a separate "run metadata" scratchpad entry."Scored the due flows, all conversions within baseline" is a real outcome.@@ -180,10 +255,10 @@ ruled out and why. The harness saves this as the run summary; future runs read i- **Denominator collapsed too.** If the entrants/cohort size dropped alongside the rate, theflow isn't _converting_ worse — fewer people entered. That's a capture or upstream-volumeissue (→ `anomaly-detection` for the volume drop, `session-replay`/`error-tracking` if- capture broke). Note it, hand off, don't emit it as a conversion regression.+ capture broke). Note it, hand off, don't file it as a conversion regression.- **A running experiment explains it.** If a live experiment targets the flow's flag, aconversion shift in the exposed population is the experiment doing its job. Check- `product_intents` / running experiments; only emit if the move is outside the experiment's+ `product_intents` / running experiments; only author if the move is outside the experiment'sexposed users or the experiment can't account for the magnitude. Experiment _validity_ isthe `experiments` scout's job, not yours.- **Flow-definition change, not behavior.** If someone edited the funnel's steps, the@@ -199,8 +274,8 @@ ruled out and why. The harness saves this as the run summary; future runs read i- **Known launches / migrations / backfills** the team already knows about — if a `noise:` /`addressed:` entry names it, skip.-When in doubt, refresh the baseline memory instead of emitting. A false conversion-regression-alarm erodes trust fast.+When in doubt, refresh the baseline memory instead of filing a report. A false+conversion-regression alarm erodes trust fast.## MCP tools@@ -216,19 +291,29 @@ Direct (read-only):- `insights-list` / `execute-sql` over `system.insights` — find saved funnel/retention/lifecycle/stickiness insights (`query::text ILIKE '%FunnelsQuery%'` etc.) and their recency.- `read-data-schema` — confirm events/properties before any SQL or inferred funnel.-- `inbox-reports-list` — check whether the move is already reported before emitting.--Harness-level: `signals-scout-project-profile-get`, `signals-scout-scratchpad-search`,-`signals-scout-runs-list`, `signals-scout-runs-retrieve` (orientation + dedupe);-`signals-scout-emit-signal`, `signals-scout-scratchpad-remember`,-`signals-scout-scratchpad-forget` (emit + memory).+- `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.+- `org-members-list` / `org-member-get-github-login` — resolve a flow / product-area owner to a+ GitHub login for `suggested_reviewers`. These need organization scope, which a headless scout run+ usually lacks, so they're often **absent from this scout's toolset** — prefer routing by the flow's+ `created_by` `user_uuid` (resolved server-side) rather than relying on them.++Harness-level:++- `signals-scout-project-profile-get` / `signals-scout-scratchpad-search` /+ `signals-scout-runs-list` / `signals-scout-runs-retrieve` — orientation + dedupe.+- `signals-scout-emit-report` / `signals-scout-edit-report` / `signals-scout-scratchpad-remember`+ / `signals-scout-scratchpad-forget` — author a report / edit an existing one / remember.## When to stop- No flow worth watching (quick close-out) → close out empty.- You've scored the due watchlist flows and added a couple of new ones → close out, even ifmore remain. Each run advances the watchlist.-- A candidate matches a `noise:` / `addressed:` / `dedupe:` entry → skip.+- A candidate matches a `noise:` / `addressed:` / `dedupe:` entry, or an existing inbox+ report → edit-or-skip.Fewer, well-calibrated, denominator-checked regressions beat a flood of seasonal orvolume-driven false positives.diff --git a/products/signals/skills/signals-scout-product-analytics/references/report.md b/products/signals/skills/signals-scout-product-analytics/references/report.mdnew file mode 100644index 000000000000..4a2725d1b548--- /dev/null+++ b/products/signals/skills/signals-scout-product-analytics/references/report.md@@ -0,0 +1,243 @@+# The report channel: `emit-report` / `edit-report`++The report channel is your output: you've already done the research, so you file a full+`SignalReport` into the inbox directly — no weak signals, no pipeline clustering. This reference+is the contract: the two tools, their fields, how to choose between authoring and editing, and the+two behaviors that make this channel different (it isn't idempotent, and the pipeline may later+rewrite what you authored).++> Like every `signals-scout-*` tool, **both report tools require the current `run_id`** (the+> run you're executing in) on every call — omitting it fails validation.++## Author or edit++| You have… | Use |+| --------------------------------------------------------------------------------------------------------------- | ------------- |+| A finished, well-formed finding nothing in the inbox covers — filed **1:1** with full control of title/summary. | `emit-report` |+| New information about a report that already exists (one you authored last run, or a pipeline report). | `edit-report` |++**Always search the inbox first** (`inbox-reports-list` → `inbox-reports-retrieve`): edit an+existing report rather than mint a near-duplicate. A product-analytics finding is report-shaped+when it's a single, localized, validated regression — one funnel step's conversion dropping, one+cohort's retention cliff, one flow's lifecycle composition tilting toward dormant — that you've+corroborated against the flow's seasonality-matched baseline with a steady entrant denominator,+and would stand behind as a standalone inbox item. A scatter of small, weakly-correlated wobbles+across many flows is not a report — it's a sign you haven't found the finding yet, or that the+move is a capture/volume problem that belongs to another scout; keep investigating or record it+in the scratchpad and move on.++Filing a report is a **high bar**. Author one only for a finding you'd own end-to-end as an inbox+item a human will act on. When you can't get there, a scratchpad note is the right home — never+file a half-formed report to fill space.++## `emit-report` — author a full report++Judges the report for safety, then persists it at the judged status.++| Field | Type | Notes |+| --------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `run_id` | string, required | The current run's id — same as every `signals-scout-*` tool. |+| `title` | string, ≤300, non-empty | The inbox headline. One specific, quantified line. |+| `summary` | string | The report body prose — hook → pattern → hypothesis → recommendation. See _Writing the summary_ below. |+| `evidence` | list, 1–50 | Each `{description, source_id}`. Becomes a bound signal row backing the report. `source_id` is the citable entity id. Hard cap of **50** — summarize/trim before calling; a longer list fails validation before the report is judged or persisted. |+| `actionability_explanation` | string | One sentence justifying the actionability call below. |+| `actionability` | enum | `immediately_actionable` / `requires_human_input` / `not_actionable`. You make this call — the channel does not re-research it. |+| `already_addressed` | bool, default `false` | Set when the underlying issue is already handled and you're filing for the record. |+| `suggested_reviewers` | list of objects | Each `{github_login?, user_uuid?}` (at least one per entry). The **single most important routing field** — set on every report (PR or not). See the _`suggested_reviewers`_ section below for resolution steps. |++**Status is decided for you, from safety × actionability:**++| Safety judge | `actionability` | Resulting status | Surfaces in inbox? |+| ------------ | ------------------------ | ---------------- | ------------------ |+| safe | `immediately_actionable` | `READY` | yes |+| safe | `requires_human_input` | `PENDING_INPUT` | yes |+| safe | `not_actionable` | `SUPPRESSED` | no |+| unsafe | (any) | `SUPPRESSED` | no |++Note the trap: `not_actionable` is **suppressed** (never surfaces). Reserve it for filing-for-the-record;+if you want a human to see it, it must be `immediately_actionable` or `requires_human_input`. A+behavioral regression is almost always an investigation, not a one-line code fix, so the natural+call here is `requires_human_input`.++The result tells you what happened: `report_id` (always set when a report was persisted —+**even when suppressed**, so you can edit or dedup against it), `report_status` (the birth status —+`ready` / `pending_input` / `suppressed`), `emitted` (true only when it actually surfaced),+`safety_explanation`, and `skipped_reason` (set only when a preflight gate — the team's+AI-data-processing approval or the signals-scout source being enabled — stopped the call before any+report was created).++### Writing the `title` and `summary`++The `title` is the inbox headline and the `summary` is the body a human reads to decide whether to+act — write both for a busy reader scanning a feed of other reports.++- **`title`** — one specific, quantified line. Lead with which flow, which step/cohort, and the+ rate move, not a vague category. _"Activation funnel step-2 conversion fell 62%→48% over the last+ 7d while step-1 entrants held steady (~5.2k/day)"_, not _"Funnel down"_.+- **`summary`** — a tight few paragraphs following hook → pattern → hypothesis → recommendation:+ 1. **Hook** — what's happening, quantified ("the `signup → activated` funnel's step-2 conversion+ dropped from a ~61% trailing-4-week median to 48% over the last complete week, while step-1+ entrants held at ~5.2k/day").+ 2. **Pattern** — the shape that makes this a regression, not noise ("the drop is broad across+ platform and country breakdowns, the entrant denominator is steady, and no flow-definition+ edit or running experiment touched the funnel — a real conversion regression, not a+ measurement or capture artifact").+ 3. **Hypothesis** — your best read of the cause.+ 4. **Recommendation** — the concrete next step that would confirm or resolve it.++Quantify ("62%→48%", "~5.2k/day") over qualitative ("a lot"), and cite entity ids (the flow's+`short_id`, step events, cohort dates, breakdown segments, time ranges) inline so a reviewer can+pivot straight from prose to source. Put the same citations in `evidence` so they back the report+as bound signals.++### Opening a draft PR (autostart)++First, `suggested_reviewers` is **not** a PR field — set it whenever you can name a plausible owner,+PR or not. It's the routing lever and is covered in its own section below; the three fields in this+section are the **PR-only** ones.++A surfaced, immediately-actionable report can open a draft PR automatically. It's opt-in per report+via these fields; supply them only when the report is a concrete, fixable issue you'd want a PR for.++| Field | Type | Notes |+| ---------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `repository` | string | `"owner/repo"` targets that repo; the `NO_REPO` sentinel opts out; **omitting it** falls back to free-form selection across the team's repos — the slow path on a many-repo team (it spawns a selection sandbox), so pass `owner/repo` when you know it. |+| `priority` | `P0`-`P4` | Required for a PR. Pair with `priority_explanation`. P2 for a confirmed broad regression on a human-saved flow; P3 for a single-segment or suggestive move, and for anything on an `inferred` flow. |+| `priority_explanation` | string | Required when `priority` is set. |++Repo selection only runs when you signal PR intent — an explicit `repository`, or both `priority`+and `suggested_reviewers`. A report that supplies none of these just surfaces in the inbox (no repo+sandbox, no PR). Autostart no-ops unless the report is `immediately_actionable`, has a repo ++priority, and a reviewer qualifies — so these three PR fields are safe to omit for an informational+report. `suggested_reviewers` is not: set it whenever you can name a plausible owner (see the next+section), PR or not. A behavioral regression is usually a thing to investigate (which flag/release/+segment caused it), not a one-line code fix, so most product-analytics reports want+`requires_human_input` and a reviewer, not a PR.++## `suggested_reviewers` — set it on every report (this is how it reaches a human)++`suggested_reviewers` is the **single most important routing field**. It is how a report reaches the+right person: the inbox orders by `is_suggested_reviewer`, so a reviewer's own reports float to the+top of _their_ inbox even when **no PR** is involved. **A report with an empty `suggested_reviewers`+is assigned to nobody — it lands in the shared inbox and is very likely to be missed.** So resolve and+set at least one reviewer on every report you author, including informational `requires_human_input`+ones.++Each entry identifies one reviewer by **`github_login`**, **`user_uuid`**, or both:++- **`github_login`** — a **bare, lowercase GitHub login** — no `@`, no display name (e.g. `octocat`,+ not `@OctoCat`). Assignment matches it against each user's linked GitHub login by exact, lowercased+ comparison, so a mis-cased handle, an `@`-prefix, a display name, a team slug, or an email won't+ assign to anyone.+- **`user_uuid`** — a **PostHog user UUID**. The server resolves it to that org member's linked GitHub+ login for you (and it wins if you also pass a `github_login`). A `user_uuid` that isn't an org member+ of this team **with a linked GitHub identity** is rejected (the whole call fails), so it never+ silently drops. Use it whenever your evidence already names a PostHog user — the flow's `created_by`,+ the insight owner, an account's CSM — so you route to them without ever looking up their handle.++So you have two routes. Product-analytics evidence almost always hands you the owning **person**+already — saved funnels/retention insights carry a `created_by` user UUID — so passing that+**`user_uuid`** straight through is usually the route. **But because resolution is fail-loud (an+unlinked `created_by` rejects the whole `emit-report`, per above), don't hand a `user_uuid` you're+unsure about:** a `created_by` belonging to a PM, a customer, or a departed user has no linked GitHub+identity and will fail the emit. Prefer a `created_by` you've already routed, or a cached login; if+you can't confidently resolve an owner, author the report **unrouted** and `edit-report` reviewers in+later (see below) rather than risk the emit. Otherwise resolve a `github_login`, cheapest first:++1. **Scratchpad cache.** A `reviewer:<domain>:<area>` entry you (or a prior run) recorded — reuse it.+ For product-analytics, key by the owning flow / product area (`reviewer:product_analytics:<area>`).+2. **Inbox precedent.** `inbox-reports-list` (free-text `search`, optionally `source_product=signals_scout`+ for prior scout-authored reports — **not** `product_analytics`, which never matches the channel's+ signals) for a comparable report on the same flow/surface, then `inbox-report-artefacts-list` on it — the+ `suggested_reviewers` artefact is where the routed reviewer lives (the report record itself doesn't+ expose it). Reuse that reviewer for the same area.+3. **`org-members-list` / `org-member-get-github-login`** — only where the run has organization scope+ (`organization_member:read`). A headless scout run is scoped to a single team and **typically does+ not** carry that scope, so these tools are usually **absent from this scout's toolset** — don't+ build the reviewer recipe around them. Where they _are_ available, `org-members-list` gives a+ member's `user_uuid` (pass it straight through as `user_uuid` — simplest), and+ `org-member-get-github-login` resolves a `user_uuid` to a GitHub login if you'd rather hand a+ `github_login`. The flow's `created_by` UUID is usually the most convenient route — but it only+ works when that user is an org member with a linked GitHub identity; a `created_by` that isn't+ (a PM, customer, or departed user) fails the whole `emit-report`, so confirm or fall back per the+ fail-loud caveat above rather than treating it as always safe.++**Never guess a handle** — a wrong login mis-assigns the report, which is worse than leaving it open.+If you genuinely can't resolve any confident owner, author the report anyway (it still surfaces, just+unrouted) and `edit-report` reviewers in later once you resolve one (see below). Once you've tied a+flow/area to an owner, write a `reviewer:product_analytics:<area>` scratchpad entry with the bare+lowercase login so the next run routes instantly.++**On `edit-report`:** `edit-report` now accepts `suggested_reviewers` too — setting them replaces the+report's reviewer list and re-runs autostart, so a report that surfaced routed to no one can be rescued+the moment you resolve an owner (and a now-actionable report with a repo + priority can open a draft+PR). An empty list is a no-op — it never clears the existing reviewers.++## `edit-report` — update an existing report++Rewrite `title`/`summary`, append a note, and/or set `suggested_reviewers` on a report that already+exists. Pass `run_id` and `report_id`, plus at least one of `title`, `summary`, `append_note`,+`suggested_reviewers`.++`edit-report` can target **any** of the team's inbox reports — not just ones a scout authored. That+makes it the right tool when a later run learns something about a report the pipeline (or another+scout) created. Rules of good behavior:++- **Prefer `append_note` over rewriting** `title`/`summary` on a report you didn't author. A note is+ additive and audit-friendly (it carries your scout as author); a rewrite silently overwrites a+ human- or pipeline-authored headline.+- **Don't fight an in-flight pipeline.** A report the summary/research workflow is mid-run on can have+ its fields overwritten under you. If a report is actively being worked, append a note rather than+ rewriting.+- **Rescue an unrouted report with `suggested_reviewers`.** Setting reviewers (same+ `{github_login?, user_uuid?}` shape as `emit-report`) replaces the report's reviewer list and re-runs+ autostart — so a report that surfaced routed to no one can be assigned to an owner you resolved later+ (e.g. once you read the flow's `created_by`). An empty list is a no-op; it never clears existing+ reviewers.+- **Only edit a report that's still live in the inbox.** `edit-report` rewrites `title`/`summary`,+ appends a note, or sets reviewers — it **cannot change status**, so it can't reopen a `resolved` /+ `suppressed` / `failed` report. Appending a relapse to a closed report buries a real, actionable+ regression under an item that no longer surfaces. Check the matched report's `status` first: if it+ isn't live, author a fresh report and repoint `report:product_analytics:flow:<short_id>` at the new id.++For this scout the common edit is a flow that's _still moving_: a funnel that kept sliding, a+retention cliff that deepened, or a flow that recovered then relapsed. When the report you authored+last run (found via the `report:product_analytics:flow:<short_id>` pointer) is **still live**,+`append_note` the fresh window's rate, baseline band, and entrant volumes onto it rather than filing+a second report. If that report has since gone `resolved`/`suppressed`/`failed`, a relapse is a+**new report** (it needs to surface and re-route), not a note on the dead one.++## Dedup: the channel is NOT idempotent++`emit-report` is **not idempotent** — a retried call authors a _second_ report. There is no+server-side dedup key. The dedup story is two-sided and you own it:++1. **The scratchpad pointer is the reliable dedup key.** After authoring, write a+ `report:product_analytics:flow:<short_id>` entry recording the `report_id`; the next run+ `inbox-reports-retrieve`s it directly — no search guess. This is the path that actually holds up.+ **Key the pointer to the affected rate, not just the `short_id`:** one funnel/retention insight+ carries several independent rates (different funnel steps, retention cohorts, lifecycle states), so+ a pointer like `report:product_analytics:flow:<short_id>:step2` keeps a later drop on a _different_+ step/cohort from being appended onto an unrelated report. Only `edit-report` when the matched report+ covers the **same** rate; a genuinely distinct rate within the same insight is a fresh report.+2. **A keyword `inbox-reports-list` search is a noisy fallback** — use it only when no pointer exists.+ On a busy project a broad term (e.g. `search=funnel`) returns hundreds of unrelated reports+ (error-tracking funnel bugs, other scouts' funnel reports), and your flow's report can sit far down+ the list (or be `failed`/stale and not float up). Search the flow's _specific_ distinguishing terms+ (its name, the activation/step events, the `short_id`), pass `ordering=-updated_at` (the default+ ordering buckets by your own reviewer-match and status first, so the most recent duplicate can+ otherwise sort below older rows), and still confirm a hit with `inbox-reports-retrieve` before+ treating it as the same flow. Found one? `edit-report` it instead of authoring a new one.++**Never retry an `emit-report` / `edit-report` call that may have succeeded** — a transport error+after the write commits, retried, double-files. If unsure whether a call landed, `inbox-reports-list`+to check before retrying.++## The pipeline may rewrite what you authored (accepted)++An authored report is a first-class report that coexists with pipeline reports. When future signals+consolidate around the same topic, the pipeline may **re-promote and re-research the report,+overwriting your authored `title`/`summary`**. This is accepted behavior, not a bug — there is no+pin. Author the finding, and let the inbox stay the source of truth for how it's currently framed.+Your durable record of "I filed this" is the `report:` scratchpad entry and the `report_id`, not the+title text.