Expand description
AI PatchSet snapshot.
PatchSet stores one immutable candidate diff produced during a
Run.
§How to use this object
- Create one
PatchSetper candidate diff worth retaining. - Use
sequenceto preserve ordering between multiple candidates in the same run. - Attach diff artifacts, touched files, and rationale before persistence.
§How it works with other objects
Runis the canonical owner throughPatchSet.run.Evidencemay validate a specific patchset viapatchset_id.Decisionselects the chosen patchset, if any.
§How Libra should call it
Libra should use PatchSet as immutable staging history. Acceptance,
rejection, or promotion to repository commit should be represented by
Decision and Libra projections rather than by mutating the
PatchSet.
Structs§
- Patch
Set - Immutable candidate diff snapshot for one
Run. - Touched
File