Please, your employer captures everything you produce for your work. They have your screenshots, emails, chats, git history, Zoom call transcripts, and everything else. You signed off on it too. So save me the "this is ethical" crap. Actually it is ethical because it is much closer to being a blind and unbiased way of gauging utility.
This is only possible because they broke the power of labor unions. Nothing you've said convinces me that it would be unbiased or even measuring something real, in which case totally arbitrary decisions made by machine would be denying people access to basic necessities under our economic system.