> ## Documentation Index
> Fetch the complete documentation index at: https://docs.textql.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Module 7 · Track B: Validate & Govern

>  (~20 min)

## 7.1 · Validate with golden datasets

```text Prompt theme={null}
Use these golden datasets and validation cases to check the metrics. Where a metric is ambiguous, reconcile it to the governed definition and add a golden-query test that pins the expected value.
```

<Check>
  **You'll see:** accuracy checked against known-correct outputs — and a pinned test that will alert on drift.
</Check>

## 7.2 · Govern with access policies

```text Prompt theme={null}
Apply these access policies to the ontology: restrict sensitive surfaces to the right roles (fail closed), apply row-level filters by scope, and limit restricted data to authorized roles. Show the access logic in the .tql.
```

<Check>
  **You'll see:** governance expressed *in the model* — fail-closed access rules, reviewable like any other file. (Module 9 takes this further with full personas.)
</Check>

### ✅ Checkpoint

* [ ] At least one metric has a golden-query test pinning its expected value
* [ ] Sensitive surfaces fail closed, and you can point to the access logic in the .tql
