Skip to main content

Module transaction

Module transaction 

Source
Expand description

EditTransaction — the one and only way a buffer changes (ARCHITECTURE.md §8).

Every mutation, whoever authored it, is stamped with the buffer revision it was written against. That stamp is what makes agent diff-review safe: a proposal authored at version N can be carried forward through whatever the human typed since, instead of being written blind over their work.

Structs§

EditTransaction
A change to one buffer, stamped with the revision it was authored against.
UndoGroupId
Groups transactions that undo together (ADR-0006 §6).
Version
Monotonic buffer revision. Bumps on every applied transaction.

Enums§

EditSource
Where an edit came from. Agent carries the ProposalId so accepted agent edits stay traceable through undo history and review.