Add fixed Eyes research lane

This commit is contained in:
Meta Vens 2026-05-30 01:02:16 +01:00
commit 2b3b446489
31 changed files with 593 additions and 57 deletions

View file

@ -102,6 +102,17 @@ pub fn build_role_acceptance_update(
}
patch
}
EpiphanyRoleResultRoleId::Research => {
let patch = parse_core_role_finding_state_patch(finding)?;
let patch_errors = epiphany_core::research_role_state_patch_policy_errors(&patch);
if !patch_errors.is_empty() {
return Err(format!(
"research role state patch is not acceptable: {}",
patch_errors.join("; ")
));
}
patch
}
EpiphanyRoleResultRoleId::Verification => EpiphanyRoleStatePatchDocument::default(),
EpiphanyRoleResultRoleId::Implementation | EpiphanyRoleResultRoleId::Reorientation => {
return Err(format!(