: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: clarify PR template and agent guidelines (#60641)
Julian Bez37557946b427
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdindex 0e93b91b23c5..bc673fe07e43 100644--- a/.github/pull_request_template.md+++ b/.github/pull_request_template.md@@ -34,12 +34,11 @@## Docs update<!-- Add the `skip-inkeep-docs` label if this PR should not trigger an automatic docs update from the Inkeep agent. -->-<!-- Add the `skip-migration-service-check` label if every migration here is DB-noop (e.g. `SeparateDatabaseAndState` with empty `database_operations`, or pure `RunPython`) and it's safe to ship alongside service code. -->## 🤖 Agent context<!-- Fill this section if an agent co-authored or authored this PR. Remove it for fully human-authored PRs. -->-<!-- Include:+<!-- Keep this short: 1-3 short paragraphs or a handful of bullets — not an exhaustive log. Include:- tools/agent used and link to session. List the agent and tool names used, but do not include tool call results.- decisions made along the way (what was tried, rejected, chosen, and why)- anything else that helps reviewersdiff --git a/AGENTS.md b/AGENTS.mdindex f92683e53f08..82eda42475c4 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -61,6 +61,7 @@ Do not invent a different format.Always fill the `## 🤖 Agent context` section when creating PRs.Keep descriptions high-level, focusing on rationale and architecture for the human reviewer.NEVER share sensitive information in a PR description. Users may share sensitive data in an agent session, but those should never surface to a PR description, or comments.+Pass the description straight to the `body` argument of the PR-creation tool (the GitHub MCP `create_pull_request` `body` param, or `gh pr create --body-file -` via stdin). Do NOT write the body to a temporary file first — it adds a step, can race with parallel tool calls, and the `body` argument already preserves markdown and newlines verbatim (the no-hard-wrap rule still applies).### Rules