Skip to content

Deterministic CI gates: catch harness and script mistakes before review (umbrella) #2216

Backlog

Description

@jflowers

I want CI to catch more of what our reviewers catch today. A lot of agents PRs wait on a person or the review agent to spot things a script could check every time: a harness field with the wrong type, a preflight_check that is a path instead of a command, an env var a script reads that the harness never supplies. When CI catches those, the author fixes them before anyone reviews, and review time goes to the judgment calls.

My guess is this raises our merge rate and shortens time to merge. I have not shown that yet. Here is the baseline for agents PRs opened 2026-09-01 to 2026-11-29:

  • 372 opened: 247 merged, 62 closed without merge, 63 still open.
  • 80% of the PRs that reached a decision merged. Median time to merge was 10.9 hours.
  • PRs by people: 78% merged, median 27.6 hours. PRs by bots: 81% merged, median 5.1 hours.

What is in scope?

CI gates in this repo that give the same answer for the same input, and warn or block on a PR.

What is related but out of scope?

Deterministic steps inside the agents themselves. Same idea, different place: the agent calls a script instead of working a procedure out from prose each run.

How does a gate roll out?

  • Advisory first: it reports on the PR and does not block.
  • Required once main is clean and false alarms are rare.
  • Every gate gets a fixture test, so it cannot pass silently.

How will we know it worked?

I don't have a target yet. Once the first two gates are in, I'll measure the same numbers again and post them here.

Did I miss an issue, or put one in the wrong bucket?

Activity

  1. fullsend-ai-triage commented on Nov 30, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 4:43 PM UTC · Completed 4:45 PM UTC

    Commit: d33dcfa · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.27

  2. added
    question
    on Nov 30, 2026
  3. fullsend-ai-triage commented on Nov 30, 2026

    @fullsend-ai-triage

    This reads as a tracking issue rather than a defect, so here is an answer to your closing question. It comes from checking the listed items and searching open issues and PRs.

    Possibly missing from the in-scope list (deterministic gates that run on a PR, same input gives same answer):

    Possibly in the wrong bucket:

    Status check on what is listed (as of today):

    If this is the answer you needed, you can close this out or fold the additions into the umbrella lists. If you want any of the additions turned into a concrete work item (for example, advisory-first gate for #983), say so and this can be converted into a feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions