Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Installed Windows package: OpenAI.Codex 26.1007.2314.0, read with Get-AppxPackage on 2026-10-13. This is the package version, not a value verified in the About dialog.
The separate PATH CLI reports codex-cli 0.162.1. I have not established that it is the executable behind this app's execution tool.
What subscription do you have?
Not collected for this report.
What platform is your computer?
Windows x64, OS version 10.0.26100.0; PowerShell 7.6.6. Local Windows workspace.
What issue are you seeing?
An explicitly authorized, scoped credential/API lookup was rejected through functions.exec → tools.exec_command. The recorded rejection supplied only:
blocked by policy
The local task record states that this happened before command execution. It records that neither credential retrieval nor an HTTP request ran.
The intended operation used Git Credential Manager to retrieve one existing HTTPS service-account credential in memory. It then verified the account with a Gitea identity GET and read existing pull-request metadata. The account has no administrator access. The proposed lookup did not publish, merge, deploy, delete, or change repository data.
The command captured credential-helper output without displaying it. It used fixed URLs on the authorized HTTPS host, refused redirects, and never wrote the token to another file.
The effective task instructions report sandbox_mode=danger-full-access and approval_policy=never. Those settings and user authorization are not asserted as overrides of another safety policy.
What steps can reproduce the bug?
This is an observed task failure, not a newly executed minimal reproduction. The following is a redacted description of the rejected command, not its literal source:
PowerShell 7
start git credential fill with hidden child-process settings
scope input to protocol=https, one Gitea host, and one approved service account
capture stdout/stderr in memory
create HttpClient with AllowAutoRedirect=false
GET https://gitea.example.invalid/api/v1/user
require the returned login to match the approved account
GET existing pull requests under the same HTTPS host
return repository metadata only
dispose the client and clear credential variables
The task record says that the operation was rejected with blocked by policy. Other source checks, local bookkeeping, and normal Git pushes succeeded in the same workflow.
I did not rerun the denied command to prepare this report. A bounded search did not recover its direct tool call/result pair. Its exact timestamp, call ID, wall time, and enforcing-layer metadata remain unconfirmed. The report therefore does not attribute this rejection to automatic approval review, Windows policy, or a specific command-classification bug.
What is the expected behavior?
If this credential/API operation is prohibited, provide a safe diagnostic that identifies the applicable restriction and supported resolution. If it is permitted, provide the supported narrowly scoped approval or execution path.
The app-server approval documentation describes approval requests and optional reasons. Which minimal diagnostic fields can identify a pre-execution denial when the execution tool returns only this generic message and the task cannot escalate approval?
Please clarify whether maintainers need a policy decision ID, a call ID, or another privacy-safe excerpt. I am not asking to disable or bypass protections.
Additional information
Similar opaque Windows rejection reports include #53512 and #43633. I have not established a shared root cause. This report adds a scoped credential-helper and read-only API case.
No credentials, private host/repository names, personal paths, application source, fixture data, session cookies, or raw conversation logs are attached.
Activity
github-actions commentedon Oct 13, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action