This is quite cool, I think you had some similar ideas to mine. With LLMs your parts can at least be named nicely! What is nontraditional about your constraint system?
There is no traditional 2D constraint solver for parallel/perpendicular/equal, etc. Instead, constraints are requirements generalized in code as Concepts and construction geometries (planes, axis, profiles, etc.) are unified as Concept Structs and erased at compile time like TypeScript, so over/under-constraint for sketches doesn't exist because the constraints are explicit and pre-resolved.
It's easier if I show you some sample code.
https://github.com/yuechen-li-dev/Aetheris/blob/master/fixtu...
https://helios-cad-wasm.yuechenli.chatgpt.site/
Be warned though, the Firmament DSL used is designed to be LLM friendly, so it's a language that's way easier to read than it is to write, and it has a very nontraditional constraint system.