05
Cursor
ChangeBox uses the current Cursor Cloud Agents API v1. Create a user API key in the Cursor dashboard, then paste it during onboarding. Agent compute stays on your Cursor account.
GET /v1/me
Validates the key
GET /v1/repositories
Lists connected repos. Rate-limited.
POST /v1/agents
Starts a change with autoCreatePR
POST /v1/agents/:id/runs
Follow-up after “Still needs work”
Repositories and environments
Each app names the repositories agents may touch; the primary one gets the branch and the pull request, the rest ride along as context. A report is matched to an environment by the page it came from, and the environment says which base branch to start from and whether agents may run there at all. Production with agents off and staging with agents on is a common shape.
The key is encrypted at rest with the organization's envelope key. Only the last four characters are ever shown again, and replacing or clearing it is written to the audit trail.
Plan before build
While a build waits for approval, the agent runs in Plan mode: it reads the repository and writes a short plan — root cause, files, tests, risk, open questions — without changing anything. The plan and its hash sit on the gate in the console, in Slack, in the widget and on the email decision page. Approving tells the same agent to implement exactly that plan; the evidence packet proves which plan was approved. Turn it off per app in Settings → Policy.
Independent review
When the builder's PR opens, a second agent — never the one that wrote the code — reads the diff against the Change Spec's acceptance criteria and risk, read-only, and answers clean, findings or blocked with a list you can read on the change. Clean moves the change to ready to ship. Findings wait for you: send them back to the builder as a follow-up, or mark the review clean anyway — the evidence packet records the override. An answer that is not in the review shape is a failed review, never a clean one.
Who verifies
A person reports it, a person verifies it: the reporter gets “Ready to check” in the widget and confirms or sends it back. When telemetry or a coding agent filed the change there is nobody waiting, so by default a Verifier takes it. The Verifier is a fresh agent — never the one that wrote the code — that opens the live page in a browser, walks the Change Spec's acceptance criteria read-only, and answers pass, fail or can't tell with a note and a screenshot per criterion. Pass confirms the change. Fail reopens it with the Verifier's notes as feedback and the builder picks it up. Can't tell leaves the change live for a person, and says why. An answer that is not in the verify shape never confirms anything.
Telemetry changes also wait a quiet window (six hours by default, per app). If the same error is not seen again after the change went live, the change confirms on its own with the silence recorded. If the error recurs, the change reopens and the builder gets the recurrence as feedback. A service that reported nothing at all in the window gets one more window before the change is called confirmed. Set the mode and the window under the app's settings; “Always” runs the Verifier on every change, and a person can still weigh in.
The Verifier only takes the criteria a browser can settle. Build-time checks in a spec — tests, type checks, lint, snapshot diffs, file contents, locale keys — belong to the independent reviewer and CI; they show on the card as skipped with that reason and never block a pass.
If your product needs a sign-in, give the Verifier an account. Under the app's Verify screen each app gets an address of its own, verifier-yourapp-1a2b@changebox.ai. Invite it to your product like a teammate, with the least access that still shows the pages people report on. When the Verifier signs in with email, your product sends the one-time code or magic link to that address; ChangeBox receives it and hands it to the running Verifier through a token that lives only as long as that run. Nothing changes in your product, and removing the member revokes it. Password sign-in works too: put a sign-in URL and steps on the environment card with secrets written as $NAME, resolved from the Cursor environment so no credential passes through ChangeBox. Google-only or SSO-only sign-in is not supported yet.