Skip to content

Clarify folder trust prompts and add restricted widget support - #44732

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d913f5624ac7c24ff1a16c19b5889573ab2752e6
Sep 11, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Clarify folder trust prompts and add restricted widget support

What changed

  • Explain that folder settings can run code automatically and that the trust decision is saved. Label the actions “Trust and continue” and “Quit”, and show the Escape shortcut.
  • Add a restricted state to TrustDirectoryWidget with an “Open restricted” action and a disclosure of which project features remain disabled. Skip trust persistence for this state. Onboarding still initializes the widget with restricted: false.

Testing

Add a restricted-folder rendering snapshot and a test that accepting or cancelling the restricted widget does not persist trust. Update existing trust snapshots and the interactive startup safety test for the revised prompt.

## What changed

- Explain that folder settings can run code automatically and that the trust decision is saved. Label the actions “Trust and continue” and “Quit”, and show the Escape shortcut.
- Add a restricted state to `TrustDirectoryWidget` with an “Open restricted” action and a disclosure of which project features remain disabled. Skip trust persistence for this state. Onboarding still initializes the widget with `restricted: false`.

## Testing

Add a restricted-folder rendering snapshot and a test that accepting or cancelling the restricted widget does not persist trust. Update existing trust snapshots and the interactive startup safety test for the revised prompt.

GitOrigin-RevId: d913f5624ac7c24ff1a16c19b5889573ab2752e6
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d913f5624ac7c24ff1a16c19b5889573ab2752e6 branch from 11b4421 to 40b0409 Compare September 11, 2026 05:38
@copyberry
copyberry Bot merged commit 40b0409 into main Sep 11, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d913f5624ac7c24ff1a16c19b5889573ab2752e6 branch September 11, 2026 05:38
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 11, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 40b0409a Deployed Sep 11, 2026 by scosmiclia via Identify potential duplicates (all issues) #44595
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.