Status: Accepted (in force). Verified live 2026-07-20.
Manual-only discipline scales poorly: HR can't watch every employee for repeated minor infractions (three late arrivals, five dress-code breaches). Companies want "after N of these, escalate" to happen consistently, without relying on a manager remembering to act.
Make thresholds first-class and automated. A ViolationPolicy carries HasThreshold + ViolationCount (N) + ViolationActionId. When an employee accumulates N violations of the policy's type, the System raises an EmployeeViolationTrigger proposing the policy's action (with an Amount for deductions). Such violations carry EmployeeViolationSource = System (vs Employee for manual ones).
Crucially, the trigger lands at status New and awaits human review — approval executes the action. The automation proposes; it does not punish unilaterally.
Live in the demo tenant: the Triggers screen showed auto-raised Probation and Deduction rows at status New, and the source enum distinguishes System from Employee.
Good:
New gate keeps a person in the loop before pay/status is affected — important for fairness and legality.Bad / costs:
New trigger is not a bug or an unactioned punishment — it's the design.Source; a System violation has no "recorded by" person.ViolationCount changes who gets flagged, with no obvious error.New triggers as a review queue, not incidents.