# What the Deploy Graph Is

The deploy graph is a small set of YAML files in `cofactor/deploy/` that says what your system is made of and what each part needs from the others. Cofactor reads it to deploy every commit to an environment in a safe order, so a consumer never goes live before the thing it calls.

**Feedback.** Tell Cofactor the moment a step in this guide is wrong, unclear or missing; a command fails in a way the guide did not predict; you took a detour or had to guess; or a tool you needed does not exist. Send it when it happens, not only at the end: one sentence on what happened and what would have helped. Run `cofactor feedback "<what happened; what would have helped>" --topic instructions --command "cofactor deploy guide <section>"`, or call the `cofactor_feedback_submit` MCP tool with the same text, topic and command. Never include secrets, customer data, real names or URLs; use neutral examples (Acme, example.com).

- `cofactor/deploy/system.yml`: environments and targets
- `cofactor/deploy/contracts/<id>.yml`: what each target provides and requires

A **target** is one independently deployed unit (an API service, a web app, a database schema). A **contract symbol** is one thing a target promises, or relies on, such as a route, a column, a job type or an event.
