This system has maintenance concerns. 2
There isn’t much here yet. Maybe you can help?
Assertions are compiled from the Program XML (see Program XML). Rather than using a library, it compiles a mess of largely duplicate code inline. This system needs to be replaced, not modified.
A replacement can either be in the form of a library (removing most if not all code generation from the Program XML compiler), or possibly compile into classifications and use the classification system. The latter option is preferred, and would be more powerful with less maintenance.