Skip to content

[Decision] Should an approver be able to see and decide their pending approvals over MCP? #32442

Closed

Description

@os-bob

Filing category: ② a decision only the maintainer can make.
Batch-of: 15 cards filed together from one MCP capability test session (2026-11-11; 6 in cloud, 9 in objectstack).

维护者速读

  • 现象:申请人能通过 MCP 提交请假,审批流程(approval 节点)也能正常生成 sys_approval_request;但审批人那一侧在 MCP 上没有任何入口:list_actions 里没有审批动作,sys_approval_request 不在 list_objects 里,同意/驳回只能回到界面或 REST。
  • 要你裁:审批人的「看待办 + 同意/驳回」是否进入 MCP,以及走哪个形状。
  • 推荐:A:把审批请求自带的决定动作(同意/驳回/转签/退回)按审批人身份开放给 AI,复用现有 list_actions / run_action,不新增工具。

One-sentence problem

An agent can file a leave request for its user but cannot act for the manager who has to approve it, so half of every approval process stays outside MCP.

Evidence (reach)

Hosted tenant (pnpm dev:stack, Team plan; cloud ff373e02, framework d7c3d44e): an MCP-authored flow with an approval node (org_membership_level: owner) published; create_record over MCP opened sys_approval_request pending naming the owner. Over MCP as that owner: list_actions has no approval action; list_objects has no sys_approval_request. The decision was only possible via POST /api/v1/approvals/requests/:id/approve (the console's 通过 button), after which the flow resumed and the record read approved.

Governing text

  • docs/NORTH-STAR.md — "Two kinds of user: today, business staff through the UI …; tomorrow, agents through MCP. Every step of the road must hold for both kinds of user." The road includes "approvals and automation".
  • packages/mcp/README.md — "sys_*-object actions are held back fail-closed" (approval-request actions live on a sys_* object; some sys_* actions such as invite_user are already exposed with aiExposed: true).

Options

Option What it does What the customer sees Effort
A Expose the approval request's own decide actions (approve / reject / reassign / send back) with ai.exposed, gated to the request's current approvers; let an approver read their pending requests through the existing record tools "Approve Zhang San's leave" works from Claude; same gates as the console button approvals + mcp seats · 1–2 PRs · precedent: sys_user actions exposed via aiExposed (no PR number measured)
B Add dedicated MCP tools (list_my_approvals, decide_approval) Same capability, a separate tool family mcp seat · 1–2 PRs · no precedent
C Keep approvals UI-only Agents submit, humans decide in the console none

Business reading: A = the approval inbox is just more actions an agent can take for its user; B = approvals get their own agent API; C = approvals are deliberately a human-only step.

Recommendation

A. Two years out the agent operates the app through the same declared actions a person clicks (Salesforce Agentforce and ServiceNow agents act through declared actions/approvals, not bespoke endpoints); A adds no tool family and keeps one permission gate. C is a legitimate product stance (human-in-the-loop for decisions) — if chosen, the MCP skill should say so explicitly so agents do not try. Confidence gap: whether approver identity over an OAuth delegation should require a stronger confirmation (requiresConfirmation) — recommend yes, untested.
Self-check: only ① picks A; ②③④ do not flip it.

After the ruling

A: approvals seat exposes the decide actions with approver-scoped gates + requiresConfirmation; mcp seat lets list_actions include them for the approver; e2e: submit over MCP as user A, decide over MCP as approver B, record resumes.

os-decision-facets
① 项目长远合理性: A 复用「动作」作为 agent 唯一操作面,不新增工具族,缩小特例;B 扩大契约面。
② 实际业务拉动: 今天任何「请假/报销/采购」审批场景用 MCP 走全程都会在审批人这一步断开(本次实测)。
③ 防 AI 犯错: A 下审批走与界面同一个带审批人校验的动作;无入口时 agent 会去改状态字段,绕过审批。
④ 创业阶段不扩散: A 不新增工具;C 零成本但留下 North Star 缺口。
Prior rulings read: "approval mcp approver decide tool" → 128 hits (top: #30806, #27101, #28657; none rule on MCP decisions); ADR-0011; thread: none

Reader who acts: the approvals seat and the packages/mcp seat, after the ruling.
Dedupe: repo:objectstack-ai/objectstack is:issue approval mcp approver decide tool → 128 hits, none on approver-side MCP access; cloud approver mcp approval tool → 12 hits (cloud#3600 scenario epic, cloud#4091 AI write hold, cloud#3301 lint), none.

Activity

  1. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJbS8sZAfru2iyvQq

    Release: session_016WV4cwJbS8sZAfru2iyvQq · decide half landed (PR #32886) · read half waits on the spec sub-card → pm:blocked, unassigned for the next claimant.

    Blocked-by: #32865

  2. added
    pm:blocked
    and removed
    pm:dispatched
    on Nov 13, 2026
  3. os-bob commented on Nov 13, 2026

    @os-bob
    ContributorAuthor

    Read half: the blocker has landed, and an approver's "my pending" acceptance

    From the MCP capability test session that filed this card (2026-11-13).

    State: #32865 merged as 04c35f0952 (PR #32971, 2026-11-13T02:33Z), but this card still carries pm:blocked and has no assignee. The read half can be claimed now.

    Why the read half carries the user value: the decide half (PR #32886) asks for the request id. An approver's natural request to an agent is "what is waiting for me, approve the overtime one". Without the read half, the agent cannot answer the first part, so the only route to a decision over MCP is the user pasting a request link from the console. Every approval scenario in our test (leave, expense, overtime) breaks at that step.

    Acceptance asked for the read half: "mine" means My Pending, not the participant set. Over the generic data door, request-read-gate.ts narrows an untargeted read to the participant set: submitter, current approver and past actor. A bare query_records on sys_approval_request would therefore mix three kinds of request: ones I submitted, ones I already decided, and ones waiting on me. An agent asked for "my pending approvals" must be able to get exactly the console's my_pending rows: status = pending and pending_approvers contains the caller. The pins we would like to see:

    1. Over MCP as approver B, query_records with {status: 'pending', pending_approvers contains '{current_user_id}'} returns only the requests waiting on B. The engine resolves {current_user_id} (engine-query-lowering.ts), and the pin should prove that the MCP door reaches that resolver too.
    2. The same call as submitter A returns nothing, even though A sees their own request in an untargeted read.
    3. A returned row gives the agent enough to tell the user what it is, without a second lookup: process_label, record_title or display (the target record's title), submitter_id and current_step_label. The payload stays under its existing redaction.
    4. The skill or tool text tells an agent the "pending for me" filter shape, so it does not guess one from the participant read.
    5. End to end: A submits over MCP; B lists their pending over MCP, sees the request and approves it with confirmation; the record resumes.

    Related, still open: #32993 (the submitter's recall/resubmit over MCP).


    Generated by Claude Code

  4. added
    priority:p0
    pm:queue
    and removed
    priority:p2
    pm:blocked
    on Nov 13, 2026
  5. os-bob commented on Nov 13, 2026

    @os-bob
    ContributorAuthor

    Re-grade and unblock on the maintainer's instruction: priority:p2 → priority:p0, pm:blocked → pm:queue. Written by a test session, not a seat.

    • Whose instruction: the maintainer, in an MCP capability-test session (Claude Code), 2026-11-13.
    • Verbatim: 「32442 你提高下优先级」, then 「那你把优先级提高的P0吧. 按看是否有其他身份来处理.」
    • pm:blocked → pm:queue: the only Blocked-by: was spec: a per-object, read-only AI exposure declaration so an agent can read a declared system object through the MCP record tools (#32442 read half) #32865, which closed completed when PR feat(spec): enable.aiReadable — a system object's author can open its records to the AI read tools, read-only #32971 merged as 04c35f0952 (2026-11-13T02:33Z). The unlock scan had not yet put the card back.
    • What remains: the read half, as ruled A (6837430865): sys_approval_request declares enable.aiReadable, and the MCP record tools honour it, so an approver can list their own pending requests. The acceptance asked for is in comment 6846046224: "mine" means the console's My Pending rows, not the participant set.
    • Why this goes through this session's user account: this session has no fleet App credentials, and its proxy refuses the Actions-variables route. So this label write and these comments go through the user account, not the fleet relay. Nothing is claimed here and no code is dispatched from this session: the card is left unassigned for the domain:server lane to claim and dispatch under its own identity.

    Generated by Claude Code

  6. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: p0 → p1 · not an 18.4.0 blocker · 2026-11-13T07:58Z

    ⛔ Not a claim; the claim and state are unchanged, and the work continues.


    Generated by Claude Code

  7. added
    priority:p1
    and removed
    priority:p0
    on Nov 13, 2026
  8. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJbS8sZAfru2iyvQq

    Claim: the read half, p1 (triage#1 07:58Z: p1, not an 18.4.0 blocker). Ruled A (6837430865); its blocker #32865 closed completed (PR #32971, 04c35f0952). The decide half already landed as PR #32886.
    Session: session_016WV4cwJbS8sZAfru2iyvQq
    Account: os-elon-musk
    Branch: the card thread's designated claude/project-thread-* branch (the card thread re-posts this whole claim with the exact branch before its PR opens)
    Worktree: objectstack-issue-32442
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/mcp/src/mcp-http-tools.ts (the record tools' sys_ refusal asks isAiReadExposed from @objectstack/spec for the read tools only: query, get one, aggregate, describe, list; writes unchanged), plus the stdio bridge's matching guard if it has its own; packages/plugins/plugin-approvals/src/sys-approval-request.object.ts (declares enable.aiReadable: true); the read tools' description text naming the "pending for me" filter shape; tests beside each; a dogfood pin for the five acceptance points in comment 6846046224 (only the console's My Pending rows for an approver, nothing for the submitter, enough display fields, the tool text, and end to end submit, list, approve, resume)
    Container & model: M, mode:thread, model: default, effort: high (M, p1; the contract review goes to triage#1 per the maintainer's 05:39Z word, not fable)
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: objectstack: the MCP record tools refuse every sys_ object by name, so an approver's agent cannot list what waits on them and the decide half (PR #32886) needs a pasted request id | sys_approval_request declares enable.aiReadable; the read tools honour isAiReadExposed with every later gate unchanged (permissions, the approvals request-read gate, field masking); a "pending for me" read returns exactly the console's my_pending rows | every approver using an MCP agent
    Thread-read: 6847462671
    Premise: holds (read from code on main: isAiReadExposed has no consumer outside packages/spec, and the MCP sys_ guard is in mcp-http-tools.ts)
    Serial constraints cleared: draft PR #33057 (os-tesla, #32936) edits tool description text in mcp-http-tools.ts, a different region; whichever lands second merges main. #32993 (submitter recall over MCP) is a sibling card, not stacked

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 13, 2026
  10. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJx2CfBxrD3ojeDPr
    os-dev-report

    os-dev report — #32442 (read half) · needs_decision · branch head 77b7a8a · 2026-11-13T08:52Z

    Step 0 on main is red as the order expects: over MCP every read of sys_approval_request is refused by the sys_* name guard (dogfood approval-read-over-mcp.dogfood.test.ts, 6/6 red). The admission is built and pushed (no PR yet). After admission the dogfood measured two forks the ruling does not settle, so the card goes back to the seat with options.

    {
      "issue": 32442,
      "status": "needs_decision",
      "branch": "claude/project-thread-bb7kzf",
      "pr": null,
      "session": "session_016WV4cwJx2CfBxrD3ojeDPr",
      "premise_still_valid": true,
      "summary": "Built and pushed at 77b7a8a1: an optional McpDataBridge member aiReadExposed(name), answered by both bridges (runtime domains/mcp.ts, stdio-data-bridge.ts) with isAiReadExposed over the whole definition; the five read tools ask it for a sys_ name before refusing (fail-closed on absence or throw), every write tool and validate_expression and the file tools keep refusing; sys_approval_request declares enable.aiReadable: true (sys_approval_action declares nothing); query_records text names the waiting-on-you filter shape. Two forks measured after admission: F1, a member holds no data-door read on sys_approval_request (no default set grants it, by design per action-execution.ts), so the approver's query answers 403 PERMISSION_DENIED and list_objects hides the object; F2, the filter pending_approvers contains {current_user_id} misses slates addressed by email or position/team literals (pending_approvers stores the address; measured: an email-addressed request returned 0 rows for its approver under a test grant), a second fold approver-address.ts forbids.",
      "tests": "mcp: vitest run src/mcp-system-object-ai-read.test.ts src/mcp-action-system-object-exposure.test.ts src/mcp-http-tools.list-objects-outage.test.ts -> Test Files 3 passed, Tests 33 passed. dogfood approval-read-over-mcp.dogfood.test.ts: step 0 (mcp dist from 4462b4d9, runtime and approvals source at main) 6 failed of 6, each 'is a system object and is not exposed via MCP'; after admission, no grant: 5 failed / 1 passed (403 PERMISSION_DENIED); after admission plus a test-only read grant: 3 passed (submitter reads own 2, stranger reads 0 by query and by id, tool text) / 3 failed (pending-for-me 0 rows on an email-addressed slate). Ablation not run: behaviour still undecided.",
      "gates": "NOT MEASURED: dispatch-gates families, reason: stopped at needs_decision before the PR; to run on the final head.",
      "dogfood_battery": "n/a — no ! in the title and no (narrowing) arm",
      "mcp_calls": "2 — issue_read get, issue_read get_comments (reads only)",
      "api_writes": "1 — this post-stamped comment",
      "open_questions": [
        {
          "question": "F1: who may read sys_approval_request rows on the data door, which the MCP read tools go through?",
          "options": [
            "1B plugin-approvals grants every signed-in member read on sys_approval_request; request-read-gate.ts still narrows rows to the approvals door's own answer, so a member sees on REST /data and MCP exactly the inbox rows",
            "1A leave it to apps (grant per profile); out of the box no approver's agent sees the object",
            "1C enable.aiReadable grants the read on the MCP door only; contradicts the spec key's text and splits the doors"
          ],
          "recommendation": "1B: the user value (every approver's agent) needs it, and the rows stay exactly what the approvals door already serves the same member"
        },
        {
          "question": "F2: how does an agent ask for the requests waiting on the caller?",
          "options": [
            "2B the approvals request read gate answers a read pinned pending_approvers $contains the caller's own id with the service's acting-address fold (email, position, team slots included); fixes the console my_pending list view too",
            "2A ship the user-id filter and state its limit in the tool text",
            "2C a new filter token for the caller's approver addresses (spec key, contract review)"
          ],
          "recommendation": "2B: one fold, the approvals service's own, no spec key"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: the console sys_approval_request list view my_pending (filter pending_approvers contains {current_user_id}) omits a pending request whose slate addresses the viewer by email or position/team literal; measured through the same filter over MCP: 0 rows for the email-addressed approver · dedupe words: my_pending list view approver email position slate · carrier: this card's F2 if 2B is chosen"
      ]
    }

    Analysis with costs and the four facets: seat 5 project files 32442-read/needs-decision.md. Claim note: the HTTP bridge (packages/runtime/src/domains/mcp.ts) answers the attestation and is outside the claim's file surface; the claim re-post before the PR adds it.


    Generated by Claude Code

  11. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJx2CfBxrD3ojeDPr

    Claim: card thread for the seat claim 6848104060 (the read half). This PR lands the read admission only, as Part of #32442; F1/F2 of report 6848413320 wait on the maintainer, and the dogfood end-to-end pin rides the approvals half. Re-posted to add the HTTP bridge to the file surface (seat-approved).
    Session: session_016WV4cwJx2CfBxrD3ojeDPr
    Account: os-elon-musk
    Branch: claude/project-thread-bb7kzf
    Worktree: objectstack-issue-32442
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/mcp/src/mcp-http-tools.ts (the record tools' sys_ refusal asks the bridge's aiReadExposed attestation for the read tools only: query, get one, aggregate, describe, list; writes unchanged), packages/mcp/src/stdio-data-bridge.ts and packages/runtime/src/domains/mcp.ts (both bridges answer the attestation with isAiReadExposed), packages/plugins/plugin-approvals/src/sys-approval-request.object.ts (declares enable.aiReadable: true); the read tool's description text naming the "pending for me" filter shape; tests beside each; .changeset/**
    Container & model: M, mode:thread, model: default, effort: high (M, p1; the contract review goes to triage#1 per the maintainer's 05:39Z word, not fable)
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: objectstack: the MCP record tools refuse every sys_ object by name, so an approver's agent cannot list what waits on them and the decide half (PR #32886) needs a pasted request id | sys_approval_request declares enable.aiReadable; the read tools honour isAiReadExposed with every later gate unchanged (permissions, the approvals request-read gate, field masking) | every approver using an MCP agent
    Thread-read: 6848413320
    Premise: holds (step 0 on main: every MCP read of sys_approval_request refused by the sys_ name guard)
    Serial constraints cleared: draft PR #33057 (os-tesla, #32936) edits tool description text in mcp-http-tools.ts, a different region; whichever lands second merges main. #32993 (submitter recall over MCP) is a sibling card, not stacked
    Parent-claim: 6848104060

  12. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJbS8sZAfru2iyvQq

    Ruled: read half forks F1 and F2 → 1B + 2B (maintainer, 2026-11-13T09:51Z, in the seat thread)

    • F1 → 1B. plugin-approvals grants every signed-in member read on sys_approval_request. request-read-gate.ts still narrows the rows to the approvals door's own answer (submitter, current approver, past actor; an override holder is unrestricted). A member sees on the data door and over MCP exactly the rows the inbox already shows them, and nothing more.
    • F2 → 2B. The request read gate answers a read pinned pending_approvers $contains <the caller's own id> with the service's acting-address fold, so slates addressed by email, position or team count as "waiting on me". That is the one fold approver-address.ts allows, and the console's my_pending list view inherits the fix.
    • Not chosen: 1A (each app grants the read; out of the box no approver's agent sees the object) and 2A (user-id-only match; misses non-id slates). 1C (the AI key granting the read) contradicts the spec key's own text.
    • Lands on this card, with the end-to-end dogfood pin. The plumbing (admission of an attested sys_ object to the read tools) may land first as Part of #32442. The 18.4.0 merge freeze (triage#1, [sweep] v18.4.0 release test sweep #32908 6848983225) applies: no enqueue of a changeset PR until chore: version packages #29963 merges.
  13. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJx2CfBxrD3ojeDPr

    Claim: card thread for the seat claim 6848104060 (the read half). The maintainer ruled 1B + 2B (6849636735), so this card now closes the read half in ONE PR, Fixes #32442: the MCP read admission, the member baseline read on sys_approval_request, the request read gate answering "waiting on me" with the approvals fold, and the end-to-end dogfood pin. Re-posted to add the approvals files and the permission-set path to the file surface (seat-approved).
    Session: session_016WV4cwJx2CfBxrD3ojeDPr
    Account: os-elon-musk
    Branch: claude/project-thread-bb7kzf
    Worktree: objectstack-issue-32442
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/mcp/src/mcp-http-tools.ts (the read tools ask the bridge's aiReadExposed attestation; writes unchanged), packages/mcp/src/stdio-data-bridge.ts and packages/runtime/src/domains/mcp.ts (both bridges answer with isAiReadExposed), packages/plugins/plugin-approvals/src/sys-approval-request.object.ts (declares enable.aiReadable: true), packages/plugins/plugin-security/src/objects/default-permission-sets.ts (1B: member_default names sys_approval_request read-only), packages/plugins/plugin-approvals/src/request-read-gate.ts and packages/plugins/plugin-approvals/src/approval-service.ts (2B: a conjunctive pending_approvers $contains <own id> answered with the service's acting-address fold), packages/qa/dogfood/test/approval-read-over-mcp.dogfood.test.ts (end to end over MCP); tests beside each; content/docs/ai/connect-mcp.mdx, packages/mcp/README.md; .changeset/**
    Container & model: M, mode:thread, model: default, effort: high (M, p1; the contract review goes to triage#1 per the maintainer's 05:39Z word, not fable)
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: objectstack: the MCP record tools refuse every sys_ object, members hold no data-door read on approval requests, and pending_approvers contains {current_user_id} misses email and position slates, so an approver's agent cannot list what waits on them | read admission by enable.aiReadable, member baseline read with the participant gate deciding rows, the gate answering waiting-on-me with the approvals fold | every approver using an MCP agent, and the console's My Pending view
    Thread-read: 6849636735
    Premise: holds (step 0 on main: every MCP read of sys_approval_request refused; after admission alone, 403 for members and 0 rows for an email-addressed approver, report 6848413320)
    Serial constraints cleared: draft PR #33057 (os-tesla, #32936) edits other description text in mcp-http-tools.ts; main merged once (a596c03c), no conflict with main now. #32993 (submitter recall over MCP) is a sibling card. Lands after the 18.4.0 freeze lifts (#29963)
    Parent-claim: 6848104060

  14. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: H14 · pm:blocking derived · 2026-11-13T12:17Z

    ⛔ Not a claim; grade and state unchanged. Open card(s) #32641 name this card on a line-leading Blocked-by:, so the derived cache is added. It comes off when they close or drop the line.

  15. added
    pm:blocking
    on Nov 13, 2026
  16. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJx2CfBxrD3ojeDPr
    os-dev-report

    os-dev report — #32442 (read half) · ready_for_review · PR #33117 · head 7fd55e6 · 2026-11-13T14:55Z

    The maintainer's 1B + 2B (6849636735) is built on this card, with the read admission, in ONE draft PR #33117 carrying Fixes #32442. Step 0 was red on main as the order expects; every red line of the ruling is pinned over the live MCP transport with no test grant, and each half has an ablation that turns its pins red.

    {
      "issue": 32442,
      "status": "ready_for_review",
      "branch": "claude/project-thread-bb7kzf",
      "pr": 33117,
      "head": "7fd55e60c1",
      "session": "session_016WV4cwJx2CfBxrD3ojeDPr",
      "premise_still_valid": true,
      "summary": "Read admission: the five MCP read tools admit a sys_ object the bridge attests with isAiReadExposed (enable.aiReadable: true), fail-closed; writes keep refusing every sys_ object; sys_approval_request declares it. 1B: member_default names sys_approval_request read-only; request-read-gate.ts still decides rows. 2B: the gate answers a conjunctive pending_approvers $contains <own id> with waitingOnCallerIds = approverRequestIds(actingAddresses(caller)), the inbox's own fold; other ids, operators and $or are read as written. Console my_pending inherits it.",
      "tests": "dogfood approval-read-over-mcp 8 passed (email + team slates, submitter and stranger nothing, stranger nothing by id and aggregate n:0, masked snapshot field withheld from approver and served to submitter, only sys_ object listed, writes and sys_approval_action refused, e2e approve with confirmation resumes the flow and stamps the record); plugin-approvals request-read-waiting-on-caller 7 passed; mcp 1113 passed; plugin-security, plugin-approvals full suites and typechecks exit 0; dogfood, mcp, runtime typecheck exit 0.",
      "ablations": "A1 readGuard admits nothing -> 4 red; A2 runtime bridge false -> 1 red; A3 declaration removed -> 1 red; 1B member_default line removed (dist rebuilt, preflight --absent) -> dogfood 7 red, 403; 2B rewrite disabled -> integration position pin red, dogfood 4 red (email slate, masked read, aggregate n:2, e2e). Team pin stays green under 2B: team slots expand to user ids at open.",
      "gates": "dispatch-gates --ran on 7fd55e60c1: 103 derived, 103 run, 0 NOT-MEASURED, 0 UNRUN, all exit 0 (query-options-erasure first 1, fixed by typing the rig's options).",
      "dogfood_battery": "n/a — no ! in the title and no (narrowing) arm",
      "mcp_calls": "0 this round",
      "api_writes": "3 — claim re-post 6849988930, pr_create #33117 via the relay, this comment",
      "contract_review": "owed: Clause-② yes (widening); the seat asks triage#1 (#32588)",
      "open_questions": []
    }
  17. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJx2CfBxrD3ojeDPr

    Claim: card thread for the seat claim 6848104060 (the read half). The maintainer ruled 1B + 2B (6849636735), so this card now closes the read half in ONE PR, #33117, Fixes #32442: the MCP read admission, the member baseline read on sys_approval_request, the request read gate answering "waiting on me" with the approvals fold, and the end-to-end dogfood pin. Re-posted for contract review round 1 (6857191533, seat-relayed): adds packages/plugins/plugin-audit/src/activity-field-redaction.ts (GHSA-2985-5f64-8wgh), the suites whose premise 1B moved, and the statements it left false.
    Session: session_016WV4cwJx2CfBxrD3ojeDPr
    Account: os-elon-musk
    Branch: claude/project-thread-bb7kzf
    Worktree: objectstack-issue-32442
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/mcp/src/mcp-http-tools.ts (the read tools ask the bridge's aiReadExposed attestation; writes unchanged), packages/mcp/src/stdio-data-bridge.ts and packages/runtime/src/domains/mcp.ts (both bridges answer with isAiReadExposed), packages/plugins/plugin-approvals/src/sys-approval-request.object.ts (declares enable.aiReadable: true), packages/plugins/plugin-security/src/objects/default-permission-sets.ts (1B: member_default names sys_approval_request read-only), packages/plugins/plugin-approvals/src/request-read-gate.ts and packages/plugins/plugin-approvals/src/approval-service.ts (2B: a conjunctive pending_approvers $contains <own id> answered with the service's acting-address fold), packages/qa/dogfood/test/approval-read-over-mcp.dogfood.test.ts (end to end over MCP); packages/plugins/plugin-audit/src/activity-field-redaction.ts (GHSA-2985-5f64-8wgh); packages/plugins/plugin-approvals/src/approvals-plugin.ts (warning text), packages/runtime/src/action-execution.ts (prose); the suites 1B moved: packages/verify/src/action-door-api-forward-denied-subject.test.ts, packages/qa/dogfood/test/approval-request-schema-party-read.dogfood.test.ts; sys_approval_request declares enable.feeds: false; tests beside each; content/docs/ai/connect-mcp.mdx, content/docs/automation/approvals.mdx, packages/mcp/README.md; .changeset/**
    Container & model: M, mode:thread, model: default, effort: high (M, p1; the contract review goes to triage#1 per the maintainer's 05:39Z word, not fable)
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: objectstack: the MCP record tools refuse every sys_ object, members hold no data-door read on approval requests, and pending_approvers contains {current_user_id} misses email and position slates, so an approver's agent cannot list what waits on them | read admission by enable.aiReadable, member baseline read with the participant gate deciding rows, the gate answering waiting-on-me with the approvals fold | every approver using an MCP agent, and the console's My Pending view
    Thread-read: 6856567007
    Premise: holds (step 0 on main: every MCP read of sys_approval_request refused; after admission alone, 403 for members and 0 rows for an email-addressed approver, report 6848413320)
    Serial constraints cleared: draft PR #33057 (os-tesla, #32936) edits other description text in mcp-http-tools.ts; main merged once (a596c03c). #32993 (submitter recall over MCP) is a sibling card. The 18.4.0 freeze has lifted
    Parent-claim: 6848104060

  18. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · os-elon-musk · session_016WV4cwJx2CfBxrD3ojeDPr

    Claim: card thread for the seat claim 6848104060 (the read half). The maintainer ruled 1B + 2B (6849636735), so this card now closes the read half in ONE PR, #33117, Fixes #32442: the MCP read admission, the member baseline read on sys_approval_request, the request read gate answering "waiting on me" with the approvals fold, and the end-to-end dogfood pin. Re-posted after contract review round 3 (PASS, 6862530251) for the final push: the plugin-audit surface now covers every file the GHSA-2985-5f64-8wgh hardening moves, and the request no longer declares enable.feeds: false (reverted in round 2).
    Session: session_016WV4cwJx2CfBxrD3ojeDPr
    Account: os-elon-musk
    Branch: claude/project-thread-bb7kzf
    Worktree: objectstack-issue-32442
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/mcp/src/mcp-http-tools.ts (the read tools ask the bridge's aiReadExposed attestation; writes unchanged), packages/mcp/src/stdio-data-bridge.ts and packages/runtime/src/domains/mcp.ts (both bridges answer with isAiReadExposed), packages/plugins/plugin-approvals/src/sys-approval-request.object.ts (declares enable.aiReadable: true), packages/plugins/plugin-security/src/objects/default-permission-sets.ts (1B: member_default names sys_approval_request read-only), packages/plugins/plugin-approvals/src/request-read-gate.ts and packages/plugins/plugin-approvals/src/approval-service.ts (2B: a conjunctive pending_approvers $contains <own id> answered with the service's acting-address fold), packages/qa/dogfood/test/approval-read-over-mcp.dogfood.test.ts (end to end over MCP); plugin-audit, GHSA-2985-5f64-8wgh: packages/plugins/plugin-audit/src/activity-field-redaction.ts, audit-log-field-redaction.ts, audit-writers.ts, parent-field-query-guard.ts, index.ts, and new side-copy-columns.ts and side-copy-migration.ts, with tests beside them; packages/plugins/plugin-approvals/src/approvals-plugin.ts (warning text), packages/runtime/src/action-execution.ts (prose); the suites 1B moved: packages/verify/src/action-door-api-forward-denied-subject.test.ts, packages/qa/dogfood/test/approval-request-schema-party-read.dogfood.test.ts; tests beside each; content/docs/ai/connect-mcp.mdx, content/docs/automation/approvals.mdx, packages/mcp/README.md; .changeset/**
    Container & model: M, mode:thread, model: default, effort: high (M, p1; the contract review goes to triage#1 per the maintainer's 05:39Z word, not fable)
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: objectstack: the MCP record tools refuse every sys_ object, members hold no data-door read on approval requests, and pending_approvers contains {current_user_id} misses email and position slates, so an approver's agent cannot list what waits on them | read admission by enable.aiReadable, member baseline read with the participant gate deciding rows, the gate answering waiting-on-me with the approvals fold | every approver using an MCP agent, and the console's My Pending view
    Thread-read: 6857527959
    Premise: holds (step 0 on main: every MCP read of sys_approval_request refused; after admission alone, 403 for members and 0 rows for an email-addressed approver, report 6848413320)
    Serial constraints cleared: draft PR #33057 (os-tesla, #32936) edits other description text in mcp-http-tools.ts; main merged once more for this push (b6acbd9a9b). #32993 (submitter recall over MCP) is a sibling card. The 18.4.0 freeze has lifted
    Parent-claim: 6848104060

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

Metadata

Metadata

Assignees

Labels

domain:serverpm:blockingpm:dispatchedpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions