Skip to content

fix(tooling): accept completed automatic Codex reviews - #687

Merged
lastobelus merged 1 commit into
lastcode/mainfrom
lastcode/automatic-codex-review
Nov 10, 2026
Merged

lastobelus merged 1 commit into
lastcode/mainfrom
lastcode/automatic-codex-review

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Problem

lastcode-pr-gates ignored the structured summary comment that Codex posts automatically on a PR. A PR with a finished, clean automatic review therefore still looked unreviewed to the gate.

What changed

scripts/lastcode-pr-gates.ts now reads that summary as review evidence. It counts only when the author is the existing trusted Codex bot, code_review.status is completed, the commit is the full exact PR head SHA, and both findings flags are booleans.

Clean requires both flags to be false. If either is true, the summary is recorded as evidence but is not clean, so the findings keep blocking. Summaries feed the same aggregation as manual comments and reviews: a manual finding still blocks even when the automatic summary is clean. A newer manual request remains pending; summary edits cannot establish that it was answered. The existing handled marker clears automatic findings only when posted after the summary's latest edit.

There are no guidance or doc changes.

Testing

Carry-Group: build-ci

Local review: Terra xhigh and Opus 5.5 high, two parallel rounds; both approved the final code. Review fixes prevent old handled markers from clearing edited findings and unrelated summary edits from answering newer manual requests.

Implementation: GPT-6.1 Sol, Codex harness.

Recognize exact-head structured bot summaries while preserving manual review ordering and revision-scoped handling of findings.

Carry-Group: build-ci
@lastobelus
lastobelus force-pushed the lastcode/automatic-codex-review branch from 0891ee7 to 5b326f3 Compare November 10, 2026 00:47
@lastobelus
lastobelus marked this pull request as ready for review November 10, 2026 00:47
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T00:49:34.610082Z 5b326f3 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lastobelus
lastobelus merged commit ce535bd into lastcode/main Nov 10, 2026
20 checks passed
@lastobelus
lastobelus deleted the lastcode/automatic-codex-review branch November 10, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant