# Good practices

> Forty-two practices that keep the principles of Gate-Driven Development true when you work with AI agents, ordered by moment.

Forty-two practices, ordered by moment. They're a proposal, not a rulebook: pick the ones that work for you.

Adjust, stop 3 of 3

## Prepare

1. Mark as delicate whatever is expensive if it fails.
2. Start with few gates, but strict ones.
3. Describe what each gate must demonstrate and how you will recognize the result.
4. Choose checks to match what changes and set the level of scrutiny according to the potential harm.
5. Confine the agent before opening its first gate.
6. Agree on limits for time and attempts.
7. Adopt GDD by zones.
8. Keep the constitution and the cross-cutting context simple and clear.
9. Say who it is for and what would prove it doesn't help.
10. Separate what you have seen from what you assume.
11. Ask about what is delicate before the first line.
12. Make the first change cross the product end to end.

## Brief

1. Give the agent short instructions, with its gates.
2. Smaller is better, and the parts are your call.
3. Try the check on a valid result and one it should reject for a specific reason.
4. For delicate changes, keep examples the agent can't see.
5. Always ask what must not be possible.
6. Write each rule so that a reader can tell whether it holds.
7. Say what you assume, and ask openly what you can't assume.

## Execute

1. Run the cheap stuff while working.
2. The reviewer tests with a clean context.
3. Give the reviewer the failures that keep repeating.
4. Set a limit on rounds, and after that only what's new.
5. An unstable gate doesn't burn attempts.
6. Have the builder say what it decided.

## When a person approves

1. What arrives for approval answers four questions.
2. An agent never approves in place of a person.
3. Understand the part you're about to touch, not every line.
4. Define the emergency gate before you need it.

## Close

1. Agree on the expected outcome, the signal that would show it and where to look.
2. What you look at can't be something the builder can fake.
3. Keep what is waiting for a verdict in plain sight.
4. Agree on when a change reaches its users and which maintenance can close after a period with no recorded incidents.

## Adjust

1. Ship with a way back and watch what happens afterward.
2. Write down everything that slips through and which layer should have caught it.
3. What slips through is the reviewer's exam.
4. Measure the reviewer's noise.
5. Now and then, review what you already accepted.
6. Before retiring a check, establish what will still protect the product rule.
7. Set thresholds that trigger an adjustment proposal. A person decides on any change to the blueprint.
8. Look at the report on your blueprint every so often.
9. Compare against a baseline, not your impression.

[Next: Glossary](https://gate-driven.dev/en/docs/glossary/index.html.md) [Index](https://gate-driven.dev/en/docs/index.html.md)
