Skip to content

mcp/runtime comments still say run_action takes confirm: true #34541

Closed as not planned

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Filing gate ①: an out-of-scope finding confirmed in the L2 contract-review record 6933569098 on PR #34532 (card #34387), passed on by area o2-A. It is a bookkeeping fix: internal comments only, with no product-visible change. Dedupe: run_action confirm: true comment.

维护者速读

  • 现象:两处内部注释还写着 run_action 收 confirm: true,和现在的确认流程对不上。一处是 packages/mcp/src/mcp-http-tools.ts 里 recordDeleteConfirmationRefusal 的 docblock,一处在 packages/runtime/src/action-execution.ts。
  • 为什么要修:AI 改这块代码时会读这些注释,旧说法会把它带回已经退役的写法。
  • 需要你做的:无。

Change

Rewrite both comments to say what run_action does now, in the wording of the merged #34387 guidance. Point at that single source and do not restate it. Change comments only, no code.

Re-check

grep -n "run_action" packages/mcp/src/mcp-http-tools.ts packages/runtime/src/action-execution.ts | grep -i "confirm". Re-run after PR #34532 merges; if it lists no line that says run_action takes confirm: true, close this card as fixed.

Done when

That grep lists no comment saying run_action takes confirm: true. Other tools' legitimate confirm: true (delete_record, bulk delete) stay as they are.

Activity

  1. added
    documentation
    priority:p2
    pm:queue
    domain:server
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Closed as not planned at first touch (p3 standard) · 2026-11-17T00:31Z

    The mcp/runtime comments that still say run_action takes confirm: true are internal comments only, with no product-visible change (the card says so). The maintainer's p3 standard (#34153) closes no-user-effect work at first touch. No open PR carries this card. Any stale comment left after PR #34532 rides the next PR that touches those files.

  3. removed
    pm:queue
    on Nov 17, 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

    documentationdomain:serverpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions