D47f — A row can be kept local, and a private term stops an export¶
- Status: Accepted — extends D45c (local-only channels) to graph rows
- Date: 2026-09-23
- Origin: slice 22, the real run: exporting the local graph
- Area: evidence
Decision¶
kg keep-local <id> … --why "…"records rows in a localkept_localtable.- A kept row is never written to a dataset.
- Neither is anything that cannot stand without it, recomputed at every export:
- an event takes its claims, coverage, closures and the entities created from it;
- an entity takes its claims, notes, the claims pointing at it, and the identity decisions naming it;
- a deferred item or question takes its closures.
- Reviews of a kept row stay behind too.
- A changeset whose every row is kept local is skipped, and the export says so.
private_terms:in the personal kg.yaml is a list of words or phrases that must not leave this graph.- Export assembles every bundle first, then scans each row it is about to write.
- One hit refuses the whole export, naming each row and the term, before a file is written or a changeset sealed. The person then keeps those rows local and exports again.
- Matching is case-insensitive substring. It is a guard against forgetting, not a classifier.
- Neither setting travels, because both are about what this person may share.
kept_localstays in the graph, andprivate_termsin kg.yaml.
Why¶
D45c let a proprietary list be used as a local-only channel: its candidates stay in the graph, and every member still needs a public primary document. That covered the working tables.
Exporting the real graph in slice 22 found what it missed. During the sessions that used the list, four notes had been written about it: a compiled truth, two deferred items and a question. They said "a [redacted — D65] counts …", and one gave a site name that only the list had. Notes are graph rows, so they went into the bundle. The dataset was a scratch directory and nothing was published, but nothing would have stopped it being published.
The graph is append-only, so a note cannot be edited clean. Superseding it still leaves the old row, and the old row would travel. The only sound fix is to keep the row back, which means a record of what is kept back, plus a check at the one point where rows leave.
Alternatives¶
- Redacting text at export. That would rewrite rows, and a bundle is meant to be the rows as they are. It would also break quotes, which are checked verbatim.
- Marking whole changesets local. Too coarse: the four notes sat in a changeset with two thousand rows of public research.
- Detecting proprietary content automatically. Nothing can know what a person promised not to share. The person names the terms; the tool refuses to forget them.