Fierst LLC

What should a workflow remember?

Fierst LLC · · 1 min read

Imagine an editor reviewing revision 7 of a field guide. The author submits revision 8 while the review is open. What exactly did the editor approve?

Start with the local decision

In our homepage example, a generator holds the decision in a local variable. Clicking an AsterUI button changes that variable, and the next render shows the outcome. This is enough for a preview. It also makes the limit easy to see: reload the page and the approval is gone.

Record what was reviewed

An approval of revision 7 still means revision 7 after the author uploads a new map. Flow saves the draft text and its digest. If the author changes the draft before the editor answers, the old review token becomes invalid.

Separate approval from publication

Suppose the editor approves the map and the publishing service is offline. Their decision belongs on record immediately. A later delivery attempt carries the same decision ID, so the publishing workflow can check whether it has already acted on that approval.

Explore the Flow design →