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(mcp): suppress intentional cross-team unscoped in seed script (#63869)

Phil Haack3979c1536da2
diff --git a/bin/inject_mcp_intents.py b/bin/inject_mcp_intents.py
index ffc7bbeef794..8edc23072313 100755
--- a/bin/inject_mcp_intents.py
+++ b/bin/inject_mcp_intents.py
@@ -123,6 +123,7 @@ def main() -> None:
updated = 0
for session_id in qs.values_list("id", flat=True):
intent = rng.choice(pool)
+ # nosemgrep: idor-lookup-without-team -- local-dev seed script intentionally spans all teams
MCPSession.objects.unscoped().filter(id=session_id).update(intent=intent)
updated += 1
if updated % 100 == 0: