D35 — A name is split to compare it, never to store it¶
- Status: Accepted — completes D10; extends D31i rather than reopening it
- Date: 2026-09-21
- Origin: slice 8 build
- Area: identity
Decision¶
A pack may declare normalisation.name_order: given_first for an entity type.
Where it does, the resolver derives given_name and surname from a name on
the record it is comparing, which is discarded when the comparison ends.
Nothing derived this way is ever written as a claim, so kg get shows a surname
only where a source gave one.
Two guards, and a name that fails either is left alone:
- No comma. A comma is the source saying it has used some other order.
- Exactly two words, once honorifics and post-nominals are dropped.
A value a source gave always wins: a record that already holds surname is not
touched.
Why¶
D10 promised given_name/surname would be derived from name, and slice 4
recorded the cost of not having them: kg find "Charlie Elphicke" came back as a
near miss for Natalie Elphicke — same surname, same seat — instead of being ruled
out, because the query held a name and no given name for the discriminator to
bite on.
D31i then found the opposite failure on real data: splitting a name nobody told
us how to read turned "Cameron of Chipping Norton, L." into the surname
"Cameron of Chipping Norton" and the given name "L.". Both findings are right,
and they are about different things. D31i is about what we store; this is
about what we compare. A derived surname that only ever exists inside one
resolver call cannot mislead a reader, cannot be cited as evidence, and cannot
outlive the question it was derived to answer.
The comma guard was not in the first version, and the politics golden caught it
within a minute: kg find "Elphicke, Mrs Natalie" — the Members API's own list
form, stored as an alias and resolving since slice 5 — started coming back
no_match, vetoed by the given name "Elphicke". A name we were reading in the
wrong order was producing a veto against the very entity it named, which is the
D31i failure wearing different clothes. The two-word guard came from the same
place: "Iain Duncan Smith" gives us no way to tell a middle name from half a
surname, so it is not ours to split.
The effect is asymmetric on purpose. A derived name part can only ever add a veto — it never makes two records match, only keeps them apart — so the worst case is a match a person is asked to confirm by hand.