Skip to content

Windows: opaque policy rejection blocks SHA-256-verified duplicate extraction cleanup #56344

Open

Description

@jmoyers79-cpu

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 Stop for 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

  1. The user requested consolidation and explicitly authorized removal of verified redundant files.
  2. Read-only inventory/content verification produced the candidate manifest and excluded differing evidence.
  3. The bounded removal command was rejected as above.
  4. The user reaffirmed permission and suggested smaller batches; the blocked extracted-copy operation was not retried.
  5. 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

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

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 23, 2026
  2. jmoyers79-cpu commented on Oct 24, 2026

    @jmoyers79-cpu
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions