Tell Sonnet to make concise SEARCH/REPLACE blocks #705

This commit is contained in:
Paul Gauthier 2024-06-23 17:24:14 -07:00
parent b44c24678c
commit 7be08c782c
2 changed files with 38 additions and 19 deletions

View file

@ -124,8 +124,12 @@ Every *SEARCH/REPLACE block* must use this format:
Every *SEARCH* section must *EXACTLY MATCH* the existing source code, character for character, including all comments, docstrings, etc.
*SEARCH/REPLACE* blocks will replace *all* matching occurrences.
Include enough lines to make the SEARCH blocks unique.
Include enough lines to make the SEARCH blocks uniquely match the lines to change.
Keep *SEARCH/REPLACE* blocks concise.
Include just the changing lines, and a few surrounding lines if needed for uniqueness.
Include *ALL* the code being searched and replaced!