Peter and all,
the above photo and description has solved the riddle how your pivot pin got dislodged and the gelcoat chipped:
The centreboard has lateral play, the pivoting pin has none. Through wrongly fastening the pivoting pin to the centreboard, the centreboard took the pin laterally out with it, until one side of the pin left its seat from under the keelband, and jammed there, while the other side of the pin cocked up and chipped the plastic.
So this was caused by that assembly error at the yard to let the pin rotate in the keel seat instead of in its centreboard seat.
Your proposal to secure the pin to the centreboard with a sunken hex would have done the exact same BTW.
C.
P.S.
And there is one other not-so-nice detail to be seen on your photo: They still first carve out a recessed seat area for an outside-hull flange selfbailer, and then mount an inside-hull flange bailer there instead. Silly.