@alexander-cleary,
I'm trying to reproduce the problem myself. I setup my Windows laptop the same way - to not go to sleep when I close the lid (while plugged in to AC power). Hopefully I can reproduce the problem you see. I'll know in about an hour. So far I know it's working because I see the "Command ran" entries in the runs list.
Also if you haven't already done it, could you see whether leaving the lid open makes a difference?
EDIT:
I waited more than an hour and the TRIGGERcmd agent on my laptop is still responding.
f7c92b55-e3a6-4787-9219-9e280cb52f4a-image.png
My laptop is Windows 10. Is yours Windows 11 by chance?