Skip to content

ShowcasedPath twoLearning & education

Round Chat

A floating chat window that lets debate partners pass notes, sorted by speech, during a round.

by Claire YPublic Forum debater

What it does

Debate partners trade notes in a small window that floats above every tab.

Partners join a round with their name and a private join code. Messages are split into speech tabs such as 1AC, CX and 1NC, unread tabs show a red dot, and a stopwatch in the header times speeches.

One click pops the chat into an always-on-top window, so it stays visible while a debater flows on one tab and reads evidence on another. Rounds are managed from the Studio or from Round Control, an App SDK app.

The problem

Passing paper notes doesn't work when speeches live on laptops.

In Public Forum debate, partners pass notes during a round, but speeches are now drafted and delivered on screens. Paper notes are slow, and an ordinary web chat hides behind the tabs a debater uses for flows and evidence. Switching windows mid-speech costs time the team doesn't have.

What they built

Rounds, messages and the workflow itself are all documents.

4 document types and a 4-state round workflow: Draft, Ready, In round, Finished.

  • round

    A live-edit round: title, speech tabs, current workflow state and the history of transitions.

  • message

    One chat message referencing its round and speech tab, with author, text and send time.

  • workflow

    Singleton defining states with chatOpen flags, the starting state, transitions and which actors may take each.

  • roundAccess

    Private companion document per round holding its join code, hidden from anonymous queries.

The stack

Studio, App SDK app and Next.js sharing one workflow engine.

  • Content Lake
  • Sanity Studio
  • App SDK
  • GROQ
  • Next.js 16
  • React
  • Document Picture-in-Picture
  • Claude Code
  • Vercel

The hard part

The round workflow is a document, so agents can draft but only people approve.

A singleton workflow document lists states, transitions and which actor (agent, person or both) may take each one. One shared engine turns a requested move into a patch or a readable refusal, and the Studio, Round Control and an agent CLI all use it. When the agent tried to approve a round, it was refused.

Each state carries a chatOpen flag, so whether chat is allowed is data too. The website listens to the round and workflow documents and opens chat without a reload.

Round workflow document (public API) ↗

More from path two

See the full showcase