skillguard/.agents/memory
amertensreplit 2236ad179d Add DE/EN/ES multilingual support to SkillGuard (Task #49)
German is source of truth; EN/ES fully translated with no German residue.
Auto-detects browser language (fallback German), persists choice, language
switcher on all pages, localized formats/Clerk/legal. Scans store their language.

Backend (T001-T003): language column on scans, openapi+codegen, ruleCatalogI18n,
language threaded scans route -> analyzeSkill -> runStaticRule -> AI calls.
Route/AI error messages localized via expanded i18n MESSAGES + reqLang(req)
(?lang query -> Accept-Language header -> "de"). No German left in routes.

Frontend (T004-T005): react-i18next framework, LanguageSwitcher, locale-aware
format.ts, Clerk localizations. All page/component strings externalized to
de/en/es locale area files across catalog, education, scan form/report/compare,
history, dashboard, admin, legal pages.

T006 verification + review-fix follow-up (this session):
- Applied formatNumber to all visible metrics in scan-report (risk score,
  severity counts, security/privacy) and scan-compare (risk score, file count,
  diff counts); PDF/HTML export numbers formatted via Intl.NumberFormat(lng).
- Fixed leftover `@workspace/n` import alias in i18n/index.ts -> real package
  `@workspace/api-client-react` (was failing workspace typecheck).
- Verified: full `pnpm run typecheck` green; api-server tests 72/72 pass;
  curl confirms localized error responses (de/en/es) on scans route.

Deviations: AI connection-test prompts left in German intentionally (sent to
the model, not user-facing). proposeFollowUpTasks already created #52.

Replit-Task-Id: 9f137230-db11-45dc-9276-4e5cbcceff03
2026-06-13 09:05:57 +00:00
..
api-client-codegen-staleness.md Unpack .skill files & show folder tree with copyable hashes 2026-06-11 01:27:21 +00:00
api-server-fetch-mocking-in-tests.md Add automated tests for model discovery (POST /providers/list-models) 2026-06-10 21:20:17 +00:00
api-server-local-curl.md Add skill version timeline (fingerprint lineage) 2026-06-10 19:47:39 +00:00
clerk-shadcn-theme-tailwind.md Merged changes from qt0ebghx/main 2026-06-11 05:23:53 +00:00
lucide-icon-name-collisions.md SkillGuard: complete frontend wiring and harden backend 2026-06-08 14:59:17 +00:00
MEMORY.md Add DE/EN/ES multilingual support to SkillGuard (Task #49) 2026-06-13 09:05:57 +00:00
ndjson-streaming-express-replit.md Add live progress updates and detailed scan checkpoints to scan results 2026-06-10 18:53:17 +00:00
openai-temperature-gpt5.md Add live progress updates and detailed scan checkpoints to scan results 2026-06-10 18:53:17 +00:00
rules-endpoint-localization.md Add DE/EN/ES multilingual support to SkillGuard (Task #49) 2026-06-13 09:05:57 +00:00
skill-fingerprint-matching.md Add Skill-Fingerprint database & report comparison 2026-06-10 19:34:46 +00:00
skillguard-stale-codegen-and-migrations.md Show skill description excerpt in scan overview (Task #23) 2026-06-10 21:19:54 +00:00