story
This was interesting to read.
Donyou have more sources for gaining more insight into how this all works? I'd love to take a crack at parts of this.
I've found this EDI notepad useful for parsing flat files: https://www.liaison.com/products/integrate/edi-notepad/
And this npm library actually parses EDIs pretty well too: https://www.npmjs.com/package/x12