[TASK] Fix CGL violations in main()