Instead of the daily progress always being scoped on the active sesson, let the user pick a scope, e.g. have the daily goal scope an event. Also let user scope agent contracts, but the user needs to give a time frame for this to work.
This will also change the history entries when the option "Scoped history" is active