From acd412780bc1bc9e574fa5a968ce04916c9c9bb4 Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 26 Aug 2026 19:47:18 +0000 Subject: [PATCH] fix(runner): use the built-in Codex workspace profile Codex requires custom permission names to have a matching permissions table. Use the documented built-in workspace profile for both thread creation and turn start. Co-Authored-By: Paperclip --- .../runner/crates/runner-core/src/codex_provider.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs b/packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs index 5da571d8e82..f0f219fdccd 100644 --- a/packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs +++ b/packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs @@ -229,7 +229,7 @@ impl CodexProvider { "cwd": config.cwd, "model": config.model, "approvalPolicy": config.approval_policy, - "permissions": "paperclip-runner-workspace-only", + "permissions": ":workspace", "runtimeWorkspaceRoots": [config.cwd], "baseInstructions": config.instructions, }); @@ -303,7 +303,7 @@ impl CodexProvider { json!({ "threadId": self.thread_id, "cwd": cwd, - "permissions": "paperclip-runner-workspace-only", + "permissions": ":workspace", "runtimeWorkspaceRoots": [cwd], "input": [{"type": "text", "text": message, "text_elements": []}], }),