How we built a DAG-based execution engine with native parallel processing, intelligent edge routing, and stateful pause/resume capabilities