# Brief: <task name>

- Date: <yyyy-mm-dd>
- Asked by: <role, e.g. owner, client, teammate>
- Brief id: <yyyymmdd-short-name>
- Saved at: <briefs folder>/brief-<yyyymmdd>-<short-name>.md

## Goal

_One sentence, in the words of the person who asked. Copy them, do not improve them._

<goal>

## Context

_Only what the agent cannot find alone: file links, decisions already made, current state._

- <file or decision>

## done_when

_One fact per row, true or false at the end, checkable by someone else. Name the proof now._

| # | True when done | Proof that shows it |
|---|---|---|
| 1 | <fact> | <file path / command + expected output / URL / screenshot> |
| 2 | <fact> | <proof> |

## Constraints

_What the agent must not touch or do. Add the defaults from CONTEXT.md._

- <constraint>

## Out of scope

_Related things that are not part of this task._

- <item>

## escalate_when

_Stop and ask instead of guessing when:_

- a load-bearing fact is missing;
- the task only fits by solving an easier version of it;
- a done_when row turns out impossible or wrong;
- <your own case>

## Report

End with a report that answers every done_when row by number: done or not done, plus the file path,
command output, URL or screenshot that proves it. Add a "Not checked:" line.

---

# Example: Brief: contact form on the contact page

- Date: <yyyy-mm-dd>
- Asked by: site owner
- Brief id: <yyyymmdd>-contact-form
- Saved at: briefs/brief-<yyyymmdd>-contact-form.md

## Goal

"Add a contact form so people can write to me without opening their email app."

## Context

- Contact page: `<your site>/src/pages/contact`
- Form messages go to `<your inbox>` through `<your email service>`.

## done_when

| # | True when done | Proof that shows it |
|---|---|---|
| 1 | The form has name, email and message fields, all required | Screenshot of the page with an empty submit showing the errors |
| 2 | A test message arrives in the inbox | Screenshot of the received message |
| 3 | The site builds with no new errors | `<your build command>` output, exit 0 |

## Constraints

- No new paid service. No change to other pages.

## Out of scope

- Spam filtering beyond the email service's default.

## escalate_when

- The email service needs a key that is not in the project's usual key store.

## Report

Rows 1-3 by number, each with its proof. "Not checked:" line at the end.
