Get overlooked code violations fixed

If it's a new home, the builder may be responsible

DEAR BARRY: Last year, we purchased a newly built home. Before closing we hired a home inspector, and no defects were reported. But now we’ve learned that there were code violations. How could the house be sold if it didn’t meet code, and why weren’t these things found by the home inspector or the city building inspector? How do we find out who did the code inspections during the building process? What do we do next? –Sandy

DEAR SANDY: Without knowing the nature of the code violations, it is hard to say why these defects escaped the attention of the home inspector and the city building inspector. But here are some general perspectives.