claude-code - 💡(How to fix) Fix [Bug] Ultraplan ready notification fires before cloud agent completes execution

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[{"error":"Error: Tool Glob not found\n at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:40.734Z"},{"error":"Error: Tool Glob not found\n at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:41.193Z"},{"error":"Error: Tool Glob not found\n at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:41.662Z"}]

Code Example

[{"error":"Error: Tool Glob not found\n    at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n    at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n    at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n    at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n    at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n    at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n    at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n    at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n    at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n    at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:40.734Z"},{"error":"Error: Tool Glob not found\n    at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n    at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n    at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n    at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n    at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n    at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n    at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n    at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n    at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n    at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:41.193Z"},{"error":"Error: Tool Glob not found\n    at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n    at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n    at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n    at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n    at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n    at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n    at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n    at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n    at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n    at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:41.662Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Bug: ◆ ultraplan ready notification fires prematurely, before the cloud agent has finished

Severity: Medium — causes wasted user trust and incorrect downstream actions in local Claude Code.

Reproduction:

  1. From local Claude Code, trigger an Ultraplan session (either via /ultraplan slash command or by creating a RemoteTrigger routine).
  2. Wait until the local CLI shows ◆ ultraplan ready · https://claude.ai/code/session_<id>?from=cli.
  3. Open the session URL in the browser.

Expected: The notification arrives only after the cloud agent has finished its work — at minimum, the agent's final message is written and (if applicable) the commit/branch the agent was asked to produce is pushed.

Actual: The ◆ ready notification arrives while the agent is still running. The system-reminder text accompanying it (The remote ultraplan session produced a plan and is waiting for approval. Tell the user to open <URL> to review it.) is also factually incorrect at that point — no plan has been produced yet.

Consequences in local Claude Code:

  • The local instance reads the system-reminder literally and tells the user the plan is ready.
  • It then exits plan mode and proposes to start implementation — based on a plan that doesn't exist yet.
  • In one observed case (2026-05-27), the cloud agent eventually timed out (Ultraplan terminated: no approval after 90 minutes) without ever producing output, meaning the local instance had already moved past a plan that never materialized.

Suggested fix (any of these would help):

  1. Only emit ◆ ready after the cloud agent's terminal turn completes. If the agent is asked to commit work, only after the push succeeds.
  2. Change the system-reminder text so it doesn't assert "produced a plan" when that hasn't been verified — e.g. The remote ultraplan session is open for review at <URL>. Status: <running|finished|timed-out>.
  3. Include a machine-readable status (running / completed / timed-out) in the notification payload so local Claude can branch on it rather than trusting prose.

Environment:

  • Local Claude Code CLI on Linux
  • Triggered both via /ultraplan slash command and via RemoteTrigger API (run_once_at schedule mode) — both surfaces show the bug.

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 2.1.152
  • Feedback ID: c59d602b-9752-47d8-9217-3fcbdc9635b8

Errors

[{"error":"Error: Tool Glob not found\n    at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n    at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n    at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n    at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n    at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n    at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n    at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n    at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n    at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n    at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:40.734Z"},{"error":"Error: Tool Glob not found\n    at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n    at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n    at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n    at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n    at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n    at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n    at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n    at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n    at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n    at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:41.193Z"},{"error":"Error: Tool Glob not found\n    at n44 (/$bunfs/root/src/entrypoints/cli.js:4005:14126)\n    at Bf (/$bunfs/root/src/entrypoints/cli.js:551:21158)\n    at Yj (/$bunfs/root/src/entrypoints/cli.js:551:39928)\n    at HKH (/$bunfs/root/src/entrypoints/cli.js:551:50740)\n    at q9 (/$bunfs/root/src/entrypoints/cli.js:551:87775)\n    at E$ (/$bunfs/root/src/entrypoints/cli.js:551:86741)\n    at BWH (/$bunfs/root/src/entrypoints/cli.js:551:86562)\n    at IJ (/$bunfs/root/src/entrypoints/cli.js:551:82895)\n    at j$ (/$bunfs/root/src/entrypoints/cli.js:551:6442)\n    at FM6 (/$bunfs/root/src/entrypoints/cli.js:544:5415)","timestamp":"2026-05-27T20:19:41.662Z"}]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING