Skip to content

feat(mcp,spec)!: run_action and resume_run refuse the retired confirm member — confirmation happens in the app, by the person - #34358

Merged
objectstack-fleet[bot] merged 8 commits into
mainfrom
claude/area-A5-34209
Nov 16, 2026
Merged

objectstack-fleet[bot] merged 8 commits into
mainfrom
claude/area-A5-34209

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Fixes #34209

Clause-②: yes (narrowing)
Metadata-protocol: none (the retired member belongs to an MCP tool's input, not to a key a metadata author writes; ai.requiresConfirmation keeps its meaning. The dev confirms against the diff.)
Skills-docs: follow-up #34210

维护者速读

  1. 改了什么:MCP 的 run_action / resume_run 不再接受 confirm 参数,带上它的调用(无论 true/false、无论动作是否声明需确认)一律在工具入参处被拒,并提示“确认在应用里由本人完成,去掉该参数重发”;技能文本、控制台下载的技能副本、spec 指引与契约文案、两页 MCP 文档同步不再教 confirm: true。
  2. 为什么改:自 feat(runtime,mcp)!: a confirmation-gated action never runs on the MCP caller's own confirm — run_action and resume_run hand it to the person #34202 起该参数已不起作用(声明需确认的动作一律转交本人在应用里确认),继续接受只会让旧客户端静默失效;维护者裁决 6909355256 要求现在退役、与 feat(runtime,mcp)!: a confirmation-gated action never runs on the MCP caller's own confirm — run_action and resume_run hand it to the person #34202 同版发布。
  3. 风险与回滚:仍在发送 confirm 的 MCP 客户端/脚本会被拒(这是本意);delete_record / delete_records 仍需 confirm: true,不受影响。回滚即 revert 本 PR。
  4. 先看:packages/mcp/src/mcp-http-tools.ts(strictToolInput 的 retired 选项与两工具入参形状)、packages/mcp/src/mcp-action-confirmation-handoff-33690.test.ts(新拒收钉子)、packages/spec/src/ai/tool.zod.ts(指引文案)。
  5. 两分钟验证:pnpm --filter @objectstack/mcp exec vitest run src/mcp-action-confirmation-handoff-33690.test.ts,预期全绿,其中 “refuse the retired confirm member outright” 一组覆盖拒收与控制组。
  6. 需要你做的:无,席位落地。

What changes

Ruling of record: maintainer ruling 6909355256 on #34209 (option A, retire now, same release as #34202).

  • packages/mcp/src/mcp-http-tools.ts. run_action and resume_run no longer declare confirm. strictToolInput gains a retired option, passed to strictUnknownKeyError's existing guidance channel, so a call carrying the member gets the same unknown-key refusal any undeclared key gets, with a prescription instead of a rename guess: confirmation happens in the app, by the person; resend without the member. No new code is minted. The refusal arrives before the bridge, on every action, gated or not, and for true and false alike. The handlers no longer read or forward the member. tools/list shows it absent (additionalProperties: false). The two tool descriptions drop "confirm: true does not change that". The delete tools keep the member.
  • packages/spec/src/ai/tool.zod.ts. The requiresConfirmation entry of TOOL_RETIRED_KEY_GUIDANCE no longer tells an agent to send confirm: true. It states the hand-off (pending_confirmation), the no_confirmation_service refusal, and that the two tools refuse the member. The two bounds and the account rule are kept, so tool-confirmation-prescription-tense.pin.test.ts holds unchanged.
  • packages/spec/src/contracts/ai-service.ts. Docblock prose only, no shape change. The member's docblock, AIActionConfirmation's amended section, rule 5 and "When it binds" now say the MCP tools refuse the member at their input. ActionConfirmationRequiredDetails.confirmationMember keeps its type; its doc now splits the echo by gate: a retry member for a member gate (the delete tools, a host door), and the member the MCP action tools refuse for an amended refusal. The runtime still sets the echo on every refusal (runtime unchanged). Built on feat(spec)!: the AI-door confirmation rule binds every AI door, the in-app assistant included #34001 (merge fa1fb6f4e0): git merge-tree --write-tree HEAD fa1fb6f4e0 answered HEAD's own tree, 6deb2cd6.
  • Migration entry action-requires-confirmation-elicited (wording only, review nit 2 on feat(runtime,mcp)!: a confirmation-gated action never runs on the MCP caller's own confirm — run_action and resume_run hand it to the person #34202). The switch is keyed on the release that hands a declared-gated call to the person, not on elicitation, which a later release adds. The same switch names the refusal of confirm on both tools. Entry 18 shipped in @objectstack/spec@18.5.0 (ancestor check exit 0); feat(runtime,mcp)!: a confirmation-gated action never runs on the MCP caller's own confirm — run_action and resume_run hand it to the person #34202's merge is not in that tag (exit 1; control leg 1e65a389e1 exit 0).
  • Served skill packages/mcp/src/skill-md.ts and its console mirror (byte-identical): the run_action / resume_run signatures drop confirm?. The lines teach the in-client question (a client that supports elicitation, on a connection that can carry it: accept runs the call once, any other answer refuses it), the hand-off otherwise, the no_confirmation_service refusal, and "never send confirm". In-client elicitation landed with feat(runtime,mcp): ask the person in their MCP client before a confirmation-gated action runs #34318, which is in this branch's merge base.
  • Both doors, one sentence (contract review 6915405032, S1 and N1; prose only, commit 9b55348439). TOOL_RETIRED_KEY_GUIDANCE.requiresConfirmation, entry 18 (header comment, replacement, acceptanceCriteria), the refusal's prescription (RETIRED_CONFIRMATION_MEMBER), the served skill and its mirror, and the changeset's "Unchanged" bullet now say the person confirms in the client when it supports elicitation and the connection can carry the question, and in the app otherwise. The ruled sentence "confirmation happens in the app, by the person" stays, with the in-client case beside it. The ai-service.ts docblock no longer says neither request ever accepted-and-ignored the member: the runtime request on the MCP bridge path still accepts it and reads nothing, and no MCP call can supply it.
  • Docs (area grant): content/docs/ai/connect-mcp.mdx and content/docs/ai/actions-as-tools.mdx stop teaching confirm: true on these tools, and (L1-b R1, prose only, commit d4ea9c4d37) say the person confirms in the client when it supports elicitation and the connection can carry the question, and in the app otherwise: actions-as-tools.mdx at the run_action paragraph and the resume_run gates bullet; connect-mcp.mdx at the identity-actions bullet, the approver-decisions bullet (commit 6d0aea0279, L1-b 6918906816) and the 'A person confirms a declared-gated action, in the client or in the app' bullet. The same commit adds the in-client half to the changeset's first bullet and to two ai-service.ts docblock lines (the confirmationMember echo note and contract rule 5).
  • Pins flipped from accepting the member to refusing it, in mcp-action-confirmation-handoff-33690.test.ts, mcp-action-confirmation-member.test.ts, mcp-resume-run-tool.test.ts, mcp-stdio-tools.test.ts, skill-md.test.ts, examples/app-todo/test/mcp-actions.test.ts and the four dogfood files that sent confirm to run_action. The runtime file action-confirmation-handoff-33690.test.ts drives the bridge below the tool, and @objectstack/runtime does not depend on @objectstack/mcp. So its primary pins now send the member-free request the tool forwards. Its "with and without" loops keep the member as below-the-tool defense in depth.

ADR-0087 disposition: not-required (already-registered action-requires-confirmation-elicited). The gate accepted it (check-adr-0087-registration --base origin/main exit 0). The member is a tool argument, not authorable metadata, and entry 18's surface is "what the declaration asks of a caller on the MCP run_action and resume_run tools", which this change now covers in writing.

Tests

Readings at head 9b55348439 unless named: 6fd37d044e (this branch with origin/main 2c96e0dfc9 merged, which brings #34318) plus the prose-only commit 9b55348439. Each run is under the shared verify lock (VERDICT command-exit 0; shared-box seconds, so no wall-clock figures are quoted).

Scoped suites: all green
Run At 6fd37d044e At 9b55348439
@objectstack/mcp vitest (whole package, includes #34318's stdio elicitation pins) Test Files 66 passed (66), Tests 1223 passed (1223) Test Files 66 passed (66), Tests 1223 passed (1223)
@objectstack/mcp typecheck exit 0 exit 0
@objectstack/runtime src/action-confirmation-handoff-33690.test.ts Tests 32 passed (32) Tests 32 passed (32)
@objectstack/runtime typecheck exit 0 (no runtime source moved)
examples/app-todo test/mcp-actions.test.ts Tests 9 passed (9) Tests 9 passed (9)
console mirror objectstack-skill.test.ts (run from ui/) Tests 13 passed (13) Tests 13 passed (13)
@objectstack/spec typecheck / check:generated exit 0 / "All 14 generated artifacts are up to date" exit 0 / "All 14 generated artifacts are up to date" (after a spec + mcp rebuild)
@objectstack/spec src/ai src/migrations src/contracts (includes the tense pin) n/a Test Files 74 passed (74), Tests 1121 passed (1121)
Ablation (previous round, unchanged by this round)

Two legs through scripts/ablation-replace.mjs at e255bc9b8e: re-declaring the member on run_action (leg 1) or on resume_run (leg 2) reds 6 refusal pins each (Tests 6 failed | 18 passed (24)); both restored to git diff HEAD empty. This round adds no tested behaviour: the merge resolution drops a forward the closed input already makes unreachable, and 9b55348439 is prose.

Dogfood battery (narrowing arm)

Head 6d0aea0279f3558a360b76349278d53b82dc2930 (the run printed DOGFOOD_HEAD first, after a fresh @objectstack/dogfood^... closure build at that head). pnpm --filter @objectstack/dogfood test, no shard and no path, under the lock: VERDICT command-exit 0. Test Files 474 passed | 3 skipped (477), Tests 4010 passed | 42 skipped (4052). No failure. The four dogfood files this PR edits carry no skip condition and are inside the 474. (Earlier readings: d4ea9c4d37 the same counts; 9b55348439 474 passed | 3 skipped, 4007 passed | 42 skipped.)

Acceptance notes

Verification

Merge probes and ancestry
Gates
  • Derived sweep (dispatch-gates.mjs --commands --repo objectstack-ai/objectstack, 118 families; the derivation at 9b55348439 is byte-identical to the one at 6fd37d044e).
    • At 6fd37d044e: all 118 ran, each exit captured before any pipe. Four needed a second reading: check-plugin-teardown-shape --self-test exit 3 on a shallow clone, exit 0 after fetching its pinned fixture commit; check:skill-examples and check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET, packages not built), exit 0 after building client-react, studio, embedder-openai, knowledge-ragflow and scenarios; check:type-check-debt exit 0 (re-measure "0 raw tsc error(s)", taken on the 9b55348439 tree).
    • pnpm --dir ui exec vitest run scripts/: exit 1, Tests 1 failed | 5076 passed: check-hand-rolled-comment-mask.test.ts "exits 0 as a process" timed out at 15000 ms on a shared box. That file alone at 9b55348439: Tests 22 passed (22).
    • At 9b55348439: the 114 lock-free families re-ran, all exit 0.
    • --ran with exit codes: "118 derived, 118 run, 0 NOT-MEASURED, 0 UNRUN" (a derived zero: every line recorded an exit code).
  • b0fa446bd8 is a merge of origin/main f84dc192d7 with no conflict hunk; this PR's own files are byte-identical to 9b55348439 there. Final head 6d0aea0279 adds two prose-only commits on top of b0fa446bd8: d4ea9c4d37 (R1) and 6d0aea0279 (the approver-decisions bullet). At d4ea9c4d37: pnpm --filter @objectstack/spec check:generated 'All 14 generated artifacts are up to date', spec typecheck exit 0, check-adr-0087-registration --base origin/main and check-changeset-no-major --base origin/main exit 0. At 6d0aea0279: check:doc-authoring, check:docs-audit-scope, check:docs-redirects, check:docs-single-h1, check:docs-spec-enumerations, check:docs-transcript-drift, check:nul-bytes, check:adr-symbol-anchors: all exit 0. CI at 6d0aea0279: 68 check-runs, 59 success, 9 skipped, none red. (At d4ea9c4d37, Test Core (8/8) was red on the plugin-security prefix-collision flake filed as plugin-security cascade-delete parity test case 4 is flaky: its hook count filters ids by a two-character prefix that generated ids can carry #34413; it did not recur here.)

🤖 Generated with Claude Code

https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5

… member

The confirmation member confirmed nothing on these tools since the hand-off;
a call carrying it is now refused by the closed tool input, on every action,
with a prescription that confirmation happens in the app, by the person.
The spec guidance, the contract prose, migration entry 18's switch wording
and the served skill (and its console mirror) stop teaching confirm: true.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
…ber; docs and changeset

The accept pins on run_action and resume_run flip to refusal pins; the
runtime bridge pins send the request the tool now forwards; the dogfood
files that sent confirm to run_action pin the input refusal; the two MCP
docs pages and the changeset say what the diff makes true.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation protocol:ai tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/mcp, @objectstack/spec, touching 8 documentable anchor(s).

4 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/ai/actions-as-tools.mdx (via requiresConfirmation (symbol, a field of const object TOOL_RETIRED_KEY_GUIDANCE), pending_confirmation (literal, a string literal in RETIRED_CONFIRMATION_MEMBER; a string literal in requiresConfirmation; a string literal on a changed line))
  • content/docs/ai/connect-mcp.mdx (via requiresConfirmation (symbol, a field of const object TOOL_RETIRED_KEY_GUIDANCE), pending_confirmation (literal, a string literal in RETIRED_CONFIRMATION_MEMBER; a string literal in requiresConfirmation; a string literal on a changed line))
  • content/docs/ai/tools.mdx (via requiresConfirmation (symbol, a field of const object TOOL_RETIRED_KEY_GUIDANCE))
  • content/docs/protocol/objectui/actions.mdx (via requiresConfirmation (symbol, a field of const object TOOL_RETIRED_KEY_GUIDANCE))

⛔ 1 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v18/18-5.mdx (via pending_confirmation (literal, a string literal in RETIRED_CONFIRMATION_MEMBER; a string literal in requiresConfirmation; a string literal on a changed line))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 2 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 178 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 80cdbd4e0fe293696ab2ada350b5b348ff4ed172 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 6194264e66ffbb3c07832e5997b24b59f378e4ba — the merge of head 6d0aea0279f3558a360b76349278d53b82dc2930 into base 80cdbd4e0fe293696ab2ada350b5b348ff4ed172, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 6194264e66ffbb3c07832e5997b24b59f378e4ba && git checkout 6194264e66ffbb3c07832e5997b24b59f378e4ba
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 80cdbd4e0fe293696ab2ada350b5b348ff4ed172 6d0aea0279f3558a360b76349278d53b82dc2930 && git checkout -B drift-repro 80cdbd4e0fe293696ab2ada350b5b348ff4ed172 && git merge --no-ff 6d0aea0279f3558a360b76349278d53b82dc2930

node scripts/docs-audit/affected-docs.mjs --json 80cdbd4e0fe293696ab2ada350b5b348ff4ed172

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 80cdbd4e0fe293696ab2ada350b5b348ff4ed172 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

Stacks #34318's in-client elicitation onto the retired confirm member:
run_action and resume_run pass the elicitor door as main does, and their
bridge request no longer forwards the caller's confirm (the closed input
refuses it first; elicitation never read it).

Claude-Session: https://claude.ai/code/session_01FEkQ5kgF3mo9f7LXuv5hac
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract-review-claim: session_01FEkQ5mjfxPu5HKjUtuveBR · head 6fd37d0 · 2026-11-16T11:31Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 6fd37d044e888afd21ac66c06fac31874302234d
Local-runs: none
Scope: packages/spec/src/ai/tool.zod.ts, packages/spec/src/contracts/ai-service.ts, packages/spec/src/migrations/entries/semantic/18.action-requires-confirmation-elicited.ts, packages/mcp/src/mcp-http-tools.ts, packages/mcp/src/skill-md.ts, ui/apps/console/src/pages/developer/objectstack-skill.ts, packages/mcp/src/mcp-action-confirmation-handoff-33690.test.ts, packages/mcp/src/mcp-action-confirmation-member.test.ts, packages/mcp/src/mcp-resume-run-tool.test.ts, packages/mcp/src/mcp-stdio-tools.test.ts, packages/mcp/src/skill-md.test.ts, packages/runtime/src/action-confirmation-handoff-33690.test.ts, examples/app-todo/test/mcp-actions.test.ts, packages/qa/dogfood/test/action-confirmation-handoff-33690.dogfood.test.ts, packages/qa/dogfood/test/approval-decide-over-mcp.dogfood.test.ts, packages/qa/dogfood/test/approval-read-over-mcp.dogfood.test.ts, packages/qa/dogfood/test/mcp-system-object-action-exposure.dogfood.test.ts + packages/spec/src/shared/suggestions.zod.ts, packages/runtime/src/action-execution.ts, packages/runtime/src/action-dispatch.ts, packages/runtime/src/flow-start-admission.ts, packages/runtime/src/domains/mcp.ts, packages/spec/src/ai/tool-confirmation-prescription-tense.pin.test.ts, packages/spec/src/migrations/entries/semantic/17.tool-requires-confirmation-retired.ts, .github/workflows/ci.yml
Security-touching: yes

① Derived judgments

  • MCP run_action / resume_run accept-set: confirm leaves both closed inputs. Right, and as ruled (6909355256): undeclared on a .strict() shape, so true and false, gated or not, are refused before the handler and the bridge. tools/list shows it absent with additionalProperties: false.
  • The refusal is the existing unknown-key refusal with an exact-key prescription, no new code. Right: strictUnknownKeyError gives an exact guidance entry precedence over the alias and rename channels (suggestions.zod.ts), and no alias on either tool maps to confirm.
  • The handlers build request without the member (not even undefined), on the hand-off path and the elicitation path alike. Right. params.confirm on an action that declares such a param is untouched.
  • delete_record / delete_records keep the member; the runtime request and the host door (action-dispatch.ts, ai posture without confirmationHandOff) keep reading it. Right, both outside the ruling.
  • @objectstack/spec: no export, type or schema shape moves; three published texts move (TOOL_RETIRED_KEY_GUIDANCE.requiresConfirmation, the ai-service.ts docblocks, entry 18). The direction is right; two sentences are wrong at this head (S1).
  • Served skill and its console mirror drop confirm? from both signatures. Right.

② Semver level

patch on @objectstack/mcp, @objectstack/spec, @object-ui/console with Metadata-protocol: none matches the rule (a non-protocol breaking change ships patch with its banner). Clause-②: yes (narrowing) is on the PR body and the changeset, the BREAKING banner, the FROM/TO lines and one ADR-0087 marker (not-required (already-registered …)) are present, and Check Changeset is green. @objectstack/runtime moves a test only. For the seat's prose pass: the changeset's "Unchanged" bullet and the PR body's "elicitation is still open on #34318" predate #34318's merge (see S1).

③ Boundary flags

  • Check-runs on the head: 68, none red. The sharded Dogfood Regression Gate (n/3) is skipped on pull_request by its own if (ci.yml), and the local battery was stopped, so the four edited dogfood files have no reading at any head. The merge queue is their first one; the PR body's "CI's sharded dogfood job is the reading of record" means that run.
  • open_questions: empty. Acceptance note on feat(runtime,mcp): ask the person in their MCP client before a confirmation-gated action runs #34318: closed, it is in the merge-base and the merged handlers carry no confirm read or forward.
  • Out-of-scope items the dev report lists as "carrier: none": see S2.
  • No earlier contract record on the PR (comment 6915221929 is the claim line). The PR is a draft.
  • SQL push-down: the diff adds no data access.

④ Design judgment

S1 (should-fix) — packages/spec/src/ai/tool.zod.ts and entry 18 state the hand-off as the only outcome, which this head contradicts. The guidance says an AI-facing call on a declared-gated action "does not run on that call", that a person confirms "never the agent", and that the two tools answer pending_confirmation with the person deciding "in the app". Two doors at this head do otherwise: (a) step 1 of the contract the guidance itself cites (AI_ACTION_CONFIRMATION_CAPABILITY) is implemented in the merge-base by #34318, ships from the same unreleased train (.changeset/33712-… beside this one, spec still 18.5.0), asks the person in the client and runs the call on accept; (b) a host door under the ai posture still admits on the member, as this PR's own ai-service.ts text and changeset say. Entry 18's acceptanceCriteria now reads "any caller gets a pending answer", which its own replacement contradicts for an eliciting client, and its header comment says elicitation is added by "a later release". Required: bound the guidance sentence to the two MCP tools and name the in-client step ("in the client when it can be asked, in the app otherwise"); restore the eliciting-client clause in acceptanceCriteria; fix the comment. The same omission is in RETIRED_CONFIRMATION_MEMBER (mcp-http-tools.ts) and the served skill lines; the ruled sentence "confirmation happens in the app, by the person" can stay with the in-client case added beside it.

S2 (should-fix) — packages/spec/src/migrations/entries/semantic/17.tool-requires-confirmation-retired.ts is a live registry entry whose replacement and acceptanceCriteria still prescribe confirm: true on the request at "the action door reached from the MCP run_action tool". "When it binds" in ai-service.ts says the implementing change moves the shipped prescriptions that describe the member; this PR turns that prescription into a call the named tool refuses, and records it as "carrier: none, not filed". Required before landing: amend the entry here, or file the carrier and name it in the Acceptance notes. The same carrier owes docs/qa/platform-checklist/areas/ai.json, whose steps send confirm: true to run_action.

N1 (nit) — ai-service.ts: "neither ever accepted-and-ignored it" no longer holds for the runtime request on the MCP bridge path, which takes the member and does not read it (aiDoorConfirmation has no request parameter).

N2 (nit) — the ruling's build note asked to rework the details.confirmationMember echo; the PR reworks its docblock and keeps the required member on amended refusals from the two tools that refuse it. Accepted deviation: dropping it is a published shape change, and a client that follows the echo meets the loud refusal with its prescription.

The rest holds sentence by sentence against the cited code: the constant keys the refusal; the refusal precedes resolution; the member-gate / amended split of the echo matches reason's own docblock and confirmationRefusalOf; entry 18's FROM half matches 18.5.0, where the entry exists and the hand-off does not. The tense pin's required phrases all survive the rewrite. The refusal pins cover both tools, both values, a gated and an ungated action, the bridge-not-called fact and a delete-tool control.

Implemented-by: claude/area-A5-34209
Reviewed-by: session_01FEkQ5mjfxPu5HKjUtuveBR

VERDICT: PASS

… confirm-retirement prose

Prose only (contract review 6915405032, S1 and N1): the retirement guidance,
semantic entry 18 (comment, replacement, acceptanceCriteria), the retired-member
prescription, the served skill and its console mirror, and the changeset now say
the person confirms in the client when it supports elicitation and the
connection can carry the question, and in the app otherwise. The ai-service
docblock no longer says neither request ever accepted-and-ignored the member.

Claude-Session: https://claude.ai/code/session_01FEkQ5kgF3mo9f7LXuv5hac
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Final head for review · PR #34358 · 2026-11-16T12:48Z

Head-sha: 9b5534843908865f8b2827e379451a99b0804c95 (dev report 6916819540 on #34209)
Round: merge of origin/main 2c96e0d (brings #34318) as 6fd37d04, resolution keeps #34318's elicitation handler and drops the confirm forward the closed input already refuses; then 9b553484, prose only, for S1 and N1 of record 6915405032 and the changeset's Unchanged bullet. S2's carrier is #34387 (entry 17 and the ai.json checklist steps), not built here.
Dev open question (S1 wording beside the ruled sentence): the area takes A. The added in-client clause is what S1 asks for, and it matches the maintainer's #33689 Q1 ruling (one rule, both confirmation flows kept); without it the text is false for an elicitation-capable client. No new ruling is read.
Checks at this head: one red, the Test UI aggregator, because shard Test UI (10/16) was cancelled at its 30-minute job bound with zero failing tests in its log, while the same shard passed in about 10 minutes at 6fd37d04; this PR's mirror test is not in that shard. The area judges it a runner-time flake and re-runs the failed jobs once; a second failure is read as real.
Dogfood battery at this head: 474 files passed, 3 skipped, no failures (os-verify-lock command-exit 0).
Owed: L2 CONTRACT_REVIEW_TIER delta (review#2) against PASS 6915405032 at 6fd37d04; L1 (L1-b). Narrowing; not governed, under 3,000 lines.
Contract-review-handoff: review#2 — routed by the maintainer's standing rule (this account's contract reviews go to the review seat) · head 9b55348


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Final head for review · PR #34358 · 2026-11-16T13:24Z

Supersedes announce 6916863452 (head 9b553484).
Head-sha: b0fa446bd8503a95e4a552bb2203d9c5c0d8092b (dev report 6917608079 on #34209): a merge of origin/main f84dc192d7 onto 9b553484, no conflict hunk; this PR's own 20 files are byte-identical to 9b553484. It was taken because the relay re-runs only failure, and Test UI (10/16) at 9b553484 was cancelled (job bound, no failing test). At this head all 16 Test UI shards and the aggregator are success; no check is red.
PR body patched to this head: S2's carrier is #34387; Verification names this head.
Dogfood battery at 9b553484 stands for this head (merges of the base only).
Owed: L2 CONTRACT_REVIEW_TIER delta (review#2) against PASS 6915405032 at 6fd37d04 (round: S1 and N1 prose at 9b553484, the changeset's Unchanged bullet, the merge); L1 (L1-b). Narrowing; not governed, under 3,000 lines.
Contract-review-handoff: review#2 — routed by the maintainer's standing rule (this account's contract reviews go to the review seat) · head b0fa446


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract-review-claim: session_01FEkQ5mjfxPu5HKjUtuveBR · head b0fa446 · 2026-11-16T13:25Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn

席位核对 · PR #34358 · L1-b · 2026-11-16T13:26Z

Head-sha: b0fa446bd8503a95e4a552bb2203d9c5c0d8092b

L1 · REWORK · area o1-C 定稿评论 6917684840 所钉 head;首读全 diff(20 文件,merge-base f84dc192d7),对照契约记录 6915405032。

已过(本 L1 亲核):

REWORK 项(下一轮一并修,修后 L1 只读 delta):

  1. R1 · 本 PR 改写的两页文档仍把移交写成唯一结果,与 S1 是同一类缺口。 合并基已含 feat(runtime,mcp): ask the person in their MCP client before a confirmation-gated action runs #34318:支持 elicitation 的 stdio 客户端会在客户端里问本人,accept 时本次调用就执行。但这两页 PR 新写的句子说的是「never runs on an agent's run_action call … approves or rejects it in the app」,不提 in-client 一支。具体位置:content/docs/ai/actions-as-tools.mdx:131-136;同文件 :214-218(resume:「the run stays paused until they approve it in the app」);content/docs/ai/connect-mcp.mdx:421-423;同文件 :604-614 那一条。spec 指引、entry 18、拒收文案和技能在 9b553484 已按 S1 补齐,唯独这两页没补。要求按同一句式补上「in the client when it supports elicitation and the connection can carry the question, in the app otherwise」。顺带(nit):changeset 第一条「The refusal names the member and says that confirmation happens in the app, by the person」也补半句 in-client,与 RETIRED_CONFIRMATION_MEMBER 一致。只改文字,不改行为。
  2. R2 · dogfood battery 没钉在终 head。 battery 读数在 9b553484,终 head b0fa446b 又合入了 origin/main f84dc192(带进 fix(plugin-security)!: a computed field over a field the caller cannot read is hidden from that caller #34135 plugin-security!、fix(service-analytics)!: the native SQL strategy leaves a detail row with no parent out of a cross-object filter, as the engine path does #34335 service-analytics! 等)。清单第 48 行要求 battery 钉 head、全量;AGENTS.md 第 10 条要求「dogfood once, on the final head」。「merges of the base only」不是在案的豁免,而且 label-write --land 只认卡上最新受信 os-dev-report 钉 head 的 dogfood。要求在终 head 上跑全量 battery,并把读数写进 dev 报告和 PR 正文。附注:本轮合入 main 是为了重跑一个 cancelled 分片,不在 AGENTS.md 第 10 条列的三种合入理由之内。下次遇到 cancelled,直接重跑该 job,不要合入。

门禁读数钉在本 head;R1 会移动 head,届时在新 head 上重新核对 check-runs 与 battery。
落地条款:非受管路径,3,000 行以下,由区线程自行落地;新 head 须同时有 L1 delta ACCEPT、review#2 对 6915405032 的 CONTRACT_REVIEW_TIER delta PASS,以及钉在该 head 的 battery。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: b0fa446bd8503a95e4a552bb2203d9c5c0d8092b
Local-runs: none
Scope: packages/spec/src/ai/tool.zod.ts, packages/spec/src/contracts/ai-service.ts, packages/spec/src/migrations/entries/semantic/18.action-requires-confirmation-elicited.ts, packages/mcp/src/mcp-http-tools.ts, packages/mcp/src/skill-md.ts, ui/apps/console/src/pages/developer/objectstack-skill.ts, packages/mcp/src/mcp-action-confirmation-handoff-33690.test.ts, packages/mcp/src/mcp-action-confirmation-member.test.ts, packages/mcp/src/mcp-resume-run-tool.test.ts, packages/mcp/src/mcp-stdio-tools.test.ts, packages/mcp/src/skill-md.test.ts, packages/runtime/src/action-confirmation-handoff-33690.test.ts, examples/app-todo/test/mcp-actions.test.ts, packages/qa/dogfood/test/action-confirmation-handoff-33690.dogfood.test.ts, packages/qa/dogfood/test/approval-decide-over-mcp.dogfood.test.ts, packages/qa/dogfood/test/approval-read-over-mcp.dogfood.test.ts, packages/qa/dogfood/test/mcp-system-object-action-exposure.dogfood.test.ts + packages/mcp/src/action-confirmation-elicitation.ts, packages/runtime/src/action-execution.ts, packages/runtime/src/domains/mcp.ts, packages/spec/src/ai/tool-confirmation-prescription-tense.pin.test.ts, packages/spec/src/migrations/entries/semantic/17.tool-requires-confirmation-retired.ts, docs/qa/platform-checklist/areas/ai.json
Security-touching: yes

Delta round on record 6915405032 (PASS at 6fd37d044e888afd21ac66c06fac31874302234d). Read: git diff 6fd37d04 9b553484 (7 files, prose only) and the merge b0fa446b.

① Derived judgments

  • The merge is clean. The net diff against the new merge-base f84dc192 equals the net diff of 9b553484 against the old merge-base 2c96e0df, hunk for hunk (20 paths, 576+/289-). No accept-set moves in this round.
  • What main brought (2c96e0df..f84dc192) touches one file under packages/mcp (an unrelated mask test) and none of the cited runtime, spec or checklist files. Nothing merged changes what the refusal or the guidance must say; feat(runtime,mcp): ask the person in their MCP client before a confirmation-gated action runs #34318 was already in the old merge-base.
  • 9b553484 moves string literals, comments and the changeset. No export, type, schema shape or code path moves. The two handlers still build request without the member and pass the elicitor through the door argument.
  • The new sentences agree with the code they describe (action-confirmation-elicitation.ts, elicitActionConfirmation): the person is asked in the client only when it advertised form-mode elicitation and the call can carry a request; accept runs the call once; decline, a dismissal and a timeout each refuse with ACTION_CONFIRMATION_REQUIRED and hand nothing off; otherwise the hand-off, or the no_confirmation_service refusal. Right.

② Semver level

Unchanged and still right: patch on the three packages, Metadata-protocol: none, Clause-②: yes (narrowing) on the PR body and the changeset, BREAKING banner, FROM/TO lines, one ADR-0087 marker. The changeset's "Unchanged" bullet and first FROM/TO line now name the in-client question, which closes the prose note in ② of the earlier record. Check Changeset is green.

③ Boundary flags

  • Check-runs on the head: 72, all completed, none red. Test UI and its 16 shards are success. The sharded Dogfood Regression Gate (n/3) is skipped on pull_request as before; the merge queue is its first CI reading.
  • Dev open question (report 6916819540: keep the in-client clause beside the ruled sentence, or revert to the ruling's exact words): answered A. Ruling 6909355256's sentence stays in the refusal, and without the added clause the text is false for a client that is asked in place. No new ruling is needed.
  • open_questions on the latest report (6917608079): empty.
  • S2 carrier spec migration entry 17 and the ai platform checklist still prescribe run_action confirm: true, which PR #34358 makes the MCP tool refuse #34387: accepted, see ④. For the seat: the card is pm:blocked on this PR at p2 and says "same release"; nothing but that sentence holds it to the release, so the seat that lands this PR owes the unblock.
  • The PR is a draft. SQL push-down: the diff adds no data access.

④ Design judgment

No must-fix, no should-fix.

Earlier findings:

  • S1: closed. TOOL_RETIRED_KEY_GUIDANCE.requiresConfirmation is now bound to the two MCP tools and names both outcomes (in the client when it can be asked, in the app otherwise). Entry 18's acceptanceCriteria has the eliciting-client clause back ("any other caller gets a pending answer"), its replacement adds the connection condition and the three refusing answers, and its header comment no longer says a later release adds elicitation. RETIRED_CONFIRMATION_MEMBER and the served skill carry the same two outcomes; the console mirror is identical to the served lines. The tense pin's required phrases all survive.
  • S2: closed by carrier. Entry 17 and ai.json are unchanged at this head, and both are outside the claim's file surface. Card spec migration entry 17 and the ai platform checklist still prescribe run_action confirm: true, which PR #34358 makes the MCP tool refuse #34387 names both files and what each prescribes, states the change owed (member-free call, the person confirms), names the seat that acts and the trigger (this PR's merge), and is triaged (6915535998, Blocked-by this PR). The PR's Acceptance notes name it. That is the second branch of what S2 required, and it is a concrete carrier, not a "next PR that touches the file" note.
  • N1: closed. The ai-service.ts sentence now says the runtime request on the MCP bridge path accepts the member, nothing reads it there, and no MCP call can supply it. That matches the closed input and aiDoorConfirmation.
  • N2: open as an accepted deviation (the details.confirmationMember echo stays on amended refusals). Unchanged this round.

Implemented-by: claude/area-A5-34209
Reviewed-by: session_01FEkQ5mjfxPu5HKjUtuveBR

VERDICT: PASS

…ages and the changeset

Prose only (L1-b rework 6917752886, R1): actions-as-tools.mdx and
connect-mcp.mdx no longer state the hand-off as the only outcome; the person
confirms in the client when it supports elicitation and the connection can
carry the question, and in the app otherwise. The changeset's first bullet and
two ai-service.ts docblock lines say the same.

Claude-Session: https://claude.ai/code/session_01FEkQ5kgF3mo9f7LXuv5hac
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Final head for review · PR #34358 · 2026-11-16T14:11Z

Supersedes announce 6917684840 (head b0fa446b).
Head-sha: d4ea9c4d3748f9b5ec68369cdf0ea78ad6d15423 (dev report 6918769088 on #34209): one prose-only commit on b0fa446b for L1-b REWORK 6917752886. R1: content/docs/ai/actions-as-tools.mdx (run_action paragraph, resume_run gates bullet) and content/docs/ai/connect-mcp.mdx (identity-actions bullet; the declared-gated bullet, now "in the client or in the app") say the person confirms in the client when it supports elicitation and the connection can carry the question, and in the app otherwise; the changeset's first bullet gains the in-client half; two ai-service.ts docblock lines (the confirmationMember echo note and contract rule 5) carry the same clause. No code line moved.
R2: dogfood battery on this head: 474 files passed, 3 skipped; 4010 tests passed, 42 skipped; no failures (os-verify-lock command-exit 0, DOGFOOD_HEAD printed).
Checks at this head: one red, Test Core (8/8) and its aggregator. The one failing test is plugin-security src/cascade-delete-security-parity.test.ts case 4: its hook count filters ids by a two-character prefix, and an unrelated generated id carrying that prefix was counted. This PR touches no plugin-security, objectql or audit file and no delete path. The area judges it a chance collision and re-runs the failed jobs once; a second failure is read as real. The test's flake goes to its own card.
Owed: L1 delta (L1-b) for R1/R2; L2 CONTRACT_REVIEW_TIER delta (review#2) after PASS 6917798521 at b0fa446b, since the round touches packages/spec/src/contracts/ai-service.ts docblocks and the changeset. Narrowing; not governed, under 3,000 lines.
Contract-review-handoff: review#2 — routed by the maintainer's standing rule (this account's contract reviews go to the review seat) · head d4ea9c4


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract-review-claim: session_01FEkQ5mjfxPu5HKjUtuveBR · head d4ea9c4 · 2026-11-16T14:14Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn

席位核对 · PR #34358 · L1-b · 2026-11-16T14:15Z

Head-sha: d4ea9c4d3748f9b5ec68369cdf0ea78ad6d15423

L1 delta · REWORK(只差一句文档) · area o1-C 定稿评论 6918810506 所钉 head;对照 L1 REWORK 6917752886(@ b0fa446b)。只读 delta:b0fa446b..d4ea9c4d,一个只改文字的提交,merge-base 未变(f84dc192d7)。

已过:

  • R1 列出的四处都补上了 in-client 一支:actions-as-tools.mdx 的 run_action 段与 resume 条,connect-mcp.mdx 的 lifecycle 条与「A person confirms a declared-gated action」条。changeset 第一条补了半句,与 RETIRED_CONFIRMATION_MEMBER 一致;ai-service.ts 中两行 docblock 也一并补上。均为文字改动,未改代码。
  • R2:dev 报告 6918769088 的全量 battery 钉在 d4ea9c4d,474 个文件通过。
  • 回扫:对本 PR 写入的全部确认相关句(两页文档、tool.zod.ts、ai-service.ts、entry 18、served skill)按「in the app / never runs / handed to / does not run」逐条复读。除下一句外,其余都已写出 in-client 一支,或句子本身限定在移交那一支。

REWORK(一处,是本 L1 上一轮漏列的,由我认):

  • content/docs/ai/connect-mcp.mdx:436(审批决策条):「run_action never decides on the agent's call: the approver confirms it in the app, or the call is refused (428) …」。这是本 PR 改写的句子,和 R1 是同一处缺口:对支持 elicitation 的 stdio 客户端,approver 会在客户端里被问,accept 后本次调用就会执行。上一轮 R1 只列了 :421-423 与 :604-614,漏了这一句,责任在本 L1。请按 :421 那一条的句式改成「decides only once the approver confirms: in the client when it supports elicitation and the connection can carry the question, and otherwise in the app …」。只改文字。

门禁与 battery:本轮会移动 head。标题带 !,所以新 head 上要再跑一次全量 battery 并写进 dev 报告;另须全 check 绿。本 head 的 Test Core (8/8) 正在第 2 次重跑,读数不带到新 head。
落地条款不变:非受管路径,新 head 须同时具备 L1 delta ACCEPT、review#2 的 delta PASS,以及钉在该 head 的 battery。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d4ea9c4d3748f9b5ec68369cdf0ea78ad6d15423
Local-runs: none
Scope: packages/spec/src/ai/tool.zod.ts, packages/spec/src/contracts/ai-service.ts, packages/spec/src/migrations/entries/semantic/18.action-requires-confirmation-elicited.ts + content/docs/ai/actions-as-tools.mdx, content/docs/ai/connect-mcp.mdx, .changeset/34209-retire-mcp-action-confirm-member.md, packages/mcp/src/mcp-http-tools.ts, packages/mcp/src/action-confirmation-elicitation.ts, packages/runtime/src/action-execution.ts, packages/runtime/src/action-dispatch.ts, packages/runtime/src/domains/mcp.ts (delta only; the rest carries from 6917798521)
Security-touching: yes

Delta round on record 6917798521 (PASS at b0fa446bd8503a95e4a552bb2203d9c5c0d8092b). Read: git diff b0fa446b d4ea9c4d, one commit, four files, 36+/20-; announce 6918810506.

① Derived judgments

  • The delta is prose only. The two docs pages and the changeset are text; in packages/spec/src/contracts/ai-service.ts every moved line is a docblock line (the confirmationMember echo note and contract rule 5). No export, type, schema shape, string constant or code path moves, and the merge-base is unchanged (f84dc192, 20 paths). No accept-set or public-surface change this round.
  • The new sentences agree with the code on this head:
    • "in the client, when the client supports elicitation and the connection can carry the question": actionConfirmationElicitorFor answers an elicitor only when the client advertised form-mode elicitation and the call can send a request. "(a stdio connection, today)" is right: the per-request Streamable HTTP server never holds the client's capabilities.
    • "accept runs the call once; decline, dismissal or no answer in time refuses it ACTION_CONFIRMATION_REQUIRED", with details.reason declined, cancelled or timed_out: elicitActionConfirmation returns exactly these three refusals and hands nothing off.
    • resume_run: "accept continues the run; any other answer refuses the call and the run stays paused" matches the resume path in domains/mcp.ts, which asks through the same function.
    • "and in the app otherwise", pending_confirmation with a pendingId, or 428 with no_confirmation_service: unchanged step-2 behaviour.
    • The two ai-service.ts lines ("in the client when it can be asked there and in the app otherwise") say the same as the sentence at the contract's own "When it binds" text and as RETIRED_CONFIRMATION_MEMBER.
  • One sentence the PR wrote on the same page was not moved with the rest: S1.

② Semver level

Unchanged and still right: patch on the three packages, Metadata-protocol: none, Clause-②: yes (narrowing), BREAKING banner, one ADR-0087 marker. The changeset's first bullet now says the refusal names the member and places confirmation "in the app, by the person, or in the client when it supports elicitation and the connection can carry the question". That is what RETIRED_CONFIRMATION_MEMBER (mcp-http-tools.ts) says, in the same order, so the bullet matches the diff. The other bullets are untouched and still match.

③ Boundary flags

  • Check-runs on the head at read time: 71, none red. Two are still running: Test Core (8/8) (a re-run; announce 6918810506 reports its first attempt failed on one plugin-security test, which this PR does not touch) and a second Check Changeset (the first on this head is success). Everything else is success or skipped, including Lint & Repo Gates, TypeScript Type Check, Build Docs, Check Documentation Links, Test Core 1 to 7 and all 16 Test UI shards. The verdict below does not cover the two running checks; the landing seat reads them.
  • The sharded Dogfood Regression Gate (n/3) is skipped on pull_request as before.
  • open_questions: none raised for this round. S2's carrier (spec migration entry 17 and the ai platform checklist still prescribe run_action confirm: true, which PR #34358 makes the MCP tool refuse #34387) and the N2 accepted deviation carry unchanged.
  • The PR is a draft. SQL push-down: the delta adds no data access.

④ Design judgment

No must-fix.

S1 (should-fix) — content/docs/ai/connect-mcp.mdx, the bullet "An approver's decisions are exposed to the approver's agent": "run_action never decides on the agent's call: the approver confirms it in the app, or the call is refused (428)". This PR wrote that sentence, and it states the hand-off as the only outcome. The four approval decisions declare ai.requiresConfirmation: true and take the same path as every other declared-gated action, so an approver whose client can be asked is asked there and accept decides on that call. The bullet two paragraphs above it was corrected in this delta; this one was left. Required: the same wording as that bullet ("decides only once the approver confirms: in the client when it supports elicitation and the connection can carry the question, and otherwise in the app, or the call is refused …"). Text only.

Everything else in the delta holds sentence by sentence, as listed in ①. Earlier findings: S1 and N1 of 6915405032 stay closed, S2 stays closed by carrier #34387, N2 stays open as the accepted deviation.

Implemented-by: claude/area-A5-34209
Reviewed-by: session_01FEkQ5mjfxPu5HKjUtuveBR

VERDICT: PASS

…bullet

Prose only (L1-b 6918906816, review#2 delta 6918950314): run_action decides an
approval only once the approver confirms, in the client when it supports
elicitation and the connection can carry the question, and otherwise in the app.

Claude-Session: https://claude.ai/code/session_01FEkQ5kgF3mo9f7LXuv5hac
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Final head for landing · PR #34358 · 2026-11-16T16:19Z

Supersedes announce 6918810506 (head d4ea9c4d).
Head-sha: 6d0aea0279f3558a360b76349278d53b82dc2930 (dev report 6922064486 on #34209): one prose-only commit on d4ea9c4d, content/docs/ai/connect-mcp.mdx only (3 lines). It closes L1-b REWORK 6918906816 and review#2 S1 of delta PASS 6918950314, which named the same sentence. The approver-decisions bullet now reads: "run_action decides only once the approver confirms: in the client when it supports elicitation and the connection can carry the question, and otherwise in the app, or the call is refused (428) on a server with no pending-confirmation service." A grep of both docs pages finds no other "never runs" or "never decides" sentence. No code, spec, or changeset line moved.
Dogfood battery on this head (narrowing arm): pnpm --filter @objectstack/dogfood test, fresh closure build, DOGFOOD_HEAD printed, os-verify-lock command-exit 0: 474 files passed, 3 skipped; 4010 tests passed, 42 skipped; no failures.
Checks at this head: 68 check-runs, 59 success, 9 skipped, none red. The plugin-security flake (#34413) did not recur. PR body patched to this head.
Owed for landing: review#2 delta (prose-only, closes S1) and L1-b delta on this head. Narrowing; not governed, under 3,000 lines.
Contract-review-handoff: review#2 — routed by the maintainer's standing rule (this account's contract reviews go to the review seat) · head 6d0aea0


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn

席位核对 · PR #34358 · L1-b · 2026-11-16T16:21Z

Head-sha: 6d0aea0279f3558a360b76349278d53b82dc2930

L1 delta · ACCEPT · area o1-C 定稿评论 6922124435 所钉 head;对照 L1 REWORK 6918906816(@ d4ea9c4d)。只读 delta:d4ea9c4d..6d0aea02,一个只改文字的提交,merge-base 未变(f84dc192)。

  • 上一轮那一句已收口:connect-mcp.mdx 审批决策条改为「run_action decides only once the approver confirms: in the client when it supports elicitation and the connection can carry the question, and otherwise in the app, or the call is refused (428) …」,与 :421 那一条句式一致。diff 只动这一句,别处未改。
  • battery:dev 报告 6922064486 的全量 battery 钉在 6d0aea02,DOGFOOD_HEAD 已打印,Test Files 474 passed | 3 skipped,Tests 4010 passed | 42 skipped,VERDICT command-exit 0。标题带 ! 所欠的 battery 至此在本 head 收口。
  • 门禁:本 head 读到 72 条 check-runs,60 条 success、11 条 skipped,没有失败;Check Changeset 在本核对时仍是 in_progress(重跑中)。入队前由区线程确认它为绿;读数不对应本 head 的,不算数。

落地条款不变:非受管路径。本 head 须同时具备本 ACCEPT、review#2 的 delta PASS、上述 battery,以及全 check 绿。再合 main 会移动 head,battery 须重跑。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract-review-claim: session_01FEkQ5mjfxPu5HKjUtuveBR · head 6d0aea0 · 2026-11-16T16:21Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 6d0aea0279f3558a360b76349278d53b82dc2930
Local-runs: none
Scope: content/docs/ai/connect-mcp.mdx (delta only; the rest carries from 6918950314)
Security-touching: yes

Delta round on record 6918950314 (PASS at d4ea9c4d3748f9b5ec68369cdf0ea78ad6d15423). Read: git diff d4ea9c4d 6d0aea02, one commit, one file, 3+/2-; announce 6922124435.

① Derived judgments

  • The delta is prose only: one sentence in the bullet "An approver's decisions are exposed to the approver's agent" in content/docs/ai/connect-mcp.mdx. No code, spec, changeset or other docs file moves, and the merge-base is unchanged (f84dc192, 20 paths). No accept-set or public-surface change this round.
  • The new sentence agrees with the code on this head. "run_action decides only once the approver confirms: in the client when it supports elicitation and the connection can carry the question, and otherwise in the app, or the call is refused (428) on a server with no pending-confirmation service":
    • "in the client when …": actionConfirmationElicitorFor (action-confirmation-elicitation.ts) answers an elicitor only when the client advertised form-mode elicitation and the call can send a request; mcp-http-tools.ts passes it to bridge.runAction only then, and action-dispatch.ts asks it first and lets only an elicited accept fall through to the dispatch.
    • "and otherwise in the app, or … refused (428)": the unchanged hand-off to the pending-confirmation service, or no_confirmation_service.
    • The four approver decisions in sys-approval-request.object.ts declare ai.requiresConfirmation: true and take this same path, so the sentence applies to them.

② Semver level

Unchanged and still right: patch on the three packages, Metadata-protocol: none, Clause-②: yes (narrowing), BREAKING banner, one ADR-0087 marker. The delta touches no changeset and publishes nothing.

③ Boundary flags

  • Check-runs on the head at read time: 72, none red, none running (61 success, 11 skipped). The two checks the previous record left running are not open on this head.
  • The sharded Dogfood Regression Gate (n/3) is skipped on pull_request as before.
  • open_questions: none raised for this round. SQL push-down: the delta adds no data access.

④ Design judgment

No must-fix, no should-fix.

S1 of 6918950314 is closed. The bullet now names both places the approver can confirm, in the same words and order as the identity-actions bullet above it and as RETIRED_CONFIRMATION_MEMBER, and no longer states the in-app hand-off as the only outcome. The sentence reads correctly, and the following "Once confirmed, each forwards to its approvals route as the caller" still follows from it.

Earlier findings: S1 and N1 of 6915405032 stay closed, S2 stays closed by carrier #34387, N2 stays open as the accepted deviation.

Implemented-by: claude/area-A5-34209
Reviewed-by: session_01FEkQ5mjfxPu5HKjUtuveBR

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Landing · PR #34358 · 2026-11-16T16:24Z

Probe Reading
Head 6d0aea0279f3558a360b76349278d53b82dc2930 (announce 6922124435): one prose-only commit on d4ea9c4d (the approver-decisions bullet in connect-mcp.mdx)
L1 delta ACCEPT 6922166531 (L1-b) at this head, closing REWORK 6918906816
L2 delta PASS 6922230991 (review#2, CONTRACT_REVIEW_TIER) at this head, S1 of 6918950314 closed; no must-fix, no should-fix open
check-governed-merges --pr 34358 NOT governed (0 of 20 paths) · 882 lines ≤ 3000
Checks at head 59 success, 11 skipped, none red, none running; mergeable clean
K (first-parent commits since PRBASE 80cdbd4e, the Affected-set diff base of this head's Test Core run) 8 < 15; not a label or shared-budget PR
Battery (!, Clause-②: yes (narrowing)) full dogfood battery pinned to this head in dev report 6922064486: 474 files passed / 3 skipped, 4010 tests passed / 42 skipped, DOGFOOD_HEAD printed, os-verify-lock command-exit 0
Flake the Test Core (8/8) plugin-security red at d4ea9c4d did not recur; carried by #34413

State change: ready for review + auto-merge (merge queue). On MERGED, Fixes #34209 closes the card; the area removes pm:dispatched and lease:o1-C in the close stroke, and tells the seat to unblock #34387.


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 16, 2026 16:25
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 16, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Landing withdrawn · PR #34358 · 2026-11-16T16:25Z

The landing stroke 6922254489 was an error by this area: the PR carries Clause-②: yes (narrowing), so it is Tier H and goes through the seat's Tier H hand-off (maintainer reviewers), and it must ship in the same release as #34202. The area asks for this pull to leave the merge queue (cause seat-asks) and for auto-merge to be turned off. The head stays 6d0aea0279f3558a360b76349278d53b82dc2930; L1 ACCEPT 6922166531 and L2 PASS 6922230991 stand and pass to the seat's hand-off.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Relay pr_dequeue · session_01FEkQ5kgF3mo9f7LXuv5hac · request fw-20261116T162657Z-6e2b3c

Merge-queue dequeue of #34358 — cause seat-asks.

The relay sends dequeuePullRequest after this comment and confirms the removal by reading the queue back; the run row of this request carries the outcome. Re-queue once the cause is fixed (landing-operations.md, the landing seat's queue duty).

@objectstack-fleet
objectstack-fleet Bot removed this pull request from the merge queue due to a manual request Nov 16, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Landing (re-armed) · PR #34358 · 2026-11-16T16:32Z

Releases hold 6922291418. That hold read this PR as Tier H; the seat has corrected that reading. check-governed-merges reads NOT governed (0 of 20 paths in the register; 882 lines ≤ 3000). A Clause-② narrowing PR needs a contract-review PASS on record before it is queued, and this one has it. The maintainer's approval is not needed. Landing 6922254489 stands, re-read now:

Probe Reading
Head 6d0aea0279f3558a360b76349278d53b82dc2930 (unchanged since announce 6922124435)
L1 delta ACCEPT 6922166531 (L1-b) at this head
L2 delta PASS 6922230991 (review#2, CONTRACT_REVIEW_TIER) at this head; no must-fix or should-fix open
Checks at head 59 success, 11 skipped, none red, none running; mergeable clean
K (since PRBASE 80cdbd4e) 8 < 15
Battery pinned to this head in dev report 6922064486

State change: auto-merge (merge queue). It should merge before the next Version Packages so that it ships with #34202, whose changeset is still unreleased on main.


Generated by Claude Code

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

Labels

documentation Improvements or additions to documentation protocol:ai size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

1 participant