Leave tracking with team approvals, working-day balances, holidays, and overlap warnings
leave-tracking · 3600 s per turn · source
The ask
We're a 40-person company and I want leave requests out of email and into one place, with a dashboard. Attached are our staff list with departments, managers, and each person's remaining annual leave, the requests already booked this year, and our holiday calendar; the staff list still includes people who have left. Staff ask for time off, their manager approves it, and approved annual leave comes off the person's balance counting working days only, so weekends and our holidays don't count. When someone asks for days a teammate is already off, warn whoever is approving. Managers see and approve only their own team's requests, payroll needs to see everything without changing anything, and I handle users and settings; give me an admin login and a login for Grace Oduya, who manages Customer Support.
Seed files the agent must import: staff.csv</code>, <code>leave_requests.csv</code>, <code>holidays.csv. The agent must leave a RESULT.json with a reachable URL, an admin login, and the named restricted login.
Acceptance checklist
26 binary items. The first 14 are the enterprise baseline shared by every build task (delivery, invitations, roles, server-side authorization, scoped live dashboard, exact lists and exports, audit metadata, validation, persistence); the rest are application-specific. Core items, which together define "first usable": 1, 3, 5, 6, 8, 14, 15, 22, 23.
| Tag | Items |
|---|---|
| Exact | 10 |
| Permission | 3 |
| Automation | 2 |
| Dashboard | 2 |
| Delivery | 2 |
| Rule | 2 |
| Sharing | 2 |
| API | 1 |
| Audit | 1 |
| Persistence | 1 |
The full checklist with per-item "how to check" instructions and expected figures is in checklist.md. Testers see it; the agent never does.
Change requests
Each change is a new one-shot turn on the carried-forward workspace. Only the owner's text below is sent; the tester items are withheld. After each change the full checklist is rerun, so regressions count.
Change 1 · 3 new checklist items
Give me a who's-off view: pick a day or a date range and see who is on approved leave each day, grouped by department, so I can see gaps coming.
Change 2 · 3 new checklist items
Don't let anyone book more annual leave than they have left, and count requests still waiting for approval against what they have. Sick and unpaid leave aren't limited.
Change 3 · 3 new checklist items
Anything longer than 10 working days needs HR to sign off after the manager approves; the manager's approval alone isn't enough for those. Ten days or fewer stays as it is.
No published score. Build runs need a human acceptance pass on a live URL, and no arm has completed one for the full set. Automated probes generate a tester sheet; they do not substitute for it. Results will be published as a separately labeled release when an arm completes.