: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: move inject_mcp_intents.py to bin/ and make executable (#63855)
Rafael Audibertf3453a3fde4e
diff --git a/scripts/inject_mcp_intents.py b/bin/inject_mcp_intents.pyold mode 100644new mode 100755similarity index 98%rename from scripts/inject_mcp_intents.pyrename to bin/inject_mcp_intents.pyindex f8c47e8bad3a..ffc7bbeef794--- a/scripts/inject_mcp_intents.py+++ b/bin/inject_mcp_intents.py@@ -1,3 +1,5 @@+#!/usr/bin/env python3+"""Inject synthetic intents on MCPSession rows for local clustering tests.Bypasses OpenAI by picking from a curated pool of phrasings grouped into@@ -9,7 +11,7 @@ checkout-failure spike", multiple phrasings of "confirm a flag rollout", etc.— so clustering has clear signal to detect.Usage:- flox activate -- python scripts/inject_mcp_intents.py [--team-id N] [--seed N]+ bin/inject_mcp_intents.py [--team-id N] [--seed N]"""import osdiff --git a/hogli.yaml b/hogli.yamlindex 726619fe4133..bd1cd5043a7d 100644--- a/hogli.yaml+++ b/hogli.yaml@@ -1039,3 +1039,7 @@ environment:bin_script: send-dev-metrics.shdescription: 'Send a synthetic OTLP counter/gauge/histogram through the metrics ingest chain'hidden: true+ inject_mcp_intents:+ bin_script: inject_mcp_intents.py+ description: 'Used when developing MCP Analytics locally and trying to load some intents'+ hidden: true