Overview
Start hereWhat dotFactory is, and the handful of ideas every other page builds on.
dotFactory turns a workflow into a factory: a typed dataflow graph that a scheduler runs from a trigger to completion, and that the app records, explains and lets you inspect afterwards.
You describe what may flow between steps — the ports, their types and the bindings between them — and a deployment supplies how the leaves run. The same description is the documentation of the workflow: the flow diagram, the declared types, the editor's checks and the Run's trace all come from it.
The shape of a factory
trigger ──▶ step ──▶ step ──▶ step (the root scope)
└──▶ unit (a composite scope with its own steps)
A factory is built from a few ideas:
| idea | what it is |
|---|---|
| trigger | how a Run starts: manual, cron, github, … Its out: ports are the Run's seed, held constant for the whole Run. |
| step | one node in the graph. It invokes a unit — a leaf (runner:) or a composite (nested steps) — and may fire more than once in a prev loop. |
| port | a named, typed value on a trigger, unit or step. Ports are the only way values cross a boundary. |
| binding | a source (step.port, inputs.port, outputs.port, a literal, an external-port call) feeding a port. Every edge is a typed binding. |
| Run | one admission of a trigger through to quiescence, stopped by an operator, or failed. Every Run is recorded. |
| factory version | an immutable snapshot of the source with a content digest. A Run names the exact version it used. |
| adapter | the implementation behind an extension point: a trigger kind, a runner kind, an external port, or an effect step. |
The specification at /doc/specification is the authority on the language and its semantics. These pages are the working guide: how to build, run and operate a factory in the app.
What runs where
The browser app and the JSON API are the control plane: they admit Runs and read what happened. A separate data plane worker process claims tasks and executes them, so a long-running agent step does not block a page load. The store keeps an append-only journal, and the pages you see are rebuildable projections of it.
A deployment decides which adapters exist. A factory that names a runner kind this deployment does not implement still uploads, validates and renders — it is simply not runnable until a deployment with that adapter picks it up. The factory page lists what is missing; /doc/adapters explains the catalogue.
The doc set
- Start here — Getting started is the shortest path from an account to a finished Run.
- Build a factory — Factories and versions, The language, Types and values and Triggers.
- Run and observe — Runs.
- Access and integrations — Secrets and configuration, Organizations and GitHub.
- How to — Integrate a custom workflow using containers.
- Reference — The JSON API, Adapters and the specification.
Every page has Your factories beside it: the factories you belong to, so a sentence about a trigger or a Run is one click away from the real thing.
Your factories will appear here. Create one and open it beside this guide.