# AGENTS.md ## Dotnet Execution Policy - For `.NET` commands (`dotnet restore`, `dotnet build`, `dotnet test`, `dotnet run`), run in sandbox first. - If the command fails or hangs due to sandbox limits (for example restore/build stalls), rerun with `sandbox_permissions: "require_escalated"`. - The escalation request must include a short justification explaining that sandbox restrictions are blocking normal .NET execution. - Do not change project paths or command intent when escalating; rerun the same command with elevated permissions. - If a sandbox command appears hung, run it with `tty=true` and explicitly terminate the sandbox session first (send `Ctrl+C`) before escalating. - Never leave a hung sandbox process running in the background while starting the escalated rerun.