Skip to content

Commit 97aa7c3

Browse files
Document Codex report-mode plugin approvals
1 parent a3cd90f commit 97aa7c3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎docs/tools/acp-agents.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ Quick `/acp` flow from chat:
173173
For Codex-native tool events, OpenClaw injects a per-turn native
174174
hook relay so plugin hooks can block `before_tool_call`, observe
175175
`after_tool_call`, and route Codex `PermissionRequest` events
176-
through OpenClaw approvals. Codex `Stop` hooks are relayed to
176+
through OpenClaw approvals. Hook-level plugin `requireApproval`
177+
results are reported back to Codex app-server `PreToolUse` as a
178+
deny/block reason in report mode; they do not open an OpenClaw
179+
plugin approval prompt. Codex `Stop` hooks are relayed to
177180
OpenClaw `before_agent_finalize`, where plugins can request one more
178181
model pass before Codex finalizes its answer. The relay remains
179182
deliberately conservative: it does not mutate Codex-native tool

0 commit comments

Comments
 (0)