> ## Documentation Index
> Fetch the complete documentation index at: https://empirical.run/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tasks

> Ask Empirical agents to add or update test coverage

A task is a work item for adding or updating test coverage. It keeps the original brief, status, and every agent session associated with the work in one place.

## Create a task

**1. Navigate to Tasks**

Open **Tasks** in your project.

**2. Create a new task**

Click **New Task**.

**3. Describe the coverage**

Add a clear title and description.

**4. Track progress**

Open the task and select the **Sessions** tab. Start an agent session with **New Session**, and follow its progress there.

A clear task leads to a better test. Cover these four things:

* **What to test**: the feature or user flow.
* **Steps**: the actions the user takes, in order.
* **Expected outcome**: what a passing test looks like.
* **Edge cases**: variations or special conditions to cover.

To provide screenshots, videos, or other files, attach them to the prompt when you start a session from the task.

### Example prompt

```text theme={null}
Test the checkout flow for a returning customer:
1. User logs in with existing credentials
2. Adds product to cart from the search results
3. Navigates to checkout
4. Selects saved payment method
5. Completes purchase
6. Verify order confirmation appears with correct order details
```

## Statuses

New tasks are **Open**. A session started from a task reads it, moves it along and notes each step in the task's **Activity**. You can also change the status with the status selector on the task:

* **Open**: asked for, nobody is working on it yet
* **In Progress**: an agent or a person is working on it
* **Blocked**: it needs someone to answer a question or give access; the task says what is needed
* **In Review**: the change is ready, for example a pull request is open
* **Resolved**: done, for example the pull request is merged
* **Closed**: dropped without doing it

Editing the title or description does not change existing session messages, so send important follow-up context in the relevant session as well.

Tasks created from [Linear](https://empirical.run/docs/integrations/linear.md) or [Jira](https://empirical.run/docs/integrations/jira.md) also link back to their source issue.

## Who a task is for

Every task belongs to the person who asked for it: you when you create it, or the person who assigned or labelled the issue in Linear or Jira. People who don't have an Empirical account yet get one created from their email, and it is theirs when they sign up.

Empirical also creates tasks of its own, such as upgrading a package across every project; these belong to Empirical. Agents work on tasks but don't create or delete them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.