# Control Plane Map

Agent Spine uses a small committed control plane.

```text
                   human request
                        |
                        v
                 UserPromptSubmit
                        |
                        v
  +------------------------------------------------+
  |                  AGENTS.md                     |
  |        repo-wide contract and safety rules     |
  +------------------------------------------------+
             |                       |
             v                       v
  +--------------------+   +-----------------------+
  | .agents/skills/    |   | .codex/agents/        |
  | reusable workflows |   | bounded subagent roles|
  +--------------------+   +-----------------------+
             |                       |
             +-----------+-----------+
                         v
  +------------------------------------------------+
  | .codex/hooks/                                  |
  | pre-tool policy, audit logs, prompt context    |
  +------------------------------------------------+
                         |
                         v
  +------------------------------------------------+
  | scripts/                                       |
  | verification, bootstrap, installer, smoke gates|
  +------------------------------------------------+
                         |
                         v
              reviewed and verified repo state
```

## Design Rule

If a rule matters to every agent, define it in `AGENTS.md` or shared-brain docs first, then enforce it from `.codex/`, `.agents/skills/`, or `scripts/` where practical.
