check or cli steps for verification inside a Run. If CI runs on your Git
provider, add publish and wait nodes after local checks. While paused at a
wait node, the Run keeps its Git working copy and frees its execution slot and
agent process. Once the wait condition resolves, the Run queues for a free slot.
Both the Run graph and the wait card display the active condition and deadline.
Publish and wait for checks
You need engine 3.14.0 or later and an enabled project workflow. Configure a Gitorigin with push access and provider read access. MAIster reads checks from
GitHub, GitLab, and Gitea. At launch, authorize that workflow revision to push
the branch and open any pull request declared in flow.yaml. MAIster derives
the branch name from the project’s public branch template.
Place these nodes after your local checks and point their success transition
to publish. Replace test with the provider’s exact check label and
github-main with your configured source identity. The example below routes
every CI outcome to review. Wire failure to a bounded rework loop if you want
the Run to fix issues and push a new commit.
pr to publish only the branch, or set pr: ready to open a pull request
ready for review. To follow pull request status, use
on: { kind: pr, publication: publish } and define transitions for merged,
closed, conflict, timeout, cancelled, and stale. CI and pull request
verdicts bind to the exact published commit. If a newer commit supersedes it,
route stale to review or to bounded rework that publishes fresh changes.
Send a CI callback
For push delivery, settransport: push, give the wait a signal name, and set
issuer to the project token authorized for that signal (the token needs
waits:signal scope). If CI needs the callback URL, request
GET /api/v1/ext/projects/{slug}/waits/callback with signal, ref, and
headSha. Reuse the original URL for repeated publications with the same tuple.
Post name, outcome, and headSha to
/api/v1/ext/runs/{runId}/waits/{waitId}/signal. Repeat retries with the
original Idempotency-Key and body. MAIster applies an accepted receipt after
verifying the published ref. A callback for another commit cannot resolve the
wait.
Operate a wait
Open the Run’s wait card to inspect the deadline, outcome, and delivery history. With permission, you can supply a missing signal, resolve the wait with a declared outcome, extend the deadline, or cancel and follow thecancelled
transition. Every action records your reason. Each wait node requires
timeout in seconds. The instance caps wait duration via
MAISTER_MAX_WAIT_SECONDS (default seven days), and any extension must stay
inside the cap set when the wait began.
Besides CI and pull requests, a wait node can listen for a timer, a new task
comment, the settlement (completion or review entry) of a related Run in the
same project, or a named signal. See Flow node types for
graph usage. Inside an agent prompt, {{ steps.<id>.vars.waitData.content }}
inserts external payloads and comment text as quoted data. A rework prompt can
read steps.<id>.vars.waitData.failedChecks for the names of required checks
that failed.
Allow the engine to finish delivery
With engine 3.15.0 or later, a reviewed workflow can declareautonomous_completion alongside a CI wait, required blocking gates, and a
blocking AI review. A project admin approves CI sources and sets risk,
confidence, and diff-size limits. Enable the platform control and authorize
autonomous completion at manual launch. For push CI, declare provider_issuer
so MAIster verifies the required checks on the same commit against the Git
provider before completing delivery.
Once eligible checks pass, MAIster can promote the Run or finalize it after the
provider confirms the pull request merged. A declared timeout or exhausted
rework budget can end the Run in Failed if policy permits. Missing or stale
checks hold the Run in Review. You can place a hold from the Run page or turn
off autonomous completion for the project or platform. Both the Run page and the
Desk display the engine’s decision, and the regular
review and promotion controls remain available.
Recover from a pull request conflict
In a workflow with autonomous completion, connect the PR wait’sconflict
outcome to a bounded rework transition. If the Git provider reports a conflict
on that exact publication and both the launch policy and current policy permit
recovery, the Run parks in Review. Its original supervisor runs the conflict
resolver. After a clean merge, the workflow resumes at the declared rework node,
republishes, and collects fresh CI and review results for the new commit.
If resolution fails, the deadline expires, or an operator places a hold, read
the cause in Run history. Automatic recovery requires a conflict observed by the
Git provider; setting the wait outcome to conflict by hand leaves automatic
recovery inactive.