Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

docs: forbid identifying customers in code, commits, and PRs (#21654)

rebelicecd434f3a7970
diff --git a/AGENTS.md b/AGENTS.md
index 1532f1cbdc..afec0fb795 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -25,6 +25,10 @@ Bytebase is the standard for database development. Every product and engineering
- Use American English. Avoid collection names ending in `List`.
- Annotating an RPC `mcp_method_class = READ` or `WRITE` also changes what the MCP Access policy page promises, and nothing enforces that. Before changing one, read [mcp-capability-ladder.md](docs/design/mcp-capability-ladder.md#keeping-the-rows-true).
+## Customer information
+
+The repository and its pull requests are public. Never identify a Bytebase customer or user in code, comments, test fixtures, docs, commit messages, or PR titles, bodies, and screenshots. That covers company names, their employees' names and emails, their domains, and the instance, database, and host names, schemas, SQL, or data copied from their environments. Describe the case generically, such as "a customer with 10k databases", and reference the Linear issue for details. Use placeholders such as `example.com` in fixtures, and redact screenshots.
+
## Code comments
- Use names and structure to explain what code does. Reserve comments for non-obvious intent, invariants, ordering constraints, external behavior, and public API contracts.
diff --git a/docs/pre-pr-checklist.md b/docs/pre-pr-checklist.md
index 6e25d60f71..88465972dc 100644
--- a/docs/pre-pr-checklist.md
+++ b/docs/pre-pr-checklist.md
@@ -263,4 +263,5 @@ Before running `gh pr create`:
- [ ] All checks above passed or were correctly skipped
- [ ] PR description clearly describes what changed and why
- [ ] Breaking changes are labeled and documented (if applicable)
+- [ ] Diff, commit messages, and PR text contain no [customer information](../AGENTS.md#customer-information)
- [ ] No unrelated files are staged