# The pieces and the roles

> Gate, checks and risk, and who does what in Gate-Driven Development: you, the orchestrator, the agent and the reviewer.

What each thing is called and who does what.

Before you start, stop 3 of 5

## The pieces

- **Change**: What you ask the agent to do to the product.
- **Gate**: What must be demonstrated before proceeding. It opens when every applicable blocking check passes.
- **Check**: What shows whether a criterion is met. It can block delivery or leave information for the reviewer.
- **Risk**: The harm a change could cause. It is estimated at Brief and reassessed against what actually changed.
- **Blueprint**: The document that sets out what is delicate, which gates are needed and what each level requires. Changing it takes the approval of the person or team.
- **Context**: What the agent needs to get through each gate. To each gate, only its own.
- **Constitution**: It starts with five lines about the product and goes on with the project's rules that don't change from one change to the next. It goes along on every call, so it's short and clear.
- **Reviewer**: Another agent, in its own session and with a clean context. It reads the change against what has to pass and, where the risk calls for it, runs it.
- **Bounded environment**: The agent works without access to production and with just the credentials it needs.

## Three types of check

| Type | Example | How you know it works |
| --- | --- | --- |
| Machine | Tests, linter, Sonar | It accepts a valid case and rejects an incorrect one for the expected reason. |
| Reviewer | Another agent that reviews and, if needed, runs the change | It recognizes good samples and finds known defects in the ones that fall short. |
| Person | Your approval | Approval covers a specific version. Corrections show what changed before approval. The wait alone cannot tell you how carefully the person read it. |

>

## The roles

| Role | What it does | What it can't do |
| --- | --- | --- |
| You, or your team | You decide the blueprint, approve where needed and answer for the result. | Hand off that responsibility. |
| Orchestrator | Receives the change, hands out the work and applies your blueprint. | Skip a gate or change the blueprint. |
| Builder | Does the work and gets through the gates. | Touch the blueprint, the checks or its own instructions. |
| Case author | A person or a separate agent writes the cases for the change independently. | Build the change. |
| Reviewer | Reviews with a clean context and runs the change when the risk calls for it. | Be the one who did the work, or approve on a person's behalf. |

## Before you cross: Does a reviewer's approval count as a person's?

- Yes

- No

That's not it. What a reviewer passes never counts as a person's approval.

That's it. What a reviewer passes never counts as a person's approval.

[Next: The seven principles](https://gate-driven.dev/en/docs/the-principles/index.html.md) [Go on without answering](https://gate-driven.dev/en/docs/the-principles/index.html.md) [Index](https://gate-driven.dev/en/docs/index.html.md)
