18 Pipelines and artifact types
Software Factory Engineer · the factory of Academy CRMAcademy CRM Factory: the Spec first pipeline and the course settings file.
I want to build the project's own process.
Pipelines and artifact types
Concepts
A pipeline turns a work item into a fixed process: steps, each followed by a check.
- Artifact types — the kinds of document agents write, and where each lives: acceptance criteria, UI specification, implementation guide.
- Step — one agent with a task prompt. Step kinds: an agent step, and the check after it.
- Grant — what a step may do with an artifact type: Read, Write or Restrict — do not read.
- Verification — the check after a step: Person (a review card in the Inbox), Automated (a verification set) or none.
- Export — the factory as a file, with no ids and no secrets.
Spec first
- SpecificationGeneral writes the acceptance criteria; a person reviews
- UI specificationGeneral writes the screens and texts; a person reviews
- Technical designthe implementation guide and design record; a person reviews
- BuildGeneral builds from the guide; web-change checks it
Figure 18.1 · Spec first with the full intake
Scenario
You build Spec first: three intake steps under a person's review, then the build under an automated check. You run a User Story through it and export the factory.
A User Story through Spec first
- Specification
- UI specification
- Technical design
- Build
- Automated check
- Export
Figure 18.2 · A User Story through Spec first
Interface
The Pipelines page with Spec first open: its stages and steps on a canvas.
Pipelines page
Figure 18.3 · The Pipelines page and its numbered places
- 1Pipelines: the project's pipelines, then the organization's and the platform's.
- 2Artifact types: the kinds of documents the agents write, and where each lives.
- 3New: a new pipeline: name, eligibility, first stage and step.
- 4Spec first: your pipeline, in the Project group.
- 5Inspect: what a run would refuse or skip; nothing runs.
- 6Design stage: three steps, each with its grants and its Person check; hover for Add node to this stage.
- 7Build stage: the build step with its Automated check, web-change.
Walkthrough
Scene 1 of 11 · 0:22
Read the artifact types
Where: Pipelines page: ② Artifact types · Artifact types page: ① Artifact types · ② Project artifact types
The gear → Artifact types. Five project types came from the organization's templates: Acceptance criteria, Design record, Implementation guide, Requirements, UI specification. Open UI specification: one Markdown file per work item. When a change is accepted: it stays with the work item.
Terms
- Stage — a group of steps; the next stage starts when every step of this one has finished.
- Course settings file — the export of this factory: the file lesson 3 imports.
- Max rounds — how many times a check may send the work back in one run.