When a shift spans the boundary of a rolling window, the system currently counts the entire shift if it starts within the window, even if only part of the shift actually falls inside it. This can cause rule violations to be reported incorrectly.
It should be possible to configure rolling window rules to count only the portion of a shift that genuinely overlaps with the window, rather than the full shift duration. This behavior is already supported for period rules via
periodShiftOverlapKind
, and the same option should be available for rolling window rules.