SpolettaDocs

Getting started

Core concepts

Spoletta has a small vocabulary. Everything else in this manual is built from these words, so they are worth a minute.

StartPick releaseHumanReleaseObjectDraftAgentNotesObject
Processes are rounded, objects are square. A run begins at Start and follows the links.

The words

TermWhat it is
FlowSomething your team does, drawn so it can be run. There are three kinds: a job flow that runs, a procedure other flows reuse, and a struct, the shape of one reusable object.
BoardThe canvas a flow is drawn on. A flow process has a board of its own inside it.
ProcessSomething that happens: a step. It is carried out by an AI agent, a script, a person, Sentry, a board of its own, or another flow. See Processes.
ObjectSomething that exists: what steps produce and take, such as a ticket, a patch or a summary. It holds JSON, and its attributes give that JSON a shape. See Objects.
StateA situation an object can be in, such as approved or changes requested. States decide which process runs next. See States and rules.
LinkJoins a process and an object: the process takes the object, or yields it. See Procedural links.
StartThe node a run begins at. It points at the first process. Every board needs one.
RunOne execution of a flow, started by the Run button or a schedule.
StepOne process carried out once within a run, with its inputs, output, transcript and any error.
OPLThe board written out as sentences, such as “Draft” yields “Notes”. See OPL sentences.

Processes connect through objects

The most important idea in Spoletta: processes don't point at each other, they point at objects. Draft doesn't run “after” Pick release; it runs because it takes Release, and Release only exists once Pick release has made it. That is why a flow needs no separate wiring of order and data. The data is the order.

OPL

Pick release has a person fill in Release.

Draft takes Release.

Draft yields Notes.

The flow starts with Pick release.

Read the sentences top to bottom and you have read the flow. Each part of the language is covered in The OPM language.

Where a run's work goes

Every value an object takes in a run is kept with the run, and every step keeps what it was given, what it did and what it handed back. Agents and scripts that work on code do so on a git branch of the run's own. Nothing is lost, so you can open any past run and see exactly what happened. See Running a flow.

Spoletta · spoletta.comBusiness processes, drawn and run.