Four kinds of checker, four different jobs
A new house is checked by several parties, and buyers tend to merge them into one idea called "inspected." They are separate, with separate purposes.
The building department enforces the adopted building code. Its inspectors look at defined stages, against minimum requirements, with life safety as the priority. Its record is the permit history and the certificate of occupancy. See what a city building inspector checks.
The design engineer checks the parts the engineer designed, most often the foundation on expansive soils and, where present, the post-tensioning. Some cities rely on the engineer's letter instead of making their own foundation inspection; Austin, for example, states that its inspectors do not perform foundation inspections for new construction.
Specialty parties produce records the city relies on or never sees: the land surveyor's form board survey, the pest control company's termite treatment certificate, the post-tensioning crew's elongation record, and the energy rater's blower door and duct test.
A private inspector engaged by the buyer works for the buyer, at stages the buyer chooses. The inspection has no effect on the permit, but it can cover workmanship and hidden details that no code inspection is designed to examine.
The builder's own superintendent and quality staff check the work continuously as well, and on a production build they are the people most often on site. Their records are internal unless the buyer asks.
Where the checks overlap and where they leave gaps
The overlap is at the stages the code fixes: the foundation before concrete, the rough-ins before concealment, the framing, and the final. The gaps are the envelope details that sit between those stages. In most jurisdictions there is no dedicated code inspection of window flashing and house wrap or of roof underlayment and flashing, and brick veneer ties are often only spot-checked because they are hidden as the brick rises. Those happen to be the details behind many first-year water complaints.
Knowing where the gaps are tells a buyer two things: which stages an independent look is most likely to add something, and which defects will be argued about later with little documentation on either side.
City, ETJ and county: three regimes in Texas
Inside a city, the city's adopted code and its inspectors govern. In a city's extraterritorial jurisdiction, the city's code applies if the city has adopted one there. In an unincorporated area of a covered county, a state statute requires the house to meet a version of the International Residential Code and requires the builder to obtain three inspections, at the foundation before concrete, at framing and mechanical before drywall, and at completion, from a list of permitted inspectors that includes licensed engineers and inspectors licensed by the Texas Real Estate Commission. See new construction outside city limits.
The same buyer, looking at two new houses a few miles apart, may therefore be looking at houses checked by different people, under different code editions, with different paper. Building code editions and local amendments explains how to find out which rules applied.
What "passed" means
A passed code inspection means the inspector found the inspected items compliant with the adopted minimums at that moment. It does not mean every item was examined, that the house is defect-free, or that quality exceeded the minimum. That is not a criticism of building departments; it is the design of the system. The code is a floor, written for safety, and enforcement is a sample.
The practical consequence is that the documents and tests matter as much as the inspections. A tested energy certificate, an approved elongation record and a signed termite certificate are evidence about hidden work in a way a single "passed" entry cannot be.
How to use this section
Start with what a city building inspector checks for the code side. Read new construction outside city limits if the house is outside a city. Use building code editions and local amendments to find which rules applied. Then use the stage pages, starting with the foundation pre-pour and the framing inspection, to see who checks each stage and what record it leaves.
Where the rules come from
The model inspection list appears in local adoptions such as Groton, Connecticut's. Austin's foundation position is on its foundation inspection checklist. The Texas county rules are in Local Government Code §233.154.