Workflows
A workflow says:
- which agents run, and in what order;
- which step your checks validate;
- which step reviews the work, and what happens after the review.
A workflow names no runtime and no model. Those belong to an assignment.
The built-in feature workflow
Section titled “The built-in feature workflow”specify → implement → review → done ↑ checks │ └── changes ───┘ (up to 3 review cycles)feature runs three steps:
specifierwrites the spec.developerimplements it, and Aqorin validates every attempt.reviewerdecides: approved ends the Run, and changes needed sends the work back toimplement.
The Run succeeds only when the review is approved, the checks passed, every approval was resolved and no budget was exceeded. The engine enforces this, not a prompt.
The Portable Feature templates (portable-feature-enforced, portable-feature-advisory) add a
research step.
The Workflows screen (5)
Section titled “The Workflows screen (5)”The screen reads each workflow top to bottom:
- every step, with its agent, what that agent may do, and where it runs now;
- the review’s two outcomes — approved goes to Done, and changes needed goes back, with how many rounds remain;
- the step that runs your task’s checks.
In the editor:
- The step’s inspector says why the step runs where it does.
- Add step opens a form: the step’s name, then its agent, with each agent’s purpose beside the list.
- Rename, Move up/down, Then… (where the step goes next) and Remove (which asks first) are buttons and keys.
iedits the description,bsets the review budget,psets the step that runs the checks, andvsets the review step.ssaves.
Workflows live in .aqorin/workflows/<id>.workflow.yaml. You can edit them by hand;
aqorin workflows validate <id> says what is wrong, with the line.
Enforced and advisory
Section titled “Enforced and advisory”A workflow is enforced when Aqorin has validated how its read-only and review steps are restricted, for that runtime, version and model. Otherwise it is advisory, and it says so. An advisory result is never presented as independently reviewed.
Any step can run on any runtime. A read-only or review step on a runtime, version or model no check
covers still runs — with its runtime’s read-only setting, told not to write or run commands — and
its restriction is advisory: the plan marks the step advisory, and the Run’s result is
advisory. See Security model.
Assignments: where each step runs
Section titled “Assignments: where each step runs”On Workflows, Where it runs (g) opens an assignment. For each step, Enter chooses:
- its runtime, judged against the step’s access class (
restriction enforcedorrestriction advisoryfor a read-only or review step); - the connection;
- a model the runtime can be given for that class.
Then:
ssaves the assignment to.aqorin/assignments/<name>.profile.yaml;pruns the preflight — the planaqorin run <workflow> --assign <name> --plan-onlyprints;Dmakes the assignment the workflow’s default.
kind: aqorin.profileschema_version: 2roles: advisory-researcher: { runtime: codex } advisory-specifier: { runtime: claude-code } developer: { runtime: pi } reviewer: { runtime: opencode }The preflight
Section titled “The preflight”Before anything runs, the preflight refuses what cannot be honoured:
- a required skill that the runtime cannot load;
- a connection that is not configured.
For example: Role "developer" cannot run yet. Pi connection "nan" is not configured.
From a refused launch, c takes you to that runtime’s configuration, and a to the assignment.
Where a step runs
Section titled “Where a step runs”Aqorin decides in this order, and the step’s inspector shows which layer decided:
- The workflow’s explicit assignment, or an explicit
--runtime/--modelon the command line. - The agent’s default execution.
- The project’s default runtime.
Aqorin never switches runtime on its own.