Skip to content

Avoid stdin approval for runtime-only permission grants - #48073

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/989098bdc7fbf839786c01f11cbf02999bae1cc1
Sep 25, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/989098bdc7fbf839786c01f11cbf02999bae1cc1

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Avoid stdin approval for runtime-only permission grants

Why

Runtime filesystem grants, such as those used for plugin metrics, could trigger unnecessary approval for write_stdin and prevent input when sandbox approval was disabled.

What changed

Include retained runtime grants in the baseline permission comparison for stdin review. Continue requiring review for additional agent permissions, sandbox bypasses, and policy changes. Update the approval description to report current permissions when only runtime grants are present.

Testing

Extend unit coverage to ensure runtime grants do not require review or mask agent filesystem and network grants, and that sandbox bypasses still require review. Add local and remote plugin regression cases that send stdin and verify metric emission with sandbox approval disabled.

## Why

Runtime filesystem grants, such as those used for plugin metrics, could trigger unnecessary approval for `write_stdin` and prevent input when sandbox approval was disabled.

## What changed

Include retained runtime grants in the baseline permission comparison for stdin review. Continue requiring review for additional agent permissions, sandbox bypasses, and policy changes. Update the approval description to report current permissions when only runtime grants are present.

## Testing

Extend unit coverage to ensure runtime grants do not require review or mask agent filesystem and network grants, and that sandbox bypasses still require review. Add local and remote plugin regression cases that send stdin and verify metric emission with sandbox approval disabled.

GitOrigin-RevId: 989098bdc7fbf839786c01f11cbf02999bae1cc1
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/989098bdc7fbf839786c01f11cbf02999bae1cc1 branch from e80d457 to 6071312 Compare September 25, 2026 11:43
@copyberry
copyberry Bot merged commit 6071312 into main Sep 25, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/989098bdc7fbf839786c01f11cbf02999bae1cc1 branch September 25, 2026 11:43
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 25, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 60713126 Deployed Sep 25, 2026 by 5andr0 via Identify potential duplicates (open issues fallback) #48225
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants