Your contractor is responsible for ensuring the roof passes all required inspections and adheres to local building codes.