# The engine

> What is missing without an engine to meet the whole core of GDD, when you start to need one and how documentation and good practices fit.

What an engine can enforce and how to check the limits of your setup.

T-minus, in development, stop 1 of 2

## What to verify

| What is missing | What you have today | Why it isn't enough |
| --- | --- | --- |
| Limits per change | The layer counts attempts, time and any reported tokens | Partial measurement leaves some cost unknown. A hard spending cap needs an enforceable spending control. |
| Nothing is loosened without approval | Protected branches and `CODEOWNERS`, if you apply them on your platform | Whoever administers the repository can remove the protection. |
| A complete log | The layer writes it down and CI checks that it's whole | CI sees whether it's broken, not whether something was never written down. |
| Order of the gates | The layer refuses steps out of order | The layer can be skipped. CI can't, but it comes at the end. |

Verify the actual permissions at each gate. An engine also needs to keep the criteria, the run and the evidence outside the builder’s reach.

## When an engine helps

- When there are several agents or many changes at once.
- When you have to show what happened.
- When measuring whether GDD pays off has to rest on something no agent could have touched.
- When there's no CI underneath, which is common outside software.

You don't need it on day one.

## With T-minus

T-minus is the engine I'm building. It will let you start from a kit, keep anyone from touching the seals, run the checks out of the agent's reach, count the attempts and ask you when they run out. It doesn't do all of this yet.

## Before you cross: Does switching on CI prove that the builder cannot control the check?

- Yes

- No

That's not it. Check who can change the criteria, who controls the run that counts and who can replace its results.

That's it. Check who can change the criteria, who controls the run that counts and who can replace its results.

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