Skip to content

skills: objectstack-ai and objectstack-platform still describe the MCP action confirmation gate as a caller confirm; it is now a hand-off to the host service #34210

Closed

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

This is the Skills-docs follow-up that PR #34202 (card #33690, Metadata-protocol: semantic, Clause-②: no (narrowing)) owes. These are skills-lane files.

What changed: at the MCP door, an action declaring ai.requiresConfirmation: true is no longer run on the caller's confirm: true.

  • With IActionConfirmationService registered, the call is handed to the host and answered pending_confirmation with a pendingId. Nothing runs.
  • With no service, the call is refused 428 ACTION_CONFIRMATION_REQUIRED, details.reason: no_confirmation_service.
  • An AI service account's refusal carries details.reason: service_account at every action door.

Files: skills/objectstack-ai/SKILL.md and skills/objectstack-platform/SKILL.md name the gate. Teach the hand-off, the two refusal reasons, and that confirm is not read. Exercise them in the evals.

Widened by area S3 (two later changes in the same family, so one card carries the whole teaching):

Blocked-by: #34209
Blocked-by: #34318

Prior rulings read: the #33690 ruling; PR #34202's Skills-docs line.

Dedupe: an open-issue search for "objectstack-ai SKILL.md confirmation" found only #33690.


Generated by Claude Code

Activity

  1. added
    priority:p2
    finding
    pm:blocked
    domain:skills
    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-16T17:50Z

    ⛔ Not a claim.

    Both blockers are closed: #34318 merged at 08:41Z, and #34209 closed at 17:13Z. Back to the queue for its lane, with the grade unchanged.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#3 · os-support-ai · session_01WGufzgtCwPzNYSczvxDEpw

    Claim: PM loop round 2
    Session: session_01WGufzgtCwPzNYSczvxDEpw
    Thread session: session_01WGufzfojHHNDnXxREucdHC
    Account: os-support-ai
    Branch: claude/project-thread-8iu5at
    Worktree: objectstack-issue-34210
    Domain: domain:skills
    Seat: domain:skills#3
    File surface: skills/objectstack-ai/SKILL.md, skills/objectstack-platform/SKILL.md, their evals/*.json, optional scripts/check-skills-token-ratchet.mjs (measured row), one changeset
    Container & model: M, mode:thread, model: CONTRACT_REVIEW_TIER — dispatch-gates --tier MANDATORY: skills/** clause ①, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6924430961
    Premise: holds
    Serial constraints cleared: none — no open domain:skills claim or open PR touches this surface (read 2026-11-17T00:17Z).

    Dispatch order: skills-orders/r2611/34210.md in this seat's project (card thread opened by the coordinator; the thread pushes only its harness-pinned branch, a measured platform exception to claude/issue-<n>-<slug>).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#3 · os-support-ai · session_01WGufzfojHHNDnXxREucdHC
    os-dev-report

    {
      "issue": 34210,
      "status": "done",
      "branch": "claude/project-thread-8iu5at",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34558",
      "head": "4c229cb1465fc57922a41315c64c4f4a2ae66888",
      "session": "session_01WGufzfojHHNDnXxREucdHC",
      "premise_still_valid": true,
      "summary": "skills/objectstack-ai/SKILL.md: the run_action row of the MCP tool table no longer teaches 'ask the human, then retry with confirm: true'. It teaches the hand-off to the host's pending-confirmation service (status pending_confirmation + pendingId, a success, relay and do not retry) and the service_account refusal; a paragraph under the table teaches never to send confirm to run_action / resume_run, the 428 no_confirmation_service refusal, and the in-client elicitation path with declined / cancelled / timed_out. skills/objectstack-platform/SKILL.md: a sixth rule under requires: says AI-door confirmation is a service the host registers (IActionConfirmationService under 'ai.actionConfirmation'), with the same refusals. Three eval cases (ai ids 7 and 8, platform id 23). Every taught fact was read from code on ec6b5fd3 first (citations in the PR body). The delete_record / delete_records rows are untouched: isDeleteConfirmed in packages/mcp/src/mcp-http-tools.ts still reads confirm.",
      "files_changed": [
        ".changeset/34210-skills-mcp-action-confirmation-hand-off.md",
        "scripts/check-skills-token-ratchet.mjs",
        "skills/objectstack-ai/SKILL.md",
        "skills/objectstack-ai/evals/skills-tools-knowledge.json",
        "skills/objectstack-platform/SKILL.md",
        "skills/objectstack-platform/evals/config-plugins-ops.json"
      ],
      "line_budget": "order: net +15 lines across the two SKILL.md files (priced teaching text), evals reported separately. Readings: objectstack-ai/SKILL.md +8 (434 to 442), objectstack-platform/SKILL.md +7 (414 to 421; 8 added, 1 removed with a cut), together +15. Tokens: ai 6068 to 6268 against ceiling 6801, row untouched. platform 6006 to 6145 against ceiling 6011: two same-file restatements cut first (84 bytes: 'Never rebuild what the platform owns.' and the HonoServerPlugin row's '(this is what os dev / os serve register)', each with its surviving home listed in the PR body), the rule adds 640 bytes, and the row moves 6011 to 6145 (+134, the measured remainder, pinned at the measurement) under ruling record 6513306068. Evals (unpriced): +20 lines in the ai fixture (two cases), +18 in the platform fixture (one case).",
      "tests": "No package source changed, so no package test ran and nothing was ablated. On 4c229cb1: eval self-consistency by script (8 and 23 distinct ids; every must_contain string in its expected_output, no must_not_contain string in it); node scripts/check-skills-token-ratchet.mjs exit 0 ('skills/objectstack-platform/SKILL.md is 6145 tokens (ceiling 6145; headroom 0)') and its --self-test exit 0 ('104 cases pass'), which is also the edited script's own suite (no test file names it).",
      "gates": "Local, on 4c229cb1: dispatch-gates --commands derived 67; --ran: '67 derived famil(ies) accounted for - 65 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)'. 65 exit 0, among them check-skills-token-ratchet and its self-test, check:skill-docs and check:doc-formula-expressions (after the spec and lint closure build, os-verify-lock VERDICT command-exit 0), check:skill-links, check:skill-identifier-liveness, check:skill-top-level-keys, check:skill-compatibility, check:doc-authoring, check:nul-bytes, check:ratchet-remedy-authority, check:pm-dispatch-gates, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration. NOT MEASURED: pnpm check:dual-build-cjs-loads and pnpm check:lean-entry-closure, each exit 3 PREREQUISITE NOT MET (they read a full build; this diff changes no package source); left to CI. CI on PR 34558 at report time: 17 check-runs in_progress (the Lint and Type Check lanes, Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards, filter), 5 skipped by design, none failed.",
      "dogfood_battery": "n/a - no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "6 GitHub MCP calls - issue_read x4 (the card, its comments twice, the HTTP-door card's state), list_pull_requests x1, pull_request_read x1 (get_check_runs); plus get_session x1 and subscribe_pr_activity x1 on the session server; no write tool",
      "api_writes": "2 relay strokes - pr_create (POST /repos/objectstack-ai/objectstack/pulls, plus its assignees leg POST /issues/34558/assignees), run 43989863308, read back byte-identical; and this os-dev-report comment (POST /issues/34210/comments). Plus one git push.",
      "deviations": [
        "pr_create carried assignees: os-support-ai (the claim's Account), as the order and .claude/agents/os-dev.md rule 2 say. No reviewer was requested: hand-over is the seat's.",
        "The PR body's attribution link names this card thread, as the session context requires; the order printed the seat thread's link as the default.",
        "The in-client elicitation path is taught with its real reach, 'a long-lived (stdio) server whose bridge serves these tools', because the stdio bridge the plugin wires (createStdioDataBridge) implements neither listActions nor runAction, so run_action is not registered on the plugin's own stdio transport. The row already said so before this change.",
        "Two built-output gates NOT MEASURED locally (above); left to CI.",
        "origin/main moved one commit (631d77f3, ui/ only) after the branch was cut; it was merged in before the gates ran, so the PR head is a merge commit on top of the change commit c22bb66d.",
        "The PR footer is the AGENTS.md session-URL form, not the harness reminder's two lines; the commit trailer pair is the model-free one the pre-push hook requires."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none - noted in the PR's Acceptance notes, not filed (read from code, not measured at a public door): the plugin's stdio bridge serves no action tools, so in-client confirmation is reached only where a host gives the long-lived server an action-carrying bridge (MCPServerRuntime.bridgeDataTools). dedupe words: stdio bridge listActions runAction elicitation run_action",
        "carrier: none - noted, not filed: the delete_record row of objectstack-ai/SKILL.md says 'ask the human first, then retry', while the tool's description also says a request naming one record with exactly one match is the approval (DELETE_NAMED_RECORD_IS_APPROVAL). A different gate from this card's. dedupe words: delete_record named record approval skill row",
        "carrier: none - noted, not filed: the objectstack-ai/SKILL.md ceiling row could be re-locked at 6268 (headroom 533)."
      ]
    }

    Generated by Claude Code

  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#3 · os-support-ai · session_01WGufzfojHHNDnXxREucdHC
    os-dev-report

    {
      "issue": 34210,
      "status": "done",
      "round": "delta r2, after contract review 6937055058 (PASS, S1 open)",
      "branch": "claude/project-thread-8iu5at",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34558",
      "head": "1a820c34b5ec928c91d22ef2f78935748c0a22ae",
      "previous_head": "4c229cb1465fc57922a41315c64c4f4a2ae66888",
      "session": "session_01WGufzfojHHNDnXxREucdHC",
      "premise_still_valid": true,
      "summary": "Two commits on top of the reviewed head. c9738118 fixes the eval assertions only: S1(a) objectstack-ai id 7 now asserts 'do not retry', the skill's own words, and its expected output is reworded to carry it; S1(b) objectstack-platform id 23 forbids only the MCP call form 'recordId, confirm: true' (the broad 'confirm: true' and 'requiresConfirmation: false' tokens are gone, since a correct answer can name the host door's own member or the safe-unattended caveat); N1 objectstack-ai id 8 forbids the same narrow form; N2 id 8's expected output now says a gated Streamable HTTP call is handed off, or refused no_confirmation_service where the host has no service. N3 is left as the review accepts it: no SKILL.md text changed in this round. 1a820c34 merges origin/main 8dd8192c (44 commits, clean); the diff against main is the same six files.",
      "files_changed": [
        "skills/objectstack-ai/evals/skills-tools-knowledge.json",
        "skills/objectstack-platform/evals/config-plugins-ops.json"
      ],
      "line_budget": "Unchanged for priced text: no SKILL.md edit in this round (still +8 and +7, total +15). On the merged tree: objectstack-ai/SKILL.md is 6342 tokens of 6801 (main's rewrite of the delete_record row is included), objectstack-platform/SKILL.md is 6145 of 6145, so the pinned row is still exact. Evals (unpriced): the ai fixture stays +20 lines, the platform fixture is now +17 (one forbidden token removed).",
      "tests": "Eval self-consistency by script on 1a820c34: 8 and 23 distinct ids; every must_contain string in its expected_output, no must_not_contain string in it. 'do not retry' appears in skills/objectstack-ai/SKILL.md (the run_action row).",
      "gates": "Scoped re-run on 1a820c34 after the merge and a rebuild of the spec and lint closure (os-verify-lock VERDICT command-exit 0), each exit 0: check-skills-token-ratchet and its --self-test, check:skill-docs, check:doc-formula-expressions, check:skill-compatibility, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-links, check:skill-top-level-keys, check:doc-authoring, check:nul-bytes, check:ratchet-remedy-authority, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration (the three with --base origin/main). The full derived list was not re-run locally; CI runs it on the new head (in_progress at report time).",
      "dogfood_battery": "n/a - no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 GitHub MCP calls in this round; the review comment and the check-runs were read over unauthenticated REST. No write tool.",
      "api_writes": "1 relay stroke - this delta os-dev-report comment (POST /issues/34210/comments). Plus three git pushes (the fix, the merge, none forced).",
      "deviations": [
        "The PR body was not edited (a dev does not patch it). Three readings in it are now stale and are the seat's to refresh: 'Evals: +20 lines and +18 lines' is +20 and +17; the size table's after column (ai SKILL.md 442 lines / 25387 bytes / 6342 tokens after the merge; ai fixture 85 / 8219; platform fixture 399 / 23586); and the Base line (origin/main is now merged at 8dd8192c). The body's sentence on eval id 7 ('without retrying') and id 8 still describes the cases correctly.",
        "The 'requiresConfirmation: false' token of id 23 was removed as well as the token the review named: it failed a correct answer in the same way.",
        "The fix was pushed as c9738118 before the seat's order to merge main arrived, so the merge is a second push."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#3 · os-support-ai · session_01WGufzgtCwPzNYSczvxDEpw

    ACCEPT → PR #34558 comment 6937503355 (head 1a820c34, Tier H; contract review 6937055058 → delta 6937234252 PASS). Waiting on the maintainer: pm:awaiting-merge, reviewers os-zhuang and hotlong requested.

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

Metadata

Metadata

Assignees

Labels

domain:skillsfindingpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions