Skip to content

fix(mcp): per-requester MCP ignores the signed-in Gateway profile in chat - #177356

Closed
Canvinus wants to merge 15 commits into
openclaw:mainfrom
Canvinus:fix/mcp-requester-verified-profile
Closed

Canvinus wants to merge 15 commits into
openclaw:mainfrom
Canvinus:fix/mcp-requester-verified-profile

Conversation

@Canvinus

@Canvinus Canvinus commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Related: #138113

What Problem This Solves

Fixes: people who chat with an agent through the Gateway share one per-requester MCP sign-in when they come in through the same backend client, and signed-in Control UI users get no sign-in at all, even though the Gateway has verified who each person is.

User Impact

User impact: each person with a verified Gateway profile (a signed-in Control UI user, or a person a backend client brings in through trusted-proxy auth) connects and uses their own account on an oauth.identity: "per-requester" MCP server from chat. It is the same account their MCP Apps already use. One person's sign-in no longer serves everyone behind a backend client, and their pending sign-ins no longer replace each other.

Unchanged: channel senders, shared token or password logins, system and internal turns, cron, subagents and heartbeats.

After updating, people who used a per-requester server through a backend client sign in once more. The row their client's shared identity already holds is kept and still serves connections without a verified profile; verified people neither use nor replace it.

Why This Change Was Made

A Gateway chat turn's sender is the connection's client id (gateway-client, for example), or nothing for operator UI clients, and requester-scoped MCP keys sign-ins on that sender. The verified profile is already known at chat.send ingress, and MCP Apps already key a profile's sign-ins by it.

  • chat.send ingress records the caller's verified profile on the run. It comes from the existing caller-identity authority, which is set only for a verified identity and never for the shared owner, and only the person's own input carries it, not system or internal turns.
  • When an attempt is built, the profile is bound to the run's admitted operator authority, and that binding is checked right before every credential effect: in the session MCP manager before it selects requester credentials, and in every executor the materializer returns for a requester-scoped server (tool calls, sign-ins, resource and prompt listings and reads, and the app view read after a call). A sign-in such an executor starts also hands the authority and the call's abort signal to the OAuth owner as its login lifecycle, so the owner rechecks them before each discovery, registration and store write; that holds for a Codex harness tool remembered from another requester too, which starts this requester's sign-in when it has no live counterpart. A revoked, closed or reassigned authority throws there, before any request leaves, and never falls back to the shared transport sender. This sits under the existing cancellation a role change already triggers, so an executor the turn still holds cannot send a request once its authority ends.
  • The manager keys the profile as MCP Apps do (internal channel, no account). Plugin connection resolvers therefore receive the person's profile for these turns, as they already do for MCP Apps, instead of the client id. The embedded runner and the Codex harness pass the binding through.
  • Queued runs from different profiles never collect into one run.
  • No schema, store format or key grammar changes (mcp-oauth-identity.ts is untouched). Rows a 2026.10.5 Gateway wrote load and work as before for the principals that own them (shown below with the published release).

This follows the precedence proposed in #138113 (verified Gateway profile, else channel sender, else fail closed), as its own run fact rather than a change to SenderId. The agent method and the OpenAI-compatible HTTP surface mentioned there are not covered and keep today's behavior.

Needs your decision on that identity contract: profile-first for direct Gateway chat turns, the profile tuple for resolver plugins, and the one-time sign-in for verified backend users.

Evidence

Through the CLI, upgrading from the latest stable release

A local harness (not part of this PR) runs openclaw gateway run from the published [email protected] (npm latest), then from this branch's build at 9c32a097d9, on one state directory. Every change goes through the CLI: doctor --fix, config patch, devices list / devices approve, users list, and gateway call users.setRole / agent.wait as the local shared owner. The other pieces are a local standard MCP OAuth server whose one tool names the account behind the bearer token, and a scripted model. Alice and Bob connect through one backend device as gateway-client, named by a trusted-proxy header over TLS.

  1. Upgrade with existing credentials: 2026.10.5 signs the shared-token backend client in through its real OAuth flow and writes the row. After doctor --fix migrates the state, this branch serves that client from the same row with no new sign-in.
  2. Two people, one backend client: after the device is approved, Alice and Bob each get their own link. Alice finishes her sign-in after Bob started his (the step the e2e below fails on main), and each call reaches the server as that person's account.
  3. Revocation mid-turn: Alice's turn is held after her tools and credentials are prepared, and the owner sets her role to one without scopes. The Gateway disconnects her and aborts the turn, and the account server records no further call.
  4. Unverified clients: back on shared-token auth, the backend client, which has no verified identity, still uses the 2026.10.5 row.
[01] openclaw 2026.10.5 (npm): openclaw gateway run, shared-token auth
     PASS backend client (gateway-client) is asked to connect: sign-in link returned
     PASS consent returns through http://127.0.0.1:<port>/oauth/mcp/callback: HTTP 200
     PASS released Gateway: "tool said: signed in as shared-account"
[02] stop 2026.10.5: exit 0
[03] this branch (9c32a097d9): openclaw doctor --fix --non-interactive: exit 0
[04] this branch: openclaw gateway run, same state directory and config
     PASS upgraded Gateway, no new sign-in: "tool said: signed in as shared-account"
[05] stop: exit 0
[06] openclaw config patch (proxy): exit 0
[07] this branch: openclaw gateway run, trusted-proxy auth over TLS, roles (default member)
     PASS new backend device is held for pairing: "device pairing required (requestId: <id>)"
     PASS openclaw devices list --json: the backend device's request is pending
[08] openclaw devices approve <request>: one backend device for everyone behind the proxy
     PASS Alice and Bob (same device, client id gateway-client) each get their own sign-in link; the backend's row is not used
     PASS Alice consents after Bob's sign-in started; callback HTTP 200
     PASS Alice: "tool said: signed in as alice-account"
     PASS Bob is still asked to connect his own account
     PASS Bob: "tool said: signed in as bob-account"
     PASS openclaw users list --json: Alice's verified profile exists
[09] Alice's next turn is held after her tools are prepared
[10] openclaw gateway call users.setRole {role: "denied"}: role now "denied"
     PASS held turn ends "error" (aborted); account server calls stay 4
[11] stop: exit 0
[12] openclaw config patch (token): exit 0
[13] this branch: shared-token auth again
     PASS shared-token backend client keeps the 2026.10.5 sign-in: "tool said: signed in as shared-account"
[14] stop: exit 0
account server calls, in order: shared-account, shared-account, alice-account, bob-account, shared-account
Matching Doctor and Gateway log lines (redacted)
- Upgraded agent database schema in <state>/agents/main/agent/openclaw-agent.sqlite: v25 -> v31.
[ws] closed before connect conn=<id> fwd=203.0.113.10 code=1005 reason=n/a phase=auth_validated cause=pairing-required handshake=failed
[gateway] device pairing approved device=<device> role=operator
[ws] authenticated user disconnected code=4001 reason=operator role changed conn=<id> [email protected]
[diagnostic] lane task error: lane=main error="Your operator role changed; reconnect before continuing." errorName=Error taskKind=turn sessionKey=<session> runId=<id>
[model-fallback/decision] model fallback chain stopped: reason=caller_signal_aborted candidate=requester-proof/model errorName=Error

In the repository

src/gateway/chat-send-requester-mcp-oauth.e2e.test.ts runs the same scenario in process against startGatewayServer, the server gateway run starts, with real WebSocket connect and device pairing, chat.send, OAuth discovery and PKCE, the Gateway's /oauth/mcp/callback, and the HTTP MCP transport. Its last step revokes a third person while their sign-in waits on the provider's authorization server discovery: once discovery answers, no client is registered and no pending sign-in is saved. A second case keeps a shared-token backend client on a row in the format 2026.10.5 writes.

 ✓ src/gateway/chat-send-requester-mcp-oauth.e2e.test.ts > signs each verified person in separately through one backend client 12055ms
 ✓ src/gateway/chat-send-requester-mcp-oauth.e2e.test.ts > keeps a shared-token backend client on the sign-in its own identity holds 3990ms
      Tests  2 passed (2)

The same file on main fails while signing Alice in, because Bob's later sign-in start replaced the pending sign-in the two of them share:

requester MCP proof failed while signing Alice in
 × src/gateway/chat-send-requester-mcp-oauth.e2e.test.ts > signs each verified person in separately through one backend client 17092ms
   → expected 404 to be 200 // Object.is equality

Unit tests:

  • agent-bundle-mcp-requester-profile.test.ts: the bound profile passes while it is the run's live operator authority; another profile, a revoked source (which stays retired) and a closed admission throw.
  • agent-bundle-mcp-manager.requester-connect.test.ts: two profiles on one backend sender get separate links and store keys, and an authorized profile gets the real tools while the other still gets connect. Once a profile loses its authority, acquisition throws without reading OAuth state. Executors the turn already holds then refuse before the runtime is reached, with no cancellation involved: the tool call, a new sign-in, and the resource and prompt listings and reads. A sign-in it starts hands the OAuth owner a login lifecycle with the call's abort signal, and a revocation mid-sign-in throws through it.
  • agent-bundle-mcp-harness.test.ts: a session advertises calendar__events from a requester who connected, and an unconnected profile's turn holds that tool as its sign-in. Once the profile loses its authority, the tool refuses before OAuth starts; while the profile is current, it starts sign-in, and a revocation during that sign-in stops it.
  • agent-bundle-mcp-requester-connect.authority.test.ts: a real sign-in, through the real OAuth owner and an isolated state database, against a local OAuth provider. A requester who keeps access registers a client and gets a link. Another loses access while the provider's discovery is pending, with no cancellation anywhere: the owner's own recheck stops the sign-in before client registration, and nothing is saved.
  • get-reply-run.requester-authority.test-support.ts (run by get-reply-run.media-only.test.ts): a verified caller's profile reaches the run; an unverified caller and a system turn get none. Smaller cases: the harness gate loads for a profile-only turn, and queued runs from different profiles get different collect keys.

The sign-in cases fail without the login lifecycle (the connect executor called with only { redirectUrl }, as at 63854c4022) and pass at e4077e0256:

 × src/agents/agent-bundle-mcp-requester-connect.authority.test.ts > stops a sign-in whose requester loses access while the provider's discovery is pending
AssertionError: promise resolved "{ content: [ { …(2) } ], …(1) }" instead of rejecting
 × src/agents/agent-bundle-mcp-manager.requester-connect.test.ts > requester MCP connect runtime > carries a profile's authority into the sign-in it starts
 × src/agents/agent-bundle-mcp-harness.test.ts > materializeRequesterScopedMcpToolsForHarnessRunCore > rechecks a profile before a remembered tool starts its sign-in
 ✓ src/agents/agent-bundle-mcp-requester-connect.authority.test.ts > stops a sign-in whose requester loses access while the provider's discovery is pending
 ✓ src/agents/agent-bundle-mcp-manager.requester-connect.test.ts > requester MCP connect runtime > carries a profile's authority into the sign-in it starts
 ✓ src/agents/agent-bundle-mcp-harness.test.ts > materializeRequesterScopedMcpToolsForHarnessRunCore > rechecks a profile before a remembered tool starts its sign-in

The e2e step above also passes without the lifecycle, because in that Gateway path the role change aborts the run as well; the real-owner test is the one that isolates the recheck.

Affected suites: every agent-bundle-mcp-* suite, embedded attempt-bundle-tools and attempt dispatch, run params, follow-up execution and steering, all get-reply-run* and reply queue suites, agent-tools.prefix-stability, Codex run-attempt.configured-mcp, MCP App runtime, chat-send-attach-identity.e2e and the new e2e. pnpm tsgo:core, pnpm tsgo:extensions, pnpm tsgo:test:src, pnpm tsgo:extensions:test, type-aware oxlint and oxfmt on the changed files, git diff --check, and the line-cap, assertion-safety, database, timeout-race and mock-exports ratchets pass. e4077e0256 merges current main and moves the materializer's resource and prompt executors, unchanged, to agent-bundle-mcp-utility-executors.ts to stay under its line cap; at that head, the four typechecks, type-aware oxlint and oxfmt on the changed files, the line-cap ratchet, git diff --check and the suites above (594 tests) pass. The CLI run above is from 9c32a097d9.

e19eb2a1bd adds a // SAFETY: note to the one type assertion that moved into the new file and lowers the materializer's assertion-safety baseline entry to match. 987687d2da merges current main; its one conflict, in agent-bundle-mcp-manager.requester-connect.test.ts, keeps main's new shared makeManagerRuntime stub and passes this PR's extra stub fields through it. At that head, pnpm tsgo:core, pnpm tsgo:test:src, type-aware oxlint and oxfmt on the changed files, git diff --check, the line-cap, assertion-safety, database, timeout-race and mock-exports ratchets, and this PR's suites with the neighbouring agent-bundle-mcp and reply queue suites (184 tests, including the new e2e) pass.

4780daa569 merges current main again. Both conflicts are mechanical: main inlined its app-tool projection helper in agent-bundle-mcp-materialize.ts, next to the helpers this PR moves to agent-bundle-mcp-utility-executors.ts, and the resolution keeps both changes; in get-reply-run.requester-authority.test-support.ts each side added a case, and both stay. At that head, pnpm tsgo:core, pnpm tsgo:extensions, pnpm tsgo:test:src, type-aware oxlint and oxfmt on the changed files, git diff --check, the baseline and line-cap ratchets, and every agent-bundle-mcp-* suite, the get-reply-run* and reply queue suites, attempt dispatch and bundle tools, Codex run-attempt.configured-mcp and both e2e suites (615 tests) pass.

…chat

Gateway chat turns name their sender by the connection's client id, which
is a fixed product name such as gateway-client, and Control UI turns carry
no sender at all. Requester-scoped MCP keys sign-ins on that sender, so
everyone behind one trusted-proxy backend client shared a single
per-requester sign-in, and signed-in Control UI users got none.

chat.send ingress now records the caller's verified Gateway profile on the
run, for the person's own input only and never for a shared token or
password login. The session MCP manager uses it as the requester ahead of
the transport sender, keyed exactly as MCP Apps key a profile, so one
sign-in serves that person's chat turns and MCP Apps. Queued runs from
different profiles never collect into one run. Channel senders and
connections without a verified profile are unchanged.

Related: openclaw#138113
@clawsweeper

clawsweeper Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling extensions: codex size: S labels Oct 19, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 19, 2026
@clawsweeper

clawsweeper Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR uses verified Gateway profiles for requester-scoped MCP chat connections and checks their live authority before credentialed operations.

Example: Alice and Bob chat through the same trusted-proxy backend identified as gateway-client.

  • Before: Their MCP sign-ins share a requester identity, so Bob starting sign-in can replace Alice's pending authorization.
  • After: Alice and Bob receive separate sign-in links and use their own MCP accounts.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful implementation with production-entry evidence and no concrete findings; overall readiness is capped by the unresolved identity-contract decision and partial linked-issue coverage.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): Supplied CLI output exercises gateway run with trusted-proxy users, independent OAuth callbacks and account results, preserved released credentials, and mid-turn revocation; the authorized real-OAuth-owner harness additionally proves revocation during discovery stops registration and pending-state persistence without cancellation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Needs a maintainer decision · Fix scope: Partial
User problem: Verified people behind one Gateway backend share MCP sign-in state, while signed-in Control UI turns lack a requester identity.
Reason: The isolation benefit is concrete, but profile precedence expands the originally sender-only contract and the linked request also covers ingress outside this PR.

Merge readiness

⛔ Blocked before merge - 1 item remains

This PR addresses a real requester-isolation gap that remains on current main; no concrete introduced defect was found, but the profile-first identity contract still needs a maintainer decision.

Priority: P2
Reviewed head: 4780daa569417017bdf7a60a328c56f41fb5e1cc
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should direct Gateway chat prefer the verified profile using the MCP App tuple, including resolver-plugin inputs and a fresh sign-in for previously shared backend identities?
  • Recommendation: Approve profile-first direct chat: Accept the existing MCP App identity tuple for verified chat callers and the documented one-time sign-in change; retain channel and unverified-client behavior.
  • Why: This changes the principal selecting persisted credentials and plugin connections; the original feature excluded Control UI, and neither this PR nor the linked issue records an owner approval.

Before merge

  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

None.

Agent review details

How this fits together

Gateway ingress supplies verified caller identity to queued agent runs; the MCP manager selects requester credentials, and embedded or Codex tool executors use them through the existing MCP and OAuth owners.

flowchart TD
  A[Verified Gateway caller] --> B[Chat run context]
  B --> C[Admitted operator authority]
  C --> D[Requester MCP manager]
  D --> E[Embedded or Codex executors]
  E --> F[OAuth owner and credential store]
  E --> G[MCP server]
Loading

Technical review

Best possible solution:

Approve a single profile-first requester contract and implement it through the existing run-authority, MCP manager, and OAuth owners while preserving sender-only credentials.

Do we have a high-confidence way to reproduce the issue?

Current-main sender-only selection establishes the path, and the contributor supplies a Gateway regression failing when Bob's sign-in supersedes Alice's; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The implementation uses the existing verified caller and authority owners, preserves credential-key grammar, and removes the moved utility implementations from the materializer; its scope appropriately leaves HTTP and agent ingress for follow-up.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f2fccfab05f3.

Provenance checked

  • Requester identity and OAuth scope changes intended behavior with a stated reason (6a4a546: Provide independent OAuth credentials for trusted channel senders while leaving Control UI outside v1 scope.)
  • Plugin requester resolution changes intended behavior with a stated reason (834561a: Resolve transports per trusted sender and fail closed without requester identity; the PR explains why verified chat profiles should now take precedence.)
  • OAuth preparation and lifecycle keeps the original intent (1b90b88: Move reads through shared workers while retaining current authority and existing write owners; this PR supplies its profile check through the established login lifecycle.)
  • Resource and prompt executors keeps the original intent (395ad80: Consolidate runtime paths; this PR relocates the utility executors to meet the materializer's line cap while retaining their behavior and adding requester checks.)
  • Collected requester authority keeps the original intent (97a53a9: Preserve admitted participant identity when collecting turns; the added profile key prevents mixing distinct verified requesters.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 1b90b88 adds src/agents/agent-bundle-mcp-requester-connect.ts:104 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1b90b88f7eb8; files: src/agents/agent-bundle-mcp-requester-connect.ts)

PR surface

Source +189, Tests +1172, Docs +2, Other 0. Total +1363 across 31 files. Added test files: 3.

View PR surface stats
Area Files Added Removed Net
Source 20 323 134 +189
Tests 9 1177 5 +1172
Docs 1 2 0 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 1 0
Total 31 1503 140 +1363

Review metrics

Metric Value Why it matters
Production versus test changes Production +323/-134 lines; tests and test support +1176/-5 lines. Most growth exercises cross-profile OAuth isolation and authority retirement; the utility module relocates existing executors rather than adding another credential owner.

Root-cause cluster

Relationship: partial_overlap
Canonical: #138113
Summary: This PR addresses direct Gateway chat within the broader authenticated-profile requester request.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The change addresses requester isolation in authenticated Gateway deployments without evidence of a broad default-path outage.
  • merge-risk: 🚨 compatibility: Verified backend users select a different requester identity, need their own sign-in, and supply the profile tuple to resolver plugins.
  • merge-risk: 🚨 security-boundary: The change determines which verified human can select and initiate persisted MCP credentials; the identity contract awaits the typed owner decision.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (6 earlier review cycles)
  • reviewed 2026-10-19T14:06:38.798Z sha 1f3ec83 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-19T14:53:50.620Z sha cb5d24a :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-19T16:37:07.775Z sha 3096d6a :: blocked before merge. :: [P1] Guard resource reads and prompt retrieval with profile authority | [P1] Guard harness fallback sign-ins before invoking OAuth
  • reviewed 2026-10-19T18:29:38.583Z sha 9c32a09 :: blocked before merge. :: none
  • reviewed 2026-10-19T18:39:07.345Z sha 9c32a09 :: needs real behavior proof before merge. :: [P1] [P1] Carry profile authority through the OAuth flow
  • reviewed 2026-10-21T21:23:58.267Z sha 987687d :: blocked before merge. :: none

Reviewed October 24, 2026, 2:36 PM ET / 18:36 UTC (Revision 7).

A chat turn's verified Gateway profile was captured as a plain id at
ingress and used later to select requester MCP credentials. Bind it to the
run's admitted operator authority when the attempt is built, and have the
session MCP manager recheck that binding right before it selects
credentials. A revoked, closed or reassigned authority now throws there
instead of signing in, and never falls back to the shared transport
sender. Attempts carry only the bound profile.

Adds a real-Gateway test: two people behind one trusted-proxy backend
client get separate sign-in links, complete OAuth through the Gateway
callback, and each reaches the MCP server with only their own token. A
sign-in row the client's own identity already held is kept and never used.

Related: openclaw#138113
@Canvinus

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: L and removed size: S labels Oct 19, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Oct 19, 2026
Tools a turn already holds now recheck the requester profile right
before each sign-in start or call on a requester-scoped server, so a
role change or revoked admission after acquisition stops the request
before it leaves. The Gateway proof now changes a person's role mid-turn
and checks that a shared-token backend client keeps the sign-in its own
identity already holds.

Related: openclaw#138113
@Canvinus

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:bug Preliminary submission classification; full source review pending. label Oct 19, 2026
The argument helper that moved to agent-bundle-mcp-utility-executors.ts
keeps its one type assertion, now with the SAFETY note a new file needs,
and the materializer's grandfathered count drops by the one it no longer
has.

Related: openclaw#138113
@Canvinus

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 21, 2026
@Canvinus

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. label Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation extensions: codex gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant