> ## 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.

# Meet operations runbook

> Operator index for Meet QA rooms, call sessions, Workers and Supabase log queries, and freeze bundle handback.

This page is the operator index for Tuturuuu Meet. Product behavior stays on
the pages linked below. A room URL is not workspace authority. This page does
not authorize a production write. Writes stay on the page that owns them and
still need that page's approval. Never pass `--ignore-disk` to skip a disk
gate.

## QA rooms

Meet QA uses the [QA test user](https://docs.tuturuuu.com/build/development-tools/qa-test-users.md)
operator and the [QA accounts](https://docs.tuturuuu.com/build/development-tools/qa-accounts.md) CLI.
Every identity is disposable. Addresses, the `qa_test` marker, run caps, and
the refusal to delete a real account are defined on the QA test user page.

### Signed-in rehearsal

Create the host first so it owns the shared run workspace, then add
participants to the same run. Give the host `--tier pro` so the meeting gets
paid-tier capacity. A `--staff` QA host may host until the run expires.
`canVerifiedAccountHostMeeting` is the only staff exception for a marked
account. QA accounts still fail ordinary staff checks.

```sh theme={null}
ttr qa users create --count 1 --staff --tier pro --purpose meet-rehearsal --ttl 24h --workspace
ttr qa users create --count 40 --run <run>
ttr qa users session <userId> --origin https://meet.tuturuuu.com --out ./storageState.json
ttr qa users list --run <run> --json
ttr qa users cleanup --run <run>
```

Sessions are minted without the password and written mode `0600` under
`~/.tuturuuu/qa/<run>/`. Passwords stay in the Keychain service `tuturuuu-qa`
or in that run directory. They are never printed. A headed browser is required
for signed-in acceptance. A User-Agent that names an automation framework gets
`403 ABUSE_CHALLENGE_REQUIRED` on session mutations.

`ttr qa users cleanup --run <id>` and `--expired` delete through the web
operator path. That path erases Meet attendance for those accounts
immediately and removes the run workspace, including moving Meet Mira consent
evidence into minimal consent proof. The Cron Control job
`qa-test-user-cleanup` runs every 15 minutes and does not erase attendance.
Auth does not expire the accounts by itself. Pause flags live on
`private.qa_test_user_control` (`cleanup_enabled`, `provisioning_enabled`).

Runs created before the `qa_test_` subscription fix can still carry a newer
Free row that masks the test tier. Meet then answers `402
MEET_AI_MODEL_NOT_ON_PLAN`. Start a new run.

### Meet product sessions and guest rooms

`ttr qa session --product meet` issues one fresh identity. Member TTL is 15
to 60 minutes. Guest TTL is 1 to 60 minutes. The CLI caches a minted session
per run so retries stay inside Supabase Auth token verification limits.
`--exec "<cmd>"` revokes or deletes that session when the command exits.

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

Rules from the CLI:

* Signed-in Meet QA supports `--role member` only. `--workspace` must be `qa`.
* `--guest-verified` redeems one human-check pass through
  `POST /api/meet-call/[meetingId]/guest`. It requires a meeting UUID. The
  role is guest. The tag is `qa-meet-guest:<run>`. Member sessions use
  `qa-meet-member:<run>`. Both are excluded from analytics and billing.
* `--meeting` applies only with `--guest-verified` on issue. On cleanup,
  `--meeting` revokes guest sessions for that room.
* Cleanup with no `--run`, `--meeting`, or `--session` acts on expired cached
  sessions, then deletes expired QA users. With a run id it deletes that run.
* A failed issue prints the run and user ids. Recover with the legacy
  `ttr qa users session` and `ttr qa users cleanup --run <id>` commands.

Guest verification stays on unless a verified staff operator sets a reason
and an expiry. The commands and the Admin control are on the
[QA accounts](https://docs.tuturuuu.com/build/development-tools/qa-accounts.md#staff-only-guest-verification-overrides)
page.

Disposable rooms for acceptance are scratch rooms, not customer rooms. The
[standalone release](https://docs.tuturuuu.com/build/devops/meet-standalone-release.md#promote-and-verify)
live check joins two approved disposable clients in one disposable room.
The local media harness uses scratch room identities and writes no
application database rows. Delete the QA run when the pass ends. Do not leave
a rehearsal workspace or guest session past its TTL.

## Sessions

A session is the live call plus, when Meet AI is on, its transcript session.
[Before, during, and after a session](https://docs.tuturuuu.com/platform/applications/meet.md#before-during-and-after-a-session)
is the product order: confirm workspace and access, use the in-call controls,
then review notes and follow-ups before anything is written to Tasks or
Calendar.

### Who can host and who can join

| Actor | Handling |
| - | - |
| Host | Confirmed email, and either verified `@tuturuuu.com` staff, an unexpired `--staff` QA host, or a paid tier while `MEET_PAID_TIER_HOSTING_ENABLED` is exactly `true`. The creator must still belong to the workspace to keep host privileges. |
| Workspace member | May join regardless of email domain. |
| Signed-in invitee outside the workspace | Lobby until the host admits them. The invite grants no workspace membership, recordings, or archived transcript access. |
| Anonymous guest | Name, optional password, and guest verification. The server sets the `guest` marker. Admission does not turn a guest into a member. |
| Waiting room | Does not keep the meeting alive. |

Details, flags, and the lobby copy are on
[Hosting eligibility](https://docs.tuturuuu.com/platform/features/meet-calls.md#hosting-eligibility-and-call-verification)
and
[Participant identity](https://docs.tuturuuu.com/platform/features/meet-calls.md#participant-identity-markers).

### Lifecycle

* Creating a meeting checks the host gate, then opens the pre-join stage.
  Instant meetings are named from the host display name, or stay untitled.
* Each reconnect fetches a new join token from
  `POST /api/meet-call/<meetingId>/token` and re-checks membership. A reused
  token fails after it expires while the UI still says it is reconnecting.
* A clean close (`1000`) and a host removal (`4403`) are not retried.
* Media can continue across a signaling drop. Muted microphones stay attached
  with `enabled = false`. Cloudflare expires a track after 30 seconds without
  packets.
* The room ends after five consecutive minutes with no admitted participant
  connected. The original owner is the only actor who can restore it, and
  restoration does not create a new resource allowance.
* Meet AI sessions are separate rows in `public.meet_ai_sessions`. A
  `self_v1` start sets `protocol`, `capture_state = 'active'`,
  `billing_host_id`, `billing_ws_id`, and a 3-hour capture deadline. The room
  ends the session on room end, the deadline, a drain, or a replacement.
  Consent and dispatch rules are on
  [Per-speaker transcription](https://docs.tuturuuu.com/platform/features/meet-per-speaker-transcription.md).

### Troubleshooting

| What you see | What to check |
| - | - |
| Stuck on reconnecting | Fresh token on every attempt. `1000` and `4403` must stay closed. [Reconnection](https://docs.tuturuuu.com/platform/features/meet-calls.md#reconnection). |
| Host cannot create a meeting | Email confirmation, workspace membership, paid-tier flag, or QA staff expiry. [Hosting eligibility](https://docs.tuturuuu.com/platform/features/meet-calls.md#hosting-eligibility-and-call-verification). |
| Invitee never enters | Lobby versus a lost `returnUrl` / `nextUrl` chain. Outside accounts are not members. |
| Room ended while people were quiet | Five-minute empty-room rule. Waiting-room sockets do not count. [Empty rooms](https://docs.tuturuuu.com/platform/features/meet-calls.md#empty-rooms-and-owner-restoration). |
| No microphone or camera | `NotFoundError` is local, before Cloudflare. Permission and device-busy failures are separate. |
| `SFU_HTTP_425`, timeout, or failed | The SFU was not ready, or the peer connection stalled. [Media connection readiness](https://docs.tuturuuu.com/platform/features/meet-calls.md#media-connection-readiness). |
| `402 MEET_AI_MODEL_NOT_ON_PLAN` | Plan check, or a QA workspace whose Free row masked a `qa_test_` tier. Start a new QA run. |
| `503` during credit admission | Retryable credit-check failure, bounded to three tries. A real refusal is `402` and Meet stops capture. [Transcription credit admission](https://docs.tuturuuu.com/platform/applications/meet.md#transcription-credit-admission). |
| Chunk upload never reaches the Worker | Ray ID in Cloudflare Security Analytics. Managed-rule exception and both hosts are on [Production upload diagnostics](https://docs.tuturuuu.com/platform/features/meet-calls.md#production-upload-and-provider-diagnostics). |
| Meet AI unavailable | `MEET_AI_DISABLED` must be exactly `false` or `0`. Allowlist, denylist, and protected workspaces still apply. [Kill switch](https://docs.tuturuuu.com/platform/applications/meet.md#meet-ai-kill-switch). |
| Profile name save refused in automation | `ABUSE_CHALLENGE_REQUIRED`. Use a headed browser. Do not spoof the User-Agent. |

## Observability log queries

Meet's frontend Worker is `tuturuuu-meet`. Signaling, presence, and chat are
`tuturuuu-meet-realtime` (`meet-realtime.tuturuuu.com/health`). Workers
Observability is head-sampled at 0.05 outside the wave-1 Workers, and Meet is
not a wave-1 profile. A missing log line is not proof the event did not
happen. Logs must not contain raw audio, transcript text, provider messages,
or credentials. Provider failures log a fixed category and an HTTP status.
`missing_configuration` is a safe 500. Other provider failures are a safe 502.

There is no logpush or tail consumer on these Workers. The Postgres log drain
belongs to the inactive Docker web runtime and is not the Meet Worker log.

### Workers Logs (bounded)

`scripts/ci/cf-worker-observability.mjs` runs `cf logs query`. It does not
stream. `since` is 1 to 1440 minutes. `limit` is 1 to 200. The JSON object
has an `events` array. Live tails stay on `wrangler tail` until `cf` can
stream. `cf o11y telemetry query` is not a qualified replacement.

```sh theme={null}
node scripts/ci/cf-worker-observability.mjs tuturuuu-meet --since 15 --limit 50
node scripts/ci/cf-worker-observability.mjs tuturuuu-meet-realtime --since 15 --limit 50
```

The script builds:

```sh theme={null}
cf logs query --worker <worker> --since <utc-iso> --limit <n> --json
```

Use this for a recent invocation review after a release probe. The release
probes themselves are the build-info and health curls on the
[standalone release](https://docs.tuturuuu.com/build/devops/meet-standalone-release.md#promote-and-verify)
page. Cloudflare Security Analytics, not this query, is where a blocked audio
chunk's Ray ID is read.

### Supabase (read-only)

Use the service role only where the linked page already says so. Select
status columns. Do not copy `notes`, transcript text, `usage` blobs, display
names, or guest ids into a shared log.

Open per-speaker chunks (the settle write is not repeated here):

```sql theme={null}
select c.id, c.session_id, c.account_id, c.attempt_started_at, c.reserved_cost_usd
from public.meet_ai_chunks c
where c.stream_id is not null
  and c.status = 'processing'
  and c.reservation_state = 'reserved'
  and c.dispatch_consent_revision is not null
  and c.attempt_started_at < now() - interval '10 minutes';
```

Settling those rows is a production write owned by
[Meet per-speaker operations](https://docs.tuturuuu.com/build/devops/meet-per-speaker-operations.md).
Do not shorten the 10-minute threshold.

One Meet AI session, without note text:

```sql theme={null}
select id, protocol, capture_state, billing_host_id, billing_ws_id,
       created_at, ended_at, transcript_purged_at
from public.meet_ai_sessions
where id = '<session-uuid>';
```

`self_v1` rows use `protocol = 'self_v1'`. Retention clears
`notes` and `notes_edited` and sets `transcript_purged_at` after 365 days.
The fence and dry-run read are on
[Meet transcript retention](https://docs.tuturuuu.com/build/devops/meet-transcript-retention.md). Do not
open that fence from this page.

Credit ledger columns documented for deductions are `feature`, `model`,
`tokens`, `credits`, and `cost_usd`, with `transaction_type = 'deduction'`.
Registry keys `meet_transcription` and `meet_notes` meter as an AI Studio run
whose credit feature is `generate`. Confirm which of those strings the ledger
stores before filtering a wide window. Attendance intervals live in
`private.meet_attendance_sessions` (90-day retention, personal data). QA
mutations are in `private.qa_test_user_events` (ids, tier, purpose, and
timestamps only): `create`, `session`, `delete`, `workspace_create`,
`workspace_delete`.

Platform metrics that read these tables, and the gaps (nothing reads the
Supabase metrics endpoint), are on
[Observability and product analytics](https://docs.tuturuuu.com/build/devops/observability-analytics.md).

## Freeze bundle handback

While `origin/main` is frozen, a Meet lane does not push to it. Ship the
commits as a git bundle and hand that bundle to the Meet lead. This is a
transfer of commits that are not on `origin/main`. It is not a production
deploy and it does not bypass the disk gate. Heavy checks, when they are
required, still move to an admitted host with the bundle, as described for
[standalone API verification](https://docs.tuturuuu.com/build/devops/standalone-api.md#generation-and-verification).

1. `git fetch origin` and record `git rev-parse origin/main`. That SHA is the
   base.
2. Add a clean worktree at that commit. Do not commit on a shared checkout
   that is dirty or behind.
3. Commit only the lane's owned paths. Use a Conventional Commit. The trailer
   is `Signed-off-by` for the committing identity. Do not add
   `Co-authored-by`.
4. Do not push.

```sh theme={null}
BASE=$(git rev-parse origin/main)
TIP=$(git rev-parse HEAD)
git bundle create "/tmp/meet-${TOPIC}-${TIP}.bundle" "${BASE}..HEAD"
git bundle verify "/tmp/meet-${TOPIC}-${TIP}.bundle"
shasum -a 256 "/tmp/meet-${TOPIC}-${TIP}.bundle"
```

5. Prove the tip in a second worktree that is already at `$BASE`:

```sh theme={null}
git fetch "/tmp/meet-${TOPIC}-${TIP}.bundle" "HEAD:refs/heads/meet-bundle-import"
git rev-parse meet-bundle-import
git diff --stat "${BASE}..meet-bundle-import"
```

`git rev-parse meet-bundle-import` must equal `$TIP`. The diff is the file
list you hand back.

6. Tell the Meet lead the base SHA, the tip SHA, the bundle path, the
   checksum, and the files touched. The lead imports. Nobody pushes to
   `origin/main` while the freeze holds.

`/tmp` is cleared on reboot. That path is only the live transfer. Orphan
work that must survive a reboot uses the preserve-first rule on
[Fleet blocker recovery](https://docs.tuturuuu.com/build/devops/fleet-blocker-recovery.md#orchestrator-standing-rules):
a verified bundle, a patch, and a checksum in durable scratch, then one
triage row. If the lead cannot take the `/tmp` bundle before reboot, copy
the verified bundle and its checksum there and send that path instead.


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