# Report and open the app

## Report, then open the web app

This is the last step. Do it only once the suite exists, is scheduled nightly with an alert, and has run once (`tests`, `nightly`).

1. Share the first run: publish the summary from `nightly` with `cofactor utilities gist create summary.md --title "<App> first Cofactor run"`, next to the run's web URL.
2. Tell the human, in a short list:
   - Connected (from `setup status --json`, with `done: true`): CLI signed in as `<email>`, organization `<name>`;  source connected (GitHub or image); application `<name>`; first sandbox claimed and running; the tests (the suite's name, whether it holds their existing Playwright tests or a first regression suite, how many, and the first run's result with its run URL); the nightly schedule (time and timezone) and the failure alert (where it goes).
   - Pending (each `done: false` check; Sandbox running reads done only while the proving claim is alive), each with the one thing it needs from the human or the command you will run next.
   - Optional, only what you did: the skills the human picked, installed for `<your agent>`; the MCP server registered for it, if the human chose MCP (say if it needs a restart).
   - How long the setup took in total.
   - How to poke around: `cofactor sandbox claim --application <app> --wait` prints the URL and each persona's login (frontend-only: sign in with the account's own password).

   Only report what you re-read. If a check is unknown, say it is unverified.
3. Ask: "Who on your team should see this?" Invite each with `cofactor org invite <email>` (organization admins; `--role admin` for another admin); they get an email to join. The `link:` it prints lets anyone join: never repeat it; if the email did not send, the human shares it with the invitee themselves.
4. Ask: "Open Cofactor in your browser now?" On yes:

   ```bash
   cofactor open
   ```

   It opens the organization already signed in, with a single-use link valid for 5 minutes. Headless or `--no-open` prints the link instead: give it to the human and keep it private. The browser shows a setup checklist that follows what you finished.
5. Destroy the proving claim when the human no longer needs it (`cofactor sandbox destroy <id>`); the Sandbox running check then reads pending, which is expected. Tell them so.

Do not paste the web link into chat logs or files. Do not run `cofactor open` earlier than this step; the human has been watching the tracking link in their own browser.

Setup is finished when this report is delivered.
