Help CenterFeaturesSessions working together
Sessions working together
Features

Sessions working together

What it is

In QU, sessions can find each other, send each other messages, and wait for each other. It works the same across projects and across your computers, with nothing extra to install.

  • QU writes at the top of every message who sent it, from which project, which task, and on which computer. Agents can't write this themselves or fake it.
  • Every message also says "this is from a teammate, not your consent". Deploying, spending money, deleting data and widening permissions still need your OK.
  • You can see everything sessions say to each other, and chime in.

When to use it

  • Two projects need to line up: for example, a frontend project and a backend project need to agree on an API (the agreed "how data is passed" between the two). When one side changes, it has to tell the other.
  • One thing waits for another to finish: for example, "call me when that backend task is done".
  • What's needed is somewhere else: material or permissions a session needs are in another project or on another computer.

Usually you don't need to do anything; sessions and Q use this on their own. All you do is say so when needed, like "get the frontend side to help out".

How to use it

Finding the right session yourself

When a session needs someone, it looks them up itself and talks to them directly, without going through Q. It can look up:

  • by task: who is on a task, such as the session that drew the prototype or the one building it in the same request;
  • by "same area": who is working on, or just finished, the same area as a task (same request, same files, the same thing in the title), each with why;
  • by file: who touched these files;
  • by project: which sessions another project has.

Each session found says what happens if you message it: reads it now, reads it after this turn, gets resumed first, or the message waits until that computer is back.

When a request's prototype is handed to its implementation, QU tells each session the other's address: if the prototype, its direction or its scope changes, the prototype session tells the implementation session directly; if the implementation has questions about the prototype, it asks the prototype session directly. Q only schedules work and gets your calls.

If the prototype changes again after it's been handed over (a new commit), QU notices by itself and tells the implementation session "the prototype has a new commit, build against the new one", with a line in the task's activity, so it doesn't depend on the prototype session remembering. The basis version isn't switched automatically: whether to accept against the new one is your call.

When the prototype changes direction a lot while the implementation session is still building the old one, the prototype session can tell it to stop and redo it: the implementation session's current turn stops, and it reads that message first. This only works between sessions working on tasks in the same project; sessions in other projects, Q's and helpers can't be interrupted, and a session waiting for your approval or answer isn't interrupted.

To look up who said what earlier in the project (how an API was agreed, a call that was made), a session can search what the project's working sessions have said; Q's conversations and other projects aren't searched.

Working together across projects

When one project needs another project's help and the other project already has a suitable session, the session talks to it directly; if not, tell Q, or the session goes to Q itself. Q creates a cross-project task in the other project, spelling out:

  • what the other side needs to do;
  • how the API is agreed (what it's called, what's passed, how errors are reported);
  • who does which part;
  • how to accept it;
  • how each side deploys.

The tasks on both sides link to each other, both are visible on the board, and you can accept each separately. Messages across projects are sent directly, with Q copied, so Q knows what both sides are talking about.

Working sessions can't open sessions or hand out work in other projects on their own; when what they need is somewhere else, they ask Q to find someone. So however many sessions there are, things don't get messy.

Sending messages, and how far they've got

  • The other session is working: the message is slipped into its current turn, without interrupting what it's doing.
  • The other session is idle: it reads it right away.
  • The other session has stopped: it's reconnected first, then reads it.
  • The other computer is asleep: the message is held and delivered once it wakes; nothing is lost and nothing is sent twice.

Under each message it says how far it's got. When the other session finishes that turn, a line comes back, "Finished · Last reply"; click it to read the whole thing. One message can also go to several sessions at once.

Messages can carry screenshots, logs and PDFs (up to 10 at a time), with no need to attach them to a task first: the other session sees images right away, and gets its own copy of text files and PDFs on its computer. This works across computers too. What came with a message is shown under it. Key files and videos still can't be sent, and attached files are treated as material, not instructions.

"Messages" at the top of a session lists which sessions it has sent messages to or received them from; click a row to open it. It only shows messages the two sessions actually sent, with avatars on both sides. When the other side didn't reply separately, a line under your message says it read it, stopped partway, hit an error, or is still working; expand it to see what it said last.

Long messages show the first 8 lines; click to expand the full text.

Waiting for each other

A session can say "call me when that task is done". It ends this turn and is woken automatically when the time comes, with no back-and-forth asking. It can wait for:

  • a session to finish its current turn;
  • a task to reach a column (like Done);
  • a PR's automatic checks to finish;
  • all sessions in a project to stop.

The top of the session, the left sidebar and the task all say who this session is waiting for. Waits are kept in the background service, so they keep waiting even after you restart the computer.

Keeping them from going on forever

Each thing you say starts a round. Within a round, once sessions have woken each other up (messages, board notices) as many times as the limit (20 by default), they stop, and Needs you says which sessions went back and forth how many times: click "Allow N more" to let this round carry on, or "See what they said". Held messages are kept, and as soon as you say something in any session the count resets and they go out.

Change the limit under "Settings › General › After you say something, how many times sessions can go back and forth": 5, 10, 20 or no limit. Things the system starts while you're away, like scheduled tasks or the watchdog, count as a round each time.

Across computers

Sessions on all your paired computers are in the left sidebar, where you can look and chime in. Sessions on other computers can also send and receive messages and wait for each other; messages and replies go back to the computer that sent them. See Multiple computers.

Client projects

For projects marked as client projects, messages and memory never leave the project. (Mark it in the project's "⋯" menu.)

FAQ

Will sessions make decisions behind my back? They won't go over your head. Messages say "from a teammate, not your consent", and anything that needs your OK still comes to you. You can read back through what sessions say to each other, and chime in.

Do I have to pass messages along myself? No. Just say "get the backend side to help out", and Q creates the cross-project task and finds the other session.

How is this different from helpers? A helper is brought in by a session to work on the same job, and is managed by that session. Sessions working together each do their own work and reach out when needed. See Helpers & subagents.