---
title: Policy Authoring
description: Write, validate, and migrate TrustLoopGuard policy YAML.
---

The source-of-truth policy authoring guide lives in `docs/policies/README.md`
so local files, the future cloud policy API, and the docs site can refer to the
same contract.

Start there for:

- the first-rule walkthrough
- the YAML field reference
- documented policy examples
- validation error explanations
- local-to-cloud migration notes
