Version 1.0 · 15 Aug 2026 · PaidHR

Companion: engineering-plan.md · Basis: GACN BRD + verified code study of origin/staging, the stored-procedure dump and the running dev tenant.

GACN's ten leave requirements split three ways. Three we have and need only interface work. Six we build. One — approval paths that differ per leave type — reads as "we have it" but does not, and is called out below rather than discovered in UAT.

Underneath sits a remediation track. A verified study found 22 defects, including a proven way for an employee to inflate their own leave balance. Several V2 capabilities cannot be built safely until it lands.


1. Scope at a glance

GACN requirement Disposition What that means
Leave request (ESS) Enhance Submission, type, dates, documents and entitlement checks exist. Interface refresh, plus server-side enforcement of rules currently checked only in the browser.
Leave approval Enhance Multi-level chains and "not approved until every stage completes" are real. Per-leave-type paths are not — see §2.2.
Leave notifications Enhance Submitted / approved / declined / reliever exist. Extend to cancelled, returned for correction, extension raised.
Leave calendar Build No calendar exists. New, with employee / team / division / company tiers.
Annual leave planning Build New. Tentative periods, divisional roster, coordination, conversion to a formal request.
Team overlap visibility Build New, surfaced in the calendar and at approval, with a resolution flow.
Cancellation / modification Build New. No cancellation concept exists anywhere in the product today.
Leave extension Build New. Modelled as a linked request so it inherits validation and approval.
Leave reports Build Two of seven exist. Five new reports in the reporting module.
Balance calculation Enhance Entitlement, accrual and carry-over machinery exists but mis-applies entitlement. See §5.

2. What we confirm today

2.1 Leave request — confirmed, with two caveats

An employee raises leave from self-service, picks a policy and date range, nominates a reliever, and attaches a document. The system reads entitlement for that policy and refuses a request longer than the balance. Working days come from the company working-week setting and the holiday calendar, so weekends and public holidays are not charged.

2.2 Leave approval — confirmed, except the part GACN asked for

Chains are real and ordered. A request records how many steps its workflow has and how many reviews it has collected, and is marked Approved only when the final step completes — so "prevent a leave request from being treated as fully approved until all required approval stages have been completed" is satisfied today.

⚠️ Gap to raise with GACN now. Chains are configured per workflow category, and all leave shares one category with time tracking. Every leave type therefore follows the same path. GACN's requirement — "Different leave types should be capable of following different approval paths" — is not met, and their process needs it: annual leave stops at the divisional GM, while some leave requires GM Corporate Services. This is a build, specified as AP-01…AP-06.

Also absent: no escalation, no delegation, no reminder cadence. Decided: explicitly out of scope for V2. Recorded so GACN treats it as a known limitation. The Pending Leave report (RP-03) is the mitigation — it shows each request's current holder and days waiting, so chasing is manual but supported.

2.3 Leave notifications — confirmed

Emails fire on submission (to the next approver), approval and decline (to the employee), and to a nominated reliever. Routing uses a configurable rule engine keyed on request type and workflow stage, so HR stakeholders can be added to any stage without code. V2 adds notifications for the states V2 introduces (NT-01…NT-04).


3. New capabilities