Skip to content

D47o — A reader is told what a writer had not seen

  • Status: Accepted — implements D47 (part 4); extends D14b (compiled truth) and D47i (staleness)
  • Date: 2026-09-24
  • Origin: slice 24 build
  • Area: reading

Decision

  • A compiled truth says which claims its writer had not seen: "its writer had not seen 2 claim(s) now held: bea's cs_… (1), ada/press's cs_… (1) — read them before you rewrite it". What its writer had seen is:
  • for a truth written in this graph, every bundle the graph took in before the truth was written;
  • for a truth that arrived in a bundle, what its graph had taken in: the dataset up to its bundle's base.

Anything else carrying a merged claim on the entity, from another writer's instance, is news to it. - A bundle's base is set per changeset: the newest bundle the graph had taken in when the changeset's last row was written. It is no longer "whatever the graph held at export", which could include a pull its writer never read. - kg review marks a contribution "staged against an older head" when others' work on the same entities landed after the contribution was built on its base and before it was sent. Work sent later, built on top of it, is not something it could have been behind on. This is the test kg bundle verify warns with (D47i). - Work is named by changeset, not by bundle. A changeset has the same id in every graph and dataset it reaches; a bundle's id belongs to one dataset. Whose work a bundle carries is its changeset's instance, not the graph that exported it.

Why

"N claims merged since this was written" judges by the clock. Once several people's work meets in one graph, the clock lies. A claim a colleague merged on Monday arrives by pull on Wednesday, after a truth written on Tuesday by someone who never saw it. By the clock the truth is current; it is not. The log can tell, and the clock cannot.

Alternatives

  • Rewrite newer_claims to use arrival time. That would lose what it already says, which is still true within one graph, so the two notices sit side by side.
  • A per-row vector of what was seen. Exact, but heavy, and a changeset is already the unit people review.

Consequences

  • Found by the round-trip proof: the first base was taken at export, so a rebuilt graph believed the truth's writer had seen a claim pulled after it was written. It is now per changeset. Naming by bundle id also differed between datasets, so the notice names the changeset.