The dark: variant now matches data-theme="dark" (toggle) or the system
preference when no theme is stored, like the design tokens. Other subpage
views (Services, About, Contact, Legal) still need dark: classes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Products collection (interim mirror of the PLATFM-14 catalogue contract):
lifecycle status, product type, required whole-forint net price, yearly
billing, service definition, per-product English gate
- HostingPlans global: page copy, comparison labels, VAT rate (27%)
- Gate: production shows only active plans, staging all but retired; with no
showable plan the page is 404 and left out of the menu and the sitemap
- /hu/tarhely-csomagok <-> /en/hosting-plans via PAGE_SLUGS (hreflang,
language switcher, CTA page picker)
- Seed migration 20260929_hosting_plans: mIT Start (14 900 Ft/yr, 5 mailboxes)
and mIT Mid (23 900 Ft/yr) as drafts, English AI draft; idempotent
- Production SEO suite expects at least 12 sitemap URLs; new SMOKE-10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision 2026-09-29: variant B, yearly billing only, mIT Start raised
to 5 mailboxes. Price is required; "request a quote" only for larger needs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dark navy background, white text; name on the logo is
"Atlantisz Pihenőpark & Halásztanya". Not used on the site yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Atlantisz logo has white lettering made for a dark header, invisible
on our light background, and its official name differs between the logo
and the admin entry. The partner_references migration now classifies it
as a pending client reference in environments where it has not run yet;
the follow-up 20260929_atlantisz_pending migration moves the already
granted staging entry to pending, touching only the automatic
classification (a later admin decision is left alone).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Per the managed web operations research (PLATFM-13), a client must not be
shown as a "partner" and names/logos need written permission. Partners
now carry a required relationship category and a publication permission
(default: none) with the permission's location and review date; only
entries with written permission, a category and a logo are public.
The homepage shows clients ("Akik már minket választottak") and other
relationships in separate blocks via ReferencesSection; every partner
shows its relationship type. The section copy moved from a hard-coded
constant into the Home global (localized). The 20260929_partner_references
migration marks Angele Pihenőház as a client reference with written
permission (owner-confirmed), hides any other uncategorised entry, and
seeds the copy in hu + en. The JSON seed uses the same source.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Compare the website's service claims with the production server
analysis (iron.mozdit.hu), review that analysis, propose the advertised
package range, and list open questions for the owner. Sync Plane + TODO.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The staging noindex (MITHOME-116) hinges on a build variable; leaking it
into production would silently drop the site from Google. deploy.sh now
refuses to build production when NEXT_PUBLIC_DEPLOY_ENV=staging is set,
and after every deploy runs scripts/check-indexability.sh, expecting an
indexable production and a blocked staging (node tests cover both ways,
stray noindex and unreachable endpoints; added to pre-deploy tests).
A separate Playwright project, production-seo (npm run
test:seo:production), checks robots.txt, that all 12 sitemap URLs are
final/indexable with self canonicals and sitemap hreflangs, SSR content
and links, the / -> /hu redirect and real 404s; host redirects are gated
until the production domain is live. Verified on a production-mode build
of a staging DB copy (5 passed) and failing as expected against staging.
eslint now ignores generated test output (playwright-report, test-results,
coverage), which broke the pre-deploy lint after local e2e runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
src/lib/seo.ts is the single source for page alternates (self canonical
+ hreflang hu/en/x-default), sitemap entries (every page in both
languages, with alternates) and robots rules. Per the user's decisions
every page is announced in both languages regardless of the English
approval status, and staging is never indexed: robots.txt disallows
all, the sitemap is empty and every page carries a noindex meta.
Home and catch-all page metadata now carry alternates and a locale-
correct og:url. Staging smoke SMOKE-09 checks hreflang, canonical,
noindex and robots.txt. Documented in architecture.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A compact "HU | EN" switcher next to the theme toggle (desktop) and the
menu button (mobile). Each link opens the current page in the other
language with its translated slug (/hu/szolgaltatasok <-> /en/services),
unknown pages fall back to the language's home. English is always
offered (user decision), even before a page's English is approved.
Links carry lang/hrefLang, the active one aria-current, and the group a
localized accessible name. No flags: a flag marks a country, not a
language. Unit and component tests plus staging smoke SMOKE-08.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sync localized legal pages, English translation status, non-destructive
AI draft import, validated English legal pages and the admin validation
prompt into content-management, and the approved-English-only gate into
public-site.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The SIGTERM/SIGINT handlers were re-registered on every module evaluation,
and a build worker receiving both signals logged again after logger.end(),
raising ERR_STREAM_WRITE_AFTER_END during `next build`. Guard with an own
flag (winston's readable-stream@3 Logger has no writableEnded) and register
the handlers once per process with process.once.
Closes MITHOME-126
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found during the live check on a staging copy: the embedded browser
denied the async Clipboard API, so "copy prompt" failed silently. The
panel now falls back to a selection copy and finally leaves the prompt
selected with a Ctrl/Cmd+C hint; covered by component tests.
Payload only shows a generic "field is invalid" toast for the rejected
approval, so the legal pages' status field description now states the
two-model rule next to the field.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
buildLegalValidationPrompt() is the single review template: the criteria
(meaning, GDPR terminology, obligation strength, preserved markers,
clarity), a severity table output with a final verdict, and the
Hungarian/English text of every section paired by id, missing English
flagged as high severity. The legal page sidebar shows it through the
LegalValidationPrompt UI field (hu + en read from REST with draft=true
and no locale fallback) with copy and refresh buttons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
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>
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>
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>