fix: remove misleading hint from replace pos-only description
The hint '(MOST COMMON for single-line edits)' misleads agents into thinking pos-only replace is the default behavior. When agents want to replace multiple lines but only specify pos without end, the tool only replaces one line, causing duplicate code from retained lines.
This commit is contained in:
@@ -34,7 +34,7 @@ FILE CREATION:
|
||||
CRITICAL: only unanchored append/prepend can create a missing file.
|
||||
|
||||
OPERATION CHOICE:
|
||||
replace with pos only -> replace one line at pos (MOST COMMON for single-line edits)
|
||||
replace with pos only -> replace one line at pos
|
||||
replace with pos+end -> replace ENTIRE range pos..end as a block (ranges MUST NOT overlap across edits)
|
||||
append with pos/end anchor -> insert after that anchor
|
||||
prepend with pos/end anchor -> insert before that anchor
|
||||
|
||||
Reference in New Issue
Block a user