: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
chore(signals): correct scout docs on the name prefix (#97801)
Andrew Maguire8c217c93f013
diff --git a/products/signals/skills/AGENTS.md b/products/signals/skills/AGENTS.mdindex c0b9704c294c..d98c1654e599 100644--- a/products/signals/skills/AGENTS.md+++ b/products/signals/skills/AGENTS.md@@ -10,7 +10,7 @@ Two distinct skill families live in this directory:## Scout fleet convention (`signals-scout-*`)-The harness discovers scouts by globbing `signals-scout-*` over the team's `LLMSkill` table. The canonical content on disk in this directory is mirrored to each agent-enabled team's `LLMSkill` rows by `scout_harness/lazy_seed.py` — see `../backend/scout_harness/AGENTS.md` for the sync mechanics, and the `sync_signals_scout_skills` management command for the manual fan-out path.+A scout is a skill that holds a `SignalScoutConfig`. The harness globs `signals-scout-*` over the team's `LLMSkill` table to auto-register a config for a prefixed skill that has none, which is how the canonical fleet in this directory comes online. The canonical content on disk in this directory is mirrored to each agent-enabled team's `LLMSkill` rows by `scout_harness/lazy_seed.py` — see `../backend/scout_harness/AGENTS.md` for the sync mechanics, and the `sync_signals_scout_skills` management command for the manual fan-out path.### Generalist + specialistsdiff --git a/products/signals/skills/authoring-scouts/SKILL.md b/products/signals/skills/authoring-scouts/SKILL.mdindex 0c648b4d367c..5b331ba66f1a 100644--- a/products/signals/skills/authoring-scouts/SKILL.md+++ b/products/signals/skills/authoring-scouts/SKILL.md@@ -28,9 +28,11 @@ A scout's output is the **report channel**: it lists `emit_report` / `edit_reporThe canonical fleet runs this way, and **every new scout should too** — always include the `allowed_tools` opt-in when authoring one.(A historical signal-emitting channel — weak `emit-signal` findings a pipeline consolidated — still exists in the harness for scouts that never opted in, but it is deprecated: don't author new scouts on it, and opt an old one in rather than extending it.)-A scout is just an `LLMSkill` whose name starts with `signals-scout-`.-The harness discovers scouts by globbing `signals-scout-*` over the project's skills, loads the body **verbatim** as the agent's system prompt, and progressively reads any bundled reference files on demand.-**The `signals-scout-` name prefix is load-bearing: a skill named anything else will never run as a scout.**+A scout is an `LLMSkill` that holds a `SignalScoutConfig`.+The harness loads the body **verbatim** as the agent's system prompt, and progressively reads any bundled reference files on demand.+**The config row is what makes a skill a scout.** Any valid skill name works, so the `signals-scout-` prefix is optional.+The prefix controls one thing: the coordinator globs `signals-scout-*` to auto-register a config for a skill that has none.+A skill with any other name needs its config created alongside it, which is what `scout-create-prepare` / `-execute` does.## The job before the writingdiff --git a/products/signals/skills/authoring-scouts/references/lifecycle-and-testing.md b/products/signals/skills/authoring-scouts/references/lifecycle-and-testing.mdindex 718c00f9bfe5..4d9e53c59089 100644--- a/products/signals/skills/authoring-scouts/references/lifecycle-and-testing.md+++ b/products/signals/skills/authoring-scouts/references/lifecycle-and-testing.md@@ -4,11 +4,11 @@ How scouts get discovered, scheduled, and dispatched; the two distribution paths## How a scout runs-- **Discovery.** The harness globs `signals-scout-*` over the project's skills (`LLMSkill` rows).- Any matching skill is a scout.- No registration step.+- **Discovery.** A scout is a skill that holds a `SignalScoutConfig`, and the coordinator dispatches from those config rows.+ The `signals-scout-` name prefix is optional; it controls only auto-registration, below.- **Config.** Each scout has one `SignalScoutConfig` per `(project, skill_name)` carrying `run_interval_minutes` (default 1440), `enabled`, `emit`, `network_access` (`trusted` default, `full` for scouts that read arbitrary external sites), and a `last_run_at` stamp.- A config is **auto-registered** the first time the coordinator sees a `signals-scout-*` skill without one — authoring the skill is enough to get a scout.+ A config is **auto-registered** the first time the coordinator sees a `signals-scout-*` skill without one, so authoring a prefixed skill is enough to get a scout.+ A skill named anything else needs its config created with it.Prepare a fresh per-team scout and its config together with `posthog:scout-create-prepare`; the nested `config` object sets its schedule, emit posture, and destinations before it can run.Show the returned confirmation message, wait for the user to type `confirm`, then call `posthog:scout-create-execute` with the returned `confirmation_hash` and that literal confirmation.The lower-level `posthog:scout-config-create` remains available when a skill already exists without a config.diff --git a/products/signals/skills/authoring-scouts/references/scout-anatomy.md b/products/signals/skills/authoring-scouts/references/scout-anatomy.mdindex 2de849fb8bd1..7d9ce3bc1e8c 100644--- a/products/signals/skills/authoring-scouts/references/scout-anatomy.md+++ b/products/signals/skills/authoring-scouts/references/scout-anatomy.md@@ -14,9 +14,11 @@ Keep the body lean and push depth into references — every line of the body is## Naming-The skill name **must** match `signals-scout-<scope>` — the harness discovers scouts by globbing `signals-scout-*`.-`<scope>` is lowercase kebab-case naming the surface or question the scout watches: `signals-scout-error-tracking`, `signals-scout-checkout-funnel`, `signals-scout-mcp-feedback`.-A skill named anything else is just a normal skill and never runs as a scout.+Any valid skill name works: lowercase letters, numbers, and hyphens.+The `SignalScoutConfig` row is what makes a skill a scout.+Name it in lowercase kebab-case after the surface or question the scout watches: `error-tracking`, `checkout-funnel`, `mcp-feedback`.+The canonical fleet keeps the `signals-scout-` prefix, and a per-team scout can use it too.+The prefix only controls whether the coordinator auto-registers a config for a skill that has none, so a scout named anything else comes in through `scout-create-prepare` / `-execute`, which writes the skill and its config in one call.## Frontmatter