[BUG] Unexpected read index errors
The tool seems to self-recover - but these look worth looking into.
Any steps to reproduce?
This happens to me when doing refactoring/larger amounts of code.
My workaround is to type:
after removing lines, ensure you adjust the start line of your next read
We should probably add to both the fs_write and fs_read tools a description of the effects of adding/removing/editing lines and that line numbers will adjust, and have it take into account both added and removed lines.
We could also have the results of the fs_write tool including the number of lines added/removed and where, to help the LLM understand how the files are moving around.