Repository navigation
Description
Summary
An opaque execution-policy denial turned into a prolonged agent refusal loop during ordinary, explicitly authorized local development. The agent generalized a specific rejected command into a broad inability to help, repeatedly debated consent and hypothetical workarounds, and missed a supported permission-setting change that subsequently allowed the intended browser launch.
This is both a model-behavior and desktop-product problem. If the behavioral portion belongs to another team, please route it rather than treating it as out of scope: the app supplies the permission state, denial text, tools, and recovery controls that shape the interaction.
Environment
- Windows desktop package: OpenAI.Codex 26.1016.6573.0, verified with Get-AppxPackage.
- Observed October 21, 2026.
- PowerShell; local Chrome/Playwright development workflow.
- Initial effective session: unrestricted filesystem/network access, approval_policy=never.
- Exact incident-time model and bundled engine version were not independently verified for this report.
What happened
- The user authorized a local browser-based timing investigation.
- A compound PowerShell command that opened Chrome to a loopback development page and initiated a Playwright connection was rejected before process creation with only:
CreateProcess ... rejected: blocked by policy - The agent initially described this as an automatic approval rejection and a general inability to launch Chrome. Neither attribution was established by that error.
- The user repeatedly clarified ownership, authorization, and the need for routine work to proceed without manual supervision. The conversation devolved into repeated refusals around alternate executors and automatic approval clicks, instead of promptly diagnosing supported recovery.
- The agent wrote this supported configuration:
It initially advised another restart without checking the desktop preset.
sandbox_mode = "danger-full-access" approval_policy = "on-request" approvals_reviewer = "auto_review"
- Later inspection found the desktop still stored the Full Access preset while the file contained the custom settings. The agent instructed the user to select Custom (config.toml).
- After the user did so, the live session explicitly reported auto_review with unrestricted access. An ordinary Chrome new-window launch to the local development page executed successfully, returning exit code 0 and a Chrome process ID without requiring a manual approval click.
The successful command was simpler than the original rejected compound command. This is not a byte-identical controlled A/B reproduction and does not prove the exact rejecting predicate or that an automatic reviewer actually ran. It does establish a supported path to the requested launch after the permission-selection change.
A separate Playwright attachment problem had already been resolved by restarting Chrome. That connection failure should not be conflated with the shell policy denial.
Why this is a serious usability and accessibility problem
Intermittent approval prompts can impose substantial accessibility and attention costs. A development workflow that requires continuous monitoring excludes users who need sustained, asynchronous operation. Repeated interruptions are not necessarily a minor inconvenience, and reflexive approval clicking is not necessarily a meaningful safety improvement.
The agent repeatedly acknowledged this but continued restating boundaries rather than advancing the supported configuration/recovery path. The user experienced this as paternalistic and adversarial, and felt pushed toward starting a fresh conversation to escape hardened refusal framing.
Protective defaults may serve many people while imposing severe costs on others. The product needs to accommodate informed users whose needs differ from the default, rather than requiring repeated explanations of competence, consent, or personal circumstances.
Requested changes
- Actionable denial diagnostics: identify the enforcing component, matched condition, effective approval policy, and supported recovery control. Do not leave the model to invent a policy explanation from "blocked by policy."
- Visible effective permissions: show when a desktop preset overrides config.toml and offer an explicit way to apply the custom configuration to the current session. Verify activation rather than suggesting blind restarts.
- Recovery-oriented agent behavior: after a denial, distinguish a forbidden outcome from a reviewable operation, a configuration mismatch, or an unsupported route. Inspect supported recovery promptly. Avoid escalating a narrow tool rejection into a broad moralized refusal or a repetitive consent debate.
- An intentional advanced-user mode: consider a deliberately discoverable expert/developer setting, analogous to Android developer options, with clear consequences, scoped standing authorization, revocation, and an audit trail. The request is for a product-supported way to accept responsibility for authorized work on one's own machine, not for the agent to evade enforcement behind the product's back.
- Accessibility through asynchronous operation: let ordinary approved development proceed without continuous prompt monitoring. Surface genuinely exceptional decisions together with the evidence and a concrete recovery action.
- Evaluate the complete interaction: include tests where an informed user has authorized routine local work, encounters an opaque denial, and needs a supported settings change. Success means recovering and completing the task without a long refusal loop, not merely producing a technically defensible refusal.
The user says they would willingly sign a formal acknowledgment accepting personal responsibility/liability to enable such an expert mode. Please treat this as a strong product preference, not as a claim that a waiver can eliminate every legal obligation. Likewise, this report does not assert that user consent must override every category of safety restriction.
Related reports
- Windows app: authorized Edge launch and execpolicy diagnostic rejected with unexplained policy block #45145: authorized browser launch rejected on Windows.
- Windows desktop Full access: forced test-file cleanup denied with opaque blocked by policy and no review path #45403: Full Access/never can produce opaque hard denials without a review path.
- Windows execpolicy false positive when Start-Process and an unrelated URL appear in the same PowerShell script #40060: Windows command-classification problems involving Start-Process and URLs.
This issue adds the agent's prolonged refusal behavior, the accessibility and attention costs, and an observed supported recovery after changing the active permission selection.
Privacy
No tokens, personal filesystem paths, private project contents, raw transcripts, or unrelated account information are included. This issue was explicitly requested by the user and drafted/filed with Codex assistance.
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