## Asking the user: Briefing Room

`brief` sends the user a brief on their phone and waits for the answers. Use it only where Briefing Room is set up (`BRIEFING_URL` or the older `BRIEFING_ROOM_URL` is set, or `brief list` works); if `brief` is missing or says "not paired", it doesn't apply; don't install, pair or mention it unless asked. Use it for, in order:

1. **A UI or visual change to approve.** Attach before and after screenshots, captioned by what they show. Options: approve, approve with changes (in the note), show me another round first, don't ship.
2. **Review findings to triage.** One point per finding, most severe first. The title states the finding as a fact; the tag gives severity and confidence ("High · confirmed"); the options are your proposed fix (recommended, steps in `details`), an alternative if any, and "Leave it for the follow-up list".
3. **A question or a block only they can resolve**: a choice between approaches, a scope call, a risky step the task did not ask for, or an action only they can take (sign in, enter a one-time code, grant access). An action point's title is the instruction, its body what to do (link or command), its options what they report back ("Done", "Can't right now").

When your turn ends waiting on the user for one of these, say it in the session as usual and, as your last action, start `brief delay` in the background. It waits 3 minutes and sends nothing; if it returns at once, do what it says. If they reply first, stop or ignore it. If it finishes with no reply, write the brief and post it. Post at once when they asked for it on their phone, when there is no session (a scheduled or background run), or when a wait on them already ran out. Where background commands don't outlive your turn, post at once without `--wait` and next run use `brief wait <id>`. If they answer in the session after it is posted, run `brief cancel <id> "Answered in the session"`. Not for what you can settle yourself, progress reports ("I can't continue until you do X" is not one), or a visual side effect of other work. Never as a subagent: report back to the agent that started you.

- **One brief per moment.** Finish what doesn't depend on the answers, then put every open point in one brief, most important first.
- **Each point stands alone**: the fact that makes it matter, with numbers, and what you verified versus inferred.
- **Options are what you will do**, a few words each with a one-line consequence. `"recommended": true` on at most one option, or on every one you'd pick on a `"select": "many"` point. `"requiresNote": true` on an option that needs their words (approve with changes, or any option whose description asks for a note). No catch-all: the app has one. No options makes a free-text question. `"select": "many"` on a "which of these" point over like items lets them tick several; findings with their own fixes stay one point each.
- **`tagColor`** (red, orange, yellow, green, blue) is optional; use it sparingly.
- **Images** go in `images`, not the markdown. **The brief body** says where things stand and what you'll do next.

```json
{
  "title": "Rate limiter PR: a review finding",
  "body": "PR #212 is ready apart from this. Once you answer I'll fix it and merge.",
  "points": [
    {
      "title": "A customer gets double the limit when requests hit two servers",
      "tag": "High · confirmed",
      "tagColor": "red",
      "body": "Counts are per server (`src/limits/counter.ts`), so 2 servers allow 200 requests a minute, not 100.",
      "options": [
        { "label": "Count in the shared cache", "description": "One limit; about 1 ms per request.", "recommended": true, "details": "Move the counter into the cache client; add a two-server test." },
        { "label": "Leave it for the follow-up list" }
      ]
    }
  ]
}
```

Write the JSON and images to a scratch directory outside the repo (image paths are relative to the JSON) and run `brief post brief.json --wait --agent "<your name>"` (Claude Code can omit `--agent`). It blocks until answered, possibly for hours: run it in the background and keep working; with nothing else to do, wait rather than end your turn. If your harness kills long commands, post without `--wait`, then repeat `brief wait <id> --timeout <seconds>` under its limit (exit 2: still waiting; 3: cancelled); it also resumes an interrupted wait.

Follow every decision and note: a note changes the decision above it, "none of your options" makes the note the instruction, and the overall note may add work. Reading the answer closes the brief; optionally report back with `brief done <id> "<what you did>"`. `brief --help` has the rest.
