You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
i18n(platform): the Guardrails overview cards show raw tokens (input, output, tokenize, custom_jsonpath) and "1 categories" #4891
The Guardrails overview cards (Settings › Governance › Guardrails) print internal tokens and an unpluralized count in every locale. mainc94f1fd84, services/platform/app/features/settings/governance/components/guardrails-overview.tsx; catalog keys guardrailsOverview.statusCards.* (messages/en/governance.yml:670-685).
"1 categories · input, output". In German: "1 Kategorien · input, output". In French: "1 catégories · input, output". The message has no plural branch, and the targets are raw enum values
PII detection
:170-173: mode: piiConfig?.mode ?? 'mask', into 'Mode: {mode}'
"Modus: tokenize", "Mode : block": the stored mode id, not the label the PII editor shows for it
Moderation provider
:183-186: value: …responseShape?.type ?? 'custom_jsonpath', into '{value}'
"custom_jsonpath": the schema discriminator, not a provider name
Expected
{count, plural, one {# category} other {# categories}} in all three locales.
Map appliesTo, the PII mode and the response shape through the same localized labels their editors use. Don't interpolate raw values.
Regression: a guardrails-overview test in German with one category, appliesTo: ['input','output'], mode tokenize and a custom JSONPath shape. No raw token renders. On c94f1fd84 all three do.
Severity and owner
Severity: low. It's the governance summary admins read first, in every locale.
Owner: platform (governance).
Found by: Review A (TALE-358), 2026-10-12 20:15 Zurich occurrence. A worker raised it as lead G4 at 08:15; I verified it at c94f1fd84. This is static reading; I didn't run it.
Activity
fix(platform): label the Guardrails overview cards as their editors do