The Legacy Autopilot code hasn't seen updates in years; instead, efforts are directed towards enhancing the FSD code. Eventually, a scaled-down version of the FSD code will supersede Legacy Autopilot. However, the current FSD doesn't include pothole avoidance capabilities either. For Model S/X owners, it may adjust the suspension before encountering a pothole. Though, it's a feature under development amidst various other priorities needing attention.