Why Every AI-Assisted Code Change Needs a Separate Provenance Record
An audit trail for AI-assisted changes should identify the actor, the inputs, and the approver, but chat transcripts usually omit model version, inputs, and approval details. The article proposes the W3C PROV-DM vocabulary, which links activities, entities, and responsible agents to reconstruct how a change was produced. It argues provenance should be append-only, written by a separate service rather than the assistant itself, and should persist beyond model changes. Each change should carry a stable identifier, with the writer handling deduplication and blocking merges if the record cannot be stored, while unknown model versions are logged as unknown rather than dropped. The author recommends testing whether a merged change can be reconstructed from its record alone, starting with the approval identifier.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in