Skip to content

D33 — The write policy as built: a verdict per row, and escalations that only tighten

  • Status: Accepted — completes D5; amended by D33g (--all is never combined with --changeset or --from)
  • Date: 2026-09-21
  • Origin: slice 6 build
  • Area: writes

Decision

Every staged row gets a verdict, auto or confirm, from three things in order:

  1. Rules nothing relaxes. An entity merge or unmerge always waits (hard rule 4). No setting reaches them.
  2. The policy for its operation. kg.yaml may name one per operation. Otherwise write_policy decides: auto means auto for everything; confirm means the per-operation defaults — evidence lands (an event asserts nothing on its own, it records what a document says), judgements wait (a new entity, a compiled truth).
  3. Escalations, which hold back a row whose operation is auto when it would do something consequential: contradict a value we already hold, rest on a quote nobody checked, create an entity the pack calls incomplete, or add an entity that looks like one we have.

Escalations refine confirm; they never override auto. D5 is explicit that under auto only a fuzzy match and an entity merge still wait, and a person who has said "do not ask me" must not find their session's work sitting in the staging area. Under auto the diffs are still computed and shown — they are useful either way — but nothing is held back.

kg merge <id> is a person acting, so it merges. kg merge --all applies the policy. kg import passes auto (D22).

Why

The checkpoint's two sessions made the shape obvious. Reviewing 2,613 imported rows one at a time is not review, it is attrition; and the one row worth asking about — a trade report disagreeing with a filing — looked exactly like the other 2,612. A policy that sorts by operation alone cannot tell those apart, which is why escalation is by consequence rather than by kind of row.