# Design Spec: Filling a Labor Request | | | | :-- | :-- | | **Version** | 1.2 | | **Author** | Latimer Gray, Product Design | | **Status** | Ready for build | | **Area** | Projects & Scheduling → Assignments | > Portfolio sample. Reconstructed from the shipped design, with names and details changed. **Abstract.** How a workforce manager fills an open labor request by assigning workers. Covers candidate matching, assigning, conflicts and partial fills. Splitting, moving and change requests have their own specs. Visual detail belongs to the design system. --- ## 1. User roles **Workforce manager.** Fills requests all day, usually several projects at once. Needs to see who fits and who's free without leaving the request. Accountable if a crew shows up short or someone is double-booked. **Project manager.** Requests labor for their project. Doesn't assign people, but needs to know when a request is filled and who's coming. **Worker.** The person being assigned. Needs to know where, when and for how long, with no surprises about overlapping jobs. **Executive.** Doesn't assign. Reads utilization and open demand across projects. --- ## 2. Objects **Labor request.** A project's need for a number of workers in one trade. | Dimension | Notes | | :-- | :-- | | Trade | Ironworker, Electrician, General labor... | | Project & site | One per request | | Dates & shift | "Jun 2 – Jun 27 · 8h/day · Mon–Fri" | | Slots | Number of workers needed, e.g. 2 | | Priority | P1–P4 | | Requirements | Certs or skills, e.g. rigging cert | | Requested by | PM name and date | **Candidate.** A worker shown as a possible fit, with a match score, distance, certs and availability: **Available**, **Partially available** or **Conflict**. **Assignment.** One worker filling one slot on one request for a date range. **Request status:** Open → Partially filled → Filled. Vocabulary: say **request**, not ticket or order. Say **assign**, not book or staff. --- ## 3. Behavioral rules | From | Action | Result | | :-- | :-- | :-- | | Open | Manager assigns an available candidate | Inline confirm in the card, then the slot is filled | | Open | Manager assigns a candidate with a conflict | Inline warning; "Assign anyway" required | | Partially filled | Last open slot is filled | Request becomes Filled; PM is notified | | Filled | Manager unassigns a worker | Request returns to Partially filled | - Candidates are ranked by match score. Conflicts are shown, never hidden. - A conflict can be overridden. The override is flagged on **both** requests. - Confirmation happens inside the candidate card, not in a modal, so the list stays in view. ### Messages | Trigger | Response | Copy | | :-- | :-- | :-- | | Assign, no conflict | Confirm | "Fills 1 of 2 slots · 1 will remain open" | | Assign, conflict | Warn + override | "Double-books Gary for 4 days · flagged on both requests" | | Partially available | Inform | "Partially available" + the overlapping dates | --- ## 4. Assumptions - We're assuming managers fill requests from a desktop. Field supervisors may need mobile later. - We're assuming match score is trusted enough to set the default sort. Needs validating in UAT. ## 5. TBDs - **TBD:** Does the worker confirm an assignment, or is it final when the manager assigns? Depends on ops input. - **TBD:** Should high-priority requests let managers bump a worker off a lower-priority job? ## 6. Design rationale - **Overrides, not hard blocks.** Real crews flex. Blocking every conflict would push managers back to spreadsheets. Flagging both requests keeps it accountable. - **Inline confirm.** Managers assign several people in a row. A modal would hide the list they're comparing.