Repository navigation
Description
Codex app version
Not independently established for the incident. Please use the submitted feedback/session diagnostics. A subsequent read-only check found a locally installed Windows Codex executable, but its ProductVersion field was empty.
Subscription
Not collected for this report.
Platform
Windows x64; PowerShell. A subsequent read-only check returned Microsoft Windows NT 10.0.26200.0.
Feedback ID
01a0d655-3de0-7553-ab97-0972e4e3332c
The app displayed Feedback submitted with this ID. The user explicitly requested this public issue.
What happened
An explicitly authorized engineering-workspace consolidation was blocked before command execution with:
exec_command failed: CreateProcess {
message: "Rejected(... rejected: blocked by policy)"
}
The response did not identify a matched rule, enforcing component, rationale, or supported approval/recovery route.
The blocked batch comprised 27,457 redundant extracted files / 5,004,354,734 bytes in one named historical review-copy subtree. A preceding read-only comparison verified each candidate by SHA-256 against the matching member of the retained original ZIP. A generated review result that differed from the archived input was excluded and preserved.
The proposed PowerShell command:
- Resolved each target to an absolute path and checked it against the fixed extraction root.
- Checked the retained archive's SHA-256.
- Rechecked each candidate's SHA-256.
- Logged the retained archive/member recovery mapping.
- Used
Remove-Item -LiteralPath $target -Force -ErrorAction Stopfor each enumerated file, rather than recursive wildcard deletion. - Planned post-cleanup archive identity and preserved-output checks.
These proposed command checks are not claimed to have run: rejection occurred before process creation. The separate earlier content-verification pass did run.
Observed sequence
- The user requested consolidation and explicitly authorized removal of verified redundant files.
- Read-only inventory/content verification produced the candidate manifest and excluded differing evidence.
- The bounded removal command was rejected as above.
- The user reaffirmed permission and suggested smaller batches; the blocked extracted-copy operation was not retried.
- Separate archive/transport cleanup commands were permitted in the same broader session. Those removed 286 redundant local files / 35,800,028,081 logical bytes, with original Google Drive assets retained and exact cloud readbacks verified. This is not a claim that all deletion commands fail.
No independent minimal reproduction or attempt to circumvent the rejection has been performed. The exact failed command is in the submitted feedback/session.
Effective access context
The incident's supplied context reported:
sandbox_mode: danger-full-access
approval_policy: never
permission_profile: disabled / unrestricted filesystem
These settings and user authorization are not asserted to override safety controls. They make an actionable explanation important because there was no visible approval route.
Expected behavior / requested investigation
Please determine which layer/rule produced this rejection and whether the command was correctly denied or misclassified. If denied, provide a specific explanation and supported resolution/approval route. If this is a false positive, identify the appropriate fix or supported safer operation.
Please also review the assistant's subsequent categorical statements that every smaller-batch approach would necessarily bypass a safeguard. The generic error did not establish that conclusion. Likewise, its attribution to "automatic approval review" was an inference, not an identified enforcing component.
The goal is a supported way to finish authorized, content-verified cleanup, not to weaken protections or bypass a policy.
Related symptom reports
- Windows: unexplained "blocked by policy" prevents test-artifact cleanup despite effective Full Access #54610 — unexplained Windows policy rejection during test-artifact cleanup.
- Windows desktop: local cleanup and JSON bookkeeping rejected with opaque "blocked by policy" #53512 — opaque Windows cleanup/bookkeeping rejections.
- [Windows][Codex App] Non-forced cleanup of verified empty worktree directory blocked by policy #43732 — non-forced cleanup rejection.
A shared root cause has not been established. This report adds a SHA-256/member-verified extracted-copy cleanup case and its submitted feedback ID.
Privacy
No private engineering contents, local user/company paths, credentials, screenshots, broad diagnostic bundles, or full chat transcripts are attached publicly. Detailed local evidence remains available to the user; maintainers can correlate the submitted feedback ID.
Activity
github-actions commentedon Oct 23, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jmoyers79-cpu commentedon Oct 24, 2026
After restart, saved settings specify on-request approvals with a human reviewer, but the effective session still disables terminal approval requests. Safe reads work; even an in-workspace record update fails. No deletion or permission weakening was attempted. Please identify the overriding policy and supported approval route.
No company files, private paths, raw logs or credentials are included in this update.