![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
OP: not only was this a great solve, you wrote this very well.
If you haven’t already, I’d do a RCA for your company and send it to your manager and manager’s manager.
And keep a copy for yourself.
There aren’t many engineers that can code and write well.
Revert the code and claim credit for it again. 😜