> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tuturuuu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# QA accounts

> Issue disposable Tuturuuu and Meet accounts and browser sessions from the CLI.

The QA CLI uses the existing [QA test user operator](https://docs.tuturuuu.com/build/development-tools/qa-test-users.md)
and its root workspace permission. Each issue or session command creates a
fresh QA identity and isolated workspace. The initial identity owns that QA
workspace. Use the legacy run workflow to add participants to the same space.
Issuance saves a synthetic display name and completes onboarding before
activating the account. Use `--display-name <name>` with account issue,
session, or legacy users create to choose a name for new fixtures.

```sh theme={null}
ttr qa account issue --product tuturuuu --role member --ttl 2h --workspace qa --json
ttr qa session --product meet --role member --ttl 60m --out ./storageState.json --json
ttr qa session --product meet --guest-verified --meeting <meeting-uuid> --ttl 60m --out ./guestState.json --json
ttr qa list
ttr qa cleanup
```

The CLI writes credentials and Playwright state to owner-only files. Use a
private output directory. Both products share the same operator ledger.
Meet QA sessions auto-expire within 60 minutes, cache minted sessions locally
per run to stay within Supabase Auth token verification limits, and support
`--exec "<cmd>"` to automatically revoke or delete the session on exit.
`--guest-verified` issues a server-tagged QA guest session (`qa-meet-guest:<run>`)
excluded from analytics and billing by redeeming a single-use human-check pass
through the standard `POST /api/meet-call/[meetingId]/guest` verification path.
Cleanup acts on expired identities (`ttr qa cleanup --product meet --run <id>`
revokes Meet QA guest sessions and removes local caches immediately). To recover
a failed session command, use the reported run and user IDs with the legacy
session and cleanup commands.

## Staff-only guest verification overrides

Verified `@tuturuuu.com` staff with active root workspace membership can
temporarily turn guest verification off for a specific room, workspace, or
product (default posture is always ON). Every override requires a reason and a
mandatory expiry (default `2h`, max `24h`), writes an immutable audit log entry,
auto-reverts upon expiry, and renders a visible banner in the product while off.

```sh theme={null}
ttr guest-verification status --product meet --json
ttr guest-verification disable --product meet --room <meeting-uuid> --for 2h --reason "Live event verification mitigation"
ttr guest-verification enable --product meet --room <meeting-uuid> --reason "Incident resolved"
```

The internal Admin console also provides the same control under **Security → Guest Verification**.

The product commands currently support the member role on Tuturuuu and Meet.

## Upskii disposable fixtures

```sh theme={null}
ttr qa account issue --product upskii --role teacher --json
ttr qa session --product upskii --role student --out ./storageState.json --json
```

Run on the authorized macOS executor with the Upskii provisioner Keychain
entry. Each command creates one two-hour test identity. Session issuance uses
normal password sign-in and verifies the exact user ID and email before storing
the browser cookie. The task can enroll this identity in a synthetic class using
the normal invitation flow. Accounts expire on the server. If issuance fails
after contacting the provisioner, reconcile the reported request ID before
issuing a replacement.

Tuturuuu's unattended CI uses a workflow-bound GitHub OIDC token. The QA CLI
does not read the reported M4 Tuturuuu fleet-smoke Keychain item because the
documented QA endpoint has no authentication contract for that item.

### Grant a linked QA teacher access to host a live class

Use an active `upskii-e2e` Tuturuuu QA host and an active disposable Upskii
teacher. Complete account-link consent through the normal Upskii integration
flow. The class must be the private, invite-disabled class tied to the
teacher's release smoke reservation.

```sh theme={null}
ttr qa users grant-upskii-class <host-id> \
  --upskii-user-id <teacher-id> --class-id <class-id> \
  --link-id <link-id> --operation-id <operation-uuid>
```

Reuse the operation UUID when retrying the same tuple. The grant retains its
recorded expiry unless fresh proof shortens it. The command returns grant
metadata. Use the session commands for each product to write its separately
verified browser state to a private output directory.

The grant expires by the earlier of the host and teacher expiries. Live-class
status, room creation, and new Meet admission for signed-in participants and
anonymous guests require an active class grant and link. Workspace realtime
token issuance uses the same check. The admission binding survives removal of
the link or class mapping. Reopening the same class after relinking requires a
fresh grant for the replacement link and the same owner and teacher. For early teardown, revoke the linked account before purging the
Upskii teacher to close admission immediately. The QA grant route and
`upskii-qa-live-class-grants.sql` cover operation replay and admission.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.