Stage 10 — Policy engine
Custom policies
The IF-THEN rule engine that lets each org encode its own business rules — attendance, leave, payroll, overtime, exit, joining — without code changes.
- Categories: attendance · leave · payroll · overtime · joining · exit · shift · contract_labor · WFH · travel · compliance
- Visual rule builder for the common categories
- Versioning + rollback — every save snapshots prior rules
- Effective dating — apply from date X · retroactive option (guarded)
- Per-employee / unit / department / employment-type scoping
- Test sandbox — try a context against draft rules before saving
Full spec: docs/modules/policy-engine/BLUEPRINT.md