pub fn replace_annotations(
plan: EditPlan,
annotations: &PlanAnnotations,
) -> Result<EditPlan, PlanError>Expand description
Replaces legacy edit-plan evidence while preserving frozen edit fields.
Reads plan.extensions through detach_annotations, so the same
declared-only decode caveat applies.