Help CenterFeaturesPrototypes & accepting work
Prototypes & accepting work
Features

Prototypes & accepting work

What it is

A prototype is what the UI should look like: drawn first, and built only after you approve it. The finished work is compared against it. When you accept the work, you look at the prototype and what was built in side-by-side screenshots, and see at a glance whether they match.

Acceptance is when a session finishes and you take a look to see if it's right. If it is, click "Accept", and the changes are merged into the main code. If not, click "Send back", say what's wrong, and the session keeps working on it.

When to use it

  • Changing the UI: prototype first, finalize, then build. Whether a UI is right is the hardest thing to put into words, and changing a prototype is much cheaper than changing code.
  • Work without a UI (backends, command-line tools, writing docs): no prototype needed. Build it and accept it directly.

First-time setup

Connect the prototype (Project settings › Prototype › Connect prototype): pick the folder the prototype is in. If the prototype needs building first, fill in a build command and approve it once. What you approve is the exact command and the scripts it calls directly. One approval keeps it viewable, and copies on your other computers count as approved; build-script changes committed to the prototype repo don't ask again, only uncommitted changes or a changed command do. If the project has "running builds" opened up ("Don't ask me about this kind again"), the prototype's build command is approved right away too.

Register the dev build (Project settings › Run & preview): register the start command that runs the project, like pnpm dev, and approve it once. Sessions need this to start a dev build and put screenshots side by side with the prototype; commands you haven't approved can't start. You can also have a session read the repo and draft it, and you just click "Approve"; if the drafting session is in full-access mode, it's approved right away without you. Side-by-side shots also work without it: for an iPhone app the session shoots the iOS Simulator running on this computer, and for anything else (a real device, a window) the session can take its own screenshot and put it next to the prototype.

Choose how requests flow (Project settings › Rules › How requests flow): see "Requests: several steps in a row" below.

How to use it

Looking at the prototype

Press ⌘\ to open the right panel. Its Prototype and Outputs tabs belong to the project (marked with its name); choose Prototype to view the UI prototype.

  • Click a page in the page bar to switch to it. You can switch between states (like the empty state, or when there's an error) and switch to dark mode.
  • You can view it in the middle at its design size, or open it in a separate window.
  • Under Version you can see what's "committed" and the "Uncommitted changes". If a build breaks, the last successful one is still shown.
  • When the prototype is on another computer, that computer builds it and syncs it to this one. Even when that computer is offline, you can see the version already saved.
  • While a prototype task is drawing on a computer, that computer's right panel shows the task's workspace and refreshes as it draws. Once it's done, it keeps showing the latest finished one until the next prototype task.
  • If the prototype has its own Tweaks panel, it no longer covers the prototype: it sits in a Tweaks column in the right panel. You can collapse it and search it, changes apply to the prototype right away, and you can save them as defaults. The prototype session can read and change this column too; items it changed are marked, with a note at the top saying what changed and when.

Viewing outputs

Choose Outputs in the right panel to collect images, web page files, PDFs and documents mentioned in this project's session records that still exist on this computer, without scrolling back through chats.

  • Filter by All / Images / Web / PDF / Docs, grouped by Today, Yesterday and Earlier.
  • It follows the project of the session in the middle by default; you can switch projects. Turn on "Include archived sessions" to find files from archived conversations too.
  • Click an item to enlarge or preview it in the panel. You can bring it into a conversation, open it in the default app, reveal it in Finder (the file manager on Windows and Linux) or copy its path. Images from attachments and chats open large the same way: zoom with the scroll wheel, a trackpad pinch or the buttons, and drag around once zoomed in.
  • Files are found only on this computer and aren't uploaded; files on other computers aren't collected automatically.

Changing the prototype

  1. In the lower half of the right panel, click "Start a prototype session". It opens in the prototype folder.
  2. Tell it what to change. What you send includes which page and which state you're looking at.
  3. To point at something: click "Pick element", then click the spot on the prototype you want changed, and it knows which part you mean.
  4. Its changes don't need committing. The right panel refreshes by itself within half a minute.

Finalizing

When you're happy with the changes, click "Finalize" below the prototype in the right panel. Only then does the prototype session commit this version. A finalized version says what time you finalized it.

The prototype session doesn't commit on its own after every turn, so the build always works from the version you finalized. A prototype task in a request draws in its own workspace and task branch; once finalized, QU merges it into the prototype's remote mainline and pushes it (when the project allows pushing task branches). If two computers changed the same spot and it can't merge, it goes back to the prototype session to resolve. The task says which version and which state of the prototype to build from. If the prototype changes later, you're told.

After finalizing, the prototype session's folder stays until a day after the whole request is accepted, so you can keep asking it questions in the meantime. After that, it tells you it has wrapped up and to ask Q for further changes.

How far each draft has been built: every click on "Finalize" counts as one draft. Above the prototype in the right panel it says "Built up to draft N"; click it for the finalized drafts: whether each one is "Not planned", "In progress", "Built" or "Not needed", and how many are left to build.

  • The first time, you're asked how far the current code has got; the draft you pick and everything before it count as built. If you don't choose, counting starts from draft 1.
  • When an implementation task built from a draft is accepted, that draft counts as built automatically; undoing the acceptance moves it back to In progress and leaves a note.
  • For a draft that's not planned yet, click "Create implementation task" on its row; the task goes straight into "To do" on the board, and its details say which draft to build from.
  • For changes made outside the board (say, ones you made yourself), use "Mark as built" or "This draft isn't needed" in that draft's "⋯" menu.

Requests: several steps in a row

Work that takes several steps in a row (like drawing a prototype first, then building it) is called a "request". In the left sidebar, the sessions of one request are grouped together, with "2 / 3 steps" on the right.

Each project chooses one way to flow (Project settings › Rules › How requests flow), and Q picks by it when creating a request. For a single request, just tell Q to switch:

FlowGood for
Depends on the prototypePrototype first if there is one, otherwise build directly (most projects choose this)
Prototype firstPrototype → build → prototype session checks → you accept
Build → reviewBackend or command-line projects without a UI
Research onlyNo code changes; you get a written conclusion

The same page has two "Who checks for you" options. When one is off, you're asked at that step:

  • Finalize once Q has checked: if the prototype matches what you originally said, it's finalized and handed to the session that will build it. Anything you didn't say originally, you're still asked about.
  • The prototype session checks the UI for you: when a session finishes, it first goes to the prototype session to check against the prototype. If it doesn't match, it goes back for changes, up to 2 rounds; if it still doesn't match, it comes to you to decide.

When every step is done, "Needs you" gets an item saying "the whole request is done". You can accept it all together, or open each one to look.

Accepting work

Open the task in "Waiting on you". The top of it is the acceptance view:

  • Screenshots of the prototype and what was built, side by side (projects without a UI have no screenshots). Click to fill the window: side by side, top and bottom, or one side only. ⌘ plus the scroll wheel zooms, and ← → switches sides. When several UI tasks in the same version are handed in, QU merges them, starts the dev build once, and takes each task's side-by-side screenshots for it; the task shows "Done · shooting side-by-side shots in a combined preview with the version's other tasks". Any it can't capture go back to that session to add itself.
  • Tests, acceptance criteria and how much changed, in one line.
  • If Q looked first, Q's suggestion is shown there too.
  • Buttons name the action and task: "Finalize" for a prototype, "Accept" for the whole request, and "Accept this step" for a step in the middle. Tasks still in progress have no accept button. "Send back / Open session" are also available.

When you send back, write one sentence about what's wrong. You can paste screenshots right in, and the session keeps working on it. You can also just tell Q: "Send QS-13 back, the button should be at the bottom right." (QS-13 is the task number.)

The system already blocks these for you, so you don't have to worry about them:

  • Work with failing tests or a merge conflict doesn't count as done. The task stays in "Waiting on you" with the reason written down.
  • Before a session hands in its work, QU tries merging its changes once (not for real, just to see whether they fit). If they don't, the session sorts it out on the spot.
  • If several tasks not yet merged would clash with each other, the sessions in charge are told ahead of time.
  • If a docs task changed code, it's flagged and can't be accepted directly.

Tasks Q suggests accepting can be accepted together in "Needs you".

Q accepts (off by default)

You can let QU accept small changes for you and merge them in. Turn it on under "Project settings › Q accepts", and choose which task types. It only accepts for you when all of these hold:

  • There's at least one acceptance criterion, and all are ticked;
  • All tests passed after the last code change (if there's a PR, CI passed too);
  • If a plan needed your approval, you approved it;
  • The change is small: no more than 5 files and 150 lines (generated files and test files don't count);
  • Q has looked at it and suggests accepting.

Changes to the UI, deploys or databases still wait for you by default; each has to be ticked separately to open it up. Client projects, and changes to dependencies, deleted files, changed images or fonts, or changed CI config, always wait for you. It accepts up to 10 a day. You can undo any of them at any time (anything already merged isn't undone automatically).

FAQ

Can I use QU without a prototype? Yes. Work without a UI is built and accepted directly. When accepting, there are no side-by-side screenshots; you look at the tests, acceptance criteria and changes.

Do I have to compare screenshots one by one when accepting? No. The session has already taken the side-by-side screenshots; a glance is enough. To look closely, click to enlarge.

How is a prototype session different from a normal session? A prototype session opens in the prototype folder and only changes the prototype. It only commits when you click "Finalize".