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(data-warehouse): cross-reference self-driving inbox from source skill (#73513)

Tom Owerse6da5cfc71ff
diff --git a/.agents/skills/implementing-warehouse-sources/SKILL.md b/.agents/skills/implementing-warehouse-sources/SKILL.md
index d94cd5eb0bff..fcfb145b5dea 100644
--- a/.agents/skills/implementing-warehouse-sources/SKILL.md
+++ b/.agents/skills/implementing-warehouse-sources/SKILL.md
@@ -262,6 +262,29 @@ enum. Adding a **new** category means editing that array and rebuilding — don'
alternate spelling a user might type (e.g. `["ga4", "ga"]`, `["sql server"]`, `["facebook ads"]`). Skip it when
the name already obviously matches; don't add noise.
+## Self-driving Inbox candidacy (issues / tickets / conversations)
+
+Some sources are also candidates for the **Self-driving Inbox** — the feature that watches a synced
+table of _actionable records_ and emits findings into the PostHog Code Inbox. Shipped today: GitHub,
+Linear, Zendesk, pganalyze, and Jira.
+
+The signal is the **table you sync**, not the vendor: a source is an inbox candidate when one of its
+tables is a stream of records a human (or agent) triages one by one — an `issues`, `tickets`, or
+`conversations` table. These live under the support/helpdesk (`CUSTOMER_SUPPORT`), issue-tracker and
+monitoring (`ENGINEERING___MONITORING`), and some project-tool (`PRODUCTIVITY`) categories. Analytics,
+billing, ad-platform, CRM, and raw database sources are **not** inbox candidates — they sync facts to
+query, not a work queue to act on. If the source you're building has no such table, there's nothing to
+do here.
+
+Wiring a source into the inbox is a **separate, additive piece of work** with its own skill —
+`/adding-inbox-sources` — and it changes nothing in this skill's deliverable. It only becomes possible
+once the data-warehouse source exists (which is exactly what this skill produces), so build and ship the
+source first. That skill touches three surfaces: a server-side "signals scout" emitter plus a registry
+entry and `SignalSourceProduct` enum in this repo (`products/signals/backend/`), the inbox UI in the
+separate `posthog/code` repo, and the `npx @posthog/wizard self-driving` onboarding flow in
+`PostHog/context-mill`. Read `/adding-inbox-sources` before starting — none of that plumbing belongs in
+the source's own `products/warehouse_sources/` code.
+
## Vendor API version metadata
Every source declares three class attributes (on the source class body, alongside `lists_tables_without_credentials`)
@@ -754,6 +777,8 @@ Tests & handoff:
- [ ] User-facing doc written/updated per /documenting-warehouse-sources (docsUrl matches filename; `audit_source_docs` passes)
- [ ] `ruff check . --fix` and `ruff format .`
- [ ] List any new env vars (OAuth client IDs/secrets, etc) in the PR / handoff
+- [ ] (Only if the source syncs an issues/tickets/conversations table) Note it as a Self-driving Inbox
+ candidate — that's a separate follow-up via /adding-inbox-sources, not part of shipping the source
```
## Validation and generation workflow