Does contextPruning in agents.defaults apply to isolated heartbeat sessions, or only to the main (telegram) session?
I manually prune and see my heartbeat session increase 2K per heartbeat continously even with "keepLastAssistants": 6.
Maybe to put it another way, my simple heartbeats grow the session to 128K tokens over time which is quite expensive with sonnet. I'd hoped contextpruning and cache-ttl would limit this to base+12K