Status: Observed (in force). 2026-07-20.
Context
Task.md lists Disciplinary as "policies, suspensions, exemptions." But "exemption" in this code area means three unrelated things, and only two of them are about discipline. Conflating them leads to wrong support answers and wrong code.
The three exemptions
| Exemption |
Entity |
Frees someone from |
Disciplinary? |
| Policy exemption |
ViolationPolicyExemption |
Being flagged under a specific violation policy |
✅ yes |
| Payroll exemption |
PayrollExemption |
Inclusion in a payroll run (e.g. during suspension) |
✅ (payroll-adjacent) |
| Milestone-email exemption |
MilestoneEmailExemption |
Anniversary/milestone emails |
❌ no — an email preference |
The third has its own controller and service (Employee/MileStoneEmailExemptionsController, 3 endpoints; MileStoneEmailExemptionsService, 102 lines) and is really a communications preference that happens to live in the disciplinary code area.
Consequences
Good:
- Each exemption is a clean, single-purpose table — easy to reason about individually.
- Policy exemptions surface usefully in the UI (the Policies list shows per-policy counts, e.g. "17 employees exempted").
Bad / costs:
- The shared word misleads. "Is this person exempt?" is ambiguous — from a policy? a payroll run? emails? A support agent or engineer can answer the wrong question.
- Milestone-email exemption is mis-filed conceptually — it's a comms preference, not discipline, yet it sits under the disciplinary umbrella in the task framing and partly in code.
- Reporting that says "exemptions: N" without qualifying which kind is meaningless.
Guidance
- Always qualify: policy exemption vs payroll exemption vs milestone-email exemption.
- Only the first two are disciplinary; route milestone-email questions to communications/preferences.
- When adding an "exemption" feature, be explicit about which of the three (or a new fourth) you mean.
Related
business §7 · technical §6 · glossary