apps/meet) combines meeting planning and live collaboration.
The canonical destination is tuturuuu.com/meet after cutover. Public product explanations live on the main site; operational
rooms, plans, and workspace meeting records are excluded from search indexing.
Web product and public-plan pages
Web’s public Meet landing and plan pages use/products/meet and
/products/meet/plans/<id>, with Vietnamese canonicals below /vi/products/meet.
Their share controls use that product-plan URL. A successful deletion returns to
the localized product landing page. Meet’s operational app retains its separate
root or /meet paths and its existing indexing policy.
The old Web /meet landing, /meet/plans/<id> and localized equivalents return
307 redirects only. Exact Calendar and AI landing aliases, including Vietnamese
equivalents, also use 307 redirects to their existing product pages. /meet and
/calendar are reserved for apex mounts. The temporary Web aliases take effect
when the gateway forwards a request to Web. Nested app routes and
APIs are excluded. Existing /meet-together routes are outside this relocation.
Web and satellite workspace settings reserve the meet, calendar, and ai
handles so these root aliases cannot be assigned to workspaces. Reservation
rejections are covered in both workspace route test suites.
Follow-up: the shared packages/ui legacy Meet defaults still use
planBasePath="/meet/plans" and copy-link URLs that pass through these redirects.
They remain unchanged here; migrate those defaults before removing the rules.
apps/web/src/lib/product-marketing-redirects.test.ts exercises Next’s actual
redirect matcher for locales, plan ids, repeated/empty query values and excluded
siblings. The Web build gate runs node scripts/ci/web-product-marketing.runtime.mjs
against the built Next server. It verifies all eight temporary redirects, including
repeated query parameters; the focused route tests cover the excluded application
and Meet Together paths. Build and browser acceptance remain separate from that
matcher test.
The operational Meet root serves the public landing to anonymous visitors without
loading workspace plans. Signed-in visitors go to personal meetings. The Meet
page-model regression tests cover both entry paths. When profiling the first
visit, track Worker response time separately from first contentful paint and
repeat the run with the same browser profile to check asset reuse.
Choose the meeting surface
Before, during, and after a session
Before joining, verify the correct workspace/plan, participant access, and the configured meeting provider. During the call, recording, transcription, and assistant behavior follow the documented session controls and provider state. Afterward, review notes and proposed follow-ups before writing to Tasks or Calendar. A proposal is not an executed action, and a room URL is not broad workspace authority.Transcription credit admission
Live transcription bills Gemini usage to the host’s personal workspace. Each upload window is admitted against AI credits before its transcript row is reserved, so a refusal never leaves a “[Missing audio segment]” gap. A failed credit check (RPC error or unreadable result) is retried at most three times with backoff, then returns a retryable 503 that stays within the client’s five-minute recovery window. A real refusal (credits used up, daily limit, model not on the plan, or another plan restriction) is a non-retryable 402 with a client-safe reason code. Meet then stops capture, finalizes the session, and shows the specific reason in English and Vietnamese instead of the generic partial-transcript alert. Notes generation keeps its own admission check. Regression controls:server/credit-admission.test.ts,
server/chunks-credit-admission.test.ts and use-meeting-ai.test.ts under
packages/meet-core/src/features/meeting-ai.
Public authentication callback
Meet’s native app renders the tokenless/verify-token and /vi/verify-token
callback shell for exact GET and HEAD requests, including locale context, without
consuming a verification token or requiring an account session. The explicit
English locale prefix retains normal locale canonicalization. This lets a direct
callback visit render the bilingual loading/logo UI and its hydration assets.
An explicit token query parameter, including an empty value, and other methods
continue through the shared verifier; token validation, safe next destinations,
session cookies, login routing and protected routes retain their existing rules.
The exception applies only to these exact callback routes, not API or workspace
routes. Real-proxy controls live in apps/meet/src/proxy.public-callback.test.ts;
SSR, hydration assets and both locales still require the emitted Worker CI gate.
Browser language selection
When a Meet page has no supported locale in its URL or locale cookie, browser language negotiation uses valid locale tags fromAccept-Language in their
quality order. Wildcard ranges and invalid locale tags are ignored before locale
matching. If no valid preference remains, Meet uses its existing English default.
Valid regional English and Vietnamese preferences continue to select their
supported language. Zero-quality ranges remain excluded by negotiation.
A supported URL locale takes precedence over the locale cookie, which takes
precedence over the browser header. Public callbacks retain their existing locale
handling; authentication, SSO destinations and safe next-path rules are unchanged.
Real-proxy and Request-bridge regression controls live in
apps/meet/src/proxy.public-callback.test.ts. Hosted original and restored Worker
acceptance remains a separate gate.
Public login locale routing
For the exact locale-prefixed public login paths/vi/login and /en/login,
Meet uses the configured English default for as-needed prefix handling.
Explicit /vi/login continues to the login renderer with the Vietnamese locale
header, even when the locale cookie or browser language prefers English.
Explicit /en/login intentionally retains its redirect to unprefixed /login.
Unprefixed /login retains the existing cookie and browser language selection;
all other paths retain their existing locale handling.
This path-scoped rule leaves the default authentication policy, public callback
handling, token verification, session checks and branch ordering unchanged.
Central SSO continues to return through Meet’s /verify-token callback, and the
shared safe next-path guard continues to reject external destinations.
The real-proxy/bridge regressions in
apps/meet/src/proxy.public-callback.test.ts cover both login paths with absent,
English and Vietnamese headers and conflicting locale cookies, preserving the
encoded query, forwarded locale, exact callback continuation and zero fetches.
Their fixed Start SSO response establishes only proxy/bridge continuation; shared
login-page rendering and emitted original/restored Worker acceptance require
separate runtime evidence. These controls do not establish the cause of a past
hosted redirect.
Plan guest passwords and sessions
Scope: guests who join a Meet plan by name, with or without a password, on both the Meet satellite and the web-hosted plan page. Signed-in platform users are unaffected.- Storage. Guest passwords are stored with the shared server-only KDF in
@tuturuuu/utils/crypto(scrypt, encoded asscrypt$N$r$p$salt$keywith N=2^15, r=8, p=1, a 16-byte random salt and a 32-byte key). The salt lives inside the encoding, sopassword_saltis written as an empty string for new rows. Verification uses a constant-time comparison. - Credential flow. The guest submits the plaintext password over HTTPS to
the guest login server action. The server verifies it and returns a signed
guest session (
@tuturuuu/utils/meet-guest-session) bound to that guest and plan, valid for 12 hours. Availability updates and guest poll actions present that session (guestSession); the server re-verifies the signature, plan, guest and expiry, and checks that the guest still belongs to the plan. Stored password hashes are never returned to the browser and are not accepted as a credential. - Default. Passwordless guests keep working: the empty password is hashed like any other value. The saved-name auto login on reload still applies only to passwordless guests; the password and the session are not persisted.
- Plan access. Guest login, guest poll actions and guest availability writes
(create and delete) follow the anonymous plan-access rule: they run
getPlan(planId, { actorUserId: null })before any session or database work, so a guest, including one holding a session issued earlier, only reaches public, non-workspace plans. Regression coverage:packages/apis/src/meet/actions/timeblocks.test.tsandapps/web/src/app/api/v1/meet/plans/[planId]/availability/route.test.ts. - Expiry. When a session expires the guest action is rejected and the guest signs in again from the plan page.
- Attempt limits. Guest password attempts are limited per plan and guest
name and per client IP (see
shared-secret password budgets).
While a budget is spent the form shows a localized retry message, even for
the correct password. Verified logins refund one target attempt; source counters
retain the charge. The source budget is 300 attempts per 15 minutes to tolerate
shared office addresses. Creation reserves 10 attempts per plan and source
network per 15 minutes, independent of the chosen name. Different networks do
not share a plan-wide creation cap. IPv6 addresses share their /64; unknown IPs
share a bucket. Missing plans do no hashing. Creation denials use distinct
English/Vietnamese copy about attempts to join.
The optional Durable Object password store is default-off. When assigned, each
IPv4 /32, IPv6 /64 or shared unknown-source bucket, under the same pepper, may
spend at most 5% of the password family’s daily command share across
creation/login scopes, including rejected probes and successful refunds.
This bounds one bucket, not a network allocation or one actor: rotating 20 /64s
within one /48 can still drain the family. HIGH activation hold
FAIR-R1-SYBIL-DRAINremains open. Shared NATs and unknown-source callers can also exhaust their common bucket; P2FAIR-R1-SHARED-SOURCE-LOCKOUTremains open. A repeated denied reservation is cached for at most one second. See the fairness activation holds. Regression coverage:apps/abuse-guard/src/fairness.test.tsandpackages/utils/src/abuse-protection/__tests__/password-attempt-store.test.ts. The participant view and guest table are available only to server/admin clients; client roles cannot query either directly. Regression coverage lives inpackages/apis/src/meet/actions/auth.test.ts,packages/utils/src/abuse-protection/__tests__/password-attempt-limits.test.ts, andapps/database/supabase/tests/security-meet-guest-grants.sql. - Table access.
meet_together_guestskeeps row level security with no client-role policies, and client-role table grants are revoked; only server code using the service role reads it. - Signing secret. Sessions are signed with the shared server token secret
(
TUTURUUU_APP_COORDINATION_SECRET, falling back toSUPABASE_SECRET_KEY) through a purpose-derived key, so they cannot be replayed as any other token type. Rotating that secret ends all active guest sessions.
Password hash migration
- Reset markers.
verifyPasswordaccepts only thescrypt$encoding. Any other non-empty stored hash, including the legacy unprefixed salted SHA-256 hex digest, returnsresetRequired: trueand never verifies or upgrades from a submitted password. Guest sign-in returnsPASSWORD_RESET_REQUIRED, and the plan creator recovers the guest with Reset a guest password. The full policy is in shared-secret password reset. - No backfill. Legacy rows cannot be converted without the plaintext, so the existing hash format is the durable reset marker; there is no schema change, migration step or bulk update.
- Parameter rehash. When a scrypt hash with older parameters verifies,
the login request replaces it with a fresh scrypt hash using an update
filtered on the previous
password_hashvalue, so a concurrent upgrade is never overwritten. A failed upgrade is logged and the login still succeeds. - In-flight clients. Browsers holding a page from before this change send the retired hash field, which the server now rejects. Those guests see a failed save or vote and sign in again after reloading.
packages/utils/src/__tests__/crypto.test.ts,
packages/utils/src/__tests__/meet-guest-session.test.ts,
packages/apis/src/meet/actions/auth.test.ts,
packages/apis/src/meet/actions/polls.test.ts,
packages/apis/src/meet/actions/timeblocks.test.ts,
apps/web/src/app/api/v1/meet/plans/[planId]/availability/route.test.ts,
apps/meet/src/runtime/legacy-action-ports.test.ts and
apps/database/supabase/tests/security-meet-guest-grants.sql.
Runtime boundaries
Signed-in list loading
The native meetings route resolves workspace membership, profile and hosting eligibility before rendering its shell. Meeting rows load through the paginated internal API inuse-meeting-pages.ts; the page model does not also read and
serialize the full schedule. This keeps unused history, Calendar, timezone and
preference reads out of the document’s critical path. The loader regression in
page-model.server.test.ts verifies that unavailable schedule storage cannot
block the authorized shell and that workspace and hosting checks still run.
The personal meetings route skips the invitation lookup because personal
workspaces cannot receive invitations. Team workspace routes still check pending
invitations before rendering their shell.
Workspace plans load their view on demand. Meetings do not wait for the plans
form and its dependencies to download. When profiling, record a first visit and
a cached repeat separately, including document TTFB, compressed and decoded
JavaScript bytes, workspace chunk discovery, the first meetings request, and
per-room state requests. A list-page trace does not measure a login callback or
a realtime connection; capture those flows separately using an approved test
account and redact tokens, cookies and account identifiers from receipts.
Meet shares behavior through packages/meet-core and packages/meet-ui.
Realtime, signaling, provider connectivity, and hosted SFU/TURN are separate
boundaries. A local Worker fixture does not establish hosted media-network
success. The Meet runbook and linked call feature guide
identify the owning deployment and verification path.
Mobile workspace tools documents
native availability and opt-in defaults. Rooms and plan share links stay noindex
even when participants can join without browsing an entire workspace.
Native Worker verification
The native renderer uses TanStack Start SSR, Vite+ and the official Void SDK. Shared meeting behavior and the separate realtime Worker retain their existing ownership. Framework source or a successful build does not establish production cutover or hosted media acceptance. Preserve supplier-generatedsrc/routeTree.gen.ts bytes, including generated casts.
Meet and Calendar need owning-config formatter.includes set to
the root Oxc ignorePatterns entries for **/routeTree.gen.ts and **/*.bridge.gen.ts. Preserve generated bytes and test authored files separately.
Use bun run build:cloudflare in CI. Discover the emitted Worker configuration
through exactly one of .wrangler/deploy/config.json or Void’s saved
.void/preview-deploy-config.json; reject missing or simultaneous pointers.
Void preserves the pointer bytes when moving it, so resolve configPath from
the original .wrangler/deploy directory in either case. Do not assume an
output directory or recreate a missing pointer.
Preserve the existing Worker identity, targeted placement, bindings, secret names
and Durable Object migration history. Qualify, seal and restore the complete
output before publishing those exact bytes with the app-local Wrangler adapter.
Void CLI deployment is not interchangeable: the released CLI rebuilds, prepares
additional output and cannot preserve this targeted-placement path.
Live qualification validates the materialized input and emitted config against
Meet’s fixed resource policy and pinned supplier/parser profiles. It measures
materializer and loader-selection facts twice, rejects typed-source, input or
profile drift, and admits only explicit default representations. Empty queue
producer/consumer lists cannot authorize a queue; existing bindings, migration
history and placement remain exact. Inspect the bounded field-rejection reason
when qualification fails; diagnostic absence does not approve a value.
The schema-2 artifact seal retains the original input path/hash, platform and
qualification profile alongside exact output hashes. Restored discovery requires
the seal, external expected SHA and complete file hashes before policy checks.
It compares historical metadata without opening or rebasing the original input
path and never falls back after a malformed seal. Raw emitted config bytes stay
unchanged. This relationship does not prove historical retained-state provenance.
Regression coverage is in scripts/ci/verify-meet-start-output.test.js.
Both the original prepack dry-run and production restored dry-run use
scripts/ci/meet-dry-run-scratch.mjs from apps/meet, passing "$SOURCE_SHA".
The wrapper derives the emitted config through the existing artifact verifier,
requires its manifest and canonical output, and captures the strict directory
seal and absence of the config parent’s .wrangler and .wrangler/tmp before
running the same app-owned bun x --no-install wrangler deploy --dry-run -c
command with the discovered config and inherited environment.
Wrangler can leave empty .wrangler/tmp ancestors after removing its deploy
child. After successful child close, the wrapper accepts no residue or exactly
that empty two-directory layout. It verifies file hashes and the complete prior
layout before using nonrecursive rmdir on the leaf and then parent, and
rechecks the manifest and strict directory seal afterward. Preexisting, partial,
nonempty, linked, special or unexpected entries fail closed; command failure
preserves residue without cleanup or retry. The file manifest alone cannot
reject extra empty directories. Keep the hidden-entry allowlist, full tar
contents and launcher’s original-artifact seal unchanged. The credential-free
restored gate does not need another dry-run or rebuild.
On rejection, preserve the failed artifact/evidence for bounded inspection;
do not recursively delete scratch or normalize the archive. Syntax and source
review do not qualify this repair: require exact-commit dry-run, pack/restore,
and original/restored launcher acceptance in CI before claiming producer repair.
After qualification, collect native-emitted-config-meet.json even on failure. Keep the actual source HEAD
separate from the event SHA. Retain pointer and config hashes and a redacted key-shape inventory, never raw
configs, resource identifiers, or secret values. Unavailable or overflow diagnostics remain failures. The
receipt provides no acceptance, allowlist approval, or rollback proof. Inspect the actual receipt before
qualifying unexpected queues or configPath fields. Preserve the strict resource, saved-pointer,
native-relative-base, restore, and deployment gates.
Diagnostic receipts use schema 2 with wireEncoding: "scoped-layouts-v1" when
inventory or defaultProbe is present. Only those fields use shared ordered
layouts: [0, layoutIndex, ...values] represents an object and [1, ...items]
represents an array. Scalars and full hashes remain unchanged; optional absence,
null, false, property order and row order are preserved. Top-level status and
provenance remain readable. Use decodeReceipt from
scripts/ci/native-receipt-layout.mjs to restore the original logical schema 1;
it also accepts legacy schema-1 receipts. It rejects unsupported encodings,
malformed layouts/tags, duplicate or prototype-related layout keys, excessive
depth and expanded size. Decoding never qualifies acceptance or supplies missing
status/evidence. inventoryHash still commits to the original inventory JSON.
The complete wire receipt, including its final LF, must fit 16,384 UTF-8 bytes.
Overflow retains the existing schema-1 unavailable summary and failing exit code,
without partial diagnostics. Collection and the live default probe stay logical
objects. Regression coverage lives in native-receipt-layout.test.mjs and
native-emitted-config-receipt.test.mjs; actual emitted-payload fit requires CI
on the new commit, separately from historical and synthetic fixture coverage.
Request adapters preserve satellite sessions, locale rewrites, response cookies
and central API ownership. Native plan mutations use POST server functions with
CSRF checks and the canonical authorization suppliers. Intentional credentialed
guest actions remain scoped to the existing plan policy. Confirmed mutations
invalidate the native loader; denied or uncertain results do not report success.
The owning workflow must verify emitted server/client boundaries, bilingual SSR,
SSO redirects, logout cookies, API forwarding, static assets and Live admission.
The artifact-dependent suite is scripts/ci/meet-cloudflare-render.runtime.mjs;
it runs after building and again against the restored artifact, outside generic
source-only test discovery.
The credential-free restored-artifact job depends on validate and downloads
its exact-SHA meet-worker archive into a fresh immutable-source checkout with
frozen dependencies. Unlike the original post-build gate, it restores the
uploaded bytes without rebuilding, verifies the seal and discovers the restored
config, then runs scripts/ci/meet-native-launcher.mjs and the finite SDK checks
under the existing three-minute deadline. It retains finite graph evidence even
on failure and rechecks the manifest after acceptance. This job has only
contents: read, no production environment or account credentials, and performs
no deployment. The production job retains its own restored-runtime defense.
Workflow wiring is not an executed CI result: client-boundary source review does
not establish hydration or token completion. Provider, staging, canonical-route
and recoverable rollback acceptance remain separate requirements.
Signed-in workspace, room and plan flows, all native mutation transports and
browser hydration need independent acceptance. Preserve
an observed hosted configuration and recoverable prior Worker version before
traffic changes. Local workerd probes do not qualify hosted SFU/TURN, devices,
recording or assistant stop behavior.
Consent evidence and retention schema (M1-B)
The consent log is private server data. Neither authenticated nor anonymous clients can insert, update, or delete evidence; the server appends decisions and orders them bycreated_at DESC, id DESC. Only the service role can erase rows.
A withdrawal cannot be removed by a client to revive an earlier allow (F7).
A BEFORE UPDATE trigger also refuses privileged evidence edits; only nested server/Auth account-deletion actions
can clear user_id, retaining all other fields.
A random UUID participant_ref is minted on first consent per session/participant,
reused for later decisions in that pair, and stored only on consent rows. It is
neither a user-ID digest nor an email/name hash. Deleting an account sets the
consent user_id to NULL while retaining that random pseudonym and the evidence.
Clients cannot delete Auth accounts or trigger this anonymization. Auth account
deletion clears consent identity immediately, even though the legacy Auth trigger
retains the public profile. Later service profile erasure removes its personal
workspace after Auth deletion; consent evidence survives both steps.
These decisions apply by default to Meet and Parley session consent, including
live and recording sources, with no client-role exception. Meeting deletion and
account deletion are distinct from an explicitly authorized evidence erasure.
They do not expand transcript purge into evidence deletion. Guardian/legal
retention policy remains an independent product/legal decision.
Meeting/session deletion is refused while consent rows exist (ON DELETE RESTRICT). Only a trusted service erasure flow explicitly deletes consent rows
before deleting the session or meeting. Transcript retention purges text in place
and retains the session and consent evidence; it needs no consent erasure.
This schema does not enable audio storage.
Meet and Parley retain host-only visibility for existing sessions and callers
that omit visibility. Workspace settings default new application-created sessions
to participants, explicit per-person opt-in, an ask prompt, zero audio retention,
and 365 days of text retention. Retention is bounded to 1–365 days or NULL
(forever); audio retention is enforced at zero until audio storage is implemented.
Notice versions are capped at 80 characters. Workspace settings enforce required
account MFA in addition to membership/admin RLS. Applying workspace overrides
belongs to the server integration; adding settings does not bypass participant consent.
The M1-B migration explicitly replaces private.purge_meet_transcripts_batch:
purge_after <= now() selects expired sessions in both dry-run and delete;
NULL retains a session forever. Existing deadlines are backfilled from
coalesce(ended_at, created_at) + 365 days. New sessions default to 365 days
from creation. Purging clears both original and edited notes, and transcript
chunks; legacy recording transcripts retain their separate 365-day policy.
The migration and rollback close the purge fence and withdraw delete approval.
A database owner must approve fresh dry-run counts before enabling deletion.
The existing batch, daily, terminal-state and stop-fence limits remain in force.
Regression coverage: meet-ai-consent-schema.sql checks client denials and
withdrawal ordering;
meet-ai-consent-retention.sql
checks creator/admin deletion refusal, server erasure ordering, random pseudonym
reuse and account anonymization; required-account-mfa.sql checks MFA policy.
meet-transcript-retention-purge.sql checks custom deadlines,
forever retention, edited-note deletion, ACLs and bounded restart behavior.
Shared documents and Mira presence
A call has one primary shared document plus up to 11 more tabs (12 in total) of kind document, notes, rubric or summary. The primary tab keeps themeeting-document-<meetingId> channel and its workspace checkpoint, so
existing rooms and the native collaboration view keep their content. Each
additional tab uses meeting-document-<meetingId>-<tabId>; its content lives in
that channel’s Durable Object storage and makes no workspace checkpoint
request. Tab metadata, Mira’s presence and Mira edit records live in the room
state and follow room admission: any admitted participant can open, create and
rename a tab; only the host or the tab’s creator can close one; the primary
tab cannot close. The tab list refreshes on a short poll because room messages
do not carry tab state.
Mira appears in a document only through server-authorized paths. The channel
rewrites every browser awareness frame to the socket’s account, strips the
reserved isMira and mira keys and refuses the reserved Mira awareness
client, so a participant cannot show a Mira caret. The server publishes Mira’s
named caret (Mira • Chat or Mira • Live) and selection, sets her active tab
and short status for 90 seconds, and records each edit with its source, action,
requester and bounded before/after excerpts (eight per room). Ask Mira in the
document toolbar uses Private Mira: it requires the requester’s current
Continue choice, deployment and account authority, and their credits, then
returns text that the requester’s editor inserts. After generation, including
a recovered receipt, the server rechecks that choice before any room-visible
write, and the room accepts Mira’s edit and presence only while the choice is
still Continue at the exact revision checked for the request. A refused write
clears only that request’s presence. The document API reads at most 64 KiB of
request body, cancelling the stream at that bound. The requester can accept an
edit or undo it while the inserted text is unchanged.
Regression coverage: packages/realtime/src/meet/room-documents.test.ts,
packages/realtime/src/documents/mira-presence.test.ts,
packages/realtime/src/documents/awareness.test.ts,
apps/meet-realtime/src/channel-checkpoint-request.test.ts,
packages/meet-core/src/routes/api/meet-call/[meetingId]/document/route.test.ts
and packages/meet-core/src/features/call/components/document-workspace.test.tsx.
Whiteboard and breakout groups
Production and staging Meet enable classroom tools with the Worker bindingMEET_EDUCATION_ENABLED=true. By default, admitted participants across all
Tuturuuu workspaces can use the tools in the Meet call activities menu, including
admitted guests. A workspace administrator can opt out by setting
ENABLE_EDUCATION=false in Web under Workspace Settings → Secrets. This
setting also controls workspace Education access in Learn and Teach. The Meet API
checks the meeting workspace’s setting and room access on every read and write.
If the setting cannot be read, Meet disables both tools for that request. Host-only
actions require the room host. Attendance export follows its separate
retention and erasure gate.
The whiteboard shares completed freehand strokes, rectangles, text and sticky
notes. Each participant has their own drawing tools and can undo their own
edits. The host can undo the most recent edit or clear the board. Open panels
refresh every three seconds and reuse drawing data while the revision is
unchanged. The room stores up to 200 items or 256 KiB. Each author can store
up to 32 items or 32 KiB.
The host can create timed breakout groups with automatic placement, manual
assignment or participant choice. The host can move participants, send a
message to all groups, extend the deadline or close the session. Group members
can request help. Audio and video continue in the main call during grouping.
Verify both panels with two admitted participants in a workspace without an
Education setting. Both tools use the existing room snapshot and follow its
lifecycle. To disable both tools across a deployment, set
MEET_EDUCATION_ENABLED=false and redeploy Meet.
Regression coverage lives in
packages/realtime/src/meet/room-classroom-tools.test.ts and
apps/meet/src/app/api/meet-call/[meetingId]/classroom-tools/route.test.ts.
Persistent whiteboard links
private.meet_whiteboards links a meeting to a workspace whiteboard so the board
outlives the call. Board content stays in workspace_whiteboards.snapshot; the
link stores no drawing data. Concurrent room flushes can compare and set against
workspace_whiteboards.updated_at, so no revision column exists.
Deleting a whiteboard removes only its link. Deleting a meeting removes its links
and leaves the boards in the workspace.
The table is service-only, like the other private Meet tables: browsers, mobile
clients and meeting guests hold no privilege on it. The Meet API and room resolve
the real actor and call these service-role functions, which keep the rules in the
database:
Creation is limited to the host or an admin because the default guest access
shows the board to every admitted guest. A whiteboard in another workspace is
reported exactly like a missing one, and a missing meeting or link is reported
as forbidden to anyone who cannot manage the meeting, so ids reveal nothing
across workspaces.
Guest-type workspace members, members of other workspaces and ordinary members
are refused. Listing links for a meeting is a service-role read after the route
proves workspace membership and room admission.
Archived boards: linking one is refused (
55000). Archiving a linked board
keeps its link, but its guest access can then only stay or be lowered; raising
it is refused. Unlinking stays allowed.
Regression coverage lives in apps/database/supabase/tests/meet-whiteboards.sql.
Saved whiteboard activity
The Saved whiteboard activity opens a Tuturuuu Whiteboard (Excalidraw, from@tuturuuu/whiteboard) inside a meeting. It sits beside Co-Programming and the
document in the activities shell, so it can be maximized like any pane, and it
follows the Sorbet theme in light and dark. The classroom whiteboard and the pen
whiteboard are separate activities and keep working.
Scope: Meet rooms, all admitted participants. Parley ships the same strings and
shell entry. Default: no board is linked, so the activity lists nothing until the
host acts.
- Linking. The host or a workspace admin links an existing workspace board or creates a new one (it is created in the meeting’s workspace and linked at once). They also set guest access per link and can remove a link. Removing a link that is already gone succeeds. If a relink names a different guest access than the stored one, the requested value is applied. Every rule is enforced by the link functions; the route only passes the verified actor.
- Who can draw. A live workspace
MEMBERcan draw. Everyone else in the room, including anonymous guests and signed-in non-members, is capped by the link’sguest_access:drawdraws,viewis read-only,nonehides the board. Images are not supported on the room board; elements the room cannot edit stay untouched in the stored scene. - Identity. The actor comes only from the verified Meet session (members) or the guest room token (guests). The browser sends a board id and nothing else. The route proves room admission with the room service, then re-reads the link, the board and its workspace: the link must exist, the board must not be archived and all three must share one workspace. A role change, an unlink or an archive takes effect at the next ticket renewal (about every minute); the room closes the board for everyone when the platform reports it gone.
- Live sync. A join ticket (120 seconds, renewed every 60) opens the room’s
/whiteboardsocket. The browser offers the ticket as a WebSocket subprotocol (bearer.<ticket>beside the publictuturuuu.whiteboard), so it never appears in a URL log. TheWhiteboardRoomDurableObject(one per meeting and board) relays element changes, cursors and selections, merges by element version (a higher version wins, then the lower nonce) and refuses image elements, oversized elements (64 KiB), batches over 200 changes, more than 40 messages per second per socket, more than 50 sockets, and more than 2000 elements. The scene is also capped at 2,000,000 bytes: an edit that would pass either budget is refused with arejectedmessage (the client shows “The board is full”) and the socket stays open, while edits that shrink an element always apply so a full board can be cleaned up. Images and embeds are dropped with anunsupportednotice instead of closing the socket. A viewer or editor may ask for the scene again at most once every 2 seconds. - Persistence. The room loads the board from the database when it first needs
it and flushes the merged scene to
workspace_whiteboards.snapshotthroughPOST /api/v1/realtime/whiteboard/checkpoint. The route accepts only a room-signedcheckpointticket and rechecks the link, archive state and workspace on every call. A flush compares and sets onworkspace_whiteboards.updated_at. A replay of identical content is success; a stale base answers409with the stored scene. The stored scene wins for any element the room did not edit since its last flush, so an element deleted on the web stays deleted; elements the room did edit merge by version, and the union is flushed once. A room with nobody connected and nothing unflushed reloads the board when the next participant joins, so edits made elsewhere in between are never overwritten.403,404and410mean the board is gone: the room stops flushing and closes its sockets, and it reloads at the next join and reopens if the board is available again (relinked or unarchived). - Large boards. Elements past the room’s 2000-element or 2,000,000-byte budget are not loaded into the room. The route writes them back untouched on every flush, so a large board is saved in full and never trimmed. The load and conflict answers list the ids of those elements; the room never reads one as deleted, so an element that grows past a budget on the web survives a flush unless the room holds a newer copy of it. A deleted element keeps only its identity and version in the room, so deleting content frees space. The room stores its scene in 256 KB chunks, so no single Durable Object storage value nears the per-value limit, and a revision counts as persisted only after its write succeeded. After an eviction the room restores its scene, the ids it edited since the last flush, and the expiry sweep for sockets that are still open.
Write budget and stop fence
Edits cost time, not operations. One alarm coalesces them:
The scene and the reserved attempt are written to storage before each network
call, and each flush carries a monotonic revision, so a restarted room resumes
unfinished work once and then goes quiet.
The stop fence is the Worker variable
MEET_WHITEBOARD_FLUSH_DISABLED. Exactly
true or 1 halts every scene write, database flush and the identity write; live
relay and the expiry sweep continue, and unsaved edits exist only in the running
room. The sweep alarm (about one setAlarm per 60 seconds per connected room) keeps
running while the fence is on. It is how a withdrawn guest or member loses a live
board, it writes nothing, and it stops with the last socket. The room stores its identity on the first join after the fence
lifts. Any
other value (the default is false) leaves flushing on. To stop spend: set the
variable to true in apps/meet-realtime/wrangler.jsonc (and the staging
file), deploy the realtime Worker, and confirm no whiteboard/checkpoint
requests or storage writes follow. To resume, set it back to false and
redeploy; the next edit re-arms the room. The fleet keeps the independent
ingress controls in the cost acceptance record.
Regression coverage: packages/realtime/src/meet/board-sync-core.test.ts (write
budgets under burst and 10 minutes of editing, stop fence, failure budgets,
restart, conflict merge), board-sync-protocol.test.ts,
apps/meet-realtime/src/whiteboard-room-do.test.ts,
apps/web/src/app/api/v1/realtime/whiteboard/checkpoint/route.test.ts,
packages/meet-core/src/features/call/server/whiteboard.test.ts and the
whiteboard client tests under packages/meet-core/src/features/call/whiteboard/.
Meet AI kill switch
The shared realtime workspace gate disables Meet AI whenMEET_AI_DISABLED is
absent or invalid. Only exact lowercase false or 0 passes the switch; all
protected-workspace, denylist and explicit allowlist (or reviewed
MEET_AI_ALL_WORKSPACES opt-in) rules still apply. This control applies to
Meet and Parley callers of the shared gate, including Private Mira and room
Mira chat. Mira additionally requires an eligible account (staff or a paid
Personal plan), the workspace’s stored 18+ setting and, for room chat, every
participant’s Continue; see
Meet Live assistants. Meeting
transcription, notes and room Live voice remain disabled.
Regression coverage: packages/realtime/src/meet/ai-workspace-gate.test.ts,
packages/realtime/src/meet/ai-workspace-identity.test.ts,
packages/meet-core/src/features/meeting-ai/server/workspace-gate.test.ts and
packages/meet-core/src/features/live-assistant/server/demo-authority.test.ts.
Managed-WAF request contracts
Meet’s native Start functions usePOST /_meet/functions/*. Their validators,
request identity and authorization run on the server. TanStack Query and router
cache keys stay at the call sites; POST does not make reads into mutations.
There is no shared HTTP response cache contract for these authenticated reads.
packages/meet-core defines no Start server functions. Its Parley admin
'use server' exports are Next server actions with POST form bodies, not GET
query transports. Only fetchWorkspaces requires a transport change in this
inventory. Reads remain idempotent; no validator, handler, actor resolution,
retry, or cache-key change accompanies the transport choice.
Cookie ownership and limits
The invite must reach the root, localized login/callback and room routes, so a
narrower Path would break continuation. It has no Domain attribute and cannot
be scoped away from other paths on the same host while retaining that flow.
Shared cookies arrive at Cloudflare before application code can filter headers.
Stripping a Cookie header in the Worker cannot fix an ingress WAF rejection.
Do not rename, truncate, re-encode or delete shared auth cookies as a WAF remedy.
Contributor-rule exception proposal (approval required)
No blocked sample identifies a cookie name yet. Before approving an exception, obtain the contributor rule, cookie name only, route and request method; never publish cookie values. If Supabase auth is confirmed, resolve the literal storage key fromgetSupabaseAuthStorageKey(NEXT_PUBLIC_SUPABASE_URL) and list
only its actual chunk names. Do not match arbitrary sb-* cookies.
Proposed predicate: host exactly meet.tuturuuu.com, method GET or POST,
validated affected path(s) only, and presence of that literal cookie key (or
its observed chunks) in http.request.cookies (Pro, Business or Enterprise). A literal-name
condition is any(http.request.cookies["sb-<project-ref>-auth-token"][*] ne ""),
OR-ed with the exact observed chunk keys; replace the placeholder before approval.
The cookie field reference
documents the map lookup. Start with
starts_with(http.request.uri.path, "/_meet/functions/"); add individual
page/API paths only when an event proves they are affected. Scope skips to
OWASP contributors 942420 and 942421 only; retain 949110 and other SQLi/XSS
rules. Cloudflare rule resource UUIDs must be resolved by the WAF owner from
those contributor IDs; CRS IDs are not Cloudflare resource UUIDs.
A cookie-presence condition skips those two rules for the matching request,
not just that cookie’s value. It is not a per-cookie inspection exclusion.
Prefer a supported per-cookie exclusion if the plan exposes one; otherwise
approve this residual exposure explicitly. If cookie-name conditions are
unavailable, approval must specify the exact host/path/method fallback and
expiry rather than silently widening to a host-wide skip. This is a proposal,
not an instruction to install or extend an exception. See Cloudflare’s
managed-rule exceptions
and API exception semantics.
Audio uploads and acceptance evidence
useMeetingAi attaches WAV Blobs as audio_0, audio_1, … multipart binary
file parts; only source metadata is JSON. uploadMeetAiChunk forwards FormData
without JSON/base64 conversion. The dormant decoder retains its 480,044-byte
per-file cap, aggregate byte/clip caps and PCM validation. The public chunks POST
handler unconditionally returns 403 before reading audio. Removing an audio
exception therefore needs no encoding or consent change while transcription is
off; WAF rejection can still mask that application 403.
If transcription is explicitly restored and binary multipart still produces a
confirmed false positive, propose only 949110 with host meet.tuturuuu.com,
method POST, an anchored path matching
^/api/meet-ai/[^/]+/[^/]+/chunks$, and Content-Type beginning
multipart/form-data; with a boundary. Approve only after contributor analysis;
a threshold skip suppresses every contributor’s aggregate block on that route.
Do not install a speculative exception or expand it to all Meet APIs.
Regression evidence: apps/meet/src/runtime/server-function-transport.test.ts,
packages/meet-core/src/features/call/lib/invite-continuation.test.ts,
packages/meet-core/src/features/meeting-ai/use-meeting-ai.test.ts,
packages/internal-api/src/meet-ai-upload.test.ts,
packages/meet-core/src/features/meeting-ai/server/audio-input.test.ts, and
packages/meet-core/src/features/live-assistant/phase-a-denial.test.ts.
These tests do not execute Cloudflare managed rules. Require the exact-commit
Meet build in hosted CI and replay representative authenticated navigation,
workspace reads, plan actions, and the denied upload through managed rules
without the relevant skips. Record contributor IDs and redacted outcomes.
POST bodies are still inspected; POST alone does not prove a score below 949110.
Explicit Mail draft handoff
The active Meet call overflow offers Mail to a host who can read the workspace. Parley, guests without workspace access, and nonmanagers do not receive this people-directory surface. Copy invite and room admission retain their own rules. The dialog uses the permitted people email projection and requires explicit selection of up to 20 recipients; hidden or absent emails cannot be selected. Open Mail carries only a versioned draft in a URL fragment to the registered first-party Mail origin. Its join URL uses the existing room code, and the subject and body contain only bounded meeting title text and that URL. Notes, transcripts, recordings, account selection, reply metadata, HTML and attachments are excluded. The payload grants no membership, room admission, Mail permission or sender proof. Neither opening the handoff nor previewing it sends mail or provider invitations. Mail shows a pending preview. Open draft is separate consent to initialize a composer: the managed composer can then autosave using normal Mail permissions; the connected composer persists only through its normal explicit actions. Existing or retained composers block import. Open in new Mail tab leaves that work untouched and requires preview confirmation again in the new tab. Version 1 accepts a UUIDv4 handoff ID, current actor/workspace UUIDs, a five-minute age with 30-second future skew, a 160-character subject, a 1024-character body, a 512-character canonical Meet room URL and a 16,384-character encoded fragment. The body is exactly the subject followed by the join URL on a new line. Header control characters, malformed input and unknown fields are rejected. Recipient addresses are trimmed, lowercased and deduplicated. Literal HTML in meeting text stays plain text and is escaped by the managed composer. Browser replay receipts store only random IDs and expiry, never recipients or body. A Web Lock serializes import claims; missing locking/storage support, corrupt receipts or 128 unexpired receipts fail closed. Receipts expire at issue time plus five minutes and 30 seconds. This is browser-local draft replay protection, not a delivery guarantee or a server authorization mechanism. Sign in to Mail before sharing. Signed-out redirect hops can discard the fragment; resumable login handoff is not established. Generate a fresh handoff from Meet if it is lost or expired. Handoff data must never be placed in login returnTo queries or the room pending-invite cookie. Native acceptance requires stripping the fragment before loader server-function serialization and binding Mail’s personal alias to the server-verified workspace UUID. Coverage includes the real producer picker, both Mail clients/composers, replay and scope/lifecycle tests inmeet-mail-share, meet-mail-handoff, and the
portable protocol tests. Cross-app signed-in runtime acceptance remains a
separate release gate.
Canonical path cutover
The operational app moves tohttps://tuturuuu.com/meet. The product landing
stays at /products/meet. The gateway gives the exact /meet path and its
subtree to the Meet Worker ahead of the Web marketing aliases. The Web aliases
remain the fallback when the mount is withdrawn. English and Vietnamese
operational URLs are under /meet and /meet/vi, respectively.
Follow the cutover procedure
for route admission, 302 and 301 promotion, and rollback.