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.

feat: add policy for not sharing sensitive info (#57985)

Fernando Gomesf8668401802a
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index e4a27811b3d1..339d584e0db4 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -42,10 +42,11 @@
<!-- Fill this section if an agent co-authored or authored this PR. Remove it for fully human-authored PRs. -->
<!-- Include:
- - tools/agent used and link to session
+ - 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 reviewers
Write reviewer-facing prose. Do not paste user prompts verbatim — paraphrase the intent in your own words.
+ DO NOT INCLUDE sensitive data that may have been shared in an agent session.
-->
<!-- Rules for agent-authored PRs:
- All PRs must be attributable to a human author, even if agent-assisted.
diff --git a/AGENTS.md b/AGENTS.md
index 2a6808036693..2cb67dd6b11a 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -60,6 +60,7 @@ Examples:
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.
### Rules