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

# How completion works

> Distinguish an open PR, green checks, completed review, and a merged change.

An agent saying "done" does not prove that its change passed. F\[no] reads evidence outside the agent's own summary.

For a walkthrough, see [review and ship](/docs/guides/review-and-ship.md). For policy settings, see [configuration](/docs/reference/configuration.md).

## Read the evidence in order

| Evidence | What it tells you | What remains to check |
| - | - | - |
| PR URL | A proposal exists | Current head, diff, checks and review |
| Green CI | Checks passed for that head | Review and merge requirements |
| Review completed | The configured review policy ran | Blocking findings and merge readiness |
| Ready to merge | Current delivery gates permit merging | Merge authority |
| Merged PR | Changes reached the base branch | Any separate release or deployment |

Checks belong to a commit. Pushing a fix changes the head and can require new checks or review evidence.

## The target finish line

A target normally works toward an open PR, green CI, and satisfied review requirements. Your project's configuration controls those requirements.

Review has a configured round limit. Reaching that limit can leave findings documented in the PR rather than resolved in code.

Read the review findings themselves. "Reviewed" does not always mean "every suggested improvement was implemented."

## CI is one reading

The CLI reference describes the [PR status command](/docs/reference/cli.md#pull-request-status). Its green CI verdict alone does not establish completed review.

A pending check is unfinished work, not a failed check. An unknown or failed read is missing evidence, not a pass.

### A head with no completed run is unmeasured

Sometimes every Actions run on the head is still queued. Then no check has run, and the head is not green. F\[no] calls this an unmeasured head. The status command prints a note that names it and the way out:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
note: ci unmeasured: 7 runs queued, none completed at <head>; the way out is fno do pr wait <PR>
```

When the head has no runs at all, the note reads `ci unmeasured: no runs at <head>`.

An unmeasured head does not block a merge. The status command's `ready` field reports whether the merge gate permits a merge now. Here `ready` stays true. When `auto_merge.require_checks_pass` is `true`, the gate also adds the warning `ci_unmeasured`. But a target does not finish on it. The target reads the head as pending, so it does not report a green PR. Run `fno do pr wait <PR>` until a run completes.

## Merging is a separate action

Automatic merging is disabled by default. A project can enable it, so check the [effective policy](/docs/reference/configuration.md#automatic-merging) before a run.

### What stops a merge

F\[no] merges through one gate. The gate serves three doors: the `fno do pr merge` command, the PR watcher's merge queue, and the merge that a finished target arms.

| Reading at the head | Effect on the merge |
| - | - |
| A failed check | Refused at every door, `fno do pr merge` included. The command's reason reads `checks are red; a red head never merges`. The PR watcher holds the PR instead, and waits for the next push. This holds when `auto_merge.require_checks_pass` is `false`. |
| A pending or queued check | Not refused. When `auto_merge.require_checks_pass` is `true`, the gate adds a warning. |
| GitHub reports the PR as blocked, and its branch rules name a check or review that is not satisfied | Held as `github_blocked`, with the missing items listed. |
| GitHub reports the PR as blocked, but its branch rules name nothing unsatisfied | Not held. GitHub still enforces its own rules when the merge runs. |
| GitHub reports the PR as blocked, and F\[no] cannot read its branch rules | Held as `github_blocked`. A failed read is not a pass. |
| The PR changes rendered UI, and no look is recorded at the head | Not refused. The gate adds a warning. After the merge, F\[no] mails the lead of the PR's node a request to publish the shots. |

A raw `gh pr merge` does not pass through this gate.

### A merge over unpassed checks

A target ends with a named outcome. `DonePRGreen` means the PR exists, its checks passed and its review requirements are met.

A person or another tool can merge a PR before its checks pass. The target then reads the checks at the merged head. If any check is pending or failing, the run ends `DoneMergedUnsettled`, not `DonePRGreen`. The message names the counts:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
PR #<PR> merged with checks not passed at its head (1 pending, 2 failing); merged, not green
```

`DoneMergedUnsettled` closes the run like `DonePRGreen`. The change ships, the claim is freed and the node closes. But the run never reports green, and it never arms a merge. The unpassed checks are now on the base branch. Read them before you treat the change as done.

A merged PR does not prove a website is deployed or a package is published. Those deliveries need their own evidence.

## Next steps

* [Run a fleet](/docs/guides/run-a-fleet.md): assign your next task to a worker.
* [Review and ship](/docs/guides/review-and-ship.md): inspect a PR at each stage.


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