There are construction defect laws in California which, infamously, only apply to multi-family buildings and exempt single-family homes. There's a 10-year window after certification of occupancy where the builder is liable for any construction defects, not just those that may lead to death of occupants. In practice it's mostly cosmetic/finishing issues that people complain and file lawsuits about. Leveling the playing field here would be nice.