Downtime catalog

This commit is contained in:
Marcelo
2026-05-06 00:36:48 +00:00
parent 0491237bad
commit bfc1673d89
42 changed files with 8035 additions and 1093 deletions

View File

@@ -34,3 +34,10 @@
## Notes / parked items
- Prisma drift on (orgId,machineId,seq) unique indexes — pre-existing, not related to this work. Address as separate housekeeping task.
- Node-RED incidentKey rotation behavior verified: 10 distinct keys per real stoppage = correct.
## Path A — dead state cleanup (post Round 1)
- [x] Removed `not_started` and `data-loss` branches from classifier
- [x] Removed `RecapStoppedReason` and `RecapDataLossReason` types
- [x] Simplified `RecapStateContext` to empty struct (kept for future use)
- [x] Updated UI rendering: 5 states only (offline/stopped/mold-change/idle/running)
- [x] i18n: removed dead keys