Repository navigation
fix: keep login emails out of shared user labels - #191920
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
|
@clawsweeper review Please review final head |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR replaces login-email fallbacks in shared user labels with verified handles, opaque profile IDs, or neutral labels. Example: An unnamed person signs in as [email protected].
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR addresses a concrete privacy leak still present on main. No actionable defects remain in the reviewed patch; exact-head CI is pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe profile catalog projects durable identity facts into Gateway presence and session directories, which the Control UI renders as people, assignment choices, and Activity links. flowchart LR
A[Authenticated login] --> B[Canonical profile catalog]
B --> C[Display projection]
C --> D[Gateway presence]
C --> E[Session directory]
D --> F[Shared UI labels]
E --> F
F --> G[Activity links]
Technical reviewBest possible solution: Keep private login principals inside authentication and use the existing canonical display projection for shared identity surfaces. Do we have a high-confidence way to reproduce the issue? Current main publishes the authenticated email and uses it when a shared identity lacks a name; the supplied before screenshot demonstrates that visible result with synthetic data. Is this the best way to solve the issue? The patch fixes disclosure at the presence producer and reuses existing profile and label owners, with no new state or parallel identity mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 902faa3e5226. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -13, Tests +96, Other +2. Total +85 across 18 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (4 earlier review cycles)
Reviewed November 3, 2026, 11:04 AM ET / 16:04 UTC (Revision 5). |
|
@clawsweeper re-review Final head: 681fbbb. Since the prior reviewed head, only a stale sidebar tooltip assertion changed to the neutral Person label. The email-only fixture input is preserved; its focused test, formatting, lint, and independent delta review pass. The PR body contains the updated evidence. |
|
🦞👀 Re-review progress:
|
04728d4 to
41d8e6d
Compare
|
@clawsweeper re-review Please review exact head |
|
🦞👀 Re-review progress:
|
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
* fix: keep login emails out of shared user labels * test: align privacy regression line allocation * test: align presence assertions with private identity labels * test: preserve media query methods in privacy fixture * test: align sidebar tooltip with private identity label * test: assert explicit deferred identity clears * fix: preserve shared owner labels in activity
What Problem This Solves
Fixes private login emails appearing in shared presence, Activity links, and owner menus when a person has no display name.
User Impact
People keep their chosen display name, otherwise use their verified GitHub handle. Unresolved identities use a neutral label instead of their login email.
Why This Change Was Made
Resolve the fallback from the canonical profile and stop publishing authentication emails in presence. Shared UI labels and pickers no longer fall back to email; unnamed people keep the Activity unresolved grouping.
No schema, configuration, or dependency changes. Release-note context: prevent login emails from appearing as shared user labels and Activity slugs.
Evidence
cc215ba3345114d7ebbd39cad01fb0a59923f40eagainst66e2433288b23cb4c4fef5889f2fbcfcc19f9601found no actionable P0–P2 findings. The subsequent sidebar assertion correction was independently reviewed and its focused case, formatting, and lint passed. Those results retain their original revision attribution.41d8e6dadf9d4f9ac9b1491ead6bb3ada7aea4da, based on budget repair51e972fb4048c8e55b8449df1e48220fcf40d1ad. All seven rebased commits are signed; their complete patch is byte-identical to reviewed head04728d4829c5aea00b533ff339b39ad42936c0a0, with no intervening changes to the touched files. Earlier CI exposed three stale assertions because presence snapshots now explicitly clearuserwithundefined; the two assertion sites require that exact value. The matcher contract was verified against installed Vitest 5.0.5.04728d4was scoped-clean. Formatting and diff checks pass. Actual CI UI shard 3 passed all 21 Activity cases, including the updated desktop and phone privacy regressions. That run failed on inherited test-budget debt and two unrelated About-page fixtures; all three causes are repaired in the new base. The final exact-head hosted review is clean, with no findings or remaining rank-up moves. Exact-head CI completed with one inherited root failure: five Channels save assertions select the status header instead of the existing footer after #191432. The entire Channels owner/test tree and relevant harness, locale and dependency inputs are unchanged by this PR. The baseline ratchet, lint, other UI shards, PostgreSQL and every remaining applicable job passed. Landing uses the documented inherited-failure route for that UI job; the failed CI is not represented as green. No inherited-failure exception is requested.Synthetic screenshots: the email disappears from shared labels and the generated Activity slug; the known public handle remains unchanged. Both rendered PR images were fetched and byte-verified.