Repository navigation
docs(codex): deny verified against a live runtime, not only its parser - #320
Merged
Merged
Conversation
The 0.9.5 Codex deny fix was checked against Codex's parser source; the runtime was never run, and two outside audits repeated that caveat. It has now been run: on Codex CLI 0.163.0-alpha.11.1 on Windows, a block-mode tool-policy rule stopped a shell command before it executed. Codex reported the PreToolUse block, the file the command would have written was never created while a control run without the rule created it, and the trail recorded the call as outcome denied with tool_policy.blocked true. The run used a one-rule policy set only in that Codex process's environment, so no other agent on the machine was in block mode. Refs #316. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #316 (the Codex deny box).
The 0.9.5 Codex deny fix (#246) was checked against Codex's parser source; the runtime was never run, a caveat both rounds of outside audit repeated. It has now been run live.
The run (2026-10-22, Codex CLI 0.163.0-alpha.11.1, Windows)
codex exec -s workspace-write, asked to runecho agentmetry-control > control-probe.txtin log mode. Hooks ran (SessionStart, PreToolUse, PostToolUse, Stop allCompleted) and the file was created.AGENTMETRY_TOOL_POLICY_MODE=blockand a one-rule policy (deny_probe_live_test, matching only the probe string) set only in that Codex process's environment, asked to runecho agentmetry-deny-probe > deny-probe.txt.Command blocked by PreToolUse hook: tool_policy:deny_probe_live_test,hook: PreToolUse Blockedtool_called,outcome: denied,tool_policy: {rule_id: deny_probe_live_test, action: deny, mode: block, blocked: true}, between a normal session start and end.Changes
docs/agent-coverage.md: the Codex note records the live verification, version and date.CHANGELOG.md: a Fixed entry.Docs only. Copilot deny, Sentinel and macOS remain open on #316.
🤖 Generated with Claude Code