sub-agent-sandboxing

Installation
SKILL.md

Sub-Agent Sandboxing

Sub-Agent Sandboxing protects the main workflow from delegated tasks that spiral, retry indefinitely, or make changes in the wrong environment. It complements file-scope controls by adding runtime guardrails around how a sub-agent is allowed to execute.

Why This is Copilot-Exclusive

This pattern depends on Copilot CLI's delegated-agent workflow: separate task() execution lanes, background lifecycle management, approval checkpoints, and the ability to route risky work into a different checkout or environment before merging it back.

When to Use

  • A delegated task could loop on the same tool call or retry path
  • The agent may need multiple execution environments as risk increases
  • Generated output must be validated before it can touch the main working tree
  • A failing sub-agent should cool down without blocking the entire orchestrator
Installs
1
GitHub Stars
47
First Seen
Jul 20, 2026