pub fn transcript_retention_days(extra: &HashMap<String, Value>) -> u32Expand description
The cleanupPeriodDays AgentMux seeds, from the live settings.
The flag is history:sessionfilesweep, which stays off until the history
migration has proved every session and turns it on. Off: 36500, Claude’s
sweep never deletes. On: the idle limit + 30 days (31 to 60), so the sweep is a
backstop behind AgentMux’s own removal. Lowering it earlier would let the
sweep delete files the store does not yet hold.