Just an aside, but I feel like the codebase could use some comments. I don't use Zig so it may just be my unfamiliarity with the language, but at first glance code like this doesn't seem immediately straightforward:

https://github.com/neurocyte/flow/blob/90aba421a22334467daa7...