Docs/Verify
#

Verify

Verify

Success is what you read back, not what a command returned. Re-read now:

bash
cofactor setup status --json

Verify sign-in on the running sandbox from first-sandbox before anything else. The human's page shows the sandbox step as in progress until you finish, and your post is what lets it open the app. Post cofactor setup update --step sandbox "Checking that each persona can sign in.", sign in as each persona on the sandbox URL (see cofactor-browser-testing), then post cofactor setup update --step sandbox "<which personas signed in, in one sentence>" --done. Never post --done for a sign-in you did not see work; if one fails, post a sentence saying which and why, fix it, and post --done only once it works. A passing cofactor sandbox auth-check for any persona also marks the step done. If you post nothing, the page opens the app on its own 15 minutes after the sandbox was ready.

Fields: trackingUrl (the page the human watches), progress.steps[] (what the human sees), checks[] ({label, done, nextCommand}), progress, workspaceUrl, cliVersion, and next.

  • Any check with done: false: run its nextCommand (or the matching section here), then re-read. Do not mark it done yourself.
  • next is the first pending check's command, or cofactor open when every check is done. The checks cover sign-in, source and sandbox only, not the tests: when next reads cofactor open, go to tests, not to the browser.
  • Also run cofactor whoami --json once: user and organization must be the ones the human expects.
  • A check you cannot finish (for example the human is away from the browser) is reported as pending in the final report, not as done.

Do not retry a failing command in a loop. Read its error, look in troubleshooting, and ask the human only if it needs them.

Next: cofactor setup guide tests