I want an instance of Node that runs a bit like javascript works in the browser, with very limited I/O. "In" is via sockets/http, "Out" is via the DOM, though I just need an implementation of stdout/console.log (I assume that's actually done via the DOM in the browser)
I can then allow user specified rules to be applied to their DB updates, The test is run, if it prints a nice thing back then we are cool and the update can proceed. These rules can then be shared across a distributed ledger platform, not necessarily involving Satanistic levels of cryptographic black magic. This is more about biz to biz concensus than value transfer. You all need to process the rules on your own equipment/system as the information needed to evaluate the tests is sensitive/private.
Does such a thing exist (the Node stuff, not my complaints at blockchain) . It cant be hard to bake if it doesnt, we're just ripping stuff back out and we dont even need to put DOM back.