# Workflow Wiring — v0.27.0

## Standard decision path
User opens assigned task → server checks assignee/role → decision is validated → source record is updated inside a database transaction → audit event is written → relevant employee receives a notification.

## Source bindings in this checkpoint
- Employee Request
- Leave Request
- Overtime Entry
- Bonus
- Deduction
- Exit Clearance
- Loan / Advance Disbursement
- Payroll Period state transition

Reject and Return for Correction require a reason. HR/Super Admin clearance override is treated as an exception and requires an override reason.

## Payroll state rules
DRAFT → REVIEWED → APPROVED → LOCKED.
Locked payroll cannot be recalculated. Authorized UNLOCK returns it to APPROVED and requires a reason, which is audited.
