Thanks for the detailed logs. I’ve shared the infinite loop bug in metrics collection with the team. It’s a regression in 2.4.x.
Right now there’s only one workaround: use Ask or Agent mode instead of Plan mode. The issue doesn’t trigger there.
As soon as there’s a fix, we’ll update the thread. Sorry for the inconvenience. Plan mode is indeed broken in your case.