I’ve employed people before who eroded my trust in them. I either fired them or nudged them to find a new job, depending on the severity of the thing they did to make me not trust them.
Sometimes the unions/courts require a company to document incompetence for a certain number of months before being able to let a person go.
I don't agree with these requirements, but can see how they could incentivize surveillance apps.
https://tvtropes.org/pmwiki/pmwiki.php/Main/ThePowerOfFriend...
Your one employee betraying your trust does not justify treating the rest of your employees this way
With programmers in particular it's painfully obvious if they work or not. You are expending tons of unnecessary (human) energy to maybe scoop 5-10% more productivity. It's not worth it.
There are also a lot of people who work better (and more!) when they feel free.
I mean, you do you of course, but consider that you're only surrounding yourself with one kind of people and are missing out on everybody else -- and no, they are not slackers.
When your employees bring a WFH device into their home, and your spyware collects metadata on their keystrokes, you are in violation of federal wiretapping law as you are collecting metadata from within their private home network and exfiltrating it through connections not initiated by the employee and without their consent or notification.
By law you must indicate to your employees that you collect metadata on their keystrokes (under privacy laws, this is still just private information in aggregate). Every time one of your employees enters private information or logs into their bank on their WFH device, and you log your metadata on these keypresses, you are committing another felony. Even the DoD has to provide a warning every time you log into a DoD system describing the surveillance being used on the device.
Depending on your employees' locations, this may also be a GDPR violation.
There are also numerous export control laws governing surveillance software that you may or may not be in violation of depending on your location. This is why obtaining this kind of software is difficult, especially in the EU.
People like you should be afraid, not your employees.