Repository navigation
Description
カスタム権限の画面表示と実行時指定の不一致
状態: 調査済み・未復旧・GitHub #45586へ報告済み・未復旧。2026-09-15。
送信用本文
ChatGPT desktop app の Codex で、カスタム権限プロファイルの表示と実行時指定が一致しません。アプリは 26.908.40834 / build 8881、macOS 26.3.1 arm64 です。
カスタムプロファイルを既定に設定し、標準の :workspace を継承したうえで、作業ディレクトリ外の出力先を追加workspace rootおよびwrite対象として登録しています。ユーザーは対象タスクの画面表示が作成時からカスタムプロファイルのままであると確認しています。しかし対象タスクの実行環境には、その追加出力先のwriteが現れません。同一プロジェクトの別タスクでは追加writeが宣言されています。
アプリの標準診断ログを権限関連の値だけに限定して確認した結果:
| 記録 | requestPermissionProfile | requestSandboxPolicyType | useAppServerPermissionDefault |
|---|---|---|---|
| create_thread で作成した対象タスクの初回 turn/start 準備 | :workspace | null | false |
| 同じ対象タスクへの後続ユーザーメッセージ | null | null | true |
| 別の既存対象タスクへのタスク間メッセージ | null | workspaceWrite(writableRoots 2件) | false |
初回記録は2026-09-15 01:20:02.265 UTCの「Reasoning summary turn-start config resolved」です。その後のturn/start応答のerrorCodeはnullでした。これは要求準備の証拠であり、実効プロファイル名を含むサーバー応答の証拠ではありません。null/default=trueだけで権限喪失とは判断していません。
既存の通常実行の保存済みエラー記録には、追加出力先での追記・lock取得のPermissionErrorがあります。一方で作業ディレクトリ内の別出力は保存されており、全ファイル書込が不可能という事象ではありません。別途の入力検証エラー・データ品質保留はこの権限問題と区別しています。
実装側へ確認・修正を依頼したい箇所
- create_thread の同一CWDでの親権限継承と、新規作成の既定プロファイル解決。画面のカスタム選択に対して、初回要求が :workspace になった入力・分岐を特定してください。
- タスク間メッセージ・heartbeatが、名前付きプロファイルをlegacy sandboxPolicyへ変換して追加ルートやdeny規則を失わないか確認してください。
- 保存された選択、要求に送るプロファイル、実効filesystem規則の三者を正規の手段で照合・再同期する復旧手順、または修正版を案内してください。
配布アプリの静的読取では、heartbeatの ds→ps→Ss 経路が approvalPolicy/approvalsReviewer/sandboxPolicy を渡す一方、名前付き permissions と runtimeWorkspaceRoots を同様には渡していない候補が見つかりました。実際の分岐・sandboxPolicyに解決済みルートが入っている可能性・サーバー側補正は未確認で、原因確定ではありません。
また、別システムの管理対象PreToolUse hookにPython構文エラーが見つかりました。このhookはapply_patch/Edit/Write対象であり、追加ルート欠落やシェル経由のPermissionErrorとの因果関係は未確認です。権限継承の問題と分けて扱ってください。
修正後の確認条件
- 同じ対象タスクで、画面・実行時プロファイル・必要出力先writeの一致を確認する。
- 既存のdeny規則を維持する。
- 後続メッセージと既存の通常予定回でも適用が維持されることを確認する。
- 実効権限の確認と、通常処理の保存成功を分けて記録する。
全権限開放、管理hook無効化、タスクDBの直接変更、過去の通常処理の再実行は求めていません。ユーザーの設定し直し・繰り返し承認を未実施の必須条件として扱わず、実装側の指定と適用の不一致を調べてください。
この資料の扱い
この資料は送信用の抜粋です。個人名、ローカル絶対パス、タスクID、価格・口座情報、資格情報、会話全文、ログ全文、設定全文は含みません。生ログや会話全体の共有は別に選択する操作です。
送信入口: アプリの入力欄で / を入力し、フィードバックを選択します。
公式案内: https://learn.chatgpt.com/docs/reference/troubleshooting
送信後の受付IDと、案内された復旧手順または修正版が次の入力です。この資料作成だけでは修復は進行しておらず、復旧時刻も未定です。
Activity
[-]# カスタム権限の画面表示と実行時指定の不一致[/-][+]# Mismatch between displayed custom permissions and runtime settings[/+]github-actions commentedon Sep 15, 2026
English translation:
Mismatch between displayed custom permissions and runtime settings
Status: Investigated; not restored; not yet sent to OpenAI. 2026-09-15.
Text for submission
In Codex in the ChatGPT desktop app, the displayed custom permission profile does not match the runtime settings. The app version is 26.908.40834 / build 8881, running on macOS 26.3.1 arm64.
A custom profile is set as the default, inheriting the standard :workspace profile, with an output destination outside the working directory registered as an additional workspace root and write target. The user has confirmed that the task in question has displayed the custom profile since its creation. However, write access to that additional output destination does not appear in the task's execution environment. Another task in the same project has the additional write access declared.
Reviewing only permission-related values in the app's standard diagnostic logs showed the following:
The initial record is “Reasoning summary turn-start config resolved” at 2026-09-15 01:20:02.265 UTC. The errorCode in the subsequent turn/start response was null. This is evidence of request preparation, not evidence from a server response containing the effective profile name. I am not concluding that permissions were lost based solely on null/default=true.
Saved error records from existing regular executions include PermissionError when appending to files and acquiring locks at the additional output destination. Meanwhile, other output within the working directory was saved, so this is not a case where all file writes are impossible. Separate input validation errors and data quality holds are being distinguished from this permission issue.
Areas I would like the implementation team to investigate and fix
Static inspection of the distributed app identified a potential issue in the heartbeat ds→ps→Ss path: it passes approvalPolicy/approvalsReviewer/sandboxPolicy, but does not similarly pass named permissions and runtimeWorkspaceRoots. The actual branch taken, the possibility that sandboxPolicy contains resolved roots, and server-side corrections have not been verified, so this is not a confirmed cause.
A Python syntax error was also found in a managed PreToolUse hook in a separate system. This hook targets apply_patch/Edit/Write, and its causal relationship to the missing additional roots or PermissionError through the shell has not been verified. Please treat it separately from the permission inheritance issue.
Verification criteria after the fix
I am not requesting unrestricted permissions, disabling managed hooks, directly modifying the task DB, or rerunning past regular processing. Please investigate the mismatch between the settings specified and applied by the implementation, without treating user reconfiguration or repeated approvals as mandatory prerequisites that have not yet been completed.
Handling of this material
This material is an excerpt for submission. It does not contain personal names, local absolute paths, task IDs, pricing or account information, credentials, full conversations, full logs, or full settings. Sharing raw logs or the entire conversation is a separate opt-in action.
Submission entry point: Type
/in the app's input field and select feedback.Official guidance: https://learn.chatgpt.com/docs/reference/troubleshooting
The next inputs are the receipt ID after submission and the recovery procedure or fixed version provided. Preparing this material alone has not advanced the repair, and the restoration time remains undetermined.
github-actions commentedon Sep 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action