# What it leaves in your repository

> Every file the GDD skills leave in your repository: what it holds, who writes it and what you do with it, when preparing and on every change.

Which files the skills generate, who writes them and what you do with them.

Prepare, stop 4 of 4

## When preparing

| File | Who writes it | What you do with it |
| --- | --- | --- |
| `gdd/blueprint.md` | The agent that proposes the blueprint or an adjustment | You approve it. Any change to it goes through you, or your team. |
| `gdd/constitution.md` | Your agent | You approve it. Every brief is checked against it. |
| `gdd/gates/` | Your agent | You approve it. One feature per gate. |
| `gdd/check.sh` and `gdd/limits.sh` | The skills, if you accept them | They're yours from then on. |
| `gdd/context/` | Your agent | You read the sources of each proposal. |
| `AGENTS.md` and `CODEOWNERS` | Your agent | They're yours. |
| `gdd/debt.md` | Your agent, only when you tell it to | Only you decide to record debt. |
| `.gdd/gdd` | Your agent: it's the built layer | Nothing. Git ignores it. |
| `.gdd/profile.md` | Your agent | A few notes on how you work, yours to read and correct. Git ignores them. |

## In every change

| File | Who writes it | What you do with it |
| --- | --- | --- |
| `gdd/briefs/<id>.md` | The orchestrator | You approve it or ask for changes. |
| `features/<capability>.feature` | The orchestrator | You approve it with the brief. |
| `gdd/log/<id>.jsonl` | The layer | Never by hand. |
| `gdd/backlog.md` | Your agents | You read it whenever you want. |
| `gdd/exam.md` | Your agent, when adjusting a gate | You approve it with the adjustment. |
| The `gdd-seal/<id>` branch | The orchestrator and the agent that writes the cases | Nobody merges it. |

## Three rules

- Updating the skills doesn't touch your files. Only the layer gets rebuilt.
- If you have a `CLAUDE.md`, your agent adds a line to it that imports `AGENTS.md`.
- Logs get corrected with a new event, never by editing them by hand.

## Before you cross: Can your agent record debt in `gdd/debt.md` on its own?

- Yes

- No

That's not it. Recording debt loosens a check, and that decision is yours alone.

That's it. Recording debt loosens a check, and that decision is yours alone.

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