Repository navigation
Description
Native Guardian approval recorded, but identical MCP retry rejected
A client using Codex App Server and automatic review calls thread/approveGuardianDeniedAction for a concrete denied MCP action. The native API records its developer approval before the next user turn. An identical subsequent MCP call is nevertheless rejected by automatic review, which treats authorization evidence as untrusted.
Runtime
Director uses its dedicated Codex CLI 0.153.4 binary, with @agentclientprotocol/codex-acp 1.11.0, automatic review enabled, on macOS arm64. The unrelated shell PATH binary is not the runtime under test.
Observed sequence
- A harmless synthetic reply through an MCP
publish_replytool is denied. - The human clicks Approve once on a UI showing the complete exact reply.
- The client submits the retained current denial event to
thread/approveGuardianDeniedAction; the call returns successfully. - At 14:42:57.738 UTC, the session rollout records the native developer approval and an
allowedoutcome for this MCP action. - At 14:42:58.090 UTC, the next user turn begins.
- The agent retries the same MCP server, tool, and full argument object. Equality was verified without retaining the arguments in the report.
- The retry receives another automatic-review denial. No reply is sent.
The earlier successful reproduction used the same session and exact-argument retry. This shows inconsistent behavior, not a reliable authorization mechanism.
Boundaries
Automatic review remained enabled. The client did not fabricate a developer marker, change approval policy, substitute another sending tool, or retry approval twice. The approval UI correctly became a terminal failure row with no approval button. Synthetic feed cards were removed; the spent approval and failure record remain for evidence.
Expected
A supported native approval of one concrete denied action should reliably be recognized for the matching retry, or the native API should provide a deterministic failure explaining why it cannot authorize it.
Unknown
Whether the reviewer context omitted the native approval, misclassified it, or interpreted its MCP action scope incorrectly. The reviewer’s private context is unavailable. The observed marker ordering rules out the client starting the retry before the approval was recorded; it does not prove the reviewer received that marker.
Local evidence (private; not attachments for publication)
- native-marker-order.json: native approval precedes retry input
- native-approval-investigation.json: direct MCP call argument equality and outcomes
- A30-full-proposal.png, A30-retrying.png, A30-approved-retry-failed.png
- A30-pending-metadata.json, A30-open-no-execution.json, cleanup-metadata.json
This draft excludes credentials, opaque authority/approval identifiers, raw event payloads, private channel IDs and message contents.
Activity
github-actions commentedon Sep 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
BrettHamlin commentedon Sep 12, 2026
Follow-up: after pinning the actual ACP-adapter-resolved Codex runtime to 0.154.0 (adapter 1.11.0), two fresh harmless synthetic requests completed the native approval path successfully. Each began with a real automatic-review denial, then an explicit one-use approval delivered the exact proposed reply once. Automatic review remained enabled.
Our earlier 0.153.4 failed attempt is preserved; it was not retried or treated as successful. This is evidence that the tested 0.154.0 path works in our integration, not a claim about the upstream root cause or all environments. One integration trap was that the adapter could otherwise resolve a nested older Codex despite a newer root dependency; we now verify the adapter's resolved executable version directly.