> Call `talotrace_start_session` to test an app. Full index: /llms.txt. Errors: /reference/problems.

# Write a brief

A brief is the message that starts a session. The agents work from it, so write it the way you would brief a new tester. Your coding agent writes a first draft from your change and asks you for what is missing.

## What goes in a brief

Start each part on its own line, and leave out any part that does not apply.

| Part               | What to say                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------------------- |
| Target             | The environment to test, and the site each role opens.                                         |
| Product context    | Two or three sentences: what the product does and what changed.                                |
| Roles and accounts | One line per role, naming its saved login by its label.                                        |
| Order              | Only when a step needs what an earlier step made. Number the steps.                            |
| Expected           | What you can see when each step works. Include behavior that looks like a bug but is intended. |
| Test data          | What the session may create, and what it must not change.                                      |
| Priorities         | What must work, and where to spend the most time.                                              |
| Out of scope       | Areas to leave alone.                                                                          |
| Prohibited         | Payments, deletes, outbound email or any other side effect.                                    |

## An example

```text
Target. Environment "staging". The customer opens https://order.staging.example.com.
The admin opens https://admin.staging.example.com.

Product context. A restaurant ordering site with a separate admin dashboard.
An order placed by a customer must be approved by an admin before the kitchen sees it.

Roles and accounts. Customer signs in with the saved account "Customer".
Admin signs in with the saved account "Admin".

Order.
1. Customer places an order and notes the order number.
2. Admin approves that order. Start only after step 1 has finished.

Expected. The approved order shows as "In the kitchen" for the customer.

Prohibited. Real payments. Use the test card saved as $TEST_CARD.
```

## Rules of thumb

* **Start small.** Test one area, read the report, then widen the scope.
* **Leave out Order when steps are independent.** The agents then work at the same time, which is faster.
* **Name logins by label, and values as `$NAME`.** Never write a password or another secret in a brief. See [Environments, logins and secrets](/guides/environments-and-secrets).
* **Test both sides of a product in one session.** A customer and an admin can be tested one after the other, even on two separate sites. Add both sites to the environment first.
* **Say what to rank.** Name what must work and where to spend the most time.

## Next

* [Choose an effort level](/guides/effort)
* [During a session](/guides/during-a-session)