Commit 634d3ad
fix(pr-evaluator): don't flag PostHog context tags as PII in eq_no_pii
The eq_no_pii rubric item treated any PII on an event as a violation, which
false-flagged the documented PostHog pattern: the Python `tag()` / `new_context()`
API and the Django `PosthogContextMiddleware` (which tags distinct id, session,
and the authenticated user's email by design) attach request-scoped context to
events on purpose.
Carve those out. NO is reserved for PII the integration hand-copies into an
event `properties={}` dict where a person-property method was the right call, or
PII used as a fabricated `distinct_id`.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent cb67435 commit 634d3ad
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
0 commit comments