Documentation / 02
Rotation rules
Rules turn one good week into a sequence you can read ahead. Each rule has a single job.
Cycle and anchor
A cycle is the number of weeks before a pattern starts again. An anchor is the week from which counting begins. Change the anchor and every later week shifts with it; change the cycle and the rhythm itself changes.
Direction and offset
Direction says whether posts move forward or backward through the sequence. Offset gives each post its own starting point, so the desk and the support line are never on the same state unless that is intended.
Rest and night limits
A rest rule states the fewest hours allowed between the end of one shift and the start of the next. A night limit states how many night shifts may occur in a row. Both are shown as prompts beside the affected cell.
Cycle: 4 weeks Anchor: Week 12 Direction: forward Post offset: 0, 1, 2, 3 Minimum rest: 11 hours Maximum consecutive nights: 3
Holiday weeks
A holiday can keep the ordinary pattern, become a rest day, or use a shorter shape. Marking the choice on the week keeps later cycles predictable.
The worked examples in Getting started use the same states, so a rule can be read against a real row.