Skip to content

Do not ask the operator to approve a path the sandbox will reject - #908

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-7635-do-not-ask-the-operator-to-approve-a-path-the-sandbox-will
Sep 11, 2026
Merged

Do not ask the operator to approve a path the sandbox will reject#908
TheGreatAxios merged 2 commits into
mainfrom
cl-7635-do-not-ask-the-operator-to-approve-a-path-the-sandbox-will

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Interactive non-yolo outside-workspace path calls now fail closed before approval, preventing a dead approval overlay for calls path-escape will reject. Yolo / skip-permissions still allows outside-workspace path tools.

Verification: focused gate regression 2 pass; posix plugin suite 15 pass; lint + build pass. Full-check gaps are environmental (vendor semver typecheck and git-fixture timeouts). Independent critic verdict: ready, no blockers.

Fixes CL-7635

@linear-code

linear-code Bot commented Sep 11, 2026

Copy link
Copy Markdown

CL-7635

@TheGreatAxios TheGreatAxios changed the title CL-7635: Do not ask the operator to approve a path the sandbox will reject Do not ask the operator to approve a path the sandbox will reject Sep 11, 2026
Accept on an outside path still failed in the sandbox, so the overlay
was dead. Deny at the gate instead; yolo still allows.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7635-do-not-ask-the-operator-to-approve-a-path-the-sandbox-will branch from 7c4e37b to 389ce25 Compare September 11, 2026 05:19

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Looks good to merge after rebase. Interactive non-yolo escaped path-arg tools deny in decide() after the skipPermissions early-return and before any approval ask, matching path-escape at execution. Yolo still allows. authorizeCall/evaluate deny with asked === 0; shell outside-path ask path left intact. CHANGELOG keeps main bullets plus the authorize-time deny note.

@TheGreatAxios
TheGreatAxios merged commit 91fe7d4 into main Sep 11, 2026
9 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-7635-do-not-ask-the-operator-to-approve-a-path-the-sandbox-will branch September 11, 2026 05:22
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.

1 participant