Skip to content

Fix note about sandbox excludedCommands - #189

Merged
umputun merged 1 commit into
umputun:masterfrom
plasticine:patch-1
May 12, 2026
Merged

umputun merged 1 commit into
umputun:masterfrom
plasticine:patch-1

Conversation

@plasticine

Copy link
Copy Markdown
Contributor

This key moved from permissions to sandbox at some point

This key moved from `permissions` to `sandbox` at some point
@plasticine
plasticine requested a review from umputun as a code owner May 12, 2026 21:38

@umputun umputun left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified against the current Claude Code docs, excludedCommands is under sandbox. LGTM, thx

@umputun
umputun merged commit 0efec6c into umputun:master May 12, 2026
umputun added a commit that referenced this pull request Oct 8, 2026
… settings key in docs (#378)

* docs: put the sandbox exclusion under the "sandbox" key

README, install.md and the site showed excludedCommands under "permissions",
which Claude Code does not read. #189 fixed the README and 8a4cfa8 reverted it.

* fix(launchers): deliver piped input to revdiff for --stdin

every backend starts the review from a terminal or server process, so revdiff
never inherited the launcher's stdin and rejected the pane's tty. The launcher
now spools its stdin to a file and redirects that file into the review.

* fix(launchers): create the --stdin spool private and cap its size

the spool was created through a plain redirect, so a piped diff was readable
by other users in a shared /tmp, and cat read to EOF before revdiff's 64 MiB
cap could run. It is now written under umask 077 through head -c, one byte past
the cap. The herdr preserved-pane case is recorded in docs/backlog.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants