Add quality rules
Quality rules are source files, reviewed and reverted like code. An assertion stops the run; an expectation records a reason and continues.

Video in production
The script is below; the recording is being made on a sample tenant.
Chapters
- 0:00A .dq file
- 0:35assert versus expect
- 1:05A rule that cannot compile
- 1:35The run and the report
The script
The spec the recording follows: what the browser does on screen, then what the narration says.
1. A .dq file
Screen. Open quality/aldgate_quality.dq. Scroll the rule blocks.
Say. Quality rules live in the repository as .dq source. They are diffed in review and reverted like anything else. A rule nobody can diff is a rule nobody trusts.
2. assert versus expect
Screen. Highlight an assert block (not-null on isin) and an expect block (freshness within 24 hours).
Say. An assertion stops the run. An expectation records a reason and lets it finish. Severity follows how critical the element is, not how alarming it feels.
3. A rule that cannot compile
Screen. Add a rule on a column that does not exist. Save. Show the compile diagnostic. Remove it.
Say. A rule naming a column that is not there fails to compile. It cannot be published and then quietly never fire.
4. The run and the report
Screen. Run the pipeline. Open Quality. Show the suite result: assertions passed, one expectation recorded with its reason. Open the row.
Say. The run passed its assertions and recorded one expectation with the reason. The rule and the result are in the same place, and the catalog entry for the asset shows its quality score without anyone copying it there.