Recently, when i ask composer to do some change that will touch a few files, the AI response contains something like
// … (rest of the component)
{/* … (other navigation items) */}
// … (existing JSX)
when diff sees that it omits all the code matching this position, I had either to do the change manually, or deal with the consonances of the diff.
You need to enhance your prompting to the AI to avoid this pitfall