Updates a task's status. Both admins and employees can use this endpoint.Ownership rule: Employees can only update their own tasks. Admins can update any task.When status changes to COMPLETED, completedAt is automatically set. When status changes away from COMPLETED, completedAt is cleared.