Skip to content

fix(web): name the DPA in the pricing table and resync de-CH - #4148

Merged
yannickmonney merged 3 commits into
mainfrom
fix/web-pricing-dpa-row-de-ch-parity
Oct 3, 2026
Merged

yannickmonney merged 3 commits into
mainfrom
fix/web-pricing-dpa-row-de-ch-parity

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Follow-ups from the post-merge review of #4119 (record 5967532672), issue #4127. This PR fixes the two live MEDIUMs. MEDIUM 3, the LOWs and the DPA question stay open on #4127, as listed below.

What changed

MEDIUM 1: the pricing table no longer says Community lacks data-protection controls. The Compliance row read "Data-protection controls", with a dash for Community. That contradicted the page's own note ("All product features are included in both Community and Enterprise"), the FAQ, and the PII-redaction row right below it. The row now names a service that only Enterprise gets: the data processing agreement Ruler GmbH signs as processor. Its preamble says the DPA, an addendum to the Service Agreement, applies whenever Tale processes personal data on the customer's behalf. A self-hosted Community install has no such agreement and no such processing. The Enterprise card's feature3 names the same service.

Locale Row compare.rows.dpa and enterprise.feature3 (was compare.rows.gdpr)
en Data processing agreement (DPA)
de Vertrag zur Auftragsverarbeitung (AVV)
fr Accord de traitement des données (DPA)

These follow the site's existing names for the agreement: the legal tabs (DPA / AVV / DPA), the DE footer's "Auftragsverarbeitungsvertrag", the FR legal title, and the "Custom DPA" row two lines below. That row's "We also accept custom DPAs" now reads as intended. The message key is renamed from gdpr to dpa. de-CH has no override for either key.

MEDIUM 2: de-CH now matches de. Three de-CH overrides still held sentences that #4119 rewrote in de. One of them, pricing.extras.cloudProviders.description, kept the removed "bessere Preise, höhere Verfügbarkeit und nutzungsbasierte Abrechnung" claim. The other two were home.faq.byoModels.a and home.faq.aiProviders.a. Each override is now its de text with ss for ß. de's home.faq.byoModels.a also said "AI-Anbieter"; it now says "KI-Anbieter", as the glossary (acronym_ai, de: KI) asks and as the override already did.

New test, services/web/lib/i18n/de-ch-overlay.test.ts. It fails when a de-CH override:

  • differs from its de text by more than ß→ss, unless its key is in REGIONAL_VARIANTS with a reason (empty today);
  • repeats de verbatim, since an override like that shadows later de fixes, which is how MEDIUM 2 happened.

Arrays are compared whole, because an override replaces them whole. The test also fails on an allowlist entry that no longer differs. Keys de lacks are left to the shared parity suite.

New test, services/web/app/components/blocks/pricing-compare.test.tsx. It renders the real table with the real catalogs in en, de and fr. It checks two things:

  • The rows Community lacks are exactly the services: cloud, local data centers, DPA, ISO-certified operation, custom DPA, the three support rows, and roadmap influence. A product feature added later with a dash therefore fails.
  • The DPA row is labelled "… (DPA)" / "… (AVV)", is not included for Community and is included for Enterprise. PII redaction is included in both editions, and enterprise.feature3 equals the row label.

How I verified

  • The defects are live on main 1ba77ed61; the branch is rebased on c97fed0b1 (feat(cli): smooth self-hosted setup and recovery #4142 touches no web or i18n file). Before the change, curl https://tale.dev/pricing served "Data-protection controls" and "Controls to support your data-protection processes". The de-CH file on main still held the stale sentence.

  • The new test failed before the fix. On main's catalogs it reported exactly the three stale keys, then passed after the fix.

  • One-change mutants (7), each restored afterwards:

    Mutant Test that catches it
    old label back with the dash pricing test
    feature3 drifts from the row pricing test
    Community DPA cell flipped to ✓ pricing test
    the Self-hosted row loses Community pricing test
    stale de-CH sentence back overlay test
    redundant override equal to de overlay test
    stale de-CH array override overlay test
  • A read-only pre-push review (a separate subagent, not the distinct review) found no HIGH or MEDIUM. Its two test gaps are fixed in the third commit; its other LOWs are listed below.

  • Test suites:

    • bunx vitest run in services/web: 30 files, 256 tests, all pass. That includes lib/i18n/messages.test.ts, the shared i18n parity and key suite: 24 tests, with no report-mode findings printed.
    • bunx oxlint --type-aware (all of services/web) and bunx tsc --noEmit (services/web) are clean.
    • oxfmt applied.
  • No browser pass. The rendered check is left to the distinct reviewer, as dispatched.

Left open (on #4127)

  • MEDIUM 3 is now live. feat(web): redesign marketing sites and publish localized guides #4120 (2bd3905f0) published the comparison pages after Follow-ups from the #4119 review: the pricing table denies Community data-protection controls, a stale de-CH price claim, and single-source competitor claims #4127 was filed. All 49 EN pages plus DE/FR are draft: false, routed at /compare/<slug>, and served by tale.dev with robots: index,follow. The acceptance ("checked against a deep primary source before any draft is published") therefore did not hold. By this PR's scan (no external link below a site root or repo root), 27 of the 49 EN pages still cite only a homepage or repo root:

    • agent-zero, anythingllm, autensa, autogpt, claw-empire, clawtrol, conductor, crewai;
    • dify, glean, gumloop, haystack, langflow, llamaindex, manus, mastra;
    • microsoft-agent-framework, mission-control, n8n, onyx, open-webui, paperclip, relevance-ai, sim;
    • symphony, vellum, vibe-kanban.

    The riskiest claims, checked today:

    • Flowise: the dates now cite flowiseai.com/sunset, which lists 29 July 2026 code freeze, 10 August archival and 31 August EOL. These match.
    • Vibe Kanban: "sunsetting" is still sourced to the homepage. The homepage banner does say so; the deep source is vibekanban.com/blog/shutdown.
    • Vellum: sourced to the homepage only.

    Whether to unpublish until sourced is asked on TALE-502.

  • LOW, ISO 27001 scope: docs/en/cloud/trust-and-compliance.md:6 ("covers its Tale Enterprise offering and services", plus DE/FR) versus DPA §7.2 ("covering Tale Enterprise and professional services"). This is a wording decision with no test to carry it, so I didn't change it here.

  • LOW, comparison drafts: 15 EN pages have no in-body "reviewed on…" line:

    • chatgpt, claude, copilot-studio, crewai, google-workspace, haystack, langflow, langgraph;
    • llamaindex, make, manus, mastra, microsoft-agent-framework, stackai, vellum.

    11 FR files use vous/votre/vos (this scan; the review counted 12):

    • anythingllm, autensa, conductor, librechat, lindy, mission-control;
    • replit, sim, symphony, taskade, vibe-kanban.

    These belong with MEDIUM 3.

  • LOW, README locale differences and the hero-only localized self-host link (docs-url.ts, predates docs: position Tale around collaborative agent work #4119): not touched.

  • INFO, outside services/web:

    • The Vertrauenshaltung calque hint still says "(ISO 27001, SOC 2)" (packages/ui/src/i18n/tests/locales/de/terminology.ts). Changing it would re-run the platform UI suites.
    • The platform SEO copy (services/platform/messages/en.yml) keeps the old positioning, which is a copy decision.
  • Same class as MEDIUM 2, in other catalogs: a one-off scan of every de-CH overlay found:

    • services/platform: 75 overrides. 40 are de with ß→ss. 32 repeat de verbatim, so they would shadow later de fixes. 3 are real variants: Swiss «…» quotes ×2 and projects.errors.RATE_LIMITED.
    • services/docs and packages/ui: clean.

    Making this test shared would cover them; I didn't do that in this slice.

  • From the pre-push review (LOW, owner or legal):

    • Community with paid services: a Community user who orders the paid installation or maintenance signs the Service Agreement, and the DPA's preamble then applies. The row's Community dash describes the free edition alone. An info popover or a "with paid services" cell would need the owner's wording.
    • German label wrap: "Auftragsverarbeitung" can overflow the 28 % label column at 640–720 px (packages/marketing-ui compare table, no break-words). The old "Datenschutzkontrollen" was just as wide, so this is not a regression.
  • Found by the same review, pre-existing, not in this slice:

    • public/files/Service_Agreement_Template.pdf, which the pricing page's Terms row links, still names a "Pro or Enterprise" plan (§2.1) and says "The Provider is ISO 27001 and SOC 2 certified" (§8). I checked this in the PDF's text. It is a legal document, so it goes to the owner with the DPA item.
    • DPA Appendix A says self-hosted deployments are operated by the Customer, while Enterprise feature2 says "Professional operation by … Ruler GmbH".
    • de still writes "AI-Hardware" (de.yml ×3) against the glossary's "KI".
    • Swiss readers see "CHF 1.990" rather than "CHF 1'990".
    • tests/manual/suites/locale.md says the legal tabs stay "DPA"/"TOM", but de shows "AVV" and fr shows "MTO".
  • The DPA's SOC 2 Type II change (§7.2, §10.1, §15.4) is a legal and owner decision. Not touched.

Refs #4127. Related: #4119, #4120.

The compare table's compliance row read "Data-protection controls" with a
dash for Community, while the same page says every product feature ships
in both editions. The row now names the service Enterprise adds, the data
processing agreement Ruler GmbH signs as processor, and the Enterprise
card's third feature says the same, in en, de and fr. The row's message
key is renamed from gdpr to dpa to match.

A render test pins the row in all three locales: a DPA (AVV) label,
Community not included, PII redaction included in both editions, and the
card and the table naming the same service.

Refs #4127
The de-CH overlay kept three sentences that #4119 rewrote in de, so Swiss
readers still read that cloud AI usage comes with better prices, higher
availability and usage-based billing. Each override is now its de text
with ss for ß. The de FAQ answer also says KI-Anbieter instead of
AI-Anbieter, as the glossary asks and the override already did.

A new overlay test fails when an override differs from its de text by
more than ß to ss (unless its key is listed as a regional variant with a
reason), repeats de verbatim, or names a key de lacks.

Refs #4127
A pre-push review found two gaps in the new tests. The pricing test
checked the DPA row alone, so a product feature added later with a dash
for Community would pass. It now requires the rows Community lacks to be
exactly the hosting, contract, support and roadmap services, in en, de
and fr. The de-CH overlay test skipped array values, which an override
replaces whole, so a stale override of a list would pass. It now compares
arrays too. The orphan-key case is dropped: the shared parity suite
already refuses a de-CH key that en lacks.

Refs #4127
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Independent review of PR #4148 at b923ca3147f4bea17fa341cdb2125247485fce3a: accepted. The known LOW is refuted, and the only follow-up comes from outside this PR (#4166).

  • Reviewer: Tale agent add --chat-max-width CSS variable #3 4aec6e61-0328-4213-9719-02d387dee65d, TALE-358 local-qa run b7dfe0b5-52c6-43dc-8d9c-960e41eb0658, following manager note 4c2678d6.
  • Implementation: agent update dashboard ui (#508) #2 3f9fdcee, TALE-502 run bc28088d (request 007eab51). The runs are distinct.
  • Method:
    • Worktrees: detached, at the exact head and at the merge base c97fed0b1. Both share bun.lock b118ff74…, so node_modules are hard links.
    • Dev servers: the services/web Vite dev server on loopback, head on :3711 and base on :3712, with egress to a dead proxy.
    • Browser: Chromium (Playwright 1.58.2), with the site's Inter font loaded (checked through document.fonts).
    • Tests and checks: vitest at the head, an independent parity script, seven reviewer mutants, a trial merge with current main, and CI read at the exact head.

MEDIUM 1 is verified in the rendered pages, en/de/fr. Each Compliance row reads label → Community / Enterprise, by the cells' accessible names:

Page DPA row ISO PII redaction Custom DPA
/pricing Data processing agreement (DPA) → Not included / Included Not included / Included Included / Included Not included / Included
/de/pricing Vertrag zur Auftragsverarbeitung (AVV) → Nicht enthalten / Enthalten Nicht enthalten / Enthalten Enthalten / Enthalten Nicht enthalten / Enthalten
/fr/pricing Accord de traitement des données (DPA) → Non inclus / Inclus Non inclus / Inclus Inclus / Inclus Non inclus / Inclus
  • The cards: the Enterprise card's third item is the same label in all three locales. The Community card is unchanged: 4 items, with no data-protection claim.
  • Rows Community lacks, rendered: exactly cloud, local data centers, DPA, ISO, custom DPA, the three support rows and roadmap, in every locale.
  • Before, at the base: "Data-protection controls" with Community "Not included", and the card's "Controls to support your data-protection processes".
  • No leftovers: neither the gdpr key nor any old wording is left anywhere in the tree (git grep at the head and on the trial merge). There were 0 console errors.

MEDIUM 2 is verified, and the guard is meaningful.

  • An independent re-implementation (Python, not your test) agrees. At the head, all 7 de-CH overrides equal their de text with ß→ss and differ from de. At the base, the same script flags exactly the 3 keys you fixed.
  • Rendered with a de-CH browser locale:
    • /de/pricing shows the resynced cloud-providers sentence ("… weitere grosse Cloud-KI-Anbieter in CH & EU — ohne Aufschlag …"). At the base, Swiss readers got "… bessere Preise, höhere Verfügbarkeit und nutzungsbasierte Abrechnung."
    • /de shows both resynced FAQ answers.
    • The de-DE control shows the de text, and <html lang> stays de.
  • Your tests pass at the head (3 + 6), and so does messages.test.ts (24/24). Its report-mode findings are identical to the base: 87 lines each, verbose.
  • Reviewer mutants, each restored afterwards and each caught:
    1. a later de fix without its de-CH twin;
    2. an override equal to de with no ß, caught by "keeps no override that repeats de";
    3. an allowlist entry that no longer differs;
    4. PII redaction losing Community (en/de/fr);
    5. the fr card drifting back to the old promise;
    6. the en label losing "(DPA)";
    7. an unrelated new override.

The known LOW (the German label overflowing at 640–720 px) is refuted. Neither version overflows.

Width Label content box Head: "Auftragsverarbeitung" 142 px Base: "Datenschutzkontrollen" 150 px
600 (below sm, auto table) 212.7 px fits, 2 lines fits, 1 line
640 157.9 px fits by 15.9 px, 3 lines fits by 7.9 px, 1 line
680 172.7 px fits, 3 lines fits, 1 line
720 187.4 px fits, 2 lines fits, 1 line
  • All labels checked: every row label in en/de/fr at 600, 639, 640, 660, 680, 700, 720, 760 and 1024 px, measured word by word with a Range against the cell's content edge. None overflows, at the head or the base.
  • Why the estimate was off: the columns are 28 % + 24 % + 24 % = 76 % of a table-fixed table. The browser shares out the rest, so the label column renders at about 37 % (206 px at 640).
  • What changed visibly: the new German label wraps to 3 lines at 640–700 px where the old one took 1. That's a taller row, not overflow.

Composition with current main (aa2e73974, which now includes #4139, which also edits these catalogs):

CI at the exact head: 48 pass, 13 skipped, 0 fail. The Unit job 111232489741 ran de-ch-overlay.test.ts (3) and pricing-compare.test.tsx (6), all passing.

INFO, not from this PR (filed as #4166): de-CH readers still get ß wherever the overlay has no override.

  • Scope: in services/web, 15 of the 22 de strings that hold ß have no de-CH form. Rendered, /de under de-CH still shows "Standardmäßig selbst gehostet", "Schließe mit dem Link …" and the on-prem FAQ's "außen". Across the other catalogs, services/platform misses 42 of 82 and packages/ui 2 of 9.
  • Why your test doesn't catch it: it checks the overrides that exist, not the ones missing.
  • How to close it: extend this test so an override is required whenever de has ß, or derive ß→ss at load time.

Verified correct

  • The rename: gdpr → dpa in en/de/fr, with no de-CH orphan. customDpa's info text ("We also accept custom Data Processing Agreements…") now reads as intended.
  • German terminology: "AI-Anbieter" → "KI-Anbieter" in de matches the glossary and the override.
  • The test design: pricing-compare.test.tsx renders the real table with the real catalogs, and the order-sensitive ENTERPRISE_SERVICES list pins every dash.

Environment: local only, synthetic. Evidence is in TALE-358's r20261003T2015 deliverables.

Merge: accepted at exact head b923ca3147f4bea17fa341cdb2125247485fce3a, through TALE-359's gate. The merge order with #4147 is per the manager's note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant