Skip to content

fix: expose OAuth-backed tools to CLI agents - #119166

Merged
obviyus merged 4 commits into
mainfrom
fix/cli-oauth-tools
Aug 4, 2026
Merged

obviyus merged 4 commits into
mainfrom
fix/cli-oauth-tools

Conversation

@obviyus

@obviyus obviyus commented Aug 4, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #101967

What

CLI-backed agents now carry their prepared auth snapshot, credential directory, and active model context through the authenticated loopback grant. Revocation synchronously evicts that grant's cached tool closures while one shared 256-entry cache preserves the previous global capacity.

Why

OAuth-backed tools such as x_search were filtered out because loopback tool resolution lacked prepared auth and model context. The repaired path remains grant-private; unbound Gateway calls stay credential-free, and revoked grants cannot repopulate the cache through an already-admitted slow request.

Proof

  • Current main: the OAuth regression fails because x_search is absent.
  • Before the revocation fix: three new regressions fail—no revoke notification, grant caches are not independently evictable, and a request revoked after header admission returns 200 and resolves tools.
  • Before the capacity fix: 256 contexts in one grant plus one in another retain all 257 closures. Exact head evicts the oldest entry while keeping grant-targeted revocation.
  • Exact head: 132 focused Gateway tests pass.
  • Real Telegram user -> bot -> Claude CLI -> mcp__openclaw__x_search: observed Working / Mcp Openclaw X Search OpenClaw, X_SEARCH_TRANSPORT_PROOF, then 1 tool call · 8s. The profile was synthetic OAuth-only with no API-key fallback.
  • pnpm tsgo:core, pnpm tsgo:core:test, targeted Oxlint, dead-code exports, formatting, and git diff --check pass.
  • Distill and greybeard: clean. Autoreview bundle + secret scan: clean; its Codex subprocess was unavailable on this host. Exact-head ClawSweeper review requested.
  • Direct OpenAI Codex source inspection confirms streamable HTTP bearer/env headers and confirms HTTP tool catalogs are not shared without a resolved-auth identity (openai/codex@03bb3b123673).
  • check:changed remote routing was unavailable; the exact lanes above ran locally instead. Hosted CI is the broad gate.

@obviyus
obviyus requested a review from a team as a code owner August 4, 2026 08:59
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling size: S maintainer Maintainer-authored PR labels Aug 4, 2026
@clawsweeper clawsweeper Bot added 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. P1 High-priority user-facing bug, regression, or broken workflow. 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. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 7:25 AM ET / 11:25 UTC.

ClawSweeper review

What this changes

The PR carries prepared OAuth credentials, agent directory, and model context through authenticated CLI loopback grants so OAuth-backed plugin tools are available to CLI agents.

Merge readiness

⚠️ Needs maintainer review before merge - 4 items remain

Keep this PR open for protected Gateway/agent-owner review. The exact head resolves the source-proven OAuth omission and the prior cache-cap finding, but direct sibling Codex source inspection required by repository policy is unavailable in this environment.

Priority: P1
Reviewed head: 3a98716cf365979d38e55c03cdcc70a31fe1cbc3
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong real-path evidence and focused boundary tests support the repair, while the required direct Codex contract check remains unavailable.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body provides after-fix copied live output from a Telegram user through a Claude CLI agent invoking OAuth-only x_search; redact any private data in future posted media or logs.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body provides after-fix copied live output from a Telegram user through a Claude CLI agent invoking OAuth-only x_search; redact any private data in future posted media or logs.
Evidence reviewed 7 items Current-main failure mechanism: Current main strips only the allowlist before resolving loopback tools, so the resolver receives neither the prepared auth store nor agent directory; plugin tool auth callbacks are created only when that store is present.
Expected OAuth behavior: The Grok-search documentation says an existing xAI OAuth sign-in is preferred and no separate API key is required.
Exact-head owner-boundary repair: The branch captures the runtime auth store and resolved agent directory during CLI preparation, stores them only in the minted loopback grant, and supplies them only after an active grant is revalidated.
Findings None None.
Security None None.

How this fits together

CLI-backed agents obtain Gateway tools through an authenticated loopback MCP bridge. The bridge resolves plugin tools for a grant’s session and returns them to the CLI, while revocation must remove credential-capturing cached closures.

flowchart LR
  A[CLI-backed agent] --> B[Authenticated loopback grant]
  B --> C[Gateway tool resolution]
  C --> D[Prepared OAuth and model context]
  D --> E[Eligible plugin tools]
  E --> F[CLI tool catalog]
  B --> G[Grant revocation]
  G --> H[Targeted cache eviction]
Loading

Decision needed

Question Recommendation
Should the Gateway/agent owner accept prepared OAuth state living only in an authenticated, revocable CLI loopback grant after the required direct Codex contract check? Verify Codex contract, then accept the grant boundary: Make the sibling Codex source available, confirm its authenticated HTTP catalog contract, and retain the tested grant-private implementation.

Why: This is a credential-bound shared runtime path, and repository policy requires direct sibling Codex source inspection before a merge-ready verdict for the affected Codex-capable CLI surface.

Before merge

  • Resolve merge risk (P1) - This security-sensitive grant now retains prepared OAuth state until revocation; source guards it with the runtime owner, capture key, post-upload revalidation, and targeted cache eviction, but the protected maintainer review should confirm that boundary.
  • Resolve merge risk (P1) - The generic CLI path includes Codex configuration mode, yet required direct inspection of sibling Codex source could not be completed because ../codex is absent and network DNS is unavailable.
  • Complete next step (P2) - Protected maintainer handling and the unavailable direct Codex contract inspection block a merge-ready conclusion; no mechanical repair is identified.
Agent review details

Security

None.

PR surface

Source +135, Tests +286. Total +421 across 12 files.

View PR surface stats
Area Files Added Removed Net
Source 6 145 10 +135
Tests 6 287 1 +286
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 12 432 11 +421

Review metrics

Metric Value Why it matters
Production vs test delta production +135 net, tests +286 net The production growth is tied to the named OAuth ownership, revocation, and bounded-cache invariants; the added tests exercise those boundaries.

Stored data model

Persistent data-model change detected: persistent cache schema: src/gateway/mcp-http.runtime.test.ts, serialized state: src/gateway/mcp-http.ts. Confirm migration or upgrade compatibility proof before merge.

Mantis proof suggestion

A redacted Telegram transcript would independently corroborate the OAuth-only CLI tool invocation claimed in the PR body. A maintainer can ask Mantis to capture proof by posting this exact PR comment:

@openclaw-mantis telegram live proof: verify an OAuth-only CLI-backed agent can invoke x_search and return a redacted result transcript.

Merge-risk options

Maintainer options:

  1. Complete the direct Codex contract check (recommended)
    Inspect the required sibling Codex source, then confirm that the grant-private HTTP tool catalog behavior matches the exact-head implementation before merge.
  2. Pause the credential-bound expansion
    Keep the PR unmerged if the owner cannot approve OAuth state retention within the loopback grant lifecycle.

Technical review

Best possible solution:

After direct Codex contract review, retain this single grant-private generic bridge for CLI backends rather than adding backend-specific OAuth tool paths.

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

Yes. Current main’s loopback resolver omits the prepared auth store that plugin tool availability requires, and the PR body supplies a concrete OAuth-only CLI reproduction plus live result.

Is this the best way to solve the issue?

Yes, subject to the unavailable direct Codex contract check. Passing the already-prepared auth and model facts through the existing grant and generic resolver repairs the owner boundary without a backend-specific parallel path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against b5d41f90053b.

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body provides after-fix copied live output from a Telegram user through a Claude CLI agent invoking OAuth-only x_search; redact any private data in future posted media or logs.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: OAuth-only tools are currently absent from a normal CLI-agent workflow despite documented OAuth support.
  • merge-risk: 🚨 compatibility: The PR changes which plugin tools established CLI-agent sessions can discover based on their prepared auth and model context.
  • merge-risk: 🚨 security-boundary: Prepared OAuth credentials cross into a bearer-and-capture-key-bound loopback grant.
  • merge-risk: 🚨 availability: Every authenticated loopback request now uses the shared cached tool-resolution and synchronous revocation path.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body provides after-fix copied live output from a Telegram user through a Claude CLI agent invoking OAuth-only x_search; redact any private data in future posted media or logs.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides after-fix copied live output from a Telegram user through a Claude CLI agent invoking OAuth-only x_search; redact any private data in future posted media or logs.
  • mantis: telegram-visible-proof: Mantis should capture Telegram visible proof. The repaired OAuth-only tool discovery and result are visible in a short Telegram-to-CLI interaction and can be independently recorded.

Evidence

What I checked:

  • Current-main failure mechanism: Current main strips only the allowlist before resolving loopback tools, so the resolver receives neither the prepared auth store nor agent directory; plugin tool auth callbacks are created only when that store is present. (src/gateway/mcp-http.runtime.ts:87, b5d41f90053b)
  • Expected OAuth behavior: The Grok-search documentation says an existing xAI OAuth sign-in is preferred and no separate API key is required. Public docs: docs/tools/grok-search.md. (docs/tools/grok-search.md:13, b5d41f90053b)
  • Exact-head owner-boundary repair: The branch captures the runtime auth store and resolved agent directory during CLI preparation, stores them only in the minted loopback grant, and supplies them only after an active grant is revalidated. (src/agents/cli-runner/prepare.ts:939, 3a98716cf365)
  • Revocation and bounded cache evidence: The exact head keys cached tool lists by grant token, synchronously clears that grant’s rows on revocation, rechecks the grant after body parsing, and tests targeted eviction, a 256-entry cross-grant cap, and revocation during a slow request. (src/gateway/mcp-http.runtime.ts:171, 3a98716cf365)
  • Sibling-path comparison: Pi embedded and OpenClaw’s Codex app-server paths already pass prepared auth plus model context into tool construction; the generic CLI bridge is the remaining owner-boundary gap. (extensions/codex/src/app-server/dynamic-tool-build.ts:289, b5d41f90053b)
  • Feature provenance: Available history identifies the plugin-auth owner as commit 2ae5669 and the active-model context as commit 525767c; current blame is shallow, so recent ownership is medium confidence. (src/agents/openclaw-plugin-tools.ts:68, 2ae5669a1477)

Likely related people:

  • Vincent Koc: Current shallow blame attributes the loopback resolution and plugin-auth path to the recent current-main commit. (role: recent area contributor; confidence: medium; commits: 31a6d096a152; files: src/gateway/mcp-http.ts, src/gateway/tool-resolution.ts, src/agents/openclaw-plugin-tools.ts)
  • Shubhankar Tripathy: Commit 2ae5669 introduced the plugin tool auth alignment that consumes the prepared auth profile store. (role: introduced plugin-auth behavior; confidence: medium; commits: 2ae5669a1477; files: src/agents/openclaw-plugin-tools.ts)
  • Peter Steinberger: Commit 525767c introduced active model plugin context, which the repaired generic resolver now forwards to plugin tools. (role: active-model context contributor; confidence: medium; commits: 525767c72611; files: src/agents/openclaw-tools.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Make ../codex available and complete the required direct contract inspection.
  • After any change, request one exact-head ClawSweeper review before merging.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-08-04T09:14:54.513Z sha 51575ac :: needs real behavior proof before merge. :: [P1] Keep the agent directory bound to the CLI grant
  • reviewed 2026-08-04T10:07:34.115Z sha 937f2aea34c691b2961ff35edb54615a100ccc15 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T11:06:21.523Z sha d1682e4e07bf1b9995ded065eab765e1f764156a :: found issues before merge. :: [P2] Bound the per-grant tool-cache map
  • reviewed 2026-08-04T11:16:36.282Z sha 209e4c50117044a9bed2075c380918327688bd05 :: found issues before merge. :: [P2] Preserve a process-wide tool-cache entry cap

@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@obviyus obviyus self-assigned this Aug 4, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed 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. labels Aug 4, 2026
@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Owner decision: approved. Prepared OAuth state may live only inside the authenticated, active, revocable CLI loopback grant. Unbound Gateway calls remain credential-free.

@obviyus
obviyus force-pushed the fix/cli-oauth-tools branch from 937f2ae to 0c6e303 Compare August 4, 2026 10:10
@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Aug 4, 2026
@obviyus
obviyus force-pushed the fix/cli-oauth-tools branch from d1682e4 to 209e4c5 Compare August 4, 2026 11:10
@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Applied the cache-cap finding: grant buckets are now a 256-entry outer LRU, with red/green proof that the least-recently-used bucket is released while a recently used grant remains cached. Exact head: 209e4c50117.

Codex contract check at openai/codex@03bb3b123673: codex-rs/config/src/mcp_types.rs:157 and :435 confirm streamable HTTP bearer/env-header config; codex-rs/codex-mcp/src/rmcp_client.rs:827 and :1071 resolve the bearer env into the HTTP client; codex-rs/rmcp-client/src/utils.rs:62 resolves env-backed headers; codex-rs/codex-mcp/src/tool_catalog_cache.rs:217 deliberately excludes HTTP catalogs from cross-client caching because resolved auth identity is unavailable. The grant-private HTTP contract is compatible.

@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@obviyus
obviyus force-pushed the fix/cli-oauth-tools branch from 209e4c5 to 3a98716 Compare August 4, 2026 11:20
@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Applied the global-cap finding at exact head 3a98716cf36: one shared 256-entry cache now spans authenticated grants, while a grant-to-config index preserves targeted synchronous revocation. The regression proves 257 cross-grant entries evict the oldest closure. Focused Gateway tests: 132 passed; core/core-test types and targeted lint pass.

@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 4, 2026
@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Maintainer resolution for the exact-head review: accepted the grant-private credential boundary. Prepared OAuth state is available only after runtime-owner + active capture validation, is revalidated after body upload, and its cached closures are synchronously evicted on revocation under the shared 256-entry cap. Direct sibling Codex inspection is documented in #119166 (comment). No head change; no further re-review needed.

@obviyus
obviyus merged commit 2a3a840 into main Aug 4, 2026
129 of 132 checks passed
@obviyus
obviyus deleted the fix/cli-oauth-tools branch August 4, 2026 11:29
@obviyus

obviyus commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Landed via squash as 2a3a840aaf80. Exact-head ClawSweeper: no findings; proof sufficient. openclaw/ci-gate and all current checks passed.

vincentkoc added a commit that referenced this pull request Aug 4, 2026
…tial-gate

* origin/main:
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
vincentkoc added a commit that referenced this pull request Aug 4, 2026
…checkpoint

* origin/main: (46 commits)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  fix(scripts): prevent gateway benchmarks from stalling on probes (#119063)
  test(channels): verify built sanitizer semantics (#119151)
  fix: prevent live updater from leaving Gateway offline indefinitely (#119116)
  test(qa): restore memory tools primary ownership (#119142)
  fix(agents): settle yielded fanout at harness boundary (#118703)
  fix(codex): cap compaction override warning cache via createDedupeCache (#101745)
  fix(daemon): skip unlabeled launchd plists (#119091)
  test(qa): repair QA catalog integrity (#119140)
  ...
vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main: (208 commits)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  ...
vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main: (23 commits)
  chore(tui): add Gateway boundary PTY coverage (#119191)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  ...
vincentkoc added a commit that referenced this pull request Aug 4, 2026
…time

* origin/main: (177 commits)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (#119218)
  test(qa): cover Canvas agent and node controls (#119047)
  fix(cli): avoid repeated migration scans during local agent turns (#119051)
  fix(gateway): keep agents list on prepared model facts (#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (#118575)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
Carry prepared OAuth and model context through authenticated CLI loopback grants. Revoke cached credential-bearing tools synchronously while preserving the global cache cap.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
* origin/main: (23 commits)
  chore(tui): add Gateway boundary PTY coverage (openclaw#119191)
  fix(telegram): route reactions to their originating forum topics
  test(gateway): isolate scheduled service timers (openclaw#119218)
  test(qa): cover Canvas agent and node controls (openclaw#119047)
  fix(cli): avoid repeated migration scans during local agent turns (openclaw#119051)
  fix(gateway): keep agents list on prepared model facts (openclaw#119208)
  fix(telegram): retry update offset persistence
  fix(ci): accept profiled partial Kova gates (openclaw#119121)
  fix(qqbot): keep channel API calls on the active account [AI] (openclaw#118575)
  fix(agents): recover from invalid compaction summaries (openclaw#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (openclaw#119166)
  fix(plugins): preserve metadata reloads during models status (openclaw#119183)
  fix(test): bound direct gateway server runs (openclaw#119184)
  test(tui): prove command surfaces through PTY (openclaw#119165)
  fix(testbox): restore claims across path aliases (openclaw#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (openclaw#119164)
  fix(testbox): remove changed-gate sync residue (openclaw#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (openclaw#118998)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling gateway Gateway runtime maintainer Maintainer-authored PR mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. 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. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: OAuth-only xAI: x_search/code_execution never register for CLI-backend (claude-cli) sessions — loopback MCP bridge omits auth profile store

1 participant