Expose memory patch candidates on role results
This commit is contained in:
parent
b56ed4a75d
commit
be176ef2a2
8 changed files with 14 additions and 4 deletions
|
|
@ -54,6 +54,7 @@ pub fn map_protocol_role_finding(
|
|||
evidence_gaps: finding.evidence_gaps,
|
||||
risks: finding.risks,
|
||||
state_patch,
|
||||
memory_patch_candidates: finding.memory_patch_candidates,
|
||||
self_patch: finding.self_patch.map(|patch| {
|
||||
serde_json::to_value(patch)
|
||||
.expect("AgentSelfPatch is a serializable protocol projection")
|
||||
|
|
|
|||
Reference in a new issue