Skip to content

fix(cli): disable ScheduleWakeup/CronCreate in --print claude runs - #84434

Merged
vincentkoc merged 4 commits into
openclaw:mainfrom
SkyWolfDreamer:fix/cli-disable-schedule-wakeup-pr
Jun 15, 2026
Merged

vincentkoc merged 4 commits into
openclaw:mainfrom
SkyWolfDreamer:fix/cli-disable-schedule-wakeup-pr

Conversation

@SkyWolfDreamer

@SkyWolfDreamer SkyWolfDreamer commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Problem: ScheduleWakeup and CronCreate are Claude Code built-in tools that schedule deferred re-invocations managed by the persistent CLI runtime. In OpenClaw's one-shot claude -p runs the process exits at end_turn, so any wakeup or cron registered during the run has no host to fire into — it is silently lost. Symptom: a CLI session spawns a background sub-agent, calls ScheduleWakeup to poll for completion, ends the turn, and never picks up the result — work finishes unreviewed with lastMessagePreview: NO_REPLY.
  • Solution: Append --disallowedTools "ScheduleWakeup,CronCreate" to both args and resumeArgs in the anthropic CLI backend so the model cannot invoke tools that don't survive the run mode.
  • What changed: extensions/anthropic/cli-backend.ts — +4 lines in two static arrays.
  • What did NOT change: Codex / Gemini backends, interactive TUI mode, Pi-backed sessions, --allowedTools surface, normalisation logic.

Motivation

In a real OpenClaw deployment, an agent session running through claude -p called ScheduleWakeup(270s) to poll a background sub-agent, then ended the turn. The wakeup never fired — the session showed status: done / lastMessagePreview: NO_REPLY while the sub-agent's file changes sat unreviewed on a feature branch. The right pattern for background work in a --print session is Monitor on the output file, or a synchronous sub-agent. Disabling the tools at the argv level ensures the model cannot reach for an escape hatch that does not work in this mode.

Change Type

  • Bug fix

Scope

  • Gateway / orchestration (cli-runner / anthropic claude-cli backend)

Linked Issue/PR

Related #83552 (same class: --print CLI session harness gaps). Checked: this PR fixes a bug or regression.

Real behavior proof

  • Behavior addressed: ScheduleWakeup / CronCreate invoked inside a claude -p one-shot run schedule a deferred wakeup that has no host to fire into — the wakeup is silently dropped, the session ends with NO_REPLY, and the background sub-agent's output is never reviewed.
  • Real environment tested: OpenClaw v2026.5.18 stable (and v2026.5.20 patched) on WSL2 Ubuntu (Linux 6.6), Node 24.15, anthropic claude-cli backend, live gateway running locally and handling real agent:main:* webchat lanes. The patched build is the one currently driving the affected install.
  • Before evidence: prior to this patch the spawned claude -p argv allowed every Claude Code built-in tool, so the model could and did call ScheduleWakeup. Captured production-side behaviour at that time: session record showed lastMessagePreview: NO_REPLY after the model called ScheduleWakeup(270s) and then end_turn; the gateway received no further turn for that lane until the user manually intervened; the background sub-agent's resulting file changes sat on a feature branch with no agent follow-up.
  • Exact steps or command run after this patch: built OpenClaw from the patched source and restarted the local gateway onto the new build. Every claude-cli session OpenClaw spawns now goes through this argv (live terminal output below, copied from pgrep -af '^claude ' on the patched-build host):
claude -p --include-partial-messages --verbose --setting-sources user \
    --allowedTools mcp__openclaw__* \
    --disallowedTools ScheduleWakeup,CronCreate \
    --resume <session-id> \
    --permission-mode bypassPermissions --strict-mcp-config --mcp-config <path> \
    --plugin-dir <path> --effort medium --model opus \
    --input-format stream-json --output-format stream-json \
    --permission-prompt-tool stdio --replay-user-messages
  • Evidence after fix: copied live terminal output from the patched-build gateway — pgrep -af '^claude ' against the running gateway captures redacted runtime logs of every active claude-cli child carrying the new flag:
98957 claude -p ... --allowedTools mcp__openclaw__* --disallowedTools ScheduleWakeup,CronCreate ...
99368 claude -p ... --allowedTools mcp__openclaw__* --disallowedTools ScheduleWakeup,CronCreate --resume <session-id> ...

--disallowedTools ScheduleWakeup,CronCreate is present on both fresh runs (args) and resumed runs (resumeArgs), exactly the two argv arrays the patch touches. When the model attempts to call either tool inside the patched run the Claude CLI returns a tool-not-allowed error and the agent falls back to Monitor on the sub-agent's output file or to a synchronous Bash invocation. No new NO_REPLY outcomes for this class have been observed since the patched build went live on the affected install.

  • Observed result after fix: the model cannot reach either deferred-wakeup tool inside claude -p; tool-not-allowed errors route the model to the working alternatives (Monitor on the sub-agent transcript file, or synchronous Bash with a generous timeout); affected sessions stay coherent through the wait instead of ending in NO_REPLY. Live claude children running on the gateway carry the --disallowedTools flag continuously, confirming the static argv arrays in extensions/anthropic/cli-backend.ts are the authoritative source of the spawn argv.
  • What was not tested: Codex / Gemini backends (no change; not re-exercised); Pi-backed orchestrator (Pi has its own wakeup dispatch and is unaffected); a downstream plugin that might re-allow ScheduleWakeup via its own argv injection (the cli-runner does not currently expose that seam).

Root Cause

ScheduleWakeup / CronCreate are unconditionally surfaced by the Claude CLI regardless of run mode. OpenClaw's one-shot -p invocations exit at end_turn; no daemon remains to service the wakeup. The anthropic CLI backend restricted MCP tools (mcp__openclaw__*) via --allowedTools but did not restrict the Claude Code built-ins that cannot survive a --print exit. Pi harness has its own wakeup dispatch (correct); the CLI backend did not match the run mode's actual lifetime.

Regression Test Plan

N/A — the failing scenario requires a live Claude Code binary executing a real one-shot run. The change is a two-entry append to two static string arrays; the live pgrep output in the proof section above is the directly observable result. The only meaningful test is an integration test against a real claude -p binary, which is outside the scope of this minimal surface-reduction fix.

  • Existing coverage already sufficient (argv content is not unit-tested today)

User-visible / Behavior Changes

Models running inside OpenClaw's claude -p sessions can no longer call ScheduleWakeup or CronCreate. They receive a tool-not-allowed error and fall back to Monitor (for background sub-agent output) or synchronous Bash with a generous timeout.

Diagram

Before:
  [claude -p] -> model calls ScheduleWakeup(270s) -> process exits -> wakeup ghost -> NO_REPLY

After:
  [claude -p --disallowedTools ScheduleWakeup,CronCreate] -> tool-not-allowed -> model uses Monitor or sync Bash

Security Impact

  • New permissions: No
  • New secrets handling: No
  • New network calls: No
  • New exec surface: No (this is a surface reduction — two Claude Code built-in tools are blocked in --print mode)
  • New data access: No

Repro + Verification

  • Environment: OS: Linux (WSL2 6.6); Runtime: Node 24.15, OpenClaw v2026.5.18; Model/provider: anthropic / claude-cli backend (claude-opus-4-7, claude-sonnet-4-6); Channel: webchat / agent:main:* lane.
  • Steps: open an OpenClaw CLI-backed session; have the model call ScheduleWakeup; observe — before the patch the call silently succeeds and the wakeup is lost, after the patch the call is rejected and the model recovers.
  • Expected: the model receives a tool-not-allowed error and routes to Monitor or synchronous Bash.
  • Actual (after the patch): ScheduleWakeup and CronCreate are rejected at the Claude Code built-in tool layer; the session stays coherent.

Evidence

  • Trace logs / terminal capture (live pgrep output above showing the patched argv on the running gateway)
  • Surface reduction is directly observable in the spawn argv (no test layer required)

Human Verification

Verified: the --disallowedTools flag is accepted by the claude binary on the affected install; pnpm tsgo is clean on the patched file; the resumeArgs path (session resume) carries the same flag as the fresh-run args path; normalisation functions do not strip the flag. Live pgrep -af '^claude ' against the running gateway shows every spawned claude child carrying --disallowedTools ScheduleWakeup,CronCreate. NOT verified: downstream effects if a plugin explicitly re-allows these tools via its own argv injection (no such plugin path is exercised in this PR).

Review Conversations

  • Will resolve bot review threads before merge
  • Will respond to maintainer review comments

Compatibility / Migration

Backward compatible. No config or migration. Silent success in --print mode was already broken (the wakeup never fired); an explicit error is strictly better.

Risks and Mitigations

  • Risk: a model that relied on ScheduleWakeup inside a --print session now sees a tool error instead of the prior silent success.
    Mitigation: the prior silent success was already broken — the wakeup never fired. The explicit error lets the model branch to a working alternative (Monitor or synchronous Bash).
  • Risk: future plugin authors might want to opt back into these tools for a specific deployment.
    Mitigation: the change lives in two static argv arrays in the anthropic CLI backend; reverting per-deployment is a small, well-scoped follow-up if maintainers ever decide to support it.

Claude Code built-ins ScheduleWakeup and CronCreate schedule a deferred
re-invocation managed by the persistent CLI runtime. In OpenClaw's
one-shot `claude -p` invocations the process exits at end_turn, so any
wakeup or cron registered during the run has no host to fire into and is
silently lost. Symptom: a CLI session spawns a background sub-agent,
calls ScheduleWakeup to poll for completion, ends the turn, and never
picks up the result — the work finishes unreviewed.

Append `--disallowedTools "ScheduleWakeup,CronCreate"` to both `args`
and `resumeArgs` in the anthropic CLI backend so the model cannot reach
for tools that don't survive the run mode. The right pattern in CLI
sessions is Monitor on the background output file, or a synchronous
sub-agent.
@openclaw-barnacle openclaw-barnacle Bot added extensions: anthropic size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 20, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed June 14, 2026, 8:47 PM ET / 00:47 UTC.

Summary
The PR adds --disallowedTools ScheduleWakeup,CronCreate to the Anthropic claude-cli backend's fresh and resume default argv arrays.

PR surface: Source +4. Total +4 across 1 file.

Reproducibility: yes. Source inspection shows current main and v2026.6.6 omit the deny flag, and the PR supplies live terminal before/after proof; I did not rerun the Claude binary in this read-only review.

Review metrics: 1 noteworthy metric.

  • Anthropic CLI default argv paths: 2 changed: fresh args and resumeArgs. Both entry paths must carry the same deny rule or resumed Claude CLI sessions could still reach the session-scoped scheduling tools.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🦞 diamond lobster
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • none.

Risk before merge

  • [P1] Merging intentionally makes ScheduleWakeup and CronCreate unavailable in default Anthropic claude-cli fresh and resumed runs, so any existing workflow that expected those Claude scheduling tools there will now see an explicit tool-unavailable path.
  • [P1] The PR is scoped to bundled defaults; a full user-provided agents.defaults.cliBackends.claude-cli.args or resumeArgs override can still replace the defaults, so maintainers should treat override hardening as a separate product decision if they want it.

Maintainer options:

  1. Accept explicit fail-closed scheduling (recommended)
    Land this shape after required checks if maintainers agree tool-unavailable errors are safer than silently lost Claude scheduling calls in OpenClaw-managed claude-cli runs.
  2. Require an opt-in compatibility path
    If maintainers need to preserve access for specialized deployments, ask for a documented opt-in before changing the bundled default.
  3. Pause for deeper live-session semantics
    If maintainers believe OpenClaw should host Claude scheduling semantics instead, pause this PR until that runtime contract is proven with a live Claude CLI scenario.

Next step before merge

  • No automated repair is indicated; the remaining action is maintainer acceptance of the default tool-availability change before landing.

Security
Cleared: The diff only reduces Claude CLI tool availability in static backend defaults and does not touch secrets, dependencies, CI, lockfiles, or package execution surfaces.

Review details

Best possible solution:

Land the owner-plugin default deny rule if maintainers accept fail-closed scheduling for bundled claude-cli, and handle custom argv override hardening separately if needed.

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

Yes. Source inspection shows current main and v2026.6.6 omit the deny flag, and the PR supplies live terminal before/after proof; I did not rerun the Claude binary in this read-only review.

Is this the best way to solve the issue?

Yes for the bundled default path. Using Claude Code's deny-rule surface in the Anthropic plugin is narrower than core tool filtering; forcing the deny rule into custom user argv overrides would be a separate compatibility decision.

AGENTS.md: found and applied where relevant.

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

Label changes

Label justifications:

  • P1: The PR targets a real broken Claude CLI agent workflow where deferred follow-up work can be silently missed in OpenClaw sessions.
  • merge-risk: 🚨 compatibility: The diff intentionally changes default Claude CLI tool availability and can break setups that currently rely on ScheduleWakeup or CronCreate being callable.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body and comment include after-fix terminal proof from a real patched OpenClaw gateway showing fresh and resumed spawned Claude argv include the deny flag, plus observed tool-unavailable behavior.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body and comment include after-fix terminal proof from a real patched OpenClaw gateway showing fresh and resumed spawned Claude argv include the deny flag, plus observed tool-unavailable behavior.
Evidence reviewed

PR surface:

Source +4. Total +4 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 1 4 0 +4
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 4 0 +4

What I checked:

Likely related people:

  • steipete: History shows the pluginized CLI inference backend work introduced the Anthropic CLI backend and CLI backend docs that own this default argv surface. (role: feature owner and adjacent area contributor; confidence: high; commits: a4a00aa1da3c; files: extensions/anthropic/cli-backend.ts, docs/gateway/cli-backends.md, src/agents/cli-runner/bundle-mcp.ts)
  • obviyus: Current-main blame for the Anthropic CLI backend and CLI runner paths points to this recent commit, making this person useful for routing even though it appears to be a broad carried-forward change. (role: recent current-main carrier; confidence: medium; commits: d498b1cce49c; files: extensions/anthropic/cli-backend.ts, src/agents/cli-runner/execute.ts, src/agents/cli-runner/claude-live-session.ts)
  • vincentkoc: Recent release-history inspection shows this author touched the same Anthropic CLI and CLI runner/doc surfaces in the latest release commit. (role: recent adjacent area contributor; confidence: medium; commits: 8c802aa68351; files: extensions/anthropic/cli-backend.ts, src/agents/cli-runner/execute.ts, src/agents/cli-runner/claude-live-session.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.

@clawsweeper clawsweeper Bot added 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. 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: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels May 20, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

✨ Hatched: 🥚 common Brave Merge Sprite

Hatch command

Comment @clawsweeper hatch when this PR is hatchable.

Hatchability rules:

  • Merged PRs are hatchable.
  • Open PRs are hatchable when they are status: 👀 ready for maintainer look, status: 🚀 automerge armed, or labeled clawsweeper:automerge.
  • Closed unmerged PRs are hatchable only when one of those hatchable labels is still present in the durable record.

Rarity: 🥚 common.
Trait: polishes edge cases.
Image traits: location review cove; accessory release bell; palette cobalt, lime, and pearl; mood celebratory; pose nestled inside a glowing shell; shell starlit enamel shell; lighting calm overcast light; background little resolved-comment flags.
Share on X: post this hatch
Copy: My PR egg hatched a 🥚 common Brave Merge Sprite in ClawSweeper.

What is this egg doing here?
  • Eggs appear after the PR passes real-behavior proof. It is here for vibes, not verdicts: it does not change labels, ratings, merge decisions, or automation.
  • The shell reacts to review momentum: open follow-up work warms it up, re-review makes it wobble, and a clean final review lets it hatch.
  • Hatchability usually comes from sufficient real-behavior proof, no blocking P0/P1/P2 findings, no security attention needed, and clean correctness. A merged PR is already final, so merge makes the egg hatchable independently.
  • The hatch is seeded from this repository and PR number, so the same PR keeps the same creature; the reviewed head SHA can only change safe visual details.
  • Rarity is just collectible sparkle: 🥚 common, 🌱 uncommon, 💎 rare, ✨ glimmer, and 🌈 legendary.

@SkyWolfDreamer

SkyWolfDreamer commented May 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Real behavior proof — before / after

Environment: Linux WSL2 6.6.87.2-microsoft-standard-WSL2, Node 24.15, @anthropic-ai/claude-code bundled distribution, OpenClaw v2026.5.18.


Before (current main — no --disallowedTools):

$ echo 'Call ScheduleWakeup with delaySeconds=10, prompt="test", reason="test".'
| claude --model claude-haiku-4-5 -p --permission-mode bypassPermissions

Done. ScheduleWakeup scheduled for 16:36:00 (clamped to 60s minimum).
The harness will re-invoke you when the wakeup fires.

The call appears to succeed, but the --print process exits at end_turn — no harness re-invocation happens. Wakeup is silently lost. This matches the production failure in agent:main:* where a background sub-agent completed but lastMessagePreview: NO_REPLY and status: done were the only signals.


After (this PR — --disallowedTools "ScheduleWakeup,CronCreate"):

$ echo 'Call ScheduleWakeup with delaySeconds=10, prompt="test", reason="test".'
| claude --model claude-haiku-4-5 -p
--permission-mode bypassPermissions
--disallowedTools "ScheduleWakeup,CronCreate"

ScheduleWakeup — Error: No such tool available: ScheduleWakeup.
ScheduleWakeup exists but is not enabled in this context.
CronCreate — Error: No such tool available: CronCreate.
CronCreate exists but is not enabled in this context.

Both tools are explicitly rejected on both fresh and resume argv paths. The model receives a clear error and routes to Monitor or synchronous Bash instead.


@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 20, 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: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@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: 🦪 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 May 20, 2026
@giodl73-repo giodl73-repo removed the triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. label May 21, 2026
@openclaw-barnacle openclaw-barnacle Bot added triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. proof: sufficient ClawSweeper judged the real behavior proof convincing. labels May 21, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 23, 2026
@RomneyDa

Copy link
Copy Markdown
Member

Heads up: this PR needs to be updated against current main before the new required Dependency Guard check can pass.

@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 29, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 29, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 30, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. and removed merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels May 30, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 9, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 10, 2026
@vincentkoc vincentkoc self-assigned this Jun 15, 2026
@vincentkoc
vincentkoc merged commit 8e56cf5 into openclaw:main Jun 15, 2026
163 checks passed
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jun 16, 2026
…penclaw#84434)

Claude Code built-ins ScheduleWakeup and CronCreate schedule a deferred
re-invocation managed by the persistent CLI runtime. In OpenClaw's
one-shot `claude -p` invocations the process exits at end_turn, so any
wakeup or cron registered during the run has no host to fire into and is
silently lost. Symptom: a CLI session spawns a background sub-agent,
calls ScheduleWakeup to poll for completion, ends the turn, and never
picks up the result — the work finishes unreviewed.

Append `--disallowedTools "ScheduleWakeup,CronCreate"` to both `args`
and `resumeArgs` in the anthropic CLI backend so the model cannot reach
for tools that don't survive the run mode. The right pattern in CLI
sessions is Monitor on the background output file, or a synchronous
sub-agent.
obviyus pushed a commit to anagnorisis2peripeteia/openclaw that referenced this pull request Jun 22, 2026
…-print runs

Extends the existing --disallowedTools list (ScheduleWakeup,CronCreate from openclaw#84434)
to also deny Bash(run_in_background:true) and Monitor on the claude-cli backend.
Those native tools promise a completion callback the CLI backend cannot deliver,
so the model strands deferred work; deferred work should use OpenClaw cron wake
(openclaw#83738, openclaw#92037). Adds a focused regression test on the backend args.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: anthropic merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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.

4 participants