aegis_run
Run shell commands in an isolated sandbox copy of your project, blocking home directory, credential and network access by default. Returns exit code, output, changed files and blocked operations for review.
Instructions
Run a shell command inside the Aegis sandbox on a fresh copy of the project. The command cannot read the home directory or credentials, cannot write outside the copy and has no network unless the profile allows it. Returns exit code, output, changed files and blocked operations. Changes stay in the copy until aegis_apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command, e.g. 'npm test' or 'python script.py'. | |
| profile | No | Aegis profile name from .aegis/profiles (default: 'default', the strict base: no home dir, no credentials, no network). | |
| project | No | Absolute path of the project directory (default: server's cwd). | |
| timeout | No | Seconds (default 600). | |
| allow_hosts | No | Extra hosts this run may reach (e.g. ['registry.npmjs.org']). |