> ## Documentation Index
> Fetch the complete documentation index at: https://cloud-docs.orbi.build/llms.txt
> Use this file to discover all available pages before exploring further.

# The delivery lifecycle

> What do the ai-* labels mean and what moves an Issue between them?

An Issue moves through the `ai-*` labels from `ai-ready` to `ai-merged`, and the labels themselves are the delivery record.

Orbi Cloud keeps no separate dashboard of truth. The labels on your Issue, the comments Orbi leaves, and the pull request it opens are the complete state of a delivery — which means you can read, audit and correct everything from GitHub alone.

## The state machine

```mermaid theme={null}
flowchart LR
  ready["ai-ready"] -->|claimed| progress["ai-in-progress"]
  progress -->|PR opened and verified| opened["ai-pr-opened"]
  opened --> review{"independent<br/>review"}
  review -->|clean verdict + merge gate| merged["ai-merged"]
  review -->|finding to repair| fix["ai-fix-needed"]
  fix --> opened
  review -->|rounds exhausted, or unsafe to fix| blocked["ai-blocked"]
```

## What each label means

The right-hand column is the chip the status page shows for that label in **Task history**.

| Label | Meaning | Status page chip |
| - | - | - |
| `ai-ready` | You dispatched this Issue to Orbi. It may be claimed on the next tick. | **Queued** |
| `ai-in-progress` | Claimed and running: a workspace exists and a session is writing code. | **In progress** |
| `ai-pr-opened` | The pull request is open and verified, awaiting the independent review. | **PR under review** |
| `ai-fix-needed` | The review found something, or the head is not mergeable yet. The next tick resumes the same run, branch and pull request. | **Fix needed** |
| `ai-merged` | Success. The change passed review and the merge gate, and the merge was confirmed on your base branch. | **Merged** |
| `ai-blocked` | Stopped on purpose. Automatic recovery is not safe, and a person has to decide the next step. | **Blocked** |
| `ai-awaiting-merge` | The reviewed pull request is delivered and waiting for a maintainer to approve and merge it — usually because branch protection requires an approval. | **Awaiting approval** |
| `ai-needs-detail` | Orbi could not proceed without more information from you. The comment on the Issue says what is missing. Edit the Issue body to answer it and add `ai-ready` again, or click **Add the details** on the status page and answer on the write-a-request page. When Orbi's comment already proposes a split or acceptance criteria, the status page shows that proposal with a start button instead; see [troubleshooting](https://cloud-docs.orbi.build/troubleshooting.md#when-orbi-has-already-proposed-a-fix). | **Needs detail** |

An Issue closed without a merge shows **Closed, not merged**.

These labels record a task type or a human decision:

| Label | Who sets it | Status page chip |
| - | - | - |
| `ai-release` | You or a configured milestone workflow, to start a release. See [releases](https://cloud-docs.orbi.build/releases.md). | — |
| `ai-human-review` | You, to record that a person confirmed the delivery checklist. Orbi never adds or removes it. | — |

The engine's human acceptance gate, which makes a delivery wait for a person to confirm a checklist, is not turned on in Orbi Cloud, so a delivery does not stop to wait for `ai-human-review`.

Anything waiting on you — **Blocked**, **Awaiting approval**, **Needs detail** — is also pulled to the top of the status page, with its reason and available action.

## Timing

With the environment ready, quota available, the task in scope and execution capacity free, Orbi usually starts within about a minute of `ai-ready`. The label event wakes the runner, with a five-minute timer as fallback. This is not a five-minute maximum for queued tasks: earlier work, unresolved dependencies and version scope can keep them waiting.

After pickup, duration depends on the task and repair rounds. Once usage is reported, **Task history** shows elapsed time, AI calls and tokens, including cache.

## The independent review

The session that reviews the pull request is **not** the session that wrote it. It reads the diff fresh, runs the tests again, and either returns a clean verdict or files findings.

When it files findings, Orbi repairs them and the pull request goes back for another round. This loop is bounded: if rounds are exhausted without reaching a clean verdict, the Issue is marked `ai-blocked` rather than looping forever. The pull request, branch and workspace all stay intact when that happens, so nothing is lost.

Only a clean verdict reaches the merge gate. If the base branch advances without conflicts, the Runner can absorb that update and wait for the new head’s CI without repeating the independent review. Outside changes to the PR head require review again. The gate checks the current head and base before merging; see the engine’s [review and merge reference](https://docs.orbi.build/workflow#the-complete-chain).

## Steering a delivery that is already running

You do not have to wait for a delivery to finish to correct it. While an Issue is `ai-in-progress`, add a comment with the new decision, or edit the Issue body. Both channels are equivalent, and the running session restarts with your correction — normally within a minute.

This is the intended way to redirect work that is going the wrong way; you do not need to cancel anything.

Two limits are worth knowing:

**Steering is bounded.** A delivery accepts **3 steering restarts** by default. After that, further corrections do not restart it — let the delivery finish and put the revised scope into a follow-up Issue.

**Only trusted commenters can steer.** Comments from people with write permission in the repository steer a run; a comment from an arbitrary public commenter is ignored by design, because otherwise anyone who can comment on your Issue could redirect what the agent does.

## `ai-blocked` is a decision point, not a failure

`ai-blocked` is a terminal state that means a human must decide what happens next. The comment Orbi leaves on the Issue states why automatic recovery was not possible. Some pauses resume on their own, with no label change from you: when the base branch's own checks are failing, Orbi continues once they turn green (see [troubleshooting](https://cloud-docs.orbi.build/troubleshooting.md#checks-on-the-base-branch-itself-are-failing)); when the missing permission to read checks is granted; and when you correct a base branch that does not exist in Cloud, the affected tickets are queued again.

Deciding the next step can mean changing the code, rewriting the acceptance criteria or closing the Issue. To resume after repairing the cause, replace `ai-blocked` with **`ai-fix-needed` if its PR is still open**, or **`ai-ready` if it has no PR**. Removing the blocked label alone does not restart it.

See [troubleshooting](https://cloud-docs.orbi.build/troubleshooting.md#ai-blocked) for how to read a blocked comment.

## Sharing a delivery

When a delivery merges, Orbi comments on the pull request with **✅ Delivered by Orbi · View delivery proof →** (in Chinese when Orbi's message language is Chinese). The link opens a page at `orbi.build/proof/<owner>/<repo>/<issue>` that shows the Issue, the pull request, the review and, once it ships, the version it was **Released in**.

For a merged delivery in a public repository, the page has **Copy link** and **Share on X** buttons. For a public repository anyone with the link can open it; for a private repository it only opens for someone who signs in with a GitHub account that can read that repository, so sharing the link does not expose private code.

For a project’s delivery history, open `orbi.build/proof/<owner>/<repo>`. It lists the most recent merged result per Issue, up to 100 rows, with the total count above. Public records are open; private records require GitHub sign-in and repository access. Public real projects also offer a [README badge](https://cloud-docs.orbi.build/status-page.md#project-overview).

## Task types

`ai-ready` is the execution switch for every kind of task. A second label chooses which playbook runs:

| Task type | Labels | What you get |
| - | - | - |
| Development (the default) | `ai-ready` | The full chain: workspace, tests, one pull request, independent review, merge |
| Release | `ai-ready` + `ai-release` | The deterministic release state machine — tag and GitHub Release. See [releases](https://cloud-docs.orbi.build/releases.md) |
| Ops / research | `ai-ready` + `ai-ops-only` | A full execution session running the ops playbook; the deliverable is the evidence posted on the Issue. If it commits code, that code still takes the normal pull request route |
| Content | `ai-ready` + `ai-content-only` | Text in, text out, delivered as an Issue comment — no execution and no git. The Issue is closed after delivery |

One more label affects ordering rather than behaviour: `p0` marks an Issue urgent, and Orbi picks up `p0`-labelled Issues before bug-labelled ones, which come before plain ones.

> [!NOTE]
>
> This page describes the lifecycle as you experience it on Cloud. The engine's own reference — every transition, the exact resume semantics, and the full config surface — is at [docs.orbi.build/workflow](https://docs.orbi.build/workflow).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.