bb80-invariant-construction

Extract invariants from specification, encode in types/structure, enable single-pass construction.