Skip to content

D35b — A record may look an entity up without being allowed to create it

  • Status: Accepted — extends D22
  • Date: 2026-09-21
  • Origin: slice 8 build
  • Area: build

Decision

A Record may carry requires_existing: {ref: reason}. For a ref named there, the importer may use an entity the resolver matches exactly and may never create one. A miss and an ambiguity are the same outcome: the record is deferred with the reason, which names the import that would fix it.

Why

The Commons Votes member-voting endpoint returns, for each division, a MemberId and how that member voted. It never says who the member is — no name, no party, no seat. The division is fully described; the voter is a number.

Three ways to handle that, two of them wrong:

  • Create the person from the id. We would file a person whose only property is 4030, with no name, from a document that never named anybody. Every read of that entity would then be a read of something we invented.
  • Store the vote without the voter. A cast claim with no subject is not a claim.
  • Wait. The record says plainly what is missing and what fixes it: member 4030 is not in the graph — import them first withkg import parliament-member, then run this again.

The existing deferral machinery already groups these properly (D31g): four divisions blocked on one member produce one question, not four.

This is not the same as the resolver being unsure. Elsewhere an importer defers because it cannot tell two entities apart; here it defers because the document is not entitled to create one at all. The per-division endpoint, which does name every member, creates them freely from the same importer.