RemediationProposalBody
¶
Source code in docs_src/capo_continuum/types/remediation_proposal_body.py
filename
instance-attribute
¶
filename: NotRequired[ArtifactCitation]
Filename the producer suggests for the patch, when it named one.
format
instance-attribute
¶
format: NotRequired[PatchFormat]
The patch's wire format, which determines how to apply it. Absent when the producer recorded a format with no mapping yet.
patch
instance-attribute
¶
patch: IssueArtifactContent
The patch exactly as the remediation agent produced it, unmodified.
patch_sha256
instance-attribute
¶
patch_sha256: NotRequired[ArtifactSha256]
SHA-256 of the patch bytes in lowercase hex, as recorded by the producer. Lets a caller confirm the patch it applies is byte-for-byte the one that was reviewed. Computed over the patch bytes, so it is verifiable against patch without trusting this value.