# test\(server\): reproduce Codex permissions profile loss after a Full access round trip \(\#20266\) · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/f650044b2ab1436be24a137f2f59cef65413e589)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: f650044b2ab1436be24a137f2f59cef65413e589

Requested commit: f650044b2ab1436be24a137f2f59cef65413e589

Commit: f650044b2ab1436be24a137f2f59cef65413e589

Tree: 7e9227d13134003818b948fa35647f433991025d

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(server): reproduce Codex permissions profile loss after a Full access round trip (#20266)

These tests reproduce #20266: when thread/start reports a user-defined
activePermissionProfile, Auto turns must select it with `permissions`
instead of a legacy sandboxPolicy, so Auto -> Full access -> Auto keeps the
profile's .env deny entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [ed3f965e0768f9a77729a17c5145a90ff3ab6210](https://git.cafe/pingdotgg/t3code/commit/ed3f965e0768f9a77729a17c5145a90ff3ab6210?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/f650044b2ab1436be24a137f2f59cef65413e589?format=markdown)
