Skip to content

D20b — Entity merges wait for a human; afterwards every read follows them

  • Status: Accepted — amends D20
  • Date: 2026-09-18
  • Origin: slice 4 build
  • Area: identity

Decision

  • A staged same_as (and an unmerge) is held back by kg merge --all and --changeset: it merges only when someone merges it by id (kg merge <dc_id>, or MCP review(op="confirm_match")). This is how hard rule 4 is enforced.
  • Once merged, the kept entity reads as the union of its members: claims, relations in both directions, compiled truth, deferred items and questions. Looking up the merged-away entity, by id or name, lands on the kept one.
  • kg unmerge <dc_id> --why undoes it, and is held back the same way.
  • kg not-same records that two entities differ; merging them is then refused.

Why

A merge rewrites what every later read means, so it is the one write that must never happen by default.