agentscope-ai / agentscope-ai/agentscope-java

Sandbox is created on every agent call even for pure chat turns

オープン
#2,564 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/core/memory area/extensions bug
主要言語
Java
スター
5.6k
フォーク
1.3k
平均マージ
4日 12時間
マージ済み PR(30日)
77

説明

## Problem

In sandbox filesystem mode, a sandbox session is created/resumed on EVERY agent call, even when the turn is pure chat (no command execution, no file read/write).

This includes turns where the agent only replies to a casual conversation — spinning up (or resuming) a container per turn is expensive and wasteful.

## Expected behavior

- A plain chat turn (no command execution, no file read/write) must NOT create or resume a sandbox.
- The sandbox should be created/resumed only when the agent actually needs to execute a command or read/write the filesystem, right before the operation runs.
- A turn that touches only workspace metadata (e.g. MEMORY.md, AGENTS.md, knowledge, memory flush) should not trigger sandbox creation.
- Once created/resumed, the existing isolation-scope behavior (create vs resume per SESSION/USER/AGENT scope) must be preserved.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。