Factory lines and stages
One board on one repository, four fixed stages, an automation in each.
#A line
A factory line is a board over one repository. A workspace can have any number of lines. Each line has four settings of its own:
- Intake label. An issue with this label becomes a task on the line.
- Done rule. Review requested, approved, or merged.
- Attempt limit. How many times Verify may send a task back before it waits for a person.
- Automations. What runs in each stage.
#The four stages
Every line has the same four stages. They are fixed on purpose: it keeps lines comparable, so a number on one line means the same on another.
| Stage | What runs | Ends with |
|---|---|---|
| Backlog | Intake refines the task with its owner into a plan and scores it on Clarity, Complexity and Verifiability. On a Salesforce line the plan adds Org, Metadata impact, Access and Tests. | ready, and a Start button appears, or needs_info, and the task waits on an answer |
| Implement | The builder plans, a person approves, then it builds and opens a draft pull request. | pr_ready, to Verify. A plan that is too large must split first |
| Verify | CI on the pushed commit, then a review whose verdict must agree with its own test run. | passed, to Done. checks_failed or changes_requested, back to Implement |
| Done | The line's Done rule. | complete, or awaiting_merge until the pull request merges |
#Stage automations
Each stage's automation is a graph: the steps above, wired to routes that name the outcome and where it sends the task. A new line is seeded with the behaviour described here. An admin can edit a stage's automation on the line's Automations tab; the next task to enter the stage runs the published version.
The stages themselves are not configurable. What runs inside one is.
#The verify loop
A failed CI run or a review that asks for changes sends the task back to Implement with the failure attached. The same agent session picks it up with its plan and history intact, and the attempt count goes up by one.
Past the line's attempt limit, the task stops and waits for a person. It does not keep looping.
#Board and tracker
The factory owns where a task is. Your tracker owns what the work says. The factory reads the issue for intake and writes back only reports: a status comment on each stage change and the pull request link.
You can also create a task directly on the board, without an issue. See Tasks and readiness.
#Archiving a line
Archive a line when its history should stay readable. An archived line takes no new work and can be restored. Deleting a line removes its tasks and automations. Both are refused while a task is in flight.