Repository navigation
Mark a linked environment as a sandbox (self-isolating) so orchestrators don't ask about isolation
#43907
OmarAlex24
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
When delegating subagents to a linked environment that already isolates each launched thread (e.g., a sandbox host/container or a remote T3 server configured with
defaultThreadEnvMode: "worktree"), orchestrator models repeatedly either:delegate_taskwithisolation: "worktree"and hit the refusal inRemoteDelegation.ts:isolation, because the tool description and error message imply that omittingisolationmeans parallel children will collide in a shared checkout.As a result, I have to keep repeating in prompts that every delegated task sent to that linked environment opens its own isolated thread/workspace and that omitting
isolationis expected.Idea
Add a lightweight Sandbox type (or an isolation hint) for linked environments, surfaced in
t3_environment_links(and optionally selectable when linking/configuring the environment):standard(default) vs.sandbox— or exposing the peer's effective thread isolation behavior int3_environment_links.sandbox, orchestrator agents immediately know that omittingisolationondelegate_taskis safe because each delegated task starts isolated on that target, without failing or asking the user for confirmation.Why this is smaller than related ideas
isolation: "worktree"support across linked environments.This proposal keeps the model minimal: it doesn't add VM provisioning or change remote git mechanics — it just lets a linked environment declare that it is a sandbox / self-isolating target so agents behave unsurprisingly out of the box.
All reactions