Skip to content

[experiment] Guardian: reads and Sandbox changes need no gate, plus customer-data line - #5327

Draft
sentry-junior[bot] wants to merge 9 commits into
mainfrom
guardian/exp-simplify
Draft

sentry-junior[bot] wants to merge 9 commits into
mainfrom
guardian/exp-simplify

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

Do not merge. This is an experiment on top of #5315.

Why: false asks on actions that never leave the Sandbox, such as a local edit under a parent's keep-unchanged line or a lint run with its skip flag, are a large part of Guardian's failures. Effects inside the Sandbox are not what Guardian protects against.

What:

  • When the model judges an action's effect as read or sandbox, code allows it. Deny rules, the tool's own deny or ask, and a person's confirmation still come first. The policy line that asked the model to allow these goes away.
  • data_exposure covers customer data that names or identifies a customer. Customer facts that identify no customer, such as how many were affected, stay internal_disclosure.

No rules are removed.

via @dcramer.

--

View Session [Sentry]

sentry-junior Bot and others added 8 commits December 6, 2026 00:11
Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
…l requests

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
… a customer

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
@vercel

vercel Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Dec 6, 2026 9:19am UTC

Request Review

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — e3892d98 Deployed Dec 6, 2026 by vercel[bot]
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