← 回到书房大厅Esc

FROM THE BOOKSHELF / A PAGE TO KEEP

AI 洞察
49 分钟

GitHub Pull Requests Are Dying. Long Live the Harness.

胡新宇

发布于 2026-08-30

GitHub just let maintainers disable Pull Requests for the first time in 21 years. OpenAI open-sourced Codex Harness. Tibo says he doesn't want to go back to watching 10 agents. The bottleneck was never compute — it was human attention.

GitHub Pull Requests Are Dying. They Died in Their Best Year.

On April 15, 2026, GitHub did something it had never done in twenty-one years: it let maintainers turn pull requests off on their open-source repositories.

Not disable issues. Not tweak permissions. The PR toggle itself — gone.

Latent Space gave the news a gravestone that day: "RIP Pull Requests (2005-2026)." No question mark. No "maybe." Just a tombstone (Source: Latent Space, 2026-04-15, https://www.latent.space/p/ainews-rip-pull-requests-2005-2026 ).

Four months later, OpenAI open-sourced the Codex Harness under Apache 2.0 — sandbox, tool calls, agent loop, approval flow — exposed via CLI, Python SDK, TypeScript SDK. Frontend developers can now build a code-collaboration system that never touches GitHub's PR pipeline (Source: OpenAI Developers, 2026-08-19, https://developers.openai.com/blog/codex-as-a-platform ).

Five days after that, Tibo — the OpenAI engineer who leads Codex — said this in a Matthew Berman interview:

"I was multitasking like 10 agents. I don't want to really go back to that."

Three events, four months apart. They line up whether you want them to or not.

flowchart TD
    Start([New code change]) --> Branch{Contributor type?}
    Branch -->|Human| HumanPath[Push branch to fork]
    Branch -->|Agent| AgentPath[Submit via Harness API]
    HumanPath --> H1[Open Pull Request]
    H1 --> H2[Wait for human reviewer]
    H2 --> H3{Reviewer approves?}
    H3 -->|Yes| H4[Merge to main]
    H3 -->|No| H5[Address feedback in commits]
    H5 --> H1
    AgentPath --> A1[Harness spawns sandbox]
    A1 --> A2[Agent runs tools + tests]
    A2 --> A3{Tests + lint pass?}
    A3 -->|No| A4[Auto-iterate or rollback]
    A4 --> A2
    A3 -->|Yes| A5{High-impact change?}
    A5 -->|No| A6[Auto-merge with trace]
    A5 -->|Yes| A7[Ping human for approval]
    A7 --> A8[Human approves diff + audit trail]
    A8 --> A6
    H4 --> End([Code in production])
    A6 --> End
    style HumanPath fill:#3d2c2c,stroke:#aa4444,color:#fff
    style AgentPath fill:#1a3d2c,stroke:#44aa66,color:#fff

PR Was Designed for Human Weaknesses

In 2005, the concept of a pull request first appeared on the git mailing list. GitHub productized it in 2008. No AI wrote code. No agent existed. No sandbox wrapped every execution. An open-source maintainer in those days faced another human — someone who would submit code at 2 a.m. and have no idea why they wrote it that way.

So PR solved one specific problem: how to let one human safely review another human's code.

The diff was for the eye. The comment thread was for discussion. The approve button was for trust. The whole logic rested on two assumptions: contributors make mistakes, and reviewers have the time, ability, and patience to read every line of every diff.

Both assumptions are breaking in 2026.

Start with the contributor. When the "contributor" is a model — one that runs its own tests in a sandbox, rolls itself back, and generates twenty candidate patches for you to pick from — do you still need to compress the change into a text file and fax it over for a human to inspect by hand?

Aaron Levie put it more bluntly: "Humans invented git for human collaboration reasons. Git-based workflows may not be suitable once we remove the human bottleneck."

Now the reviewer. Tibo described the new reality: ten to fifteen agents working in parallel, each taking thirty to forty-five minutes. The developer no longer writes code line by line. His job has become constantly switching attention between agents — checking one agent's state, deciding the next step for another. The bottleneck is not compute. It is human attention.

The PR workflow looks absurd in this context. You ask a person who no longer writes code to review ten diffs generated by ten different models? He cannot keep up, and he does not want to.

sequenceDiagram
    autonumber
    participant Dev as Developer
    participant IDE as IDE / CLI
    participant A1 as Agent 1
    participant A2 as Agent 2
    participant A3 as Agent 3
    participant AN as Agent N (10+)
    Dev->>IDE: Submit 10 tasks
    IDE->>A1: Task: refactor auth module
    IDE->>A2: Task: migrate DB schema
    IDE->>A3: Task: write integration tests
    IDE->>AN: Task: update API docs
    par Parallel execution 30-45 min
        A1->>A1: Generate diff + run tests
    and
        A2->>A2: Generate diff + sandbox
    and
        A3->>A3: Generate diff + check coverage
    and
        AN->>AN: Generate diff + lint
    end
    A1-->>IDE: diff ready, tests pass
    A2-->>IDE: waiting on permission
    A3-->>IDE: diff ready, needs review
    AN-->>IDE: blocked, asks to pivot
    Dev->>IDE: Switch context: review A1 diff
    Dev->>IDE: Switch context: answer A2 permission
    Dev->>IDE: Switch context: review A3 diff
    Dev->>IDE: Switch context: unblock AN
    rect rgb(80, 30, 30)
        Note over Dev: Tibo (Codex lead):<br/>"I don't want to go back to that."<br/>"Managing your attention."<br/>Next-gen product: system routes,<br/>human only at decision gates
    end

From "Review Code" to "Manage Attention"

Pete Steinberger and ThePrimeagen have been arguing for "Prompt Requests over Pull Requests" for a while. Their reasons: no merge conflicts, easier for a maintainer to fix the prompt than to read the code, harder for malicious code to sneak into an innocent-looking PR.

Mitchell Hashimoto and Amp Code built reputation-based systems for handling untrusted code contributions (Source: Latent Space citation, https://ampcode.com/ ).

These are not scattered complaints. They are independent hands reaching for the same consensus: the atomic unit of code review is shifting from diff to prompt.

You no longer ask "did this code get written correctly." You ask "did this agent's reasoning stay correct." The first question needs line-by-line reading. The second only needs the sandbox execution trace and the decision log.

When Codex Harness shipped open-source, the official capability list included: session and context management, tool calls, sandbox policy, streaming progress, failure handling, and — last on the list — approval requests before high-impact operations (Source: OpenAI Developers, "Codex as a Platform," 2026-08-19 ).

Notice the last item. "Approval request before high-impact operations." Not every change needs approval — only when the agent is about to touch sensitive resources, perform an irreversible action, or spend real money. Then the system pings you.

Tibo gave this idea a name: "manage your attention." The system handles orchestration. The human shows up only at the decision points.

This is the inverse of PR logic. PR defaults to human involvement on every merge decision, whether you want it or not. The new logic defaults to no human involvement, with exceptions that interrupt you.

The toolchain is moving from "let humans review every line of code" to "let models prove what they did."

The sandbox execution trace is the proof. The approval gate is the toll booth. It works like supermarket self-checkout: you do not station an employee watching every customer scan. The machine checks, and only flags exceptions.

Not Time for the Funeral Yet

To be fair, PR will not vanish tomorrow.

GitHub allowing PR to be disabled does not mean many repositories actually flipped the switch. We do not have that data — GitHub has not published it. The English-language conversation among Hashimoto, Steinberger, and Amp Code remains intense, but it still lives mostly in the heads of senior developers and agent-infrastructure builders.

Most enterprise code collaboration today still runs on PR. Your colleagues will not start submitting code via prompt just because OpenAI open-sourced a harness.

But the direction is clear.

PR will not die from a competitor's replacement. It will die from the collapse of its own premises. When "contributors are people" stops holding, and when "reviewers have time to read every diff" stops holding, PR turns from a collaboration tool into a tollbooth slowing the highway.

The fax machine did not disappear overnight either. In 1995 it was still office standard. In 2005 some people still used it. By 2015 you only saw it at Japanese government windows.

Pull Request will probably walk the same road. First it stops being the default. Then it becomes "for special cases." Then "oh, you remember PR?"

OpenAI has open-sourced the skeleton of the replacement. The remaining question is not "will this happen" — it is "when do you stop receiving code by fax."

timeline
    title The 21-year death of the Pull Request
    2005 : PR concept proposed on git mailing list
    2008 : GitHub productizes PR
    2026-04-15 : GitHub lets maintainers disable PR
    2026-08-19 : OpenAI open-sources Codex Harness (Apache 2.0)
    2026-08-24 : Tibo: "I don't want to go back to that"

Three things developers can do this week:

  1. If you maintain an agent-contributed repo: Pick one low-stakes submodule. Wire it to a harness. Let PR degrade into an approval gate. Do not flip the whole repo at once.
  2. If you build coding agents: Expose a standard approval gate for human reviewers. Do not force every user to reinvent this.
  3. If you still test candidates with PR review: Start testing their prompt-review ability. Reading diffs will be replaced by reading prompts, the same way checking a dictionary was replaced by search.

The remaining question: if Git itself does not survive the Agent era, what replaces git blame?

#Codex#OpenAI#AI Agent#AI工程#审批工作流