Skip to content

D33g — kg merge --all is the whole graph and is never narrowed

  • Status: Accepted — amends D33
  • Date: 2026-11-05
  • Origin: a merge that took more than was meant, 4 November 2026
  • Area: writes

Decision

  • --all merges every waiting row in the graph, from every changeset and contributor, under the write policy (D33).
  • --all with --changeset or --from is refused. The error says to drop --all. It is not quietly read as either one.

Why

kg merge --all --changeset X read as "everything in X", but --all was checked first and --changeset was ignored. On 4 November 2026 this merged four statuses a person had held in the queue, alongside the changeset that was meant. A command that can widen a merge without saying so should refuse instead.

Alternatives

  • Let --changeset narrow --all. Rejected: the two would then mean different things depending on what else is passed. Refusing is plainer, and --changeset X alone already does what was meant.