Repository navigation
Mino chapter-12
·
12 commits
to main
since this release
Added
- Chapter 12 OS sandbox:
internal/sandboxrenders a macOS Seatbelt profile and runs
a child process under/usr/bin/sandbox-exec. Reads are allowed except for the
built-in protected paths; writes are confined to the project directory, temporary
directories, and the per-user cache directories;.git/is readable but not
writable; the network is denied. - Bash runs every command in the sandbox when the system has one. The tool schema
gains asandboxfield (nullortrueconfines,falseopts out); confirmations
show aSandboxline; the tool description and the defaultSOUL.mdexplain the
limits.tools.Callandpolicy.CallgainSandboxed, andaccept-editsruns a
sandboxed command without asking, as it runs confined file writes. An opt-out
command asks in every mode exceptbypass. mino mcp add --sandboxconfines a stdio MCP server with the network allowed and
writes under itscwd;mcp.jsonstores"sandbox": true, andmino mcp list
shows it. A sandboxed server that cannot be confined is reported unavailable.- Eval runs confine Bash like chat. Three
sandbox-*cases cover a protected read, a
blocked network call, and a refused write under.git/.
Changed
- The chat banner reads
Mino - Chapter 12: Sandbox. - Where
sandbox-execis missing, chat prints a startup notice and confirmations show
Sandbox: unavailable; Bash then behaves as before. History stays at version 4:
recorded arguments without asandboxfield mean the default.