N NoBullshit.wiki 中文

Courier station scheduling supervisor - wave-staffing roster generation and validation tool, single file - hand-built rosters carry three diseases: waves left uncovered, evening peaks left undermanned, back-to-back shifts nobody totals; the tool takes the wave timetable, hourly staffing minimums, the staff list with skill tags, and hour constraints, and outputs the roster plus a validation report: wave-coverage gaps, peak-staffing shortfalls, overlap warnings, consecutive-hours and weekly-hours violations, and skill gaps; a sandbox recalculates live with every swap; parameters stay blank, performance data stays out, and no auto-optimized roster - people schedule, the tool validates, the accountability chain stays with the supervisor

Works with:Claude / GPT-4 classCategories:Courier StationLevel:Advanced Updated

You are a coding agent building an internal tool for a courier
station. Build a single-file HTML tool (HTML, CSS, and JS all
inline; no external dependencies, no network requests; opens
in a browser on double-click) for the scheduling supervisor to
build wave staffing rosters and validate them. Core stance:
station scheduling is a twin-peak problem - arrival waves and
the evening pickup peak compete for the same hands; hand-built
rosters carry three diseases: waves left uncovered, evening
peaks left undermanned, back-to-back hours nobody totals; the
tool's job is turning those three diseases into numbers you
can see, while the scheduling decision stays with the supervi-
sor.

Input areas (all manual entry, saveable and exportable):
A. Wave timetable: each day's arrival-wave time windows and
   expected volume class (large / medium / small)
B. Hourly staffing minimums: minimum heads per evening pickup-
   peak hour (pickup counter and shipping post listed sepa-
   rately)
C. Staff list: name / available windows (multiple windows per
   day allowed) / skill tags (scanning, entry, shipping-and-
   cashier - multi-select) / weekly available-hour cap
D. Constraint parameters (all blank for self-entry, no de-
   faults pre-filled):
   - Wave minimum heads: fewest sorters per wave window
   - Consecutive-hours cap: hours before a break is mandatory
   - Peak-overlap yield rule: when a wave and the pickup peak
     overlap, which side gets priority hands

Calculation and output:
1. Roster view: a day-x-hour grid showing names and counts per
   post
2. Validation report (the tool's core output):
   - Wave coverage: sorters per wave window against the mini-
     mum - gaps in red with the windows listed
   - Peak staffing: heads per pickup-peak hour against the
     minimum - shortfalls in red
   - Overlap warnings: wave-and-peak overlap windows flagged
     with whether the yield rule was followed
   - Hours check: consecutive-hour violations and weekly-cap
     breaches, listed per person
   - Skill gaps: any window where nobody on shift can run en-
     try or shipping - flagged yellow
3. Adjustment sandbox: the supervisor manually changes any
   shift (swap a person, add or trim a window) and the valida-
   tion report recalculates live - change one thing, see every
   consequence

Usage boundaries (in the tool's page footer):
- The tool schedules shifts and validates; it never rates em-
   ployees and never generates an "optimal roster" - when an
   auto plan errs, nobody owns the error
- On a red-line trigger the tool offers the supervisor three
   fixed directions: move a shift window, adjust the yield
   rule, activate elastic staffing - it never names "who
   works too little"
- Data stays in the local browser; nothing uploads

Prohibitions:
- No parameter is pre-filled with a "suggested value" - every
   station's wave and peak structure differs, and pre-fills
   get read as authoritative defaults
- No inputs for employee performance or fault history - once a
   roster tool ingests disciplinary records, the roster be-
   comes a ledger, and nobody volunteers true availability
   windows anymore
- The validation report contains no characterizations of em-
   ployees (lazy, uncooperative) - numbers and rule names only

Why it is written this way

The validation items map one-to-one onto the three diseases of hand-built rosters, which is the tool's reason to exist. Waves left uncovered - not because the supervisor forgets waves matter, but because wave windows and shift windows live on two different clocks no head can align; evening peaks undermanned - the minimum heads for peak is a static number that silently breaks the moment the roster moves; back-to-back hours - cross-day consecutive totals are simply un-computable by hand. Three checks turn three "nobody totals this" into automatic totals; the tool's value is not scheduling cleverly but watching reliably.

The peak-overlap yield rule as a parameter rather than a built-in default reflects station scheduling's realest dilemma. Wave arrivals are rigid (trucks don't wait), the pickup peak is rigid (customers don't wait), and which side gets hands during overlap has no standard answer - volume mix, fine costs, and customer patience differ by store. Building in a default decides for every store at once; leaving it blank forces the supervisor to write the rule down, promoting it from "what I improvised that day" to "this store's standing policy" - and only written rules can be validated.

The sandbox is the tool's most plain and most useful part. Scheduling is iterative: swap one person, slide one window, and the change ripples through coverage, staffing, hours, and skills. By hand, the blast radius of one edit is invisible - you fix it and wait to see what breaks; the sandbox recalculates live, putting each move's price on display. Three draft versions tested before publishing is how the tool converts "scheduling by feel" into "scheduling by comparison."

Banning performance and fault data guards the honesty of the inputs. The moment a roster tool ingests "who lost a parcel last month," its inputs become disciplinary evidence - and staff start gaming their availability entries (hiding windows, dodging peaks), corrupting the data source. The tool knows three things about each person: windows, skills, hour caps. It doesn't know who performs well - only which window is short-handed, which is exactly all a schedule needs.

Variables

Variable Description
Wave minimum heads Fewest sorters per wave - set by volume class, raised separately before festivals
Consecutive-hours cap Hours before a mandatory break - per the store's shift structure and local working-time rules
Peak-overlap yield rule During overlap, waves or pickup first - written down and posted in the roster notes, visible to everyone

roster-toolsingle-file-toolcoverage-validation