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 write scratchpad content as markdown (#66537)

Andrew Maguireb02bcfaa7a13
diff --git a/products/signals/backend/scout_harness/prompt.py b/products/signals/backend/scout_harness/prompt.py
index 9ef744ee637e..111cdc9643f5 100644
--- a/products/signals/backend/scout_harness/prompt.py
+++ b/products/signals/backend/scout_harness/prompt.py
@@ -83,6 +83,11 @@ surfaced, defeating the dedupe it was meant to do.
Good: `dedupe:error_tracking:019de34e`, `pattern:apm:cursor`.
Bad: `dedupe:error_tracking:019de34e-2026-06-09`, `pattern:apm:scan-2026-06-09-0400`.
+Write the `content` as **Markdown** — headings, bullet lists, `inline code` for
+ids/keys, links. Humans read these entries directly, so structured Markdown is far
+easier to skim than a wall of prose; it costs you nothing and reads verbatim into
+future prompts just the same.
+
# Recency lens
Default to recent windows (~last 72h) when querying — fresh evidence is usually
diff --git a/products/signals/mcp/tools.yaml b/products/signals/mcp/tools.yaml
index eb4fd1a04d2d..eff9a338ea86 100644
--- a/products/signals/mcp/tools.yaml
+++ b/products/signals/mcp/tools.yaml
@@ -566,8 +566,9 @@ tools:
Upsert a scratchpad entry keyed on `(team, key)` — re-using a key updates the existing entry in place, so
this is an upsert rather than a strict create. Keys are stable identities: key off *what* you're tracking,
not *when* you saw it — never embed dates, timestamps, or run ids (that mints a new row every run and
- defeats dedupe). For run state, use one fixed key and keep the timestamp in `content`. Optionally pass
- `run_id` to record which run wrote it.
+ defeats dedupe). For run state, use one fixed key and keep the timestamp in `content`. Write `content` as
+ Markdown — humans read these entries directly, so structured Markdown (headings, bullets, inline code for
+ ids) is far easier to skim than a wall of prose. Optionally pass `run_id` to record which run wrote it.
signals-scout-scratchpad-search:
operation: signals_scout_scratchpad_search
enabled: true
diff --git a/products/signals/skills/signals-scout-general/references/conventions.md b/products/signals/skills/signals-scout-general/references/conventions.md
index 31a166f6129e..044878c357a3 100644
--- a/products/signals/skills/signals-scout-general/references/conventions.md
+++ b/products/signals/skills/signals-scout-general/references/conventions.md
@@ -72,7 +72,9 @@ duplicating entries.
## Entry shape that pays off
Good entries are **future-run actionable**. The next scout reads them and
-changes behavior because of them:
+changes behavior because of them. Write `content` as Markdown — humans read these
+entries directly, so structured Markdown (headings, bullets, `inline code` for ids)
+is far easier to skim than a wall of prose:
```text
key: dedupe:error_tracking:019de34e-2026-05-01
diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.json
index cf326e8cac6f..98d9cb456a6f 100644
--- a/services/mcp/schema/generated-tool-definitions.json
+++ b/services/mcp/schema/generated-tool-definitions.json
@@ -6584,7 +6584,7 @@
}
},
"signals-scout-scratchpad-remember": {
- "description": "Upsert a scratchpad entry keyed on `(team, key)` — re-using a key updates the existing entry in place, so this is an upsert rather than a strict create. Keys are stable identities: key off *what* you're tracking, not *when* you saw it — never embed dates, timestamps, or run ids (that mints a new row every run and defeats dedupe). For run state, use one fixed key and keep the timestamp in `content`. Optionally pass `run_id` to record which run wrote it.",
+ "description": "Upsert a scratchpad entry keyed on `(team, key)` — re-using a key updates the existing entry in place, so this is an upsert rather than a strict create. Keys are stable identities: key off *what* you're tracking, not *when* you saw it — never embed dates, timestamps, or run ids (that mints a new row every run and defeats dedupe). For run state, use one fixed key and keep the timestamp in `content`. Write `content` as Markdown — humans read these entries directly, so structured Markdown (headings, bullets, inline code for ids) is far easier to skim than a wall of prose. Optionally pass `run_id` to record which run wrote it.",
"category": "Signals",
"feature": "signals",
"summary": "Remember a scratchpad entry",
diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.json
index 0636bacb689c..50679396edd4 100644
--- a/services/mcp/schema/tool-definitions-all.json
+++ b/services/mcp/schema/tool-definitions-all.json
@@ -7095,7 +7095,7 @@
}
},
"signals-scout-scratchpad-remember": {
- "description": "Upsert a scratchpad entry keyed on `(team, key)` — re-using a key updates the existing entry in place, so this is an upsert rather than a strict create. Keys are stable identities: key off *what* you're tracking, not *when* you saw it — never embed dates, timestamps, or run ids (that mints a new row every run and defeats dedupe). For run state, use one fixed key and keep the timestamp in `content`. Optionally pass `run_id` to record which run wrote it.",
+ "description": "Upsert a scratchpad entry keyed on `(team, key)` — re-using a key updates the existing entry in place, so this is an upsert rather than a strict create. Keys are stable identities: key off *what* you're tracking, not *when* you saw it — never embed dates, timestamps, or run ids (that mints a new row every run and defeats dedupe). For run state, use one fixed key and keep the timestamp in `content`. Write `content` as Markdown — humans read these entries directly, so structured Markdown (headings, bullets, inline code for ids) is far easier to skim than a wall of prose. Optionally pass `run_id` to record which run wrote it.",
"category": "Signals",
"feature": "signals",
"summary": "Remember a scratchpad entry",