Assembly line
An assembly line is a definition. It lists nodes, the edges between them, the arguments a run starts with and the events that start one. It describes work and does none.
What a line holds
Section titled “What a line holds”| Part | Meaning |
|---|---|
entry, exit, fail |
Where a run starts, where it ends as success, and where it ends as failed |
nodes |
Each node is one use of a station, or a marker with none |
edges |
Which node follows which, by the outcome a visit reports |
args |
The arguments a start gives. Each becomes an item of the run’s bag |
start |
The events that start a run, and how their payload fills the arguments |
An edge’s on is the outcome that takes it, or always. A line that loops must say how often, with iteration_max on the edge. unattended_max is the same limit counted only since a person last acted.
line: id: write-note entry: write exit: done start: on: [note.requested] args: topic: "{topic}" args: topic: { kind: value, subject: true } nodes: - id: write station: write-note - id: done edges: - from: write to: done on: successThe line needs a write-note station to be complete. Every field is in Pipeline file, and the checks floor makes when you put a line are in Rules of a line.
Versions
Section titled “Versions”A line is never edited in place. Each change makes a new version, named by a hash of its content. Putting the same content again changes nothing.
A run keeps the version it started with. A newer version changes later runs only, and a node can pin one version of its station as name@hash.
Where lines live
Section titled “Where lines live”You write a line in a pipeline file, or as one folder of a collection. One line has many assembly runs.