Commit Graph
6 Commits
Author SHA1 Message Date
Do SikiandClaude Opus 5.5 bff08edafe feat(cms): record hand-run legal translation reviews in the CMS (MITHOME-113)
Validation of legal translations is a manual flow (user decision): copy
the prompt, run it in any vendor's model, paste the answer back. The
legal validation block now holds the prompt panel and a list of reviews
(model, date, verdict, pasted answer, notes) instead of a model list and
report link. Approval needs two distinct models whose latest complete
review does not reject; a newer review supersedes a model's rejection.
The locale path collector now looks through row/collapsible wrappers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 11:19:54 +02:00
Do SikiandClaude Opus 5.5 329e2e3403 feat(cms): require multi-model validation before approving legal translations (MITHOME-113)
Legal pages get a sidebar "legal validation" record (validating models,
date, report reference). Their English translation status can only be
set to "approved" when at least two distinct models, the date and the
report are recorded; page globals are unaffected. The admin description
states that model review does not replace legal advice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 11:10:58 +02:00
Do SikiandClaude Opus 5.5 822646a82a feat(cms): import AI-draft English content from a translation memory (MITHOME-113)
src/content/translations/en.json is a reviewable hu -> en memory built
from the live staging content (179 texts). Tests guard every entry:
placeholders, HTML, legal markup and e-mail/URL literals must survive.

fillEnglishDraft() fills only empty English values whose Hungarian text
exactly matches a memory key (lists all-or-nothing) and moves the page
status none -> ai-draft; it never sets "approved" or overwrites English.
The 20260929_en_ai_draft migration applies it to every global and legal
page (published doc + latest version), reports untranslated texts, and
wraps legacy values first so it does not depend on migration order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 11:05:16 +02:00
Do SikiandClaude Opus 5.5 32b6643fbc feat(cms): English translation status with a public gate (MITHOME-113)
Every page global and legal page gets a shared "English translation
status" sidebar field (none / AI draft awaiting review / approved).
The content adapter reads through readGated(): an English page renders
English text only when its translation is approved, otherwise the
Hungarian text of the same page, while links keep resolving to /en/...

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 10:58:07 +02:00
Do SikiandClaude Opus 5.5 0eb6594acc feat(cms): localize legal pages with a lossless migration (MITHOME-112)
Legal page title, last-updated text and section titles/contents become
localized; slug and section ids stay shared. A Payload migration wraps
existing values into { hu: value } on every legal page and its whole
version history, like the globals migration (MITHOME-111).

The migration helper now handles collections as well as globals
(rewriteDocs) and can scope version rewrites to the latest working copy,
which the upcoming English import needs. Migration tests share an
in-memory Mongo fake that honours query filters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 10:54:44 +02:00
Do SikiandClaude Opus 5.5 ef93cec935 docs(openspec): propose MITHOME-112/113 English content change
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s
Legal pages localization, English translation status with a public
gate, a non-destructive AI-draft import from a hu->en translation
memory, and mandatory multi-model validation of legal translations
with a copyable validation prompt in the admin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 02:24:24 +02:00