Coming late to this discussion….
Might there be some value in considering the aims and methods of [Polymode](https://github.com/polymode/polymode#readme)
in this regard? There seems to be a significant overlap of concerns.
Just a thought.
Cheers,
Malcolm