Repository navigation
Description
Summary
A minimal credential-free terminal input test succeeds before a scoped network grant, but a fresh identical terminal fails at write_stdin after request_permissions grants network access. The app starts the process successfully, yet its required follow-up input has no usable approval path. The user could not locate the suggested permission control. A read-only inspection of the installed frontend shows that projectless chats can default to granular rather than auto. The exact reason that the user could not locate a usable control is not established.
Verified environment
- Windows app package: OpenAI.Codex_26.1016.6573.0_x64
- Running executable: ChatGPT.exe within that package
- Codex CLI used by the local app: 0.163.0-alpha.11
- Windows 10 Pro 22H2, build 19045.6456
- Local windows.sandbox: unelevated
- Effective conversation approval policy: granular; sandbox_approval=false, rules=false, skill_approval=false, request_permissions=true, mcp_elicitations=true
- Local persisted host agent mode and config-derived mode: granular
- Persisted composer-permission-mode-visibility: false. Important clarification from read-only installed frontend inspection: this value feeds showFullAccessInComposer and does NOT establish that the whole permissions selector is hidden.
- This is a local projectless chat with a writable workspace. No managed-organization root cause has been established.
Minimal reproduction observed on 2026-10-21
- Start this program with exec_command, tty=true, yield_time_ms=1000:
process.stdin.setEncoding("utf8");
process.stdin.once("data", () => {
console.log("DIAGNOSTIC_INPUT_RECEIVED");
process.exit(0);
});
setTimeout(() => process.exit(2), 60000);
console.log("DIAGNOSTIC_READY");- Send ordinary text plus a newline through write_stdin. Observed result: DIAGNOSTIC_INPUT_RECEIVED, exit 0.
- Call request_permissions with permissions.network.enabled=true. Observed response grants network access with scope=turn and strict_auto_review=true.
- Start a fresh process with the exact same program and options. It prints DIAGNOSTIC_READY.
- Send the same ordinary diagnostic text through write_stdin.
- Observed result, before delivery:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
The program does not use the network, Git, customer data, credentials, or external side effects. This before/after result narrows the problem to scoped permission/terminal-continuation handling; the exact internal defect is not yet confirmed.
Product impact
The documented Sites workflow requires a temporary source credential to be supplied through hidden stdin. That workflow is blocked at the same boundary, even after explicit user authorization and scoped network/filesystem grants. No site update has been claimed or published. We did not put credentials in arguments or files, disable protections, or alter client access.
Additional local frontend evidence
Read-only inspection of the installed packaged frontend found a projectless default selection equivalent to:
function defaultMode({isProjectless, requirements}) {
return isProjectless && isAllowed("granular", requirements) ? "granular" : "auto";
}The persisted local host mode is granular, consistent with that default. This is evidence of how the mode may be selected, not proof of which internal layer mishandles terminal continuation. No app state, config, package files, or security policy was modified.
Expected behavior
A terminal launched under an approved scope should have a consistent safe input-continuation path. If another approval is required, provide an available, scoped approval prompt and identify the missing category. Do not instruct the user to use a control that is hidden/unavailable.
Suggested improvements
- Reconcile scoped network grants with write_stdin authorization for processes launched under that grant.
- Expose effective permissions, permission origins, selector availability, and a supported recovery action to both the user and the assistant.
- Distinguish a disabled approval category from a rejected action and from an OS subprocess error.
- Add a credential-free terminal-continuation preflight to the Sites helper before requesting repository credentials.
- Keep source-repository credential authorization distinct from application/end-user access-code rotation.
- Make troubleshooting guidance surface-specific when the permission selector is hidden.
- Provide an explicit escalation/report action when the required approval category cannot surface.
Related reports
- Windows: “Ask for approval” selected, but write_stdin blocked by sandbox_approval=false #53134 (Windows / Sites write_stdin)
- macOS desktop: Sites source sync blocked by granular sandbox approval after scoped network grant #53601 (macOS before/after scoped network grant)
- Windows: “Ask for approval” selected, but runtime disables sandbox approval requests #50738 (UI/runtime permission mismatch)
This report is intentionally sanitized: no tokens, account identifiers, customer content, site identifiers, personal filesystem paths, or full session logs. The user explicitly requested feedback to OpenAI.
Activity
github-actions commentedon Oct 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
[-]Windows: scoped network grant blocks credential-free write_stdin continuation while permission selector is hidden[/-][+]Windows: scoped network grant blocks credential-free write_stdin continuation in a projectless granular session[/+]qwixilver commentedon Oct 22, 2026
Additional reproduction on Windows in the Codex desktop app, October 22, 2026:
The official Sites publication helper starts successfully and displays its hidden-stdin readiness message. Supplying its required input through
write_stdinis rejected before delivery:The problem persists after an app update, restart, and selecting Ask for approval. For the latest retry, the user also placed these settings at the top level of their user config and restarted the app:
The entire TOML file parses successfully, the three values are correctly located before the first table heading, and there are no duplicate declarations of those keys. Scoped network access and write permission to the prepared source repository's
.gitdirectory were granted before starting a fresh helper. Its required stdin continuation was still rejected with the same error.The source of the effective restriction is unconfirmed. We have not reproduced the issue in the standalone CLI. No source push, saved Site version, or deployment succeeded in this retry.
Expected: an available approval path for the supported helper workflow, or an explanation identifying the policy source and a supported recovery action. Please advise how to resolve this while retaining the workspace sandbox and manual approvals.
This comment omits credentials, account and Site identifiers, personal filesystem paths, and full session logs.