Repository navigation
Closed
Description
What happens
After a push, Codex Comments (and so Required) fails on a PR where Codex found nothing. It stays failed until someone comments @codex security review (or @codex review) and reruns the job. Examples: #7722 head 3bea37c033 (pushed 16:39Z, receipt only after a manual request at 16:58Z) and #7721 head cae39ff73b (pushed 16:41Z, receipt after 16:56Z).
Cause
- Codex posts a security receipt only for comment-triggered runs. In 🤖 tests: editAfterEmptyFailedReply resends after a stop-in-progress refusal #7659, 🤖 refactor: split sendTreeMessage, part 5: request, route and endpoint gates #7713, 🤖 tests: cover prepareTaskReservation paths before the split #7717, 🤖 fix: a parent's waiting message no longer unarchives a child the user archived #7721, 🤖 fix: a creation-draft delete retry deletes only the record it knew #7722, 🤖 refactor: split prepareTaskReservation, part 2: parent gates, placement, agentId and bestOf #7724 and 🤖 ci: Codex Comments accepts null security flags only beside a clean receipt for the head #7729, every security receipt follows an
@codex reviewcomment (receipt headed "Automatically triggered") or an@codex security reviewcomment. No run triggered by "PR opened" or "New commits" posted one. Examples: 🤖 fix: a creation-draft delete retry deletes only the record it knew #7722 PR opened 13:10Z and push 16:39Z (none), 🤖 ci: Codex Comments accepts null security flags only beside a clean receipt for the head #7729 PR opened 14:56Z (none), 🤖 tests: editAfterEmptyFailedReply resends after a stop-in-progress refusal #7659 PR opened 2026-10-27 01:05Z (none). - Since about 2026-10-29, the board's review state records a finished security review with null flags (🤖 ci: Codex Comments gate fails closed when a Codex review completes with null finding flags #7727). Earlier boards had false flags (🤖 tests: editAfterEmptyFailedReply resends after a stop-in-progress refusal #7659 board 6431143463, 🤖 refactor: split sendTreeMessage, part 5: request, route and endpoint gates #7713 board 6482870861), so a push run used to pass without a receipt.
- 🤖 ci: Codex Comments accepts null security flags only beside a clean receipt for the head #7729 accepts null flags only beside a clean receipt for the head. So a push-only head blocks.
- The CI job runs on
pull_requestevents only, so a receipt that lands later does not rerun it. Its--wait-for-review 900does not cover this state either: completed + null + no receipt exits 1 at once, not 10 (in progress).
The gate does read the board correctly when Codex edits it in place. Each PR has one board, the gate fetches its current body, and it requires the board's commit to be the current head. For example, #7722's board 6497578419 was created 13:10Z and last edited 17:00:44Z for 3bea37c033.
Options (not decided)
- The gate accepts completed + null security flags when the code review for the head is clean, with no receipt.
- Agent readiness scripts post
@codex security reviewonce per head when they see this state, and the CI gate treats "completed + null + no receipt" as pending within its wait budget. - The CI job posts
@codex security reviewitself once per head. - Leave the gate as is and document: after each push, comment
@codex review.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $258.06
Metadata
Metadata
Assignees
Labels
No labels
Activity
🤖 ci: Codex Comments waits for a missing security receipt, and the wa…
🤖 docs: explain Codex security receipts and round cost in the pull-re…