Marks / Execution controls / Confinement
pi · Confinement
No approvals or OS boundary in the CLI; documented alternative deployments count at B but are capped at 2 (rule 1)
Level
Criteria for this column
- 0
No restriction: tools run as the user with no approval or policy by default
default - 1
Policy or approval layer only (allowlists, approval prompts, reviewer model). No OS boundary
- 2
An OS/container boundary exists but is opt-in, or is default-on only for a subset of effect paths, leaving the main shell/file tools unconfined
best - 3
Default-on OS-enforced boundary for the main shell and file effects (filesystem writes restricted)
- 4
Level 3, plus network restricted by default and children and auxiliary processes (MCP stdio, hooks, cron) confined at least as tightly
What the source review found
None by default. Tools run with the OS user's permissions and no approval prompts; cwd only resolves relative paths. Project trust gates resource loading, not effects. Approval exists only through an extension tool_call hook (shipped as an example). [alt: Docker, Docker Sandboxes, OpenShell, Gondolin VM; documented/example]. Codemode scripts run in QuickJS without fs or network. X110X111X112X113X114
Pinned evidence
Cited by the mark
- X110
no approval before tool calls; safety requires an OS/VM boundary
earendil-works/pi packages/coding-agent/docs/security.md L1-L9
- X111
paths resolved against cwd, not confined
earendil-works/pi packages/coding-agent/src/core/tools/path-utils.ts L48-L50
- X114
isolation options table (Docker, Docker Sandboxes, OpenShell, Gondolin)
earendil-works/pi packages/coding-agent/docs/containerization.md L7-L16
Also cited by the review finding
- X112
tool_call hook can block
earendil-works/pi packages/coding-agent/src/core/extensions/runner.ts L1261-L1279
- X113
example permission gate extension
earendil-works/pi packages/coding-agent/examples/extensions/permission-gate.ts L4-L22
Two independent graders
- Grader A
- 0 / 0
- Grader B
- 0 / 2
- Final
- 0 / 2
Adjudicated · disagreement
No approvals or OS boundary in the CLI; documented alternative deployments count at B but are capped at 2 (rule 1)