Sign in

Reference · page 12 of 13

Every state, listed

The exact words Constat uses, and what each one means.

A requirement

StateMeaning
draftWritten, not yet frozen. Still editable.
approvedThe words and the envelope are frozen. Ready to be built.
buildingAn attempt is running.
implementedThe attempt finished; evidence is still arriving.
validatingThe door is open. Waiting on a person.
verifiedAccepted. A Constat was sealed.
failedRefused. The reason is on the record.
withdrawnTaken off the board. Sealed records are unaffected.

An attempt

StateMeaning
queuedDispatched; no runner has taken it yet.
runningA runner has it.
completedThe agent finished and reported.
failedIt ended without reporting. The record says what the tool said.
haltedStopped at a cap, by a person, or because the runner never reported back.

A release

StateMeaning
waiting_for_groundPressed while an attempt of this project was still running. It is kept, not refused, and takes itself the moment the last attempt ends.
queuedThe ground is free. Waiting for a runner to take it.
takenA runner has it: merging the branch, then starting your deploy.
waiting_for_personThe default branch is protected; a pull request was opened instead.
mergedConstat has seen the merge commit on the default branch.
liveObserved answering at that commit.
refusedIt did not go through, and the reason is recorded. Most often the branch no longer merges.
withdrawnA person took the release back. Never a failure, and never confused with refused.

A release travels in one direction, and only two states end it:

pressed ──▶ waiting_for_ground ──▶ queued ──▶ taken ──┬──▶ merged ──▶ live
                (an attempt is        (the ground      │
                 still running)        is free)        ├──▶ waiting_for_person
                                                       └──▶ refused

withdrawn is the one way a release leaves without going through, and it is a person's own doing.

Sending accepted work round again

Work that a person accepted can still fail to reach the default branch: another attempt landed first and the branch no longer merges. The seal is untouched by that — it keeps its number, its verdict and its evidence — and the requirement page says the work is judged and not on the default branch, with one control: Send it round again.

That starts an attempt of a particular kind, called a landing. It is not a state, and it is not a fresh ask:

An ordinary attemptA landing
Asks for work that has not been judgedCarries work a person already accepted
Opens a door, and waits for a verdictOpens no door, and is never re-judged
May seal a new ConstatThe seal keeps its number
Starts from the default branchRebuilds that judged work on today's default branch

If the rebuilt branch comes back green and merges cleanly, Constat releases it itself and the trail says so. If it still will not merge, it is refused in the same words as any release, and the way back round is offered again.

Evidence — what Constat observed

TypeWhat it is
ci_runA run of your CI and what it concluded.
criterion_checkWhat CI said about the check a criterion named.
diff_statWhat the change actually touched.
artifactWhat CI published: the report, the pictures.
screenshotA screen at the moment a check passed.
previewA running copy of the attempt, to try.
buildA build, where the project has one.
scope_violationA change outside the files the envelope allowed.
method_substitutionThe attempt used a different method than the ask named.
manual_reviewA person's own look, recorded as a person's.

Each piece carries its source. criterion_check is never something an agent promises to produce — it is what Constat reads out of CI's own report.

Claims — what the agent said

TypeWhat it means
tests_passThe agent says the checks pass.
implementedThe agent says it built the thing.
files_changedThe agent's account of what it touched.
criteria_metThe agent's view of a criterion, met or not.
infeasibleIt cannot be done as asked, and why. A complete, acceptable report.
otherAnything else the agent wanted on the record.

A claim is never used as a result. Independent evidence is collected to check it.

Roles and seats

RoleMay
adminEverything, including people and settings.
authorWrite and approve requirements, dispatch attempts.
readerRead.

Judge is granted per project and is what a verdict requires.