Document the identity field validation contract #71

Stängd
öppnade 2026-08-02 12:31:01 +00:00 av supernaut · 0 kommentarer
Ägare

The identity ownership decision record settles who owns each field but not what a valid value
is. Three systems each enforce their own rules, and today the union exists only as a regex in the
sign-up endpoint whose comment misdescribes it.

Add a cross-cutting design note stating the intersection rule for username, email and display name;
which system contributes each constraint and why; the pinned versions the rules were read from; and
the upgrade obligation — when either dependency is bumped, re-read the rules and update the tests.
Link it from the identity ownership decision record and from the version-pin decision record's
upgrade checklist.

Part of #66.

The identity ownership decision record settles who *owns* each field but not what a valid value *is*. Three systems each enforce their own rules, and today the union exists only as a regex in the sign-up endpoint whose comment misdescribes it. Add a cross-cutting design note stating the intersection rule for username, email and display name; which system contributes each constraint and why; the pinned versions the rules were read from; and the upgrade obligation — when either dependency is bumped, re-read the rules and update the tests. Link it from the identity ownership decision record and from the version-pin decision record's upgrade checklist. Part of #66.
supernaut lade till detta till projektet Bitborg Docs 2026-08-02 12:35:03 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-docs#71
Ingen beskrivning angiven.