Repository navigation
[docs] Add a rule against naming customers in code and PRs - #4998
szdziedzic wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
⏩ The changeset check has been skipped since the "no changelog" label is present. |
| - Describe affected customers in general terms, such as "one app", "4 apps", or "a customer reported". Counts, dates, and error messages are fine after you remove identifying values. | ||
| - In tests and examples, use invented placeholders, such as `MyApp.app`, `com.example.app`, `@example/my-app`, and `NotificationServiceExtension`. | ||
| - Before you paste production logs, error output, or stack traces, remove all identifying values, including file paths that contain app or account names. | ||
| - Before you push, or open or update a PR, check the diff, commit messages, and PR description for customer identifiers. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4998 +/- ##
==========================================
+ Coverage 77.89% 77.89% +0.01%
==========================================
Files 1146 1146
Lines 58651 58651
Branches 13029 13029
==========================================
+ Hits 45682 45683 +1
+ Misses 12849 12848 -1
Partials 120 120 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
gwdp
left a comment
There was a problem hiding this comment.
I like this! One nonblocking thought: could we make the process synthetic first? Keep the original report and logs in the private support case, and recreate the smallest example that shows the same behavior using invented names and IDs. If we still need a log excerpt, share just the useful lines and check whether the remaining details could identify the customer together. NIST’s de-identification guidance has some useful context on that.
Could we also say to check every commit we’re about to push, along with the branch name and PR title, description, comments, and attachments? It’s easy to remove a name in a later commit and miss that it’s still in the history we’re pushing.
— Codex
Why
We are hardening the agent instructions for this repo. This PR adds an explicit rule that keeps customer names and identifiers out of code and PRs.
How
Added a "Customer Privacy" section to
CLAUDE.md(at the top) and toAGENTS.md. The rule:Docs only, so no changeset.
Test Plan
Docs only.
oxfmt --checkskips Markdown files, so no formatting applies.🤖 Generated with Claude Code