2.4 KiB
2.4 KiB
Production quality constraints
Reviewed 12 October 2026. User accepted strict types, workflow tests, security, keyboard/responsive and deployment/rollback checks; no UAT account is provisioned yet.
| Gate | Required result | Evidence |
|---|---|---|
| Types | Zero errors, strict mode retained | npm run typecheck |
| Lint | Zero errors on source/tests | npm run lint |
| Tests | All contract/workflow/component tests pass; no skipped tests | npm test |
| Dependency security | Zero high/critical findings | npm audit --audit-level=high |
| Build | Successful; no oversized chunk warnings; each JS chunk below 500 kB | npm run build |
| Accessibility | Keyboard flows, labels/errors, contrast; zero serious/critical axe findings on tested routes | component accessibility tests and browser checklist |
| Responsive | No horizontal overflow at 320, 768, 1024, 1440 px | Browser UAT evidence |
| Deployment | Nginx validates; container/deep links/API verified; HTTPS ingress | container smoke checks + deployed UAT |
| Release | No unresolved critical/high defects; permissions/privacy/conflicts exercised; rollback verified | docs/RELEASE-CHECKLIST.md |
No new type/lint suppressions, unimplemented stubs, disabled tests or secrets. Do not weaken these gates to make changes pass. Pending environment checks stay pending and block a production-ready claim. Backend business rules, tax/shipping policy approval, SMTP, account provisioning and deployment access remain explicit external gates.