2.0 KiB
2.0 KiB
Quality Gates
This document defines measurable release gates for Schemeta.
Release Stages
- Beta: feature complete, controlled rollout quality.
- GA: production-grade quality, accessibility, and operational readiness.
Beta Gates
- Functional correctness
npm testpasses.npm run test:uipasses.
- Visual regression
- No unexpected screenshot diffs in
tests/baselines/ui. - UI budget thresholds (defaults in
tests/ui-regression-runner.js) are met:- sample: crossings <=
1, overlaps <=1, detour <=3.2 - drag: crossings <=
3, overlaps <=3, detour <=3.5 - drag+tidy: crossings <=
2, overlaps <=2, detour <=2.0 - dense fixture: crossings <=
2, overlaps <=2, detour <=3.0
- sample: crossings <=
- Machine-readable report generated:
output/playwright/ui-metrics-report.json
- No unexpected screenshot diffs in
- Interaction reliability
- Selection/deselection/isolate/reset flow verified.
- Undo/redo parity verified for component, pin, net, and symbol edits.
- API/MCP compatibility
api_version/schema_versionvalues present and documented.- Compile/analyze envelopes remain backward compatible (additive policy).
GA Gates
- Accessibility
- Core workflows keyboard-operable.
- WCAG AA contrast on primary controls/text.
- Responsive UX
- Usable at 1280x720 and 1440x900 without clipping critical controls.
- Schematic readability
- No component-wire overlaps from auto layout/routing.
- Label overlap count near-zero on benchmark fixtures.
- Operational readiness
- Rate limiting + auth + health checks validated.
- Error telemetry includes structured codes and context.
- Data durability
- Save/load/restore and JSON roundtrip validated.
- MCP UI bundle + tool endpoints verified end-to-end.
CI Mapping
- Always required:
- syntax checks
npm testnpm run test:ui- verify
output/playwright/ui-metrics-report.jsonwas produced
- Release candidate required:
- checklist completion in
docs/release-checklist.md - intentional baseline updates reviewed and approved
- checklist completion in