arXiv · 2612.01334
Deadlock-Free Parallel Regions for Projected Workflows
Abstract
Projected workflow languages describe a distributed protocol once and compile it to one local program per participant. Many agent workflows are not purely sequential: independent streams of tasks may proceed at the same time while sharing some participants, such as a user or a calendar service. The ZipperGen workflow language gives deadlock-freedom guarantees for sequential coordination, in particular for LLM-agent workflows, but its core language has no parallel construct. We add such a construct: a structured parallel-region operator whose branches are full workflows and may share lifelines. Projection assigns separate branch-local channel names to messages in different branches, although no channel annotations are written in the source program. A shared lifeline is projected to one local program with a local interleaving operator over the corresponding branch projections. We define the semantics using message sequence charts (MSCs), which record local event orders and message matching. A parallel region admits those interleavings of branch executions in which all messages are matched in FIFO order and the induced causal relation is acyclic. This check includes the broadcasts generated by projection to communicate control decisions. The broadcasts are erased only from the final observation, which retains channel names. For this combination of shared lifelines, asynchronous FIFO communication, generated control messages, and branch-local channels, we prove exact MSC correspondence and deadlock-freedom of the projected programs.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Benedikt Bollig. 2026-12-01. Deadlock-Free Parallel Regions for Projected Workflows. https://doi.org/10.4204/eptcs.458.6. https://searcharxiv.org/abs/2612.01334
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.