Ambivalence: this seems a lot like it's getting up into "layer 3" stuff (meaning: it's something you might want to solve with the expressiveness level of a programming language, rather than stacking further and further amounts of declarative special not-quite-code). But it's also potentially quite useful; if we do punt to programming tools, we lose any ability to statically analyze what's going on up there; and if we do punt to programming tools, we fragment any of our possibility for community growth up there.

Most other systems operating in this space have something like this. E.g. Guix and Nix most certainly do. That said: they also did go full in on programming language for it.

subquestion detection

technical ruminations

If we do go for this, and try to keep it at all declarative, it suggests a lot of fairly immediate and large implications: