# Backend status log (append-only) One block per completed backend phase. Newest at the top. Backend lane writes here; frontend reads. ## backend-phase-1 — Config, reference & platform signals — 2026-07-02 - **Shipped:** first marketplace migration baseline (`InitialMarketplaceBaseline`, new **`ops`** schema) with 6 tables (`PlatformConfigs`, `AuditLogs`, `SystemEvents`, `IranianHolidays`, `Notifications`, `SupportAlerts`) + seed (12 config keys, 7 holidays); platform-signal facades `IPlatformConfig` / `IHolidayCalendar` / `IAnalyticsSink` / `IAuditLogger` / `INotificationService` / `ISupportAlertService` (`Persistence/Services/`); `AuditFieldInterceptor` extended to write append-only `audit_logs` rows for `IAuditable` entities; real in-app `INotificationDispatcher` (b0 stub removed); notification-retention hosted service; 5 controllers (admin config/holidays/audit/support-alerts + current-user notifications). - **Contracts:** `dev/contracts/domains/config-reference.md` + openapi snapshot refreshed (yes — 16 paths). - **Mocked:** `IHolidayCalendar`, `IAnalyticsSink`, retention `IJobScheduler` → 🟡; `INotificationDispatcher` flipped to in-app-real 🟡 (SMS/push deferred). See reports/mocks-registry.md. - **Gate:** build clean (0 new code warnings) / tests green (22 pass: 4 identity + 18 foundation). Migration applied to the dev DB; API boots with all 16 paths in Swagger; retention job runs on startup. - **Handoff:** backend/handoff/after-backend-phase-1.md - **Notes for frontend:** f14 = `notifications/*` (envelope unchanged; unread-first lists; `data_json` is a typed deep-link payload). f15 = admin `platform_config/*`, `holidays/*`, `audit/get_audit_trail`, `support_alerts/*` (DynamicPermission). Pagination `page`/`page_size` (default 50, max 100). ## backend-phase-0 — Foundation, cross-cutting seams & starter cleanup — 2026-06-28 - **Shipped:** removed the `Order` demo (entity/feature/repo/config/gRPC) + 3 old migrations; fresh `InitialBaseline` migration; REST surface (`PingController` + `System/Ping` CQRS); `ICurrentUser` + `AuditFieldInterceptor`; five cross-cutting seams (`IDateTimeProvider`, `IFieldEncryptor`, `ICacheService`, `IObjectStorage`, `INotificationDispatcher`) with mocks; `LoggingBehavior` + rate limiter (per-IP global + `otp`/`auth`/`sensitive`). - **Contracts:** `dev/contracts/openapi/swagger.v1.json` published (envelope + ping schemas). - **Mocked:** the 5 seams above → 🟡 (see reports/mocks-registry.md). - **Gate:** build clean (0 new warnings) / tests green (10 pass). Live API verified vs `192.168.100.14` (migration applied + seeded; ping `200`; rate-limit `429`). - **Handoff:** backend/handoff/after-backend-phase-0.md - **Notes for frontend:** `ApiResult` envelope is fixed (camelCase body, snake_case URLs); `GET /api/v1/ping/get_status` is live to wire types against; `429` on over-limit.