Replies to artifact comments can be turned into find/replace edits, with one retry if an edit misses.
A patch applier with retry and failure reasons is built, reachable only via the artifact-comments autoreact feature whose gate is unresolved.
What's wrong with this entry?
A new applier turns a model reply to an artifact comment into a list of find/replace edits against the artifact content, with a single retry when an edit does not land.
- Walks a list of
{find, replace}edits and fails with a reason of "malformed", "not_found", "ambiguous" (the find text occurs twice) or "noop". - On the first not_found or ambiguous failure it re-prompts the model once, echoing the offending find text inside fenced DATA and telling it the text "occurs more than once at the point that edit applies (the source as modified by the preceding edits)".
- Outcomes are reported as
edit_patch_apply_failed,edit_patch_retry_fired,patch_retry_echo_refusedandstopped_before_patch_retry. - Reachable only through the surrounding artifact-comments autoreact feature, whose gate could not be resolved in this build.
occurs more than once at the point that edit applies (the source as modified by the preceding edits)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.