Show HN: TLA+ Process Studio

tlaplus-process-studio.com

13 points by uptodatenews 2 days ago

Disclaimer: This was made with LLMs.

I made this tool to help understand large business processes that can be modelled as a single state machine.

The core loop of this is to enable to walk stakeholders through discussing each step, adding comments, and reiterating with an LLM of their choice to generate the TLA+ syntax on the left.

Users can click through the green state nodes to see how things work visually.

You can see some sample state machines in the dropdown in the top left.

The power would come from getting folks on the same page of the business process, so engineers can think about how best to automate/modernize the system once they get all of the context.

Additionally, once you have a single canonical model of the process, you could in theory send into a dark factory to produce the software as quickly as possible, but now we can allocate more time in the entire software lifecycle at the design and alignment before coding now that coding is faster.

Additional work could be done using this book for guidance, Workflow Modeling: Tools for Process Improvement and Application Development, https://www.amazon.com/Workflow-Modeling-Improvement-Applica...

MIT licensed repo: https://github.com/RCSnyder/tlaplus-process-studio

Let me know what you think!

Thanks!

phil-martin 2 days ago

I think this is an excellent start!

I have a few questions/comments.

- the site said it would be worked on collaboratively, but I couldn't find a way to do that? I interpreted that to mean multiple people woroking on it together

- I would find this more valuable if it was less text editor and more interactive editor. If the goal is group consesus, expanding the tool so more people in the group could modify it would be good

- What is the reason for having default names like "SprintReady" instead of "Sprint ready" ?

- Zoom to all and zoom to selected wold be super useful in the flowchart view

- being able to rename/edit things in teh flowchart view would be great

- Having an AI embedded in the tool itself so you did't have to manually round trip and copy/paste with claude code would be super useful

- It might be worth trying moving the comments panel to the right hand side of the screen. Very similar to google docs, word and other document tools. Makes the visual chart front-and-center and makes the comments separate from the simulate step