docs: mark Phase 7 and 8 tasks as completed in roadmap

This commit is contained in:
Luis Gabriel Ramos Robles 2026-06-13 01:15:49 +00:00
parent be0a12521e
commit 94123c9e74

View file

@ -50,19 +50,19 @@ This plan outlines the step-by-step path to construct, test, and host the platfo
* [x] Implement **PDF / Excel exporter service** (US-COM-013) consolidating metrics by hotel/region.
## Phase 7: Deployment & Security Hardening
* [ ] Write `docker-compose.yml` defining the dual-service configuration (`app-prod` and `app-dev`) on different ports.
* [ ] Write environment variable validation and graceful exit code 0 script on `app-dev` startup.
* [ ] Add `git.yourdomain.com` or a sub-subdomain block in the host Caddyfile.
* [ ] Configure DNS resolution inside the WireGuard network.
* [ ] Implement log-stream redaction rules to prevent personal financial parameters from writing to server output.
* [ ] Final end-to-end security audits.
* [x] Write `docker-compose.yml` defining the dual-service configuration (`app-prod` and `app-dev`) on different ports.
* [x] Write environment variable validation and graceful exit code 0 script on `app-dev` startup.
* [x] Add `git.yourdomain.com` or a sub-subdomain block in the host Caddyfile.
* [x] Configure DNS resolution inside the WireGuard network.
* [x] Implement log-stream redaction rules to prevent personal financial parameters from writing to server output.
* [x] Final end-to-end security audits.
## Phase 8: Internationalization (i18n) Support
* [ ] Create JSON translation files for English and Spanish under `src/lib/i18n/dictionaries/`.
* [ ] Implement client-side `LocaleContext` and active language switcher dropdown in the `Header`.
* [ ] Update Next.js UI views to use `t(key)` translation wrapper function.
* [ ] Extend `prisma/schema.prisma` to add `flaggedReason` (Json) and `aiAuditNotes` (Json) bilingual columns.
* [ ] Modify `/api/sales/batch-save` and `/api/n8n/save-settlements` routes to parse and store the localized JSON structures.
* [ ] Integrate LangChain LLM Translation Nodes in n8n anomaly detection and compliance workflows.
* [ ] Extend E2E test suites (`test-n8n-real`, `test-phase4-ui`, `test-phase5-ui`) to validate localized JSON database queries and bilingual UI page rendering.
* [x] Create JSON translation files for English and Spanish under `src/lib/i18n/dictionaries/`.
* [x] Implement client-side `LocaleContext` and active language switcher dropdown in the `Header`.
* [x] Update Next.js UI views to use `t(key)` translation wrapper function.
* [x] Extend `prisma/schema.prisma` to add `flaggedReason` (Json) and `aiAuditNotes` (Json) bilingual columns.
* [x] Modify `/api/sales/batch-save` and `/api/n8n/save-settlements` routes to parse and store the localized JSON structures.
* [x] Integrate LangChain LLM Translation Nodes in n8n anomaly detection and compliance workflows.
* [x] Extend E2E test suites (`test-n8n-real`, `test-phase4-ui`, `test-phase5-ui`) to validate localized JSON database queries and bilingual UI page rendering.