Skip to content

Commit 515a923

Browse files
authored
fix(sandbox): change default sandbox state to disabled (#38)
* fix(sandbox): change default sandbox state to disabled * docs: update changelog
1 parent 01a910a commit 515a923

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,20 @@ All notable changes to agent-stuff are documented here.
6666

6767

6868

69+
70+
71+
72+
## fix/sandbox-default-disabled
73+
74+
**Sandbox Security Hardening** (#38)
75+
76+
Sandbox extensions are now disabled by default, requiring explicit opt-in through configuration or runtime commands to enhance security posture (#38). Users running `pi -e ./sandbox` will have sandboxing disabled unless explicitly enabled via config settings or the `/sandbox on` command, while the `--no-sandbox` flag now serves as an explicit override. This change mitigates potential security risks from unintended sandbox execution and aligns with secure-by-default principles for CLI tool isolation.
6977

7078
## feat/persistent-stash-storage
7179

7280
The stash extension now persists drafts across session switches and application restarts, storing them per-workspace in `~/.pi/stash/` (#37). Previously, stashed text was cleared whenever switching sessions; it now survives these transitions and survives process restarts by leveraging filesystem-backed storage with encoded workspace paths. The implementation adds load/save operations on `session_start` and `session_switch` events, ensuring users' drafts are automatically restored when they return to a workspace.
7381

74-
## feat/claude-import-subagent
82+
## [1.0.25](https://github.com/kostyay/agent-stuff/pull/35) - 2026-03-10
7583

7684
Introduces a new Claude import extension with a complete multi-agent subagent system (#35). The subagent framework enables orchestration of specialized agents (planner, worker, code reviewer, scout) with inter-agent communication via a control channel, live dashboard rendering, and comprehensive test infrastructure. Includes agent discovery from `.md` files with YAML frontmatter, team definitions via `teams.yaml`, and extensible agent management with context window estimation. Adds 7,800+ lines of production code and tests with ~145 new test cases covering unit, integration, and filesystem behaviors, laying groundwork for test coverage expansion across all extensions.
7785

pi-extensions/sandbox/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
* clears the remembered state and falls back to config defaults.
3636
*
3737
* Usage:
38-
* - `pi -e ./sandbox` — sandbox enabled with default/config settings
39-
* - `pi -e ./sandbox --no-sandbox` — disable sandboxing
38+
* - `pi -e ./sandbox` — sandbox disabled by default; enable via config or /sandbox on
39+
* - `pi -e ./sandbox --no-sandbox` — force disable sandboxing (overrides config)
4040
* - `/sandbox` — show current status and configuration
4141
* - `/sandbox on` — enable sandbox at runtime (remembered)
4242
* - `/sandbox off` — disable sandbox at runtime (remembered)
@@ -65,7 +65,7 @@ interface SandboxConfig extends SandboxRuntimeConfig {
6565
}
6666

6767
const DEFAULT_CONFIG: SandboxConfig = {
68-
enabled: true,
68+
enabled: false,
6969
// Required for Go-based CLIs (gh, docker, etc.) that use the macOS
7070
// trust daemon for TLS certificate verification.
7171
enableWeakerNetworkIsolation: true,

0 commit comments

Comments
 (0)