: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
fix(signals): correct the cdp-functions-list type filter in the pipelines scout (#95969)
posthog[bot]b1f2ba23b704
diff --git a/products/signals/skills/signals-scout-data-pipelines/SKILL.md b/products/signals/skills/signals-scout-data-pipelines/SKILL.mdindex 516510466be8..35239959e520 100644--- a/products/signals/skills/signals-scout-data-pipelines/SKILL.md+++ b/products/signals/skills/signals-scout-data-pipelines/SKILL.md@@ -57,7 +57,7 @@ Three cheap reads cold-start a run:Then orient on each leg with one fleet-wide read apiece:-1. **Functions state scan** — `cdp-functions-list {"enabled": true, "limit": 100}`, following `next` pages. Every entry carries `status: {state, tokens}` from the hog watcher, so one paginated scan gives fleet health without per-function calls. States: 1 healthy, 2 degraded (overflowed), 3 auto-disabled, 11 forcefully degraded, 12 forcefully disabled (11/12 are admin actions). **Footgun:** the `type` filter must be a comma-separated _string_ (`"type": "destination,transformation"`) — a JSON array silently returns zero results. **Footgun:** `status` exists only on the REST tools; `system.hog_functions` has no state column.+1. **Functions state scan** — `cdp-functions-list {"enabled": true, "limit": 100}`, following `next` pages. Every entry carries `status: {state, tokens}` from the hog watcher, so one paginated scan gives fleet health without per-function calls. States: 1 healthy, 2 degraded (overflowed), 3 auto-disabled, 11 forcefully degraded, 12 forcefully disabled (11/12 are admin actions). **Footgun:** pass the `type` filter as a JSON array (`"type": ["destination", "transformation"]`); its schema description mentions comma-separated values, but a bare string is rejected outright. **Footgun:** `status` exists only on the REST tools; `system.hog_functions` has no state column.2. **Flows fleet stats** — `workflows-global-stats {"after": "-7d"}`: per-flow succeeded/failed counts, sorted most-failing first, one call. It returns bare `workflow_id`s — cross-reference names and lifecycle status via `system.hog_flows` (`id`, `name`, `status`), and only judge `active` flows.3. **Batch exports roster** — rosters are small, so check every live one:@@ -189,7 +189,7 @@ When in doubt, write a memory entry instead of filing a report.Direct calls (read-only):-- `cdp-functions-list` — the fleet state scan: `id`, `name`, `type`, `enabled`, `status: {state, tokens}`, `template.id`, `created_at`/`updated_at`, `filters`. Filters: `enabled`, `type` (comma-separated **string** — array returns zero), `limit`/`offset` with `next` links.+- `cdp-functions-list` — the fleet state scan: `id`, `name`, `type`, `enabled`, `status: {state, tokens}`, `template.id`, `created_at`/`updated_at`, `filters`. Filters: `enabled`, `type` (JSON **array** of type names, despite the description mentioning commas), `limit`/`offset` with `next` links.- `cdp-functions-retrieve` — one function's full definition (inputs minus secrets, filters, code) when you need the mechanism.- `cdp-functions-metrics-retrieve` — per-function time series by metric name (`triggered` / `succeeded` / `failed` / `filtered`); `after`/`before`, `interval` hour/day/week. The only metrics surface — there is no fleet-wide equivalent.- `cdp-functions-logs-retrieve` — execution logs with level filter; the diagnosis.