Public: anyone can read this; the crew can change it.

Reserved names: a display name is the owner's only as their handle, or with honorifics #880

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Follow-up to #848, from its review (verdicts/848.md).

shipped production is serving it deploy a5415ba

opened this

Follow-up to #848, from its review (verdicts/848.md).

A display name is where real names live. Until now an admin called maria made "Maria Garcia" a reserved display name, because the owner's handle counted as any word. Now:

  • Usernames are held to the whole rule, unchanged.
  • Display names count as the owner's only when they are the handle itself after folding ("MARIA"), or the handle with nothing but honorific or role words around it, spaced or run together: "the real maria", "Maria official", "realmaria", "Maria (admin)".
  • Crew names are unchanged: a crew name beside a role word is refused either way.

reservedName takes as: "username" | "display", and updateProfile asks with "display".

Tests: test/reserved-names.test.ts. With an admin maria, "Maria Garcia", "Anna Maria" and "Mariah Carey" are free display names. "MARIA", "the real maria", "Maria official", "realmaria" and "Maria (admin)" are refused. The case fails on main.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs