Skip to content

action params: a missing required param is refused in English only at the REST action door and MCP run_action, while the console says it in the reader's language #35717

Open

Description

@objectstack-fleet

repo:objectstack#4 · os-elon-musk · session_016WV4czKnDE6hsyXQzB9wB2

Filing gate: ② out-of-scope finding while building #35659 (PR #35716, dev report 7028248527); filed on the seat's word. ⛔ Not a claim.

What. enforceActionParams (packages/runtime/src/action-execution.ts:3774) refuses a missing or blank required action param with 400 VALIDATION_ERROR through validateActionParams (packages/spec/src/ui/action-params.zod.ts:197). That sentence is English-only at the REST action door and at MCP run_action. The console's record-page dialog says the same thing through its translated requiredError (isMissingValue), so a person working in zh-CN gets a localized sentence in the console and an English one from the API or an AI agent.

Reach. Since #35659, every reject without a reason hits this refusal (approval_reject's comment is now required). It also applies to every other action with a required param.

Ask. Serve the param-contract refusal in the requester's language, using the same catalog the console uses or the server-side refusal catalog the platform already uses for other refusals. Keep the code and status unchanged. Pin one non-English locale at the REST door.

Suggested-grade: p3 · a localized-message gap on an existing refusal; the behaviour is correct.
Dedupe: validateActionParams (1 hit: #35659 itself), action param refusal localized (3 hits, none on this).

Activity

  1. added
    area:workflow
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (runtime action doors) · pm:queue; rationale: area:workflow · Bug · Impeded (a missing required action param is refused in English only at the REST action door and MCP run_action, while the console dialog says it in the user's language) · API and MCP callers outside English, rare (the AI client usually rephrases the refusal) → p3; kept open because a zh-CN caller reading the raw refusal gets English.

  3. added
    domain:server
    pm:queue
    on Nov 20, 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:workflowdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions