Expose memory patch candidates on role results

This commit is contained in:
Meta Vens 2026-05-18 04:40:48 +01:00
commit be176ef2a2
8 changed files with 14 additions and 4 deletions

View file

@ -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")