Caterium v17.7.0 — Architecture Foundation
Date: 2026-09-08

1. Introduces core/data-layer-v1770.js as the first explicit application data layer. Orders and storage access can migrate away from direct globals/localStorage without a rewrite.
2. Order auto-completion is now a server business rule. PostgreSQL cron runs every minute and marks due orders fully paid/completed.
3. The server updates both normalized sun_v17_orders and the legacy sun_app_state sunOrders payload so existing clients remain compatible during migration.
4. Signed-in cloud clients no longer execute browser-side auto-completion; the old code remains only as local/offline fallback.
5. Client server-automation module can request an immediate run on startup/focus and applies changed normalized orders through the data layer.
6. Error telemetry rejects file:// events, deduplicates identical events for five minutes, and retains only 30 days. Historical file:// events are removed.
7. Stability logger version is synchronized to 17.7.0.
8. PWA cache v75 includes data-layer and server-automation modules.
9. This is phase 1 of the architecture migration; legacy state remains intentionally enabled until subsequent domain-by-domain extraction is complete.
