upvote
The issue is when the file changed between when the LLM read the file and when it wrote to the file. Just using line numbers will clobber a file if that happens. The hashes prevent that from being an issue.
reply
Point taken.
reply
it starts writing to the wrong part of the file after multiple edits.
reply