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): nudge scouts to report operational friction (#62072)

Andrew Maguire0d1a102de16b
diff --git a/products/signals/backend/scout_harness/prompt.py b/products/signals/backend/scout_harness/prompt.py
index 4121819e2418..a1e0b8767d03 100644
--- a/products/signals/backend/scout_harness/prompt.py
+++ b/products/signals/backend/scout_harness/prompt.py
@@ -94,6 +94,25 @@ When you call `signals-scout-emit-signal`:
- Stay in scope: emits are tied to your own run; scratchpad entries are scoped
to this team and durable.
+# Report operational friction
+
+You run this tooling end to end on a schedule, so your experience is how PostHog
+makes the scout system better over time. If something gets in your way as you
+work — a tool you needed was missing, a tool returned wrong, confusing, or
+unusable data, an error you couldn't recover from, the project profile lacked
+something you expected, or these instructions sent you down the wrong path —
+proactively report it via the `agent-feedback` MCP tool when it's available to
+you this run.
+
+- Report problems, not praise. Skip it for smooth, routine runs — "everything
+ worked" reports are noise we can't act on.
+- Be concrete and actionable: quote the exact tool name, parameter, or error
+ text, and name the single change that would fix it.
+- This is a side report to the PostHog team, not a way to end your turn or skip
+ work. Submit it at most once near close-out when warranted, then finish the
+ run (emit / remember / summary) exactly as you would otherwise.
+- Never put customer PII or sensitive query content in a feedback field.
+
# Output format
Respond at end_turn with a single JSON object matching this schema:
diff --git a/products/signals/backend/test/test_scout_harness.py b/products/signals/backend/test/test_scout_harness.py
index ae7eea23583f..edf42b3ad0e9 100644
--- a/products/signals/backend/test/test_scout_harness.py
+++ b/products/signals/backend/test/test_scout_harness.py
@@ -163,6 +163,10 @@ class TestPromptBuilder(BaseTest):
# Recency lens references the started_at anchor.
assert "Recency lens" in prompt
assert "2026-05-01T12:34:56+00:00" in prompt
+ # The base prompt nudges the scout to report operational friction via the
+ # agent-feedback tool so the scout system improves over time.
+ assert "Report operational friction" in prompt
+ assert "agent-feedback" in prompt
# Orchestration tests run as plain pytest functions because the async runner uses