Check that an edit's old-string occurs exactly once in a file, with match contexts
https://agents.writerslogic.com/api/v1/edit-anchor-checkOverview
Counts how many times an old-string occurs in a supplied file text (as a replace-in-file tool would see it) and returns each match's offset, line, column and surrounding lines, for an agent about to issue an edit. pass: exactly one literal match, even counting overlapping ones. unknown: several matches, or one match that overlaps another occurrence of the same text (ambiguous; contexts show how to extend the string). fail: no literal match; the response then reports whitespac