What floor is
Floor stores assembly lines, decides what happens next in each assembly run, and hands the work out. It does none of the work itself.
Three rules
Section titled “Three rules”| Rule | What it means for you |
|---|---|
| Floor holds no provider client | No Kubernetes, no GitHub, no chat. Anything provider-shaped is a station or a separate app. |
| Floor never calls out | Workers pull their own work from a queue. Nothing you run needs to be reachable from floor. The one exception is a git credential, which floor asks an address you configure for. |
| No floor code runs in an agent pod | The pod runs the agent, and reaches floor only over HTTP. |
From event to settled run
Section titled “From event to settled run”- Something posts an event to floor.
- The event starts an assembly run of an assembly line, or joins the run already open on its subject.
- Floor opens a visit at the first node and freezes its brief from the run’s bag.
- A worker claims the visit, does the work and posts a report.
- Floor writes the report, picks the edge for its outcome and opens the next visit.
- The run settles at the exit or the fail node.
sequenceDiagram
participant S as Sender
participant F as floor
participant W as Worker
S->>F: post an event
F->>F: start a run, open a visit
W->>F: claim the visit
W->>F: report the outcome
F->>F: pick the next edge
F->>F: settle the run
The pieces
Section titled “The pieces”| Piece | Page |
|---|---|
| A versioned definition of nodes and edges | Assembly line |
| One execution of a line | Assembly run |
| A unit of work, done by an agent, a service or a person | Station |
| The model, prompt and image behind an agent station | Agent definition |
| What you post, and what floor posts back | Events |
| Lines and agents as files in a folder | Collection |
| Every term in one table | Glossary |
The files are specified in Pipeline file and Run semantics. The source is at https://github.com/re-cinq/floor.