Yup, I actually force my agents to build a formally validated CUE spec for everything they build, I have a service that gives them a wizard for interacting with the cue to add/remove/update, then when everything we discuss is represented they can use it to sync a project, which will automatically generate missing unit/e2e tests, iac docs, folder stubs with README.md files, etc. It was a lot of work to get agents to interact with the service correctly, so many facepalm moments, but it's pretty magical when it works.
You can follow my development if you want, I'm developing a lot of stuff in public, https://sibylline.dev/products/ or https://github.org/sibyllinesoft/, I haven't done real releases on anything because it's all alpha and I'm iterating on it rapidly so I don't want to rug pull anyone, but if you want to try something out and hack on it I'm happy to have collaborators!