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(tasks): gate cloud-run backend and desktop CI behind team review (#100424)

Alessandro Pogliaghif920688e391d
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 688d0c7f3ffe..961dd42fa1bc 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -94,3 +94,21 @@ nodejs/src/cdp/** @PostHog/team-workflows
# events and the credentials that go with them.
products/*/backend/api/test/**
nodejs/src/cdp/**/*.test.ts
+
+# Cloud runs execute agent code inside customer sandboxes holding the customer's GitHub and
+# PostHog credentials. The workflow, its sandbox providers and credential handling, the
+# agent-server that runs in every sandbox, and the agent-proxy that relays sandbox events all
+# fail silently when edited wrong: the run still goes green while credentials leak, land in the
+# wrong sandbox, or stop refreshing. Agent Infrastructure owns the runtime; self-driving
+# co-owns the tasks product it builds on, so an approval from either team clears a tasks
+# change. Frontend stays out, because a mistake there is visible.
+products/tasks/backend/** @PostHog/team-agent-infrastructure @PostHog/team-self-driving
+products/tasks/management/** @PostHog/team-agent-infrastructure @PostHog/team-self-driving
+products/tasks/mcp/** @PostHog/team-agent-infrastructure @PostHog/team-self-driving
+products/tasks/scripts/** @PostHog/team-agent-infrastructure @PostHog/team-self-driving
+products/desktop/packages/agent/** @PostHog/team-agent-infrastructure
+products/desktop/packages/agent-shadow/** @PostHog/team-agent-infrastructure
+services/agent-proxy/** @PostHog/team-agent-infrastructure
+.github/workflows/ci-agent-proxy.yml @PostHog/team-agent-infrastructure
+.github/workflows/cd-agent-proxy-image.yml @PostHog/team-agent-infrastructure
+.github/workflows/cd-tasks-golden-snapshot.yml @PostHog/team-agent-infrastructure
diff --git a/.github/owners.yaml b/.github/owners.yaml
index 9c05b532a1bb..39a714e94c7f 100644
--- a/.github/owners.yaml
+++ b/.github/owners.yaml
@@ -14,3 +14,8 @@ rules:
- '/workflows/llm-gateway-cd.yml'
- '/workflows/update-ai-costs.yml'
owners: [team-devex, team-ai-gateway]
+ - match:
+ - '/workflows/ci-agent-proxy.yml'
+ - '/workflows/cd-agent-proxy-image.yml'
+ - '/workflows/cd-tasks-golden-snapshot.yml'
+ owners: team-agent-infrastructure
diff --git a/products/tasks/product.yaml b/products/tasks/product.yaml
index f627b6743ffb..5b050ed66111 100644
--- a/products/tasks/product.yaml
+++ b/products/tasks/product.yaml
@@ -1,3 +1,4 @@
name: Tasks
owners:
- team-posthog-desktop
+ - team-self-driving
diff --git a/services/agent-proxy/owners.yaml b/services/agent-proxy/owners.yaml
new file mode 100644
index 000000000000..a849d13c540a
--- /dev/null
+++ b/services/agent-proxy/owners.yaml
@@ -0,0 +1,3 @@
+version: 1
+owners:
+ - team-agent-infrastructure