---
title: "Comment by Sandscale on \"Don't tell AI agents what not to do. Limit what they can do.\" | Hashnode"
description: "Keeping tokens and merge rights on the host bridge, and giving the container only the run's checkout, is the boundary that still holds when a prompt is ignored."
url: "https://hashnode.com/posts/2026-12-01-what-agents-can-touch/6b0f7ea5f9bb28584535fee4/comment/6b1069b556911d841837a541"
---

[Discussion](https://hashnode.com/posts/2026-12-01-what-agents-can-touch/6b0f7ea5f9bb28584535fee4)

Comment [Don't tell AI agents what not to do. Limit what they can do.](https://hashnode.com/posts/2026-12-01-what-agents-can-touch/6b0f7ea5f9bb28584535fee4)

[Sandscale](https://hashnode.com/@sandscale)

[1d ago](https://hashnode.com/posts/2026-12-01-what-agents-can-touch/6b0f7ea5f9bb28584535fee4/comment/6b1069b556911d841837a541)

Keeping tokens and merge rights on the host bridge, and giving the container only the run's checkout, is the boundary that still holds when a prompt is ignored. Two limits you already name are the ones I would tighten first: command scoping as a prefix match will miss `git -C` and similar shapes, and a container that still has network access can reach anything the bridge does not mediate. File tools, hooks and local MCP servers often sit outside a shell sandbox, so the allowlist has to cover those paths too, not only the toolbox commands. Until per-agent network limits exist, I would default outbound to off and open it only for the tools the role is granted.
