# Product context

> Tell the judge what your product does and what you intend, so that it does not call intended behaviour a problem.

## What it is

The product context tells Sequential what your product does: what it is, its goals, its main journeys, the behaviour that you intend, the words that your team uses (a glossary), and what to ignore. Each item is one short line.

Before the judge reads a session in the background or on the session page, it reads what the product does, the intended behaviour and the glossary, up to 2,400 characters, in whole items. So it does not call intended behaviour a problem. Goals, journeys and what to ignore are for people. They do not go to the judge.

## Where it is and who can change it

Product context is on for the organisations that Sequential invites. Open **Settings › Judge › Product context**. Every role can read it.

- An owner or an admin can write it, save it, restore an earlier version, apply or reject a proposal, and clear a mark.
- A person with the Member role can propose a product context.
- A proposal changes nothing until an owner or an admin applies it.

## Let your coding agent write it

Your coding agent can read the product context with `get_product_context` and propose one with `propose_product_context`. The card **Let your coding agent write it** has a prompt to copy into your agent. The agent reads files of your repository and gives the file and line of each item. The page shows them as "Your agent says: from {file}, line {n}".

The token needs the `sessions:explore` scope. To propose, it also needs `insights:propose`.

## Marks

When someone saves, restores or proposes the product context, Sequential checks each new or changed line for instructions to an AI, alone and read together with the other new or changed lines. It checks lines of what to ignore one by one. A line that reads as an instruction is not refused. It is marked, and the product context is saved with the mark. When an agent or the judge reads the product context, Sequential checks it again, and a line that this check flags is marked too. A line of what to ignore is only left out of that read: it is not marked, and the next read checks it again.

The judge and agents do not read a marked line until someone changes it, or an owner or an admin clears its mark. When the id of an item is marked, give it a new id, or clear the mark.

To clear a mark, an owner or an admin who checked the line clicks **I checked this; it is not an instruction**. Sequential then reads the line again until it changes. The history shows when marks were cleared.

## Proposals

A proposal shows its marks and who sent it: "Proposed by a teammate", or "Proposed by an agent" with the name of the agent's token.

When a proposal adds or changes intended behaviour, an owner or an admin can click **Check on recent sessions** before applying it: of the sessions that the judge flagged in the last 7 days (at most 20), it says how many would no longer be flagged with this proposal. It uses the same daily allowance as Try it in Settings › Judge › Questions, at most 3 checks a day.

Each member and each agent token has at most one open proposal. A new one replaces it. A proposal expires after 14 days, or when a new version is applied.

When a save or an apply adds or changes lines in What to ignore, Sequential offers to turn them into mute rules. Nothing is muted until you save the rule.

## History

Sequential keeps every version that was applied. The page lists the latest 20. **Restore into the editor** puts an earlier version in the editor. **Save** then makes it the new version, and its changed lines are checked again.

## Limits

- Up to 4,000 characters and 45 items in all. An item is one line.
- What the product does: up to 3 items of up to 300 characters. Goals: 6 of 200. Journeys: 8 of 240. Intended behaviour: 12 of 240. Glossary: 15 terms of up to 40 characters, each with a meaning of up to 200. What to ignore: 6 of 200.
- At most 5 proposals per project per UTC day, from agents and members together.

## Privacy

What goes to the AI provider, and when: [AI and third parties](/docs/ai-and-third-parties). Sequential keeps the product context, its proposals and its history until the project is deleted.
