feat: default locale Russian, geo determines language for other countries

- localization-svc: defaultLocale ru, resolveLocale only by geo
- web-svc: DEFAULT_LOCALE ru, layout lang=ru, embeddedTranslations fallback ru
- countryToLocale: default ru when no country or unknown country

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
home
2026-02-23 15:10:38 +03:00
parent 8fc82a3b90
commit cd6b7857ba
606 changed files with 26148 additions and 14297 deletions

View File

@@ -0,0 +1,63 @@
# Roadmap и спецификация фич
**docs/architecture — самодостаточный проект.** Все спеки фич находятся здесь. Порядок реализации — в [01-perplexity-analogue-design.md §6](./01-perplexity-analogue-design.md#6-порядок-реализации-best-practices).
---
## 1. Спецификация фич (детали)
Все пункты определены в [01-perplexity-analogue-design.md](./01-perplexity-analogue-design.md), [02-k3s-microservices-spec.md](./02-k3s-microservices-spec.md), [04-pages-logic-verification.md §9](./04-pages-logic-verification.md#9-покрытие-фич-perplexity-20252026).
### 1.1 Memory (memory-svc)
- **Сервис:** memory-svc, порт 3010
- **Хранение:** PostgreSQL (user_id, org_id, key, value, embedding)
- **API:** GET/POST/DELETE /api/v1/memory
- **Фаза:** 5
### 1.2 Create / Labs (create-svc)
- **API:** POST /api/v1/create, POST /api/v1/export
- **Фаза:** 5
### 1.3 Finance расширения
- analyst-ratings, sec-filings, etf-holdings, price-context
- **Фаза:** 5
### 1.4 Patents, Enterprise, Step-by-step Learning
- **Фаза:** 56
### 1.5 Export thread
- **API:** POST /api/v1/library/threads/:id/export?format=pdf|md
- **Фаза:** 7
### 1.6 Notifications (notifications-svc)
- **Сервис:** notifications-svc, порт 3013
- **Web Push, Email, напоминания**
- **Фаза:** 7
### 1.7 PWA / Офлайн
- Service worker (Workbox), manifest, offline fallback
- **Фаза:** 7
### 1.8 Model Council (Max)
- modelCouncil: true в POST /api/v1/chat
- **Фаза:** 7
### 1.9 Background Assistant (Max)
- POST /api/v1/tasks, GET /api/v1/tasks/:id
- **Фаза:** 7
---
## 2. Связь с functional-inventory
**docs/functional-inventory** — описание **текущего** кода Perplexica (инвентаризация).
**docs/architecture** — целевая архитектура (что строить).
При миграции можно сопоставлять 01-api-routes → новые сервисы, 05-agents → Mastra и т.д. Правки в architecture **не требуют** правок в functional-inventory.
---
## Ссылки
- [Perplexity Changelog](https://www.perplexity.ai/changelog/)
- [ЮKassa](https://yookassa.ru/developers/payments/recurring-payments)