fix(anthropic): exclude sibling directories from grep search scope (#39681)