Skip to content

runtime: the capabilityUnavailable 501 and the discovery slot message follow the request language, plus the residuals of PR #37845 #37864

Backlog

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (contract review 7212586209 on PR #37845, Fixes #37811)

What happens

PR #37845 makes the dispatcher's remaining fixed-English 501 answers follow the request's language. Its review accepted these as left open:

  • The capabilityUnavailable family is still English. packages/runtime/src/domains/unavailable.ts answers a mounted route with no implementation with the same remedy sentence discovery reports for the slot (serviceUnavailableMessage). It has about ten call sites across ai.ts, automation.ts, notifications.ts and ui.ts, and is the largest English 501 family left. Seat note 7210862044 on runtime: localize the remaining fixed-English 501 refusals (about 26 sentences across auth, i18n, mcp, meta, packages and automation) #37811 named it; PR fix(runtime): the dispatcher's remaining 501 answers follow the request's language #37845 kept it English on purpose, because the sentence is shared with discovery's services.<slot>.message. Localize both together, or rule that discovery stays English and the 501 gets its own keys.
  • N1: the requestLocaleOf jsdoc says the non-bridge doors reach it through catalogNotImplemented; catalog-activation.ts also calls it directly for the noun.
  • N2: the MCP skill door's 501 (mcp.ts, handleMcpSkillRequest) has no per-door language pin. Only one activation noun is rendered through its door in tests, and nothing ties CatalogActivationType to the noun keys.
  • N3: zh-CN says 定制软件包 for the customization package in three sentences; the console's zh-Hans bundle says 定制包. Pick one term.
  • N4: the source walk in domain-501-language-37811.test.ts counts parentheses without reading string literals and sees only a literal deps.error(…, 501). A 501 through a wrapper or deps.errorFromThrown(e, 501) is not caught.

Done when

Each box above is fixed, or closed with a reason. English sentences, statuses and error.code stay byte for byte.

Grade: area:ux · bug · reach: error-message language on unimplemented routes · evidence: the review record above
Suggested-grade: p3
Size: M
Related: PR #37845, #37811, PR #37813.

Activity

  1. added
    bug
    pm:queue
    domain:server
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:server · Bug · p2 · pm:queue · size S; rationale: users still receive fixed-English 501 remedy sentences (the capabilityUnavailable family and the discovery slot message) in a non-English console. This is user-facing wrong-language text and UX has no p3, so p3 → p2, the grade of its parent #37811. Recorded 2026-11-27T08:14Z.

  3. added
    priority:p2
    and removed on Nov 27, 2026
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

    area:uxbugdomain:serverpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions