{"id":"pro-mgr-warehouse-swap-requests","audience":"managers","category":"planning","technique":"constraints","title":"Approve or deny shift swaps using the warehouse rules","free":false,"task":"You supervise a warehouse shift and have four shift swap requests to answer. You want exactly 4 numbered lines, one per request, each as names - Approve or Deny - reason under 8 words, under 60 words, plain text. Apply the two rules in your notes (overtime limit and a certified forklift driver on every shift), using the hours each person is already scheduled. Write a prompt that gets you exactly that.","materialLabel":"Requests and rules (attached to your prompt automatically)","material":"Shift swap requests - week of Dec 8 - Overland Distribution, Dock B\n\nRules:\n1. No swap can put anyone over 40 scheduled hours that week.\n2. Every shift must keep at least one forklift-certified driver.\n\nScheduled hours this week (before swaps), all shifts are 8 hrs:\n- Aaron: 32 hrs (forklift certified)\n- Bree: 40 hrs\n- Chen: 24 hrs (forklift certified)\n- Dina: 32 hrs\n- Eli: 40 hrs (forklift certified)\n\nRequests:\nA. Bree gives her Tue shift to Dina. (Tue: Bree is the only person on that shift besides Eli, who is certified)\nB. Aaron gives his Wed shift to Bree. (Aaron is the only certified driver on Wed)\nC. Chen gives his Thu shift to Eli. (Thu: Chen is the only certified driver)\nD. Dina gives her Fri shift to Chen. (Fri: Aaron also works, certified)\n\nNote: holiday party Dec 19. New pallet jacks arrive Wednesday.","rules":[{"type":"numberedItems","count":4},{"type":"maxWords","max":60},{"type":"plainText"}],"mistakes":[{"title":"Not doing the hours math","why":"The AI approves swaps without checking who goes over 40.","fix":"Add: \"Check each person's hours after the swap: no one over 40.\"","checks":["r1","r2"]},{"title":"Forgetting the forklift rule","why":"The AI approves a swap that leaves a shift with no certified driver.","fix":"Add: \"Every shift needs a forklift-certified driver.\"","checks":["r1"]},{"title":"Dropping the reasons","why":"The AI says approve or deny without why, and staff push back.","fix":"Add: \"Give a reason under 8 words.\"","checks":["r0","r2"]},{"title":"Letting the AI pick the layout","why":"The AI writes a table with all the hours math.","fix":"Be exact: \"Exactly 4 numbered lines like '1. Bree to Dina - Approve - Dina at 40 hrs'. Plain text.\"","checks":["numberedItems","plainText"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting. Ask for \"under 60 words\" and it often lands well over.","fix":"Cap each part instead: \"each line under 10 words.\"","checks":["maxWords"]}],"promptHints":[{"label":"Says how many lines","patterns":["\\b(4|four)\\b"]},{"label":"States the hours rule","patterns":["40 (scheduled )?hours","over 40","overtime"]},{"label":"States the forklift rule","patterns":["forklift","certified"]},{"label":"Asks for reasons","patterns":["reason","why"]},{"label":"Shows the line shape","patterns":["approve or deny","approve","like ['\"]"]}],"hint":"Swaps have to pass both rules. Tell the AI to check hours after each swap and the forklift coverage, and to give a short reason.","rubricLabels":["Request A (Bree to Dina) is approved: Dina goes to 40 hours and Eli keeps Tuesday certified","Request B is denied (Bree would go to 48 hours and Wednesday loses its only certified driver) and Request C is denied (Eli would go to 48 hours)","Request D (Dina to Chen) is approved (Chen goes to 32 hours, Aaron still certified on Friday), each line gives a short reason, and nothing extra is added"]}