The author has another blog post about Flow Effects[0]. They propose an open-ended set of effects you could attach to functions, and then verify, at compile time, that certain functions either do or do not invoke certain effects.
So if I had some functions like:
foo_1 (must NOT access the HDD)
foo_2
foo_3
foo_4 (does access the HDD)
Only 2 of them are annotated with effects related to HDD access, but we can verify at compile time that foo_1 does NOT invoke foo_4, either directly or indirectly (we can verify this recursively).Perhaps foo_3 calls foo_4, but we forgot to annotate foo_3 with the proper effect. No matter, because foo_3 would automatically inherit the effects of foo_4 by virtue of calling it.
This is just one of the feature the blog advocates for, and I think this feature alone would be quite simple and helpful in wrangling LLM code.
A nice thing about this is that it's optional. You can annotate the effects gradually into existing systems.
Yep. Original author here, it seems everyone completely missed the broader point I was making. Thank you for actually reading the post ha.