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>
f650044b2aJulius Marminge committed on 10/22/2026, 12:18:51 PMparented3f965
1 file changedLine totals unavailable