Which clean a room gets
Checkout, stay-over full or light, turndown, deep clean — the kinds of visit, their targets, and the rules that decide.
Every morning the night audit gives each room the visit it is owed. Which one is decided by rules the hotel writes, in order of priority, over the facts about the room that day.
The kinds of visit are under *Housekeeping setup → Service types*: checkout clean, stay-over full, stay-over light, touch-up, deep clean, turndown, VIP, long-stay, day-use, vacant refresh, post-maintenance, emergency, group, eco, and *no service today*. Each has a target time in minutes; the summary of every clean shows actual against target. Rename them, retire the ones you do not use, add your own. A turndown or a touch-up does not make a dirty room clean; the others do.
A rule is a sentence: *when* these things are true *give* this visit. The things a rule can ask about: occupied or vacant; arriving or departing today; room type; status; nights booked (at least, at most); which night of the stay this is, or every Nth night; nights remaining; rate plan; source; a group, a company or an agent booking; a flag on the room (VIP, extra bed…); days since it was last cleaned; weekday; people in the room.
Two rules are built in: a vacant dirty room gets a checkout clean; an occupied room gets a full clean. Yours outrank them. Examples: *occupied, 4 nights or more, every 2nd night → light clean*; *occupied, VIP flag → VIP clean*; *occupied, rate plan LONGSTAY, night 1 to 6 → no service today*; *occupied, days since clean 7 or more → deep clean*.
See what the rules would do before the night: the setup screen shows every room and the visit it would get today, with the rule that decided.
A supervisor can override any room's visit before it starts, and has to say why. The story records the rule, the override and the reason.