Rest between shifts
Rest between shifts is the minimum gap a person must have between finishing one shift and starting the next. It is fixed by law in many places and by the workplace itself everywhere else.
Why it matters in a small workplace
A late one night and an early the next morning is an easy mistake to make and a hard one to see: both shifts are reasonable on their own, and only the gap between them is wrong.
How Weeksort handles it
A minimum rest belongs to a rule set, and rule sets are applied to people. Place somebody by hand with too short a gap and Weeksort warns you and lets you go ahead; Auto-assign never breaks it, and neither can a trade staff arrange themselves. The gap is measured inside one schedule week, so a late on its last day and an early on the first day of the next week are not caught.