[Feature Request] Isolate subagent execution environments to prevent tool call (and other) conflicts

Resolved 💬 3 comments Opened May 29, 2026 by prat96 Closed Jul 2, 2026

Bug Description
There are often such issues with the subagents:
⏺ Bash(python3 -c "
import importlib.util…)
⎿ Cancelled: parallel tool call Bash(python3 scratch/enrich_wikidata.py 2>&1) errored
Is it better if every agent from now works in its own source/env environment? Is it safe and not use extra tokens? make it a permanent global claude
rule if its a good idea. the current subagent seems stuck too.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.156
  • Feedback ID: d35d65de-2300-49e0-a75e-84c1e444ce0f

Errors

[{"error":"Error: Tool output not found\n    at d5K (/$bunfs/root/src/entrypoints/cli.js:4033:14129)\n    at VO (/$bunfs/root/src/entrypoints/cli.js:580:21150)\n    at _j (/$bunfs/root/src/entrypoints/cli.js:580:39922)\n    at C9H (/$bunfs/root/src/entrypoints/cli.js:580:50731)\n    at I6 (/$bunfs/root/src/entrypoints/cli.js:580:87760)\n    at I9H (/$bunfs/root/src/entrypoints/cli.js:580:86726)\n    at Rn (/$bunfs/root/src/entrypoints/cli.js:580:86546)\n    at tb (/$bunfs/root/src/entrypoints/cli.js:580:82882)\n    at iH (/$bunfs/root/src/entrypoints/cli.js:580:6561)\n    at FH (/$bunfs/root/src/entrypoints/cli.js:580:5017)","timestamp":"2026-05-29T14:16:06.041Z"},{"error":"Error: Tool output not found\n    at d5K (/$bunfs/root/src/entrypoints/cli.js:4033:14129)\n    at VO (/$bunfs/root/src/entrypoints/cli.js:580:21150)\n    at _j (/$bunfs/root/src/entrypoints/cli.js:580:39922)\n    at C9H (/$bunfs/root/src/entrypoints/cli.js:580:50731)\n    at I6 (/$bunfs/root/src/entrypoints/cli.js:580:87760)\n    at I9H (/$bunfs/root/src/entrypoints/cli.js:580:86726)\n    at Rn (/$bunfs/root/src/entrypoints/cli.js:580:86546)\n    at tb (/$bunfs/root/src/entrypoints/cli.js:580:82882)\n    at iH (/$bunfs/root/src/entrypoints/cli.js:580:6561)\n    at FH (/$bunfs/root/src/entrypoints/cli.js:580:5017)","timestamp":"2026-05-29T14:16:18.247Z"},{"error":"Error: Tool output not found\n    at d5K (/$bunfs/root/src/entrypoints/cli.js:4033:14129)\n    at VO (/$bunfs/root/src/entrypoints/cli.js:580:21150)\n    at _j (/$bunfs/root/src/entrypoints/cli.js:580:39922)\n    at C9H (/$bunfs/root/src/entrypoints/cli.js:580:50731)\n    at I6 (/$bunfs/root/src/entrypoints/cli.js:580:87760)\n    at I9H (/$bunfs/root/src/entrypoints/cli.js:580:86726)\n    at Rn (/$bunfs/root/src/entrypoints/cli.js:580:86546)\n    at tb (/$bunfs/root/src/entrypoints/cli.js:580:82882)\n    at iH (/$bunfs/root/src/entrypoints/cli.js:580:6561)\n    at FH (/$bunfs/root/src/entrypoints/cli.js:580:5017)","timestamp":"2026-05-29T14:16:20.128Z"},{"error":"Error: Tool output not found\n    at d5K (/$bunfs/root/src/entrypoints/cli.js:4033:14129)\n    at VO (/$bunfs/root/src/entrypoints/cli.js:580:21150)\n    at _j (/$bunfs/root/src/entrypoints/cli.js:580:39922)\n    at C9H (/$bunfs/root/src/entrypoints/cli.js:580:50731)\n    at I6 (/$bunfs/root/src/entrypoints/cli.js:580:87760)\n    at I9H (/$bunfs/root/src/entrypoints/cli.js:580:86726)\n    at Rn (/$bunfs/root/src/entrypoints/cli.js:580:86546)\n    at tb (/$bunfs/root/src/entrypoints/cli.js:580:82882)\n    at z_ (/$bunfs/root/src/entrypoints/cli.js:580:6440)\n    at aJ8 (/$bunfs/root/src/entrypoints/cli.js:573:5415)","timestamp":"2026-05-29T14:16:21.060Z"},{"error":"Error: Tool output not found\n    at d5K (/$bunfs/root/src/entrypoints/cli.js:4033:14129)\n    at VO (/$bunfs/root/src/entrypoints/cli.js:580:21150)\n    at _j (/$bunfs/root/src/entrypoints/cli.js:580:39922)\n    at C9H (/$bunfs/root/src/entrypoints/cli.js:580:50731)\n    at I6 (/$bunfs/root/src/entrypoints/cli.js:580:87760)\n    at I9H (/$bunfs/root/src/entrypoints/cli.js:580:86726)\n    at Rn (/$bunfs/root/src/entrypoints/cli.js:580:86546)\n    at tb (/$bunfs/root/src/entrypoints/cli.js:580:82882)\n    at z_ (/$bunfs/root/src/entrypoints/cli.js:580:6440)\n    at aJ8 (/$bunfs/root/src/entrypoints/cli.js:573:5415)","timestamp":"2026-05-29T14:16:21.587Z"},{"error":"Error: Tool output not found\n    at d5K (/$bunfs/root/src/entrypoints/cli.js:4033:14129)\n    at VO (/$bunfs/root/src/entrypoints/cli.js:580:21150)\n    at _j (/$bunfs/root/src/entrypoints/cli.js:580:39922)\n    at C9H (/$bunfs/root/src/entrypoints/cli.js:580:50731)\n    at I6 (/$bunfs/root/src/entrypoints/cli.js:580:87760)\n    at I9H (/$bunfs/root/src/entrypoints/cli.js:580:86726)\n    at Rn (/$bunfs/root/src/entrypoints/cli.js:580:86546)\n    at tb (/$bunfs/root/src/entrypoints/cli.js:580:82882)\n    at z_ (/$bunfs/root/src/entrypoints/cli.js:580:6440)\n    at aJ8 (/$bunfs/root/src/entrypoints/cli.js:573:5415)","timestamp":"2026-05-29T14:16:22.529Z"…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗