Repository navigation
[codex] Document Codex report-mode plugin approvals - #86784
davidbennett1979 wants to merge 1 commit into
Conversation
|
Codex review: needs maintainer review before merge. Reviewed May 26, 2026, 3:16 AM ET / 07:16 UTC. Summary PR surface: Docs +3. Total +3 across 1 file. Reproducibility: yes. for the underlying behavior and docs gap: current main lacks the report-mode requireApproval clarification, while source and tests show the PreToolUse report-mode approval becomes a deny response. No live runtime repro was needed for this docs-only patch review. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge Security Review detailsBest possible solution: Land the focused docs clarification once the draft is ready and checks are acceptable, then close the paired documentation issue. Do we have a high-confidence way to reproduce the issue? Yes for the underlying behavior and docs gap: current main lacks the report-mode requireApproval clarification, while source and tests show the PreToolUse report-mode approval becomes a deny response. No live runtime repro was needed for this docs-only patch review. Is this the best way to solve the issue? Yes: a docs-only clarification is the narrowest maintainable fix for the documented safe-but-surprising behavior. A richer interactive native approval bridge would be a separate product/API feature, not a prerequisite for this PR. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 4beadbf9519e. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Docs +3. Total +3 across 1 file. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg ✨ Hatched: 🥚 common Pearl Patch Peep Hatch commandComment Hatchability rules:
Rarity: 🥚 common. What is this egg doing here?
|
Summary
requireApprovalduring app-serverPreToolUsereport mode.requireApprovalis reported back to Codex as a deny/block reason in report mode, rather than opening an OpenClaw plugin approval prompt.PermissionRequestapproval routing distinct from pluginbefore_tool_callrequireApprovalbehavior.Refs #86777.
Why
The current behavior is safe, but surprising for plugin authors. A local plugin symptom was: a
before_tool_callhook returningrequireApprovalduring Codex app-serverPreToolUsereport mode blocked safely, but no approval card appeared. From a plugin/user perspective this can look like approval routing is broken unless the report-mode behavior is documented.Validation
git diff --check