[Unit] Description=Periodic enrolment sweep for the agent session ledger [Timer] # The interval bounds idle-time resolution for runtimes with no transcript: activity for # those is proven by CPU-tick growth between two sweeps. claude is exact regardless — its # idle time comes from transcript mtime. A full sweep measures 0.24-0.54s end to end and # grows with the ledger, so 20s costs a few percent of one core; tightening further buys # resolution nobody reads and load this laptop feels. OnBootSec=30s OnUnitActiveSec=20s Unit=agent-session-sweep.service [Install] WantedBy=timers.target