feat(cms): align service claims with the real product range via migration (MITHOME-129)

The site promised more than the production server delivers (99.9%,
"nearly 100%", 1–100 GB SSD, unlimited traffic, 1–20 GB per mailbox,
Python/Node/PostgreSQL, DNSSEC, developer API, worldwide name servers,
immediate response). The 20260929_service_claims migration applies the
owner-confirmed texts C1–C14 (docs/termekkor-es-szerverkapacitas-
elemzes.md, ch. 9) and adds the 90% mailbox warning feature.

reviseContent() only replaces an exact Hungarian match, only rewrites
English that is still the old AI draft (human edits are kept and
reported), inserts list items once, and sends an approved page back to
ai-draft when its English changed. Published doc + latest version only.
Legal texts (terms, privacy) are left for legal review. The translation
memory gains the new pairs. Verified on a staging DB copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Do Siki
2026-09-29 16:03:46 +02:00
co-authored by Claude Opus 5.5
parent c468585ab9
commit d0dafa8471
7 changed files with 422 additions and 5 deletions
+7
View File
@@ -2,6 +2,7 @@ import * as migration_20260929_localize_globals from './20260929_localize_global
import * as migration_20260929_cta_page_links from './20260929_cta_page_links'
import * as migration_20260929_localize_legal_pages from './20260929_localize_legal_pages'
import * as migration_20260929_en_ai_draft from './20260929_en_ai_draft'
import * as migration_20260929_service_claims from './20260929_service_claims'
/**
* Payload migrations, in order. Passed to `mongooseAdapter({ prodMigrations })`
@@ -31,4 +32,10 @@ export const migrations = [
down: migration_20260929_en_ai_draft.down,
name: '20260929_en_ai_draft',
},
{
// MITHOME-129 — after the English import (revises the AI-draft English too).
up: migration_20260929_service_claims.up,
down: migration_20260929_service_claims.down,
name: '20260929_service_claims',
},
]