Repository navigation
Conversation
|
Codex review: found issues before merge. Reviewed August 2, 2026, 10:52 PM ET / August 3, 2026, 02:52 UTC. ClawSweeper reviewWhat this changesThe PR makes ordinary behind-base status non-blocking in review guidance, adds a seven-day maintainer-only base-freshness metric, and normalizes that metric in the review cache key. Merge readiness⛔ Blocked by patch quality or review findings - 7 items remain Keep this maintainer-authored PR open. The policy is explicitly adopted, but the draft is dirty and its runtime implementation targets the former monolithic entrypoint instead of current main’s decomposed review runtime. Priority: P1 Review scores
Verification
How this fits togetherClawSweeper hydrates GitHub pull-request state, derives a review context and cache identity, then gives Codex the context and publishes a maintainer-facing result. This PR changes how merge-base drift is classified and surfaced before review output is rendered. flowchart LR
A[GitHub pull request state] --> B[Review context hydration]
B --> C[Base drift assessment]
C --> D[Review cache identity]
C --> E[Codex review prompt]
D --> F[Reuse or fresh review]
E --> F
F --> G[Maintainer-facing result]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Port the adopted policy into the active context, source-revision, review-command, and presentation paths; retain rebase guidance only for real conflicts or demonstrated merge-result failures, then validate both branches against current main. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current Is this the best way to solve the issue? No, not as submitted: the policy direction is adopted, but its implementation belongs in current main’s decomposed review modules rather than the former entrypoint. A narrow port is the maintainable path. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fd51157a1080. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (24 earlier review cycles; latest 8 shown)
|
|
Maintainer decision (relayed from @steipete): policy adopted. Behind-only branches stop being a contributor blocker; rebase/resolve guidance is reserved for conflicts, unavailable merge trees, and concrete merge-result integration failures, with the non-blocking base-freshness note at 7+ days as proposed. Please move this out of draft and rebase onto current |
c0785de to
2f7f26c
Compare
|
Closing during maintainer cleanup: whether routine PR rebases should stop being required is a policy decision, and a draft PR is the wrong vehicle for it — the change would sit here unmergeable until someone rules, which is what has happened since June. If you want to pursue it, the fastest route is a short issue laying out the tradeoff (stale-branch review risk vs contributor friction) so the maintainers can decide; the implementation is small once the policy is settled. Thanks for the nudge on the friction — it is a real cost. 🦞 |
Summary
Motivation
High-throughput repositories can advance by thousands of commits per day. Commit-count drift alone therefore creates noisy, repeated contributor work without proving that a PR is unsafe to merge. This keeps contributor action tied to concrete integration evidence while retaining a simple signal for genuinely old branches.
Impact
Only PRs whose GitHub mergeable state is behind trigger the compare lookup. A stale result adds review context and a non-blocking metric for maintainers or merge automation; it does not lower the PR rating or add contributor next steps. Compare failures fail soft.
Validation
pnpm run checkpnpm run checkdid not complete because Codex runner tests reached the real Codex API and received 401 Unauthorized