And next time specify advantech.
Osb roof sheathing got wet.
Use a dehumidifier 4.
Under the best circumstances the osb sheathing is delivered to the site installed and covered within a few days.
Although plywood is usually more expensive than osb plywood is more resistant to moisture damage.
If you live in an especially rainy or humid climate consider using plywood sheathing instead of osb.
Trapped water will boil when the sun heats the roof and the shingles will then have small pits where.
Allowing osb to get wet is not a wonderful idea but its done all the time.
If the osb swelling is too serious more than your belt sander can fix install a layer of tongue and groove plywood over the ruined osb.
The osb and in fact any wood panels must be allowed to dry completely depending on how wet the panels are this could be a few days before any roofing material is applied to avoid trapping moisture under the roof material that could cause edge swell and buckling.
Once the house is dried in and the osb has dried out use a belt sander to take down the swollen edges of the osb.
It is never a good idea to install a roof over wet plywood or any type of roof sheathing.
This is not a decay issue but swelling can cause other difficulties in construction.