Skip to content

D47p — kg log says who contributed what, and where

  • Status: Accepted — implements D47 (part 4)
  • Date: 2026-09-24
  • Origin: slice 24 build
  • Area: surfaces

Decision

kg log [--scope S] [--by who] [--since D] (MCP read(op="log")) reads the working graph and reports, for each contributor and each agent acting for them:

  • the changesets they opened, and what became of the rows in them (merged, rejected, still waiting);
  • the decisions they made on other people's rows (their own are counted with their work);
  • where they looked: sweeps, and each channel with the last date;
  • what they found: candidates, by disposition;
  • any channel they are sweeping right now (D47n).

People are shown with their role when the graph belongs to a dataset with contributors listed. --by takes billy, billy/tdlr or /tdlr, as everywhere else (D47b).

Why

  • A maintainer deciding how much to trust an agent needs its record in one place. D47k counts accepted rows per scope, and this shows them.
  • The discovery log answers "who covered which channel" once it travels (D47m).

Alternatives

  • A bundle timeline, like git log. git log on the dataset already shows it, and bundles are not the unit people think in; changesets and sweeps are.
  • Count bundles. A graph that exported its own work never recorded those bundles, so the same log would read differently before and after a rebuild.

Consequences

  • The log is part of the round-trip proof: it reads the same from a rebuilt graph.