Refactoring
Extracting a method, inlining a wrapper, making a parameter non-null, reordering arguments, making something async — every one of these reads clean and breaks on a caller nobody checked: a side effect, a null someone's already passing, an override that inherited the old behavior, an assumption about when things happen.
Ask it. Watch the call.
Give the agent a ticket, the way you already do. It resolves the names on its own, and that is where it guesses. Switch Niro off and it works from the open files. Switch Niro on and you watch it call Niro, read the result, and answer from that.
Now ask it about your code
Paste this into the assistant you connected to Niro:
Before I refactor this, what relies on it?