| title | Quality Gates Map | |||||||
|---|---|---|---|---|---|---|---|---|
| sidebarTitle | Quality Gates | |||||||
| description | Layered quality gate map aligned to first-principles ownership and runtime budgets. | |||||||
| keywords |
|
Primary policy source:
docs-guide/quality-testing/infrastructure-principles.mdx
This page is the operational map. Rule ownership and budgets are canonical in the policy file above.
Entry:
.githooks/pre-commit
Responsibilities:
- staged structure and style invariants
- staged unit/static checks (
tests/run-all.js --staged --skip-browser) - staged generated-artifact sync checks
- runtime budget enforcement (
<= 60sdefault)
Out of scope:
- browser sweeps
- WCAG crawl/audit flows
- full/broad link sweeps
- codex issue-readiness governance
Entry:
.githooks/pre-push
Responsibilities:
- codex task-contract validation
- codex issue-readiness validation
- lock overlap validation
- stash-policy enforcement
- non-fast-forward push blocking by default
Entries:
.github/workflows/test-suite.ymltests/run-pr-checks.js
Responsibilities:
- blocking changed-file checks for style/MDX/spelling/quality/links/imports
- docs navigation and script-doc checks
- codex contract + PR-body + issue-state checks
Primary entries:
.github/workflows/test-v2-pages.yml.github/workflows/openapi-reference-validation.yml.github/workflows/v2-external-link-audit.yml.github/workflows/broken-links.yml
Responsibilities:
- browser/render integrity across route sets
- OpenAPI reference integrity
- broad link health and scheduled external checks
P0/P1checks are blocking where they are owned.P2checks may be blocking or advisory based on rollout state.P3checks are advisory unless explicitly graduated.
.githooks/pre-commit.githooks/pre-pushtests/run-all.jstests/run-pr-checks.js.github/workflows/test-suite.yml.github/workflows/test-v2-pages.yml.github/workflows/openapi-reference-validation.ymldocs-guide/quality-testing/infrastructure-principles.mdx