Fierst LLC
Flow

In development · @fierst/flow

When a workflow needs a person.

Flow adds a human review step to the workflow you already run. When an editor approves a field guide, the application gets a record of who approved it and exactly which draft they saw.

Try the checkpoint

Take the editor’s seat in this browser simulation. Both choices settle the review. Only an approval queues publication. Reloading the page starts a fresh example.

This demo runs locally in the page. The separate Flow prototype saves decisions in SQLite.

The example opens with revision 7 waiting for review. Enable JavaScript to choose an outcome.

Inside the prototype

Which map did the editor approve?

Keep the draft with the question

Flow saves the text and its SHA-256 digest together. If the author replaces the map while an editor has the old draft open, the editor must open the new revision to decide.

Accept one answer

The application identifies the editor. Flow checks their role and a short-lived token, then records the decision in SQLite. If two editors answer, the first decision stands.

Hand it back to the workflow

A Cloudflare Workflows adapter sends the decision as an event. Each retry carries the same decision ID so the receiving workflow can recognize a duplicate before publishing.

In development

From the editor to the published page

Our development example embeds <fierst-flow> in a plain HTML page. An Aster component displays the draft with AsterUI buttons. Approve it and a workflow checks the text against the editor’s receipt before writing it to storage. Request edits and the draft stays unpublished.

We’ve tested both paths in Cloudflare’s local runtime, including two tabs trying to decide the same review. The example above is a browser simulation you can reset. The package is still in development.

Read the field-guide design note →