- Treat zero/negative durations (0s, -5m) as invalid: fall through to the warning
and default instead of silently returning nil.
- Guard the legacy bare-integer minutes path against time.Duration overflow via
strconv.ParseInt bounded by maxInactivityMinutes.
- Extend TestInactivityThresholdEnv with overflow/boundary cases and assert the
warning is emitted for invalid values.