D13g — Hard rule 5, as built: creating an entity runs the resolver¶
- Status: Accepted — amended by D53 (a named rejection is recorded as a not-same) — amends D13b (rule 5) and D10
- Date: 2026-09-18
- Origin: slice 4 build
- Area: identity
Decision¶
kg add entity runs the resolver on the new entity's name, fields and edges,
against staged and merged entities alike. If it finds a match or a proposal, the
creation is refused unless that candidate is named in --rejected-candidates —
the agent has looked at it and says this is a different entity. Near misses need
not be named.
Why¶
The rule as first written — "kg find must have run in this changeset" — depended
on tracking whether an agent remembered to look. Running the check inside creation
means it cannot be skipped, and it catches two creations of the same thing in one
session, before either is merged.