Skip to content

Bug: Notifications bell renders raw i18n keys (agent budget/circuit-breaker) and raw ICU placeholders (task_review_requested with no agentSlug) #2055

Closed

Description

@yannickmonney

Area / route
The Notifications bell renders two distinct i18n defects where the notification body shows raw template text. Each preserved below.

Sites

  • [117] Agent budget & circuit-breaker org notifications render raw i18n key text (six keys missing from notifications namespace)
    • Evidence: services/platform/convex/agents/guardrails/internal_mutations.ts:94-95,131-132,250-251 (titleKey/bodyKey written) ; services/platform/convex/notifications/helpers.ts:43-49 (inserted into 'notifications' table) ; services/platform/app/features/notifications/components/notification-list-panel.tsx:316-317 (rendered with useT('notifications')) ; messages/en.json notifications namespace has no agentBudget*/agentCircuit* keys
  • [118] task_review_requested notification body renders raw ICU placeholders ({agentSlug} and {taskTitle}) when no agentSlug is present
    • Evidence: services/platform/convex/collab/notify_workforce.ts:96-100 (bodyKey + conditional agentSlug) ; services/platform/convex/tasks/review_mutations.ts:80,149 (agentSlug v.optional, passed through) ; node_modules/i18next-icu/i18nextICU.js:4252-4254,4182-4184 (throw caught, raw res returned) ; messages/en.json inbox.taskReviewRequestedBody

Notes
[117] fix: add the six keys to the notifications namespace in en/de/fr with the documented interpolation params, register them in lib/i18n/keys-dynamic.txt. [118] fix: make agentSlug non-optional at the interpolation boundary (always pass a string), or restructure the message with an ICU select/fallback and reword all three locales (icu-placeholder-parity keeps them in sync). Add a regression test asserting full substitution when agentSlug is absent.


Filed by an automated manual-review pass (live browser QA + a 25-agent code-grounded audit, each finding adversarially verified). Deduped against open issues (incl. #1972–#1999, settings/forms epic #1941–#1966, audit cluster #1842–#1846) and recently-closed issues.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    automatedbugpriority: mediumservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions