Docs
Using CodeBeast

Review & Test agents

Before you look at a pull request, two agents check it. The Review agent reads the diff like a senior engineer would, and the Test agent boots your app and uses it in a real browser. Both post their results together in one comment on the PR, and the same results appear in the task's Details tab.

The PR comment

The comment is always posted, whether the test passes or fails. It has two sections:

markdown
### Code review — 1 suggestion
🟠 src/auth/reset.ts:42 — Reset tokens are compared with ==, not a constant-time check.
   _Suggested:_ use crypto.timingSafeEqual.
_Advisory: these findings do not block this PR._

### Browser test — ✅ PASS
| Flow | Result |
|---|---|
| Request a reset link | ✅ |
| Set a new password  | ✅ |
| Expired link shows an error | ✅ |
**Screenshots:** …
**Recording:** …

Code review

The Review agent reads the integrated diff and lists findings with a file and line, plus a Suggested fix.

In the PR commentIn the appMeaning
🔴 highShould fixA real bug or risk — worth fixing before merge
🟠 mediumWorth a lookLikely an issue, depends on context
⚪ lowOptionalA style or clarity improvement

When there are high findings, the comment calls them out: "N finding(s) marked high — worth a look before merging." A clean review reads ✅ no findings. If the review couldn't run, it reads ⚠️ could not complete.

Note

Review findings are advisory. They never block the pull request — every comment ends with "Advisory: these findings do not block this PR."

Browser test

The Test agent starts your app on the task's machine, opens it in a browser, and works through the flows named in the plan. The section heading shows the result:

StatusWhat it means
✅ PASSEvery flow worked
❌ FAILAt least one flow failed — see the table and diagnosis
📷 capturedThe plan named no flows to check, so the agent took screenshots without a verdict
⚠️ not verified — the app was not upThe app didn't start, so nothing was tested. See When the app doesn't start.
⚠️ could not completeThe test itself ran into an error

A test result can include:

  • Flow / Result table — each flow from the plan and whether it worked.
  • New console/network errors — only errors that are new compared with how the app behaved before the change, so existing noise doesn't hide real regressions.
  • Diagnosis — the agent's explanation of a failure.
  • Screenshots and a Recording of the session.
  • A link to open the Desktop view so you can check things yourself while the machine is running. See Terminal & Desktop.
Tip

Changes that only touch the backend skip the browser test — there's nothing to click through.

When the app doesn't start

If your app's services don't come up on the machine, the test is marked not verified (shown in the app as Couldn't verify — app not up). The comment includes a Service / Status table showing which part didn't answer.

This isn't a verdict on the change — it means the app couldn't be checked. The card still moves to In Review, and you can review the code as usual.

The most common cause is missing configuration. Give the Test agent what it needs to boot:

  • Add an environment file with the variables your app needs (database URLs, API keys, feature flags).
  • Describe how to start the app in the repository's README or a skill.
  • If your app needs more memory to build, pick a bigger machine size.

When your app needs a sign-in

If the flows sit behind a login, the Test agent pauses and asks you to sign in. The task shows Test: waiting for you to sign in… and a Sign in required banner on the task sheet.

  1. Click Open Desktop — this opens the machine's live browser.
  2. Sign in to your app as you normally would.
  3. Click Continue testing.

The agent waits about 10 minutes for you. If nobody signs in, the test finishes without checking the signed-in flows.

Heads up

Use a test account, not your personal production login. The session lives on the task's machine.