Can Windsurf agents be limited to approved commands and files?
Team administrators can set command controls for Windsurf (Devin Desktop) on the Teams and Enterprise plans, but the sandbox that restricts file system and network access is available only on Enterprise, and its coverage differs between legacy Cascade and Devin CLI and Devin Local. Before approving rollout, decide which agent surfaces your developers will use and what each one may run without a person approving it. The main lever for legacy Cascade is the Maximum autonomy level setting, which caps auto-execution at No auto-approvals, Allowlist only, Smart or Bypass. Choose the most restrictive level that your teams can work with, and confirm the level is enforced at the team level rather than left to individual users.
For Devin CLI and Devin Local, the strongest control is team-enforced allow, ask and deny rules. These rules take the highest precedence and cannot be overridden by user or project configuration, so a developer cannot widen them with a local file. On Enterprise, the Devin Sandbox setting forces sandbox mode for both surfaces and limits file system and network access to the scopes granted. Review the organization-wide sandbox domain allowlist and denylist, and treat the sandbox command exclusions with care, because each command listed there runs outside the sandbox. The Devin Desktop controls reference lists each setting and its scope.
The gaps sit mostly in legacy Cascade. Its team allowlist and denylist merge with each member's lists, and the denylist always wins, but a command list is not a file or network boundary. Ask Cognition in writing whether the Devin Sandbox setting applies to legacy Cascade in your tenant, and do not assume it does. Then test the configuration on a pilot group: attempt a denied command, a write outside the granted scopes and a request to a domain outside the allowlist, and record the results. Finally, confirm that each team has a documented owner for changes to these settings.
Permission and sandbox controls by plan
This table maps each Windsurf (Devin Desktop) permission and sandbox control to the plan that includes it and to the surface it governs. Read each cell as built in, Enterprise only, not available, or confirm with the vendor, and verify any cell marked for confirmation before you rely on it. The main takeaway is that the autonomy cap is available on Teams and Enterprise, while the file, network and command-exclusion sandbox controls are Enterprise only.
| Control | Governs | Teams | Enterprise |
|---|---|---|---|
| Maximum autonomy level | Cascade auto-execution, capped at No auto-approvals, Allowlist only, Smart or Bypass | Built in | Built in |
| Team-enforced Devin CLI allow, ask and deny rules | Devin CLI and Devin Local, highest precedence over user and project settings | Confirm plan with vendor | Confirm plan with vendor |
| Legacy Cascade team allowlist and denylist | Cascade command lists, merged with each member's lists, denylist always wins | Confirm plan with vendor | Confirm plan with vendor |
| Devin Sandbox setting | Forces sandbox mode for Devin CLI and Devin Local, limiting file and network access to granted scopes | Not available | Enterprise only |
| Sandbox domains allowlist and denylist | Organization-wide network destinations the sandbox may reach or must block | Not available | Enterprise only |
| Sandbox command exclusions | Commands permitted to run outside the sandbox | Not available | Enterprise only |
How the autonomy cap, rules and sandbox layer together
The controls for Windsurf (Devin Desktop) do not work as one switch. They apply in layers, and the first thing to settle is the team autonomy cap. The Maximum autonomy level setting, available on Teams and Enterprise, caps how far Cascade can auto-execute commands, with the ceiling set at No auto-approvals, Allowlist only, Smart or Bypass. A user can pick a more permissive mode for their own session, but not one above the team ceiling. Set the cap first, because every rule below operates inside it.
Below the cap sit two rule sets with different precedence. For Devin CLI and Devin Local, team-enforced allow, ask and deny rules take the highest precedence, and they cannot be overridden by user or project configuration. A developer cannot add a repository-level file that quietly grants a command the team has denied. Legacy Cascade command lists work differently: the team allowlist and denylist merge with each member's own lists, and the denylist always wins. Confirm which of these two systems covers each surface your developers use, since a team may enforce rules for the CLI while Cascade still relies on merged lists.
The Enterprise-only Devin Sandbox setting sits at the outer layer. When it is enabled, it forces sandbox mode for Devin CLI and Devin Local and restricts file system and network access to granted scopes. The sandbox domain allowlist and denylist are organization-wide, and sandbox command exclusions name the commands permitted to run outside the sandbox. Each exclusion is a deliberate hole, so review that list as carefully as the deny rules. The June 2, 2026 move to Devin Desktop did not change these controls for current plans, but confirm the setting names and locations against the Devin Desktop controls reference in your own tenant before you write them into policy.
Decision path for an agent command request
This simplified illustration follows a command requested by Cascade, Devin CLI or Devin Local through the documented precedence. It starts at the team autonomy cap, which limits Cascade auto-execution to No auto-approvals, Allowlist only, Smart or Bypass. Team-enforced Devin CLI allow, ask and deny rules come next and take highest precedence for Devin CLI and Devin Local, while legacy Cascade lists merge team and member entries with the denylist always winning. The path then checks whether the Enterprise Devin Sandbox applies and whether the command appears on the sandbox exclusion list. Confirm the exact order for your edition and version in the controls reference.
Simplified illustration of the documented precedence for one command request, not a complete policy engine.
Which permission model should the organization choose?
Each Windsurf (Devin Desktop) permission control answers a different question: how much the agent may do unprompted, which rules are enforced for everyone, where files and network access stop, and who can make exceptions. Set them in that order, because each one narrows the choices available to the next.
Set the autonomy ceiling
The Maximum autonomy level caps Cascade auto-execution on Teams and Enterprise at one of four settings: No auto-approvals, Allowlist only, Smart or Bypass. No auto-approvals keeps a person in the loop for every command and suits high-risk repositories, while Allowlist only lets routine commands run and asks for everything else. Smart and Bypass trade approval friction for less oversight, so reserve them for sandboxed, low-sensitivity work. Confirm which level your plan permits before you publish a default.
Controls referenceChoose team-enforced or legacy rules
Team-enforced Devin CLI permissions (allow, ask and deny rules) govern Devin CLI and Devin Local, take the highest precedence and cannot be overridden by user or project configuration. Legacy Cascade command lists are a team allowlist and denylist merged with each member's own lists, and the denylist always wins. Standardize on the enforced rules for any surface that supports them, and treat legacy lists as a fallback. Ask which surfaces each control covers before assuming a rule applies everywhere.
Scope sandbox domain lists
The Enterprise-only sandbox domains setting is an organization-wide allowlist and denylist for network destinations. Every domain you allow widens what a sandboxed agent can reach, so start with the package registries and internal services your developers need and nothing broader. Use the denylist for destinations that must never be contacted, and review both lists when teams add new tooling. Confirm with the vendor how domain matching works for subdomains and redirects.
Keep sandbox exclusions minimal
Sandbox command exclusions set the commands allowed to run outside the sandbox, which removes the file system and network limits for those commands. Each exclusion is a deliberate hole in the boundary, so grant only commands that cannot work inside the sandbox and document the reason for each one. Review the list at a fixed interval and remove entries that no longer have a justification. A short list is easier to audit and less likely to become a shortcut for any command.
Assign exception ownership
Every relaxed rule, added domain or sandbox exclusion should trace back to a named owner who approved it and a written reason. Engineering leads usually understand the workflow need, while security owns the risk decision and the final approval. Record requests in the same system you use for change management so audit reviewers can follow each exception. Agree in advance how long an exception lasts and when it must be re-approved.
How the answer changes by edition and environment
On Teams plans, the main control is the Maximum autonomy level setting, which caps Cascade auto-execution at No auto-approvals, Allowlist only, Smart or Bypass. Team-enforced Devin CLI permissions (allow, ask and deny rules) apply to Devin CLI and Devin Local and take the highest precedence, so user or project configuration cannot override them. The Enterprise-only Devin Sandbox is not part of this setup, so file and network limits depend on the permission rules and the autonomy cap you set.
- Autonomy cap: Set Maximum autonomy level to the most restrictive value your policy allows before users receive the app.
- Team CLI rules: Write allow, ask and deny rules for Devin CLI and Devin Local at team level so they apply to every project.
- Command lists: Where legacy Cascade command lists apply, the team denylist is merged with member lists and always wins, so place high-risk commands there.
- No sandbox boundary: Treat command approval as the primary control, since the documented file system and network scoping belongs to Enterprise.
Confirm in writing which of these settings your Teams plan exposes and whether the autonomy cap covers every Cascade surface in the version your users run. The Devin Desktop controls reference is the place to check the current setting names.
Enterprise adds the Devin Sandbox setting, which forces sandbox mode for Devin CLI and Devin Local and restricts file system and network access to the scopes granted. Enterprise also provides an organization-wide sandbox domain allowlist and denylist, along with sandbox command exclusions that name the commands allowed to run outside the sandbox. This tab covers the controls that exist only at Enterprise, so the review should focus on what is granted by default and what is excluded.
- Forced sandbox mode: Devin Sandbox applies to Devin CLI and Devin Local, so the sandbox is enforced for those tools rather than left to individual users.
- Granted scopes: File and network access is limited to the scopes granted, so document the default grants before broad rollout.
- Domain lists: Set the organization-wide sandbox domain allowlist and denylist to match approved destinations.
- Command exclusions: Keep the list of commands that run outside the sandbox short and reviewed, because each exclusion sits outside the boundary.
Ask Cognition which scopes are granted by default, whether Cascade surfaces beyond Devin CLI and Devin Local are covered, and how changes to the domain lists are recorded. Confirm these answers against the Devin Desktop controls reference before approval.
Cognition's Devin Desktop FAQ states that current plans, including legacy Windsurf Enterprise plans, continue to work as before after the change on June 2, 2026. Legacy Enterprise login remains at windsurf.com/enterprise, binaries remain on codeiumdata.com, and the changelog and docs now sit at docs.devin.ai. The FAQ describes the rename as a change to the app and its documentation location, so the controls on a legacy contract still need to be matched to the current reference.
- App names: The app is Devin.app on macOS, Devin.exe on Windows and devin on Linux, so device management allowlists need the new names.
- Sign-in and downloads: Keep windsurf.com/enterprise and codeiumdata.com in your allowlists and proxy rules while legacy contracts run.
- Documentation: Use docs.devin.ai for current controls, since former Windsurf pricing and security pages redirect there.
- Contract scope: Confirm whether your legacy contract includes Devin Sandbox, sandbox domain lists and team-enforced CLI rules.
Before relying on any sandbox setting, ask Cognition in writing which current plan your legacy contract maps to and which controls it includes. The Devin Desktop FAQ is the starting point for the rename details.
The documented controls describe the standard app, so a regulated or disconnected deployment needs its own confirmation before approval. Cognition's federal compliance page states that Devin Desktop was formerly known as Windsurf, which is the starting point for questions about federal availability and deployment scope. Sandbox domain lists assume that destinations can be reached and checked, so the behavior in a restricted network must be verified separately from the standard setup.
- Federal availability: Review the federal compliance and availability page to see which deployments and compliance scopes are listed for Devin Desktop.
- Network egress: Confirm how sandbox domain rules behave when outbound access is blocked or routed through your proxy.
- Dedicated deployment: Ask whether the controls in the other tabs apply in any dedicated or self-hosted deployment, and where those settings are managed.
- Event records: Request written confirmation of which permission decisions and sandbox events are recorded, where they are stored and how long they are kept.
Get Cognition's written answers for your specific deployment model on each control before the approval decision is recorded. Keep those answers with the security review so that auditors can trace the basis for the decision.
Order of work before enabling agent commands in production
This sequence sets the autonomy ceiling, the team-enforced rules and the sandbox boundaries before any developer runs agent commands on company code. Each step produces a written record that a security reviewer can check against the configured settings.
Confirm the edition and the surfaces in use
The platform owner lists which Devin Desktop surfaces the team will use, such as Cascade, Devin CLI or Devin Local, and confirms the plan (Teams or Enterprise) that applies to each seat, including any legacy Windsurf Enterprise contract. Some controls described in the controls reference apply only to Teams or Enterprise, and the Enterprise-only sandbox applies to Devin CLI and Devin Local. The step is done when the list of surfaces and the plan behind each one is signed off by IT and security. Confirm the exact plan entitlements with Cognition before relying on them.
Identify the app on device allowlists
Before any policy testing, the endpoint team adds the renamed application to device management allowlists so that the client is not blocked or mistaken for an unknown binary. The executable name differs by operating system: Devin.app on macOS, Devin.exe on Windows and devin on Linux. Confirm that the names match on each managed device image, and that the legacy Windsurf binaries and login path still resolve for any contract that predates the rename. The step is done when a test device reports the expected name in the endpoint inventory.
Set the team maximum autonomy level
The administrator sets the Maximum autonomy level on the team, which caps Cascade auto-execution at No auto-approvals, Allowlist only, Smart or Bypass. Choose the most restrictive level the pilot can work with, and document why any higher level is needed. Confirm in the admin console that individual users cannot raise the setting above the cap. The step is done when a test user attempts a higher level and the cap holds.
Define team allow, ask and deny rules
The security owner writes team-enforced Devin CLI permission rules for allow, ask and deny. These rules govern Devin CLI and Devin Local, take the highest precedence and cannot be overridden by user or project configuration. Start with deny rules for destructive or credential-touching commands, add ask rules for commands that need a human decision, and allow only well-understood read or build commands. The step is done when a test project with a conflicting local file confirms that the team rule still applies.
Reconcile legacy Cascade command lists
Where legacy Cascade command lists are still in use, the administrator reviews the team allowlist and denylist and the lists each member has merged into them. The controls reference states that the denylist always wins in this merge, so any command that must be blocked should appear there. Remove stale allowlist entries that no longer match approved tooling. The step is done when an export or review shows the effective list for a sample of members, with no allowed command that the security owner has rejected.
Enable and scope the Enterprise sandbox
On Enterprise, the administrator enables the Devin Sandbox setting, which forces sandbox mode for Devin CLI and Devin Local and restricts file system and network access to granted scopes. Then the network team defines the organization-wide sandbox domain allowlist and denylist, limiting outbound destinations to the package registries, internal services and vendor endpoints the work requires. The step is done when a test session shows that a request to an unlisted domain is blocked and that file access stays within the granted scope.
Review sandbox command exclusions
The security owner reviews the sandbox command exclusions, which set the commands permitted to run outside the sandbox. Each exclusion widens what the agent can do on the host, so every entry needs a named owner and a business reason. Remove any exclusion that is not required for the pilot. The step is done when the exclusion list is approved in writing and the change history is retained for audit.
Test with a restricted pilot group
The platform owner runs a small pilot group on non-production repositories with the settings above in place, and the security owner tests deliberate violations, such as a denied command, an unlisted domain and a file path outside scope. Confirm which events the organization can see and retain for review, and record any gap with the vendor. Expand access only after the pilot results and the configuration baseline are approved. The step is done when the pilot report is signed and the production rollout is authorized in writing.
What a security reviewer should ask to see
This table lists the evidence a security reviewer should request before approving Windsurf (Devin Desktop) agent permissions, and where each item comes from in the admin console or the controls reference. Use it as a request list: if a team cannot produce an item, the setting it documents is not yet verified. The main takeaway is that autonomy level, team rules, sandbox scope and plan status must each be shown as current exported state, not described from memory.
| Evidence item | What it shows | Where to get it |
|---|---|---|
| Team autonomy level | The Maximum autonomy level cap on Cascade auto-execution (No auto-approvals, Allowlist only, Smart or Bypass) | Team admin settings, checked against the Devin Desktop controls reference |
| Team allow, ask and deny rules | The team-enforced Devin CLI permissions that govern Devin CLI and Devin Local and take highest precedence | Admin console export, with confirmation that users cannot override them |
| Legacy command lists | Any team allowlist and denylist still merged with member lists, confirming the denylist wins | Admin console, for legacy Cascade command lists only |
| Sandbox configuration | Whether the Enterprise Devin Sandbox setting is on, plus organization-wide domain allowlist and denylist entries | Enterprise admin settings and the sandbox section of the controls reference |
| Sandbox command exclusions | Which commands are permitted to run outside the sandbox, and who approved each one | Enterprise admin settings, reviewed against the controls reference |
| Plan record | Confirmation that the organization is on an Enterprise plan, including any legacy Windsurf Enterprise contract | Order form or contract, plus the billing or plan view in the admin console |
| Device management allowlist | Entries for Devin.app (macOS), Devin.exe (Windows) and devin (Linux) in endpoint policy | MDM or endpoint management console, compared with the Devin Desktop FAQ |
| Vendor documentation version | The dated copy of the controls reference and FAQ the team relied on for the review | Saved copies or print-to-PDF of docs.devin.ai pages, dated at the time of review |
Questions buyers ask about Windsurf command controls
Is the Windsurf sandbox available on Teams plans?
No, not as far as the public controls reference shows. Cognition lists the Devin Sandbox setting as Enterprise-only, and it forces sandbox mode for Devin CLI and Devin Local, restricting file system and network access to granted scopes. The sandbox domain allowlist and denylist and the sandbox command exclusions are also listed as Enterprise-only. Teams admins can still set a Maximum autonomy level that caps Cascade auto-execution at No auto-approvals, Allowlist only, Smart or Bypass. If sandboxing is a condition of your approval, confirm the plan entitlement in writing with Cognition and recheck the controls page before signing, because plan contents change. On a Teams deployment without the sandbox, document compensating controls such as a tighter autonomy cap and an allowlist-only policy.
Do legacy Windsurf Enterprise plans keep these command controls after the rename?
Cognition's Devin Desktop FAQ says current plans, including legacy Windsurf Enterprise plans, continue to work as before after Windsurf became Devin Desktop on June 2, 2026. The FAQ does not map each control to each legacy plan, so the reliable check is to list every command control in your current policy, match it against the Devin Desktop controls reference, and get the availability for your contract confirmed in writing. Legacy Enterprise login stays at windsurf.com/enterprise, and binaries stay on codeiumdata.com, which matters for proxy and firewall rules. The app is now Devin.app on macOS, Devin.exe on Windows and devin on Linux, so device management allowlists and any path or process rules written for Windsurf need updating before the update reaches users.
How does a team denylist interact with allowlists?
The denylist always wins. For legacy Cascade command lists, Cognition describes a team allowlist and denylist that merge with each member's own lists, and a command that appears on the denylist is blocked even if an allowlist or a personal list permits it. Illustrative example: if the team allowlist permits a package manager, but the team denylist blocks a destructive flag for that tool, a call using that flag is refused and the user cannot approve it away through a personal list. Review the merged result, not each list alone, because a personal allowlist entry can look harmless while the team denylist already covers the same command. Build the denylist first, then add allow entries for the workflows developers need.
Can developers override team rules in project files?
For Devin CLI and Devin Local, no. Cognition's controls reference states that team-enforced Devin CLI permissions, meaning allow, ask and deny rules, take highest precedence and cannot be overridden by user or project configuration. For legacy Cascade command lists, the team lists merge with each member's lists and the team denylist still wins, so a project file cannot remove a team block. Your remaining question is whether a project file can add allow entries that widen what a developer may run without approval in the legacy Cascade path. Confirm that behavior on your version with Cognition, and test it with a repository that contains a conflicting project file before you approve the policy. Record the result as evidence for your review.
What does a Devin Desktop command rollout need from our own team?
Your team supplies the decisions and the change control, because only your administrators can set the policy in your tenant. Security should own the Maximum autonomy level, the team denylist and, on Enterprise, the sandbox domain and command exclusion lists. Engineering leads should describe the workflows that need allow entries and which surfaces (Cascade, Devin CLI, Devin Local) each group uses. Endpoint or device management staff must add the renamed Devin app to allowlists on macOS, Windows and Linux. A pilot group should test the policy before wider rollout, and every exception should carry a named approver and a review date. DeployOpen can plan that scope and test the agent controls as part of a fixed-scope engagement, but your administrators keep ownership of the live settings.
What drives the effort of configuring command and sandbox controls?
Four factors drive most of the effort. The first is the number of surfaces you allow, since Cascade, Devin CLI and Devin Local each have their own rule paths and must be tested separately. The second is the size of the command lists and the review of each entry. The third is the number of sandbox command exclusions on Enterprise, because each command listed there runs outside the sandbox and needs a documented business reason and owner. The fourth is device policy work across macOS, Windows and Linux, including the renamed app paths. Costs are driven by who performs that work and how much testing the policy needs, so ask for a quote that itemizes each surface, each exclusion review, the device policy changes and the test plan. Ask your vendor for the current plan terms that apply to each item.
Can a team cap how much the agent runs without approval?
Yes. Cognition's controls reference describes a Maximum autonomy level setting on Teams and Enterprise plans that caps Cascade auto-execution at one of four levels: No auto-approvals, Allowlist only, Smart or Bypass. Set the cap at the level your review allows, because a developer's personal setting cannot exceed it. For most regulated reviews, starting at No auto-approvals or Allowlist only and widening only for named workflows is the easier position to defend. Pair the cap with the denylist so that even at the permissive levels, the commands you have blocked stay blocked. Check the setting after each Devin Desktop update, and keep a dated record of the level chosen and the reason for it.
How DeployOpen tests agent command and file controls
DeployOpen reviews how Windsurf (Devin Desktop) agents are allowed to run commands and touch files in your environment, then tests those settings against the rules your organization has written. Work covers the team permission levels, command lists and Enterprise sandbox settings, with findings documented for your security and engineering reviewers.
How we scope
- Engagements are fixed-scope, with the settings, plans and teams covered agreed in writing before work starts.
- The written scope names which autonomy level, allow, ask and deny rules, and command lists are in review.
- We confirm which Devin Desktop edition and plan your organization holds, since sandbox and enforcement settings depend on it.
How we build
- We configure a test team workspace that mirrors your intended team permission levels and command lists.
- We test whether team-enforced rules hold against user and project configuration, and whether denylist entries override member allowlists.
- We check which commands run outside the sandbox and whether the organization-wide sandbox domain lists behave as written.
How we hand over
- You receive a written record of each setting tested, the result, and the evidence collected from the test environment.
- The record lists gaps between your written policy and the enforced configuration, with the change each gap needs.
- Documentation is delivered in a form your security and compliance reviewers can file with their assessment evidence.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
- Retests can be scoped when Devin Desktop changes its controls, sandbox behavior or the names of its configuration files.
- Support covers questions from engineering and security teams about how the agreed configuration behaves in your environment.

