Skip to main content
A target is the F[no] workflow that takes a task to a PR. It runs the delivery loop for you and reports the PR. This page shows how to read the evidence and merge the PR. A PR is a GitHub pull request. After this page, you can say why a PR is or is not ready, and you can merge it.

Before you begin

Use the quickstart to create a PR, or open a PR for work that you own. You need the GitHub CLI, gh, because these commands read the PR through it. Run each command from the repository of the PR. Replace <PR> with the PR number, the last part of the PR URL. The CLI reference lists the exit codes. How completion works explains the evidence.

Read the proposed change

Your agent opens the matching PR and reads its diff. You see changed files and risks.

What the agent runs

Open the PR URL. Confirm the repository and the base branch, and then read the diff. Each check and each review belongs to one commit, the head of the PR. If a fix adds a commit, the older evidence does not cover it.

Read a file or compare revisions

What the agent runs

Note: These commands target F[no] 0.4.6. The latest release is 0.4.5.
Run from the repository that holds both revisions. Replace <REV_A> and <REV_B> with branch names, tags, or commit SHAs. Replace <PATH> with the repository-relative file path.
show prints the earlier file unchanged. diff prints the unified diff from the earlier revision to the later one. An empty diff prints nothing and exits 0. Invalid arguments exit 3. A Git read failure exits 4. These reads change no files. The CLI reference describes multiple paths and argument limits.

Read the verdict

Your agent checks current CI, review coverage, mergeability, readiness, and blockers. You see the exact head it read.

What the agent runs

The command prints one line of JSON, and then a summary. This is the real summary for a docs PR, with the PR number masked:
Read it from left to right: This PR has green CI, and it is not ready. CI passed, but the review covered an older commit. The exit code gives the CI verdict: 0 green, 1 red, 2 pending, 3 unknown, 4 read failed, 127 gh missing. A failed read is missing evidence. It is not a pass. To wait for CI, your agent runs this command. It holds the terminal until the checks settle or the time ends:
It exits with the same codes. If the PR has a conflict, it exits with code 5 and tells you to integrate the base with fno do pr push. If the verdict is red, go to CI is red.

Check review

Your agent checks review coverage and comments on the current head. You see open findings and whether replies resolved them.

What the agent runs

Your agent reads the review verdict for the current head with this command:
Exit code 0 means covered. 3 means uncovered, and the output says why. 4 means that the read failed. Then read the review comments on the PR, and the response to each blocking finding. Confirm that each finding is fixed or explicitly left open. The fno:review workflow runs in your coding session, and it records the commit that it reviewed. That record is an attestation. If it names an older commit, run the review again on the current head. To drive delivery yourself, run these workflows in your harness: These are harness prompts, not terminal commands. The harness reference shows the prefix for each harness.

Why a PR waits for your look

What the agent runs

In F[no] 0.4.6, a PR that changes a configured visual surface waits for your look. F[no] calls this blocker visual_approval. In the F[no] repository, the built-in surface includes the root README.md, docs/images/**, and UI paths. Other projects use merge.visual_paint_paths to name their surface. The agent reads fno do pr status <PR> and prepares shots of the change. A design critic reviews those shots first. A missing, incomplete, or stale critique holds the question page. High findings also hold it. The agent fixes those findings before asking you to look. The page lists what the critic checked, remaining medium and low findings, and anything the critic did not judge. For root README and docs image changes, a fresh reader also answers what the change shows. They say whether it makes them want to install F[no] and which claim hurts. That response joins the question page. A harmful claim sends the change back for revision. When the page is ready, your steps are:
  1. Open the look question page that the agent reports.
  2. Check the PR number and head commit on the page.
  3. Read the shots and critique. Approve or decline that change on the page.
An answer records your decision for the head it names. If the agent records your chat approval for that PR and head, it can also clear the gate. A look approval does not grant merge authority or clear other blockers. If every changed visual file was in the approved patch, a later head can carry that approval. If their contents change, edits within those same files can still carry. A newly changed visual file needs another look. An open look page for the current head stops that carry. A decline on a later commit also stops it, including a decline answered on another machine. If F[no] cannot read the evidence for a carry, it holds the PR. If the patch changes only comments or code names, it can avoid the visual hold. The rendered text must stay unchanged for an identifier-only attestation. Code-review coverage still belongs to the code it reviewed. The evals gate checks behavior with evaluation tasks. A baseline records their results on the main branch for comparison with the PR. It holds a merge independently of CI. A red evals_gate can hold a PR whose CI is green. Pending evals hold too. If the deciding machine has a baseline and expects a gate for the diff, a missing result also holds. A fresh install without a baseline does not invent that missing-result hold. GitHub auto-merge does not bypass this check. F[no] refuses to arm it while the evals gate holds. The daemon also disarms queued PRs whose gate becomes red, pending, or required but missing. Read the gate’s reason and clearing command, then check status again.

Merge the PR

Your agent reads merge authority and readiness. It merges only when an active target or your chat authorization permits it.

What the agent runs

Your agent first reads the merge authority in the worktree of an active target:
If it prints true, the target merges the PR after its checks pass, and you have nothing to do. If it prints false, or you have no active target, the merge is your step. The automatic merging section explains the setting.
Warning: This merges the PR into the base branch. If fno do pr status lists blockers, fix them first.
After you authorize the merge, your agent can run this command:
The command prints one line of JSON. It has pr, outcome, reason and strategy, and sometimes cleanup. This is a real held result, for a PR number that does not exist:
You can also use the merge button on GitHub. F[no] counts that as a merge too. Your branch protections still apply. A merged PR does not prove that a website is deployed or that a package is published. Those need their own check.

Next steps