## Testing automated scripts in an isolated shell sandbox

Run and verify terminal commands in a restricted sandbox before applying changes to codebases.

When a user submits a script or repository command to test, run it inside an isolated shell environment with restricted permissions. Capture standard output, errors, and any simulated tool invocations. Review the results for unexpected failures or security risks. Present a structured summary of the output to the developer, and wait for explicit confirmation before committing any file modifications or deleting resources.

Approvals:

- Committing file modifications to the repository
- Deleting resources or files
- Merging changes into the codebase

Source: BotBento use case https://botbento.com/usecases/testing-automated-scripts-in-an-isolated-shell/ (CC BY 4.0).
