I use Emacs' Org Mode. It may not be exactly what you're looking for, but it is highly versatile.
Free and Open Source Software
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
Not really an application you are searching for. But a valuable tool for my passive time tracking is:
For being really useful to work with having different defined project some work is required to setup the filters but after that it works like a charm.
My only complaint with activity watch is that viewing my history or finding exactly when I worked certain tasks is not possible. I can’t historically track tasks and their start and finish times.
It is entirely possible I have missed this functionality but I haven’t seen anything to indicate it’s there
Maybe not exactly what you're looking for but
https://f-droid.org/en/packages/org.zephyrsoft.trackworktime/
I use Time Recording on mobile for this. It's not FOSS but it does everything you want, exception being not on the PC.
Have a look at kimai.org
The have a self-hosted option and apps (didn't test those though).
android only, but this app is great for time tracking. it does everything you list and much more, like individual activities that can be categorised, tags for activities, setting time goals, statistics to show time spent and streaks and so much more.
not sponsored but it really is worth a look
edit: also GPLv3 licensed
Wakatime has a rich ecosystem of plugins and integrates with most software applications (e.g. vim), and something similar might be said of project hamster. Anyway , I'd recommend timewarrior since it's what I had in the past..