Identifying the red line of tasks that meant the difference between a bonus and a lawsuit.