EI-4.5 — Editorial Quality Gates
Status: COMPLETE
Date: 2026-08-08
Objective
Turn the editorial, taxonomy, PTIR, and URL-governance decisions from EI-3 and EI-4 into executable repository checks so future changes cannot silently regress the production model.
Deliverables
scripts/editorial_quality_gate.py— dependency-free repository validator..github/workflows/editorial-quality.yml— runs the validator on pushes tomainand pull requests.docs/EDITORIAL_QUALITY_GATES.md— permanent governance documentation.
Enforced rules
The gate checks:
- explicit post permalinks are syntactically valid and unique;
- canonical
content_typeandsubjectvalues are used when present; - PTIR uses
series: PTIRwithcontent_type: briefing; - legacy
categories: PTIRmetadata is not restored; /blog/continues to redirect to/writing/;/links/continues to redirect to/contact/;- retired Blog pagination configuration is not restored.
Privacy design
Sensitive EI-1 privacy/DELETE identifiers are intentionally not copied into the public validation script. The gate instead enforces structural rules while the EI-1 inventory and media governance remain authoritative for privacy exclusions.
Result
The production repository now has an automated editorial regression boundary. Future metadata, PTIR, routing, and taxonomy changes are checked as code rather than relying only on editorial memory.
EI-4 implementation work is complete through URL governance and automated quality enforcement.
Recommended next step: close EI-4 as a series and define EI-5 around retained-content rewriting, flagship promotion, and deeper editorial development rather than further infrastructure work.