Skip to content

MCP action doors: the no-confirmation-service refusal should tell an elicitation-less stdio client to use a client that supports confirmation #34325

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

Follow-up allowed by maintainer ruling 6909391261 on #33712 ("a door-aware no-service message (spec step 3) is a small follow-up the area may file").

Today: run_action / resume_run on a confirmation-gated action, with no pending-confirmation service, answer 428 ACTION_CONFIRMATION_REQUIRED with reason: no_confirmation_service. Step 3 of AI_ACTION_CONFIRMATION_CAPABILITY names a sentence for that answer: use a client that supports confirmation. #34202 left it out, because no door elicited, and so did #34318, because it would be false on the Streamable HTTP door.

Once #34318 lands: the stdio door elicits for a client that advertises elicitation. For a stdio caller without that capability, the sentence is true and useful. For an HTTP caller it stays false until #34321.

Ask: make the no-service message door-aware. On the stdio door, add the step-3 sentence. On the HTTP door, keep today's message. Pin both doors. No new code or reason value.

Blocked-by: #34318

Files: packages/mcp/src/mcp-http-tools.ts and the runtime refusal message site that #34318 touches; the existing *-33690 pin files.

Activity

  1. added
    pm:blocked
    domain:server
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: unlock → pm:queue · 2026-11-16T09:49Z

    ⛔ Not a claim.

    Its blocker, PR #34318 (MCP elicitation before a confirmation-gated action), merged at 09:26Z. Back to the queue for the server seat.

  3. added
    pm:queue
    and removed
    pm:blocked
    on Nov 16, 2026
  4. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    qa#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh

    One line for this card's refusal text 2026-11-18T01:24Z, on the maintainer's word in the verification seat's session, verbatim: 「三个问题 同意」 (the confirmation gate is not widened to update_record).

    The no_confirmation_service refusal (handOffActionConfirmation, packages/runtime/src/action-execution.ts) says only "Perform the action in the app instead". On scenario card service_desk (qa#1 round 2, round record on #31433), an agent read that and completed the same change with a raw update_record. The per-door wording this card owns should also say: do not complete the same change through another tool; a person does it in the app.

  5. added
    area:ai
    on Nov 18, 2026
  6. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Claim: PM loop round 8 · 2026-11-25T22:46Z · p3 step-down (seat: no dispatchable area:ai p1/p2 in scope)
    Area: a4-A
    Session: session_01QSeKYo86w1wqy2z2fMrryr
    Account: os-justin
    Branch: claude/issue-34325-door-aware-no-service
    Worktree: objectstack-issue-34325
    Domain: domain:server
    Seat: repo:objectstack#4
    File surface: the no_confirmation_service refusal message — packages/runtime/src/action-execution.ts (handOffActionConfirmation) and the door plumbing that tells it which door asked, in packages/mcp/src/** (the stdio door, mcp-http-tools.ts run_action / resume_run) and packages/runtime/src/** where the door hands the refusal back; the existing *-33690 / *-33712 pins and new ones under those packages; one .changeset/*.md (@objectstack/runtime and @objectstack/mcp patch). No new code, reason value or response field.
    Container & model: M, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: packages/runtime + packages/mcp (objectstack-ai/objectstack) answer a no-service confirmation refusal with one door-blind sentence, which on stdio omits the step-3 "use a client that supports confirmation" route and on every door does not forbid completing the change through another tool | the refusal names the route that works on the door that asked | every MCP agent calling a confirmation-gated action on a host with no confirmation service, today
    Thread-read: 6966146204
    Premise: holds (main 80da086: handOffActionConfirmation answers one door-blind message ending "Perform the action in the app instead."; no step-3 sentence on stdio; no "not through another tool" clause on any door; blocker #34318 merged; #34321 (HTTP elicitation) still open, so the HTTP door keeps today's sentence)
    Serial constraints cleared: #35778 (run_action's description hint) merged as 80da086402, this card branches after it; no open PR touches action-execution.ts or packages/mcp/src (open PRs read at 80da086402); overlap-check at push
    Pre-claim lane: domain:server — packages/runtime/**, packages/mcp/**
    Pre-claim deps: #34318 (merged)
    Prior rulings read: 6909391261 on #33712 (a door-aware no-service message is a small follow-up), the maintainer's 「三个问题 同意」 relayed in 6966146204 (no widening of the gate to update_record; the per-door wording also says not to complete the change through another tool)

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  8. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Dispatched · 2026-11-25T22:47Z · mode:subagent (model at TIER_DEFAULT, effort high), branch claude/issue-34325-door-aware-no-service, under claim 7176782127. Delivery: the no_confirmation_service refusal message made door-aware (stdio without elicitation: the step-3 sentence; HTTP: today's route until #34321; every door: a person does it in the app, not another tool, per 6966146204), pins per door with ablation, a draft PR and an os-dev-report comment here.

  9. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
    os-dev-report

    {
    "issue": 34325,
    "status": "done",
    "branch": "claude/issue-34325-door-aware-no-service",
    "pr": "#37367",
    "head": "c302aa2dd383563e477271e847a561edd406646f",
    "session": "session_01QSeKYo86w1wqy2z2fMrryr",
    "premise_still_valid": true,
    "summary": "The no_confirmation_service refusal of MCP run_action / resume_run is now door-aware, with code, status, details and the service hand-off unchanged and no spec file touched. Every door now says 'a person performs it in the app: do not make the same change with another tool' (6966146204). The stdio door, for a client without elicitation, adds the step-3 client sentence. Streamable HTTP keeps only the in-app route (ruling 6909391261, until #34321). How the door is known: the MCP tools already judge per call whether the client can be elicited (#34318). The new actionCallDoorFor (packages/mcp/src/action-confirmation-elicitation.ts) returns one of three things: the elicitor; { elicitsCapableClients: true } when the server read the client's initialize and can carry a request but the client advertised no form-mode elicitation (stdio today); or nothing when it never read initialize (per-request HTTP server, bridge called with 2 args as before). The runtime bridge forwards the flag through invokeBusinessAction, confirmAdmittedAction and resumeActionRun to handOffActionConfirmation as a separate argument, never on ActionConfirmationHandOff. The check is made on capability, not on a transport name, so HTTP gains the sentence together with the elicitation that makes it true.",
    "messages": {
    "before_every_door_main_80da086402": "Action 'archive_lead' on 'crm_lead' declares ai.requiresConfirmation: true, so a person confirms it — nothing was run. This server has no pending-confirmation service to ask them through, and a confirmation sent on the request does not count. Perform the action in the app instead.",
    "after_stdio_client_without_elicitation": "Action 'archive_lead' on 'crm_lead' declares ai.requiresConfirmation: true, so a person confirms it — nothing was run. This server has no pending-confirmation service to ask them through, and a confirmation sent on the request does not count. A client that supports confirmation (MCP elicitation) is asked in place on this server: use one to confirm it here. Otherwise a person performs it in the app: do not make the same change with another tool.",
    "after_streamable_http_or_no_door": "Action 'archive_lead' on 'crm_lead' declares ai.requiresConfirmation: true, so a person confirms it — nothing was run. This server has no pending-confirmation service to ask them through, and a confirmation sent on the request does not count. A person performs it in the app: do not make the same change with another tool.",
    "measured": "through the real runtime bridge (buildMcpBridge via HttpDispatcher) at c302aa2, run_action archive_lead and resume_run close_lead on crm_lead; resume_run gives the same text with its own action name"
    },
    "tests": "Pins: runtime action-confirmation-handoff-33690.test.ts gets a new describe [#34325] with 7 cases (stdio-door message, HTTP/no-door message, equal details on both doors, flag never on the service hand-off; run_action and resume_run). mcp mcp-action-confirmation-handoff-33690.test.ts gets a new describe [#34325] with 6 cases: stdio without elicitation passes door exactly { elicitsCapableClients: true } as the 3rd arg; stdio with elicitation passes the elicitor only; HTTP after an initialize that advertised elicitation passes no door and 2 args. One existing #33712 stdio pin moved from door undefined/argCount 2 to the door fact; the HTTP pin is unchanged. Targeted runs: runtime file 53/53, mcp file 34/34. Full suites under os-verify-lock: mcp MCP_EXIT=0, Test Files 85 passed (85), Tests 1515 passed (1515). runtime RUNTIME_EXIT=0, Test Files 649 passed (649), Tests 12034 passed, 25 skipped (12059). Ablations via scripts/ablation-replace.mjs (anchor 1 to 0 each, restore blob equal to HEAD, git diff HEAD empty), all red as predicted: A1 client sentence off, runtime stdio x2. A2 in-app clause reverted to today's wording, runtime stdio x2 + HTTP x2. A3 bridge forwarding deleted, runtime stdio x2. A4 confirmAdmittedAction stops passing it, runtime stdio run_action x1. A5 resume path stops passing it, runtime stdio resume_run x1. A6 actionCallDoorFor never returns the flag, mcp stdio x3. A7 flag set without a read initialize, mcp HTTP x3. Tests import src by relative path, so no dist is on the resolution path and no rebuild per leg was needed.",
    "gates": "Local at c302aa2. Closure build (runtime^... + mcp^...): VERDICT command-exit 0. mcp + runtime typecheck (tsc + check:test-typecheck): VERDICT command-exit 0. dispatch-gates --commands --repo objectstack-ai/objectstack: 69 families. 68 exit 0. pnpm check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET, no whole-repo dist) is NOT MEASURED locally and left to CI. dispatch-gates --ran: 69 derived, 68 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. overlap-check before push: VERDICT clean exit 0. CI check-runs on PR #37367: in_progress at report time, not awaited (per contract). No exported symbol renamed or removed, so check-platform-checklist does not apply. test:repo not run locally (CI Test Core).",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "4 — GitHub MCP reads only: issue_read get (#34325), issue_read get_comments (#34325), pull_request_read get (#37355), issue_read get_comments (#37068); no MCP write tool. One gh api -X GET search/issues read.",
    "api_writes": "3 — git push of the branch (marker, then c302aa2; git push is not a REST write); relay pr_create (POST pulls draft + POST issues/37367/assignees os-justin, run 45722545783); this os-dev-report comment via post-stamped (POST issues/34325/comments)",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "carrier: cloud · noted, not filed — McpActionCallDoor.elicitConfirmation is now optional. An out-of-repo bridge implementing McpActionBridge.runAction/resumeRun that calls door.elicitConfirmation whenever a door is present would now get a door without an elicitor on stdio for a client without elicitation. The type change makes that a compile error, and the changeset says so. In-repo, the one reader (runtime domains/mcp.ts) already checked typeof.",
    "carrier: none · noted, not filed — the spec step-3 prose (packages/spec/src/contracts/ai-service.ts) still describes one message naming both routes. The HTTP door's omission follows ruling 6909391261, so the prose is left as it is (PR acceptance notes)."
    ],
    "deviations": "Two keys were added to the template (head, messages) because the dispatch asked for the per-door messages verbatim. No other deviation."
    }

  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
    os-dev-report

    {
    "issue": 34325,
    "status": "done",
    "round": "L1 RETURN delta (must-fix: published McpActionCallDoor must stay backward-compatible)",
    "branch": "claude/issue-34325-door-aware-no-service",
    "pr": "#37367",
    "head": "fa794d0d19c9ed1b4f95c961d1ff53a7e295b74a",
    "previous_head": "c302aa2dd383563e477271e847a561edd406646f",
    "session": "session_01QSeKYo86w1wqy2z2fMrryr",
    "premise_still_valid": true,
    "summary": "McpActionCallDoor is back to main byte for byte (elicitConfirmation required, no new member), and it is still passed only when the client can be elicited. The stdio fact now rides on an additive channel: a new exported type McpActionCallDoorFacts { elicitsCapableClients?: true } (packages/mcp/src/index.ts) and an optional fourth parameter facts on McpActionBridge.runAction and resumeRun. actionCallDoorFor returns { door } when the client can be elicited, { facts } for a stdio client without elicitation (the tools then call bridge(name, request, undefined, facts)), and {} on the per-request HTTP server (bridge called with 2 args as on main). The runtime bridge (domains/mcp.ts) reads facts and forwards elicitsCapableClients to handOffActionConfirmation as before. A bridge built against main compiles and behaves as today; it only keeps the old refusal wording. The messages per door are byte-identical to round 1.",
    "changeset": "Clause-② changed from no to yes (widening): a new optional export and an optional parameter on an exported interface widen the published surface of @objectstack/mcp. Metadata-protocol stays none, so per AGENTS.md the level stays patch for both packages. The last sentence was rewritten: no type is made optional, and the text names McpActionCallDoorFacts and the optional fourth parameter. This departs from the claim's 'Clause-②: no' on the coordinator's instruction.",
    "pins": "mcp: elicitingBridge records facts. The #33712 stdio pin is back to main's door (door undefined) and now also reads facts { elicitsCapableClients: true } with argCount 4. The [#34325] stdio cases assert door undefined, facts exact, argCount 4. The CONTROL case with elicitation asserts main's door (elicitor alone), argCount 3, no facts. The HTTP cases assert toStrictEqual { tool, door: undefined, argCount: 2 }. runtime: the [#34325] cases call bridge.runAction/resumeRun(..., undefined, { elicitsCapableClients: true }). Pin files 53/53 (runtime) and 34/34 (mcp).",
    "ablations": "All seven legs re-run on fa794d0 via scripts/ablation-replace.mjs (anchor 1 to 0 each, restore blob equal to HEAD, git diff HEAD empty, git status clean after). A3 and A6 have new anchors (the facts forwarding line in domains/mcp.ts; actionCallDoorFor's facts return). Red sets: A1 runtime stdio x2. A2 runtime stdio x2 + HTTP x2. A3 runtime stdio x2. A4 runtime stdio run_action x1. A5 runtime stdio resume_run x1. A6 mcp stdio x3. A7 mcp HTTP x3.",
    "tests": "Under os-verify-lock at fa794d0: closure build (runtime^... + mcp^...) && mcp typecheck && runtime typecheck && both pin files: VERDICT command-exit 0. Full suites: MCP_EXIT=0, Test Files 85 passed (85), Tests 1515 passed (1515). RUNTIME_EXIT=0, Test Files 649 passed (649), Tests 12034 passed, 25 skipped (12059).",
    "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at fa794d0: 69 families. 68 exit 0, including check-adr-0087-registration and check-changeset-no-major on the yes (widening) changeset. pnpm check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET, no whole-repo dist) is NOT MEASURED and left to CI. --ran: 69 derived, 68 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. overlap-check before the push: clean against origin/main 98bda0a. No merge of main was needed: main's 4 new commits touch neither package. CI on the new head: not awaited.",
    "pr_body": "NOT patched by this dev. os-dev.md rule 3 says a subagent writes the PR body only at pr_create and that the seat rewrites it later through issue_patch. The current body still says 'Clause-②: no' and describes the round-1 surface. The updated body, with Clause-② yes (widening), the additive-surface paragraph, the updated pins/ablations and the readings at fa794d0, is prepared for the seat to send. If Check Changeset compares the body's Clause-② line with the changeset, it may stay red until then.",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "0 this round",
    "api_writes": "1 — git push fa794d0 (not a REST write); this delta comment via post-stamped (POST issues/34325/comments)",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "carrier: cloud · noted, not filed — a cloud bridge implementing McpActionBridge keeps compiling and behaving as today; on a stdio client without elicitation it keeps the old refusal wording until it reads the new optional facts argument."
    ],
    "deviations": "Clause-② now differs from the claim (no to yes (widening)) on the coordinator's instruction. The PR body was not patched (see pr_body)."
    }

  11. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Closed by PR #37367 (L1 ACCEPT 7178621419; TIER_DEFAULT contract review PASS 7178603525), merged as d558de0ae0: the no_confirmation_service refusal of run_action / resume_run names the route that works on the door that asked — a stdio client without elicitation is told a client that supports confirmation is asked in place there; every door says a person performs it in the app and the same change must not be made with another tool (6966146204); the Streamable HTTP door gains the client sentence with #34321's elicitation, not before. Code, status and details unchanged. Published surface: additive only (McpActionCallDoorFacts, an optional trailing facts argument; Clause-②: yes (widening)). pm:dispatched removed.

  12. removed
    pm:dispatched
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:serverpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions