Skip to content

D33b — Pack completeness is checked at review, over the whole changeset

  • Status: Accepted — amends D13b
  • Date: 2026-09-21
  • Origin: slice 6 build
  • Area: schema

Decision

create_requires and required are no longer evaluated inside add_entity. They are evaluated at review, against everything the changeset says about the entity, and reported as a reason the entity waits.

Why

At the moment of creation an entity is always incomplete. Its external id, its status and its operator arrive in the next few writes of the same session — that is what a session is. Asking at write time therefore asked a question that could not yet be answered, and got the wrong answer nearly every time: the Epoch import produced eighty copies of "required property not given: status" for eighty sites whose status arrived three operations later.

Over the whole changeset the question is answerable, and the answer is useful. The same import now reports five genuinely thin creations instead of eighty false ones, and a site whose operator is written after it is no longer called thin.

The hint still only warns (D13b). It has moved, not hardened.