What each department needs
Say once how many people each position needs, on which days and at which hours. Metraia drafts every week from that plan, and shows the whole building hour by hour, with open shifts flagged.
Each department has a staffing plan: a short list of rules such as “2 Cashiers, 06:00–14:00, Mon–Fri”, each naming a position, the days, the times and how many people. You edit them in place on the department’s page. Each rule, and the department as a whole, shows the staff-hours a week it comes to, so you can see where the week’s hours go.
A rule has to fall inside the hours the department is staffed, describe a shift of 16 hours or less, and not repeat another rule. A change to the plan shapes the weeks drafted from then on; weeks already drafted keep their shifts.
From the plan to the week
When a week is drafted, every rule becomes shifts: a rule for two bakers from 04:00 to 12:00 every day puts two baker shifts on each day of the week. Metraia fills them within the scheduling rules, and a shift nobody can take stays open, where everyone planning the week can see it.
Some needs are about who else is on. You can require an adult on in the same department, for the whole shift, whenever someone under 18 is working, or cap how many trainees are on at once. The draft fills every shift as if the adult will be there, then takes back the shifts of anyone left without one and fills those again with everything checked, so younger staff are not left off just because no adult had been placed yet.
After that, every change is checked for what it does to the people around it. Assigning, editing or removing a shift, or completing a swap, is refused if it would leave someone under 18 without an adult on, or warned about if the rule only warns, and the message names the hours left uncovered.
The whole building, hour by hour
Headcount is one page for the whole site, for those who may see every department’s schedule, normally senior managers and HR. For each hour of the day it shows the people scheduled in each department and in total, open shifts flagged and the current hour highlighted. For the hours that have begun, it sets clocked in against scheduled. Other days can be paged through, and a draft week shows too, marked as a draft. Without the time clock, it shows who is scheduled.
On each department’s own week, a strip above the timeline counts people per hour and flags any hour the department is staffed with nobody scheduled.
An AI assistant connected to Metraia can set needed against scheduled for any day, hour by hour and department by department, straight from the staffing plan.