You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aead515
Browse filesBrowse the repository at this point in the historyBrowse files
-**Single-file sandbox policy.** The sandbox policy now lives in exactly one file, `.3code/sandbox` in the project directory; the old two-level cascade (`~/.config/3code/sandbox` then the repo file) is gone. When the project file is missing at launch it is created from `~/.3code/sandbox`, which itself is created from the built-in default when missing, so the sandbox is still always on and you can now customize what every new project starts with by editing the home file. One implicit rule is appended after every rule in the file: the policy file itself is read-only, so the agent cannot widen its own sandbox by editing the policy (the `is under a writable rule` warning this replaces is gone).
83
+
-**Single-file sandbox policy.** The old two-level cascade is gone: exactly one policy file is active at a time, the repo `.sandboxrc` when it exists, else the user file `~/.config/3code/sandboxrc`. The user file is created from the built-in default on first run, so the sandbox stays always on and you can change what every project without its own `.sandboxrc` gets by editing that one file. The first `:sandbox allow|readonly|deny` in a project materializes `.sandboxrc` by copying your user file, so project rules start from your baseline.
84
84
-**Patient retry.** Retryable API failures (429 usage limits, 5xx, network errors) now keep retrying on one shared exponential backoff capped at 2048s, for up to ~64 attempts (~36h), instead of surfacing after a short probe. A long-running session rides out a provider's rolling usage window or a network dropout (the train ride) without dropping back to the prompt. The underlying error message and attempt counter keep scrolling by as transcript lines so you can see what is being waited out. `:retry on|off` toggles it (default on; `off` keeps the ~1-minute initial ramp-up so transient blips still self-heal); persisted in `[settings]` as `patient_retry`. Ctrl-C cancels a running hold at any time.
85
85
86
86
**0.6.0** - filesystem sandbox backed by nimbox, folded into the `box` subcommand
Copy file name to clipboardExpand all lines: config.example
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ current = "baseten.glm5"
20
20
; exa-key = "..."
21
21
; brave-key = "..."
22
22
; notify = off ; turn off the desktop notification that fires when a turn ends (on by default)
23
-
; sandbox = off ; disable filesystem sandbox enforcement (on by default: .3code/sandbox policy)
23
+
; sandbox = off ; disable filesystem sandbox enforcement (on by default: .sandboxrc in the project, else ~/.config/3code/sandboxrc)
24
24
; patient_retry = off ; disable patient retry of 429/5xx/network errors (on by default: ~36h hold so a long-running session rides out a usage limit or network dropout without dropping to the prompt)
25
25
; sandbox_wall_warn = off ; silence the Windows "wall not set up" warning (host rules in policy, no `3code wall setup-windows` yet)
26
26
; bash_path = "C:\\tools\\msys64\\usr\\bin\\bash.exe" ; Windows only: override bash detection
0 commit comments