Great read, though I am compelled to comment on this ad-hoc date/time conversion:
$ date=$(python3 -c 'import datetime; print(datetime.datetime.fromtimestamp(1707074879).isoformat())')
Consider reaching for `date` from GNU coreutils instead: $ date -Is -d @1707074879
Fewer keystrokes, faster execution, and the output includes the TZ offset.