OpenAI悄然为Codex的拉取请求推出 "Watch and fix"

生产环境的桌面应用可以指派 Codex 每10分钟持续检查一个 PR,修复 CI 失败和合并冲突,推送修复,并可选择持续直到拉取请求合并。

By · Published · Updated

RUNTIMEWIRE INVESTIGATION — Scoop

Original reporting by RuntimeWire, based on testing, documents.

为何重要

编码代理正在从一次性代码生成转向对交付的持续负责。Codex 的心跳机制瞄准成本高昂的“最后一公里”:在 CI 和基础分支持续变化时,保持 PR 处于绿色且可合并。

Reporting record

Finding

OpenAI’s latest production desktop build contains a new “Watch and fix” pull-request automation that attaches a 10-minute heartbeat to a Codex task, repeatedly checks the live PR state, fixes relevant CI failures and merge conflicts, pushes repairs, and can optionally continue until the pull request is merged.

How we verified

Methods: testing, documents.

RuntimeWire found user-facing settings titled “Watch and fix pull requests” in OpenAI desktop version 26.901.20858, build 7658, alongside controls for “Auto-merge when ready” and custom “Pull request watch instructions.”

The implementation creates an automation of type heartbeat named Auto-fix PR #<number>. When first activated, the child task is told: “Begin automatically fixing PR #<number>” and that a 10-minute heartbeat will continue checking the pull request until the task is complete or blocked.

The default automation instructions direct Codex to inspect the latest PR state with gh, including mergeability and current checks; repair failing checks caused by the PR; resolve merge conflicts with the base branch; use logs and CI annotations before editing; perform mutations inside an isolated git worktree; commit and push repairs to the PR branch; re-check live GitHub state rather than relying on earlier turns; and revisit pending checks on the next 10-minute heartbeat.

When the user enables automatic merging, the embedded instructions tell Codex to merge once required checks pass and the PR is mergeable. If merging fails, Codex is instructed to diagnose the failure, update the branch when needed, retry, and continue until the PR is merged or closed.

The previous production package RuntimeWire analyzed was version 26.820.60940, build 7119. Exact searches of that baseline for the new PR-watch configuration keys and related automatic-fix markers returned no matches.

Reproduction

Reproduction does not apply to this reporting (document-driven).

Company response

RuntimeWire requested comment; the company had not responded by publication time.

Glowing lines of code representing a pull request being automatically repaired by an intelligent, pulsing energy, fixing errors and merge conflicts in a dark, futuristic digital space.

OpenAI 已在其生产桌面应用中发布了一个“Watch and fix”模式,该模式为一个 pull request 指派一个持久的 Codex 任务,每 10 分钟唤醒一次,并指示其修复该分支,直到工作完成或被阻塞为止。

RuntimeWire 在 OpenAI 的生产桌面应用中发现了 Watch and fix,然后对已发布的包进行了逆向工程,追踪其 10 分钟心跳、修复循环和可选自动合并的工作方式。该功能出现在 OpenAI 桌面版 26.901.20858,build 7658,面向用户的控件包括 “Watch and fix pull requests”、“Auto-merge when ready” 和一个用于自定义 pull-request 监视说明的字段。OpenAI 似乎尚未公开宣布或记录该功能。…

When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.

Reader comments

Conversation for this story loads after sign-in.