Skip to content

docs(codex): deny verified against a live runtime, not only its parser - #320

Merged
blitzcrieg1 merged 3 commits into
masterfrom
docs/codex-deny-verified-live
Oct 22, 2026
Merged

blitzcrieg1 merged 3 commits into
masterfrom
docs/codex-deny-verified-live

Conversation

@blitzcrieg1

Copy link
Copy Markdown
Owner

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)

  • Control: codex exec -s workspace-write, asked to run echo agentmetry-control > control-probe.txt in log mode. Hooks ran (SessionStart, PreToolUse, PostToolUse, Stop all Completed) and the file was created.
  • Deny: the same, with AGENTMETRY_TOOL_POLICY_MODE=block and a one-rule policy (deny_probe_live_test, matching only the probe string) set only in that Codex process's environment, asked to run echo agentmetry-deny-probe > deny-probe.txt.
    • Codex: Command blocked by PreToolUse hook: tool_policy:deny_probe_live_test, hook: PreToolUse Blocked
    • The file was never created.
    • Trail: tool_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

blitzcrieg1 and others added 2 commits October 22, 2026 22:27
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]>
@blitzcrieg1
blitzcrieg1 merged commit efc91c0 into master Oct 22, 2026
11 checks passed
@blitzcrieg1
blitzcrieg1 deleted the docs/codex-deny-verified-live branch October 22, 2026 19:40
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant