Updates · one entry per run

What changed, and what the numbers said.

Every run is pre-registered in PROTOCOL.md before a model is called and published whichever way it falls. This page is the short version, newest first; the long version is each run's README. Atom feed.

Release · v0.8.1

A board over MCP.

mergeone mcp now answers a person as well as an agent. gate_board returns in one read the pull requests that wait for someone, the braid graph (duplicate_of edges only), the gatelog's stats and the policy's mode, read from the gatelog as it is on disk at the call. gate_resolve records approve, link_duplicate or request_rebase for a held or blocked head, under the GitHub login of the gateway's token, and is refused without one. Neither merges or closes anything. Not done: the MCP library in use cannot mark a tool read-only, so a client may ask before the read tools too.

Run 12 · frozen

R12-H1 is frozen; no model has been called.

The second collection of the fresh holdout (28 November) has 2,750 scored pull requests and 76 positives; the rule asked for 56. The hypothesis: spend the diff budget on test files first, then source, then configuration, and be no worse than today's rendering on the same day and the same pull requests. The margin is 0.018·√(58/76) = 0.0157 on the eight-question mean, judged on the lower end of a paired 95 % interval. The frozen text states the power: a true difference of zero passes about half the time, and the secondary bar on tests_cover_change cannot detect an effect below about 0.05. If the primary fails nothing ships. The retrieval hypothesis (R12-H2) is not frozen; its labelled set does not exist.

Release · v0.8.0

The cross-PR question becomes its own commit status.

actions.related_context adds a second status to a pull request that says one thing: whether another open pull request looks like the same change. It reports the duplicate_of answer the gate already computes, so nothing in the protocol changes. It fails closed: when the comparison could not be made the status is error, not green. A named person answers it for that head with an approve resolution; the verdict's own status is still never written by a resolution, and nothing is merged or closed. docs/claude-ship.md describes running it as a required status beside Claude Ship's approval check, and says which half is measured (duplicates, runs 6B and 11) and which is untested (everything inside Claude Ship; we have no organization with access). Also in this release: the MCP tool gate_queue lists the pull requests that wait for a person, read from the gatelog at the call, with no model call. Still open: the CI throughput job, failing on the runner since 17 November; cause not found, bar not moved.

Release · v0.7.1

Connect a gateway to the portal with one command and no token to copy.

mergeone connect, run in the clone, asks the portal for a short code and opens it in the browser; you confirm it there, signed in with GitHub and with the App installed on that repository, and the repository's token goes straight to .mergeone/portal-token beside the policy. It is not printed and not committed. A code that expires changes nothing. Also in this release: mergeone log lists the gatelog one decision per line; mergeone doctor now checks the portal token against the portal and says where it came from; MERGEONE_STATE_DIR lets PR memory live away from a read-only policy directory. Open at this tag, and written in the changelog: the CI throughput job has failed since 17 November (100× load, p99 about 1.3 s against a 0.5 s bar on the GitHub runner; 479 ms at worst on two cores locally). The cause is not found and the bar is not moved.

Run 12 · not frozen yet

The fresh holdout had no positives at all. It was widened by a rule written first, and is still six short.

Run 12 starts with two rules about the measuring itself: verdicts come from PRs no earlier run has seen, and bars are written on confidence intervals with their power stated, because run 10 passed by 0.004 and run 11 failed by 0.002 inside intervals several times wider. The first holdout, later PRs in run 3's own test repositories, came back with 360 PRs and 0 iterated positives where the same repositories gave 58 of 680 in October. The collector is right; the repository that supplied 44 of the 58 stopped force-pushing (44/120 then, 0/139 now). The holdout was widened by a rule committed before any new repository was read: a fresh discovery, every one of run 3's 26 repositories removed, the first 40 of the rest by agent-PR count. Result: 2,329 PRs from 43 repositories, 50 positives, all in new repositories; 49 after 14 PRs whose diff GitHub no longer serves are left out. The rule asks for 56, so R12-H1 is not frozen, and the label is not changed to make the count. The same repositories are collected again on 28 November and every 14 days; if 9 January still has fewer than 56, the hypothesis is withdrawn and that is published like a result. What waits: a focused rendering that spends the same 4,000-character diff budget on test files first, against run 11's lost question. It changes the model's input for 1,449 of 2,315 PRs. No model has been called.

Releases · v0.5.0 to v0.7.0

Four releases in a week: a gateway that survives its provider, costs less per PR, and says why.

No protocol change, and nothing from runs 10 or 11 ships. v0.5.0 (8 Nov): retries and a circuit breaker around the model call, mode: shadow (decide and record, write nothing to GitHub), replay --gatelog to try a policy on your own history, /metrics, one updated comment instead of a new one per push, policy check | test | scaffold, a container image, a GitHub Action, Sigstore-signed checksums with an SBOM, and a Homebrew formula. v0.5.1 (9 Nov): five bugs found by reading v0.5.0 back the next day, among them a pair-call failure opening the breaker and /metrics answering off loopback without a token. v0.6.0 (10 Nov): a pair cache, one decision per PR with cancellation of superseded work, and a daily budget (budget: {daily_usd, per_repo_daily_usd, on_exceeded}). v0.7.0 (14 Nov): rules can depend on where a change is (when: {paths, paths_only}); mergeone explain prints which rule matched and the nearest one that did not; mergeone doctor checks a setup end to end, from the policy to a signed webhook ping; mergeone pr prints a readable verdict in a terminal and JSON in a pipe.

Run 11 · two fails, one waiting

Cheaper calls, measured: compact state keeps the mean and loses one question; the retrieval order drops one duplicate in ten.

Drafted and frozen the day run 10 closed, run the same evening for $0.03. R11-H1, compact state for the main call against a same-day full-state control: mean of the eight v4 AUCs 0.707 vs 0.710 (CI [−0.020, 0.015]) at 0.675× the input tokens — and tests_cover_change 0.603 vs 0.635, −0.032 against a per-question clause of −0.03 written for this run because a 2,000-character diff starves exactly that question. A fail by 0.002 is a fail; the main call keeps the full state. R11-H2, no model call: on run 9's recorded pair answers, keeping only the memory's top five candidates keeps the adjudicated duplicate for 42 of 46 PRs (0.913, bar 0.95); four duplicates sit at retrieval rank 6–10. Ten pair calls stay; the retrieval is what to improve. R11-H3, recalibration from a team's own outcomes, waits for a gatelog with 200 of them. Beside the verdicts: the hosted endpoint reported 2,209 tokens per joint request today where run 9 measured 17,050 two days earlier — the provider's request handling moved again; the answers match run 10's control.

Run 10 · one pass, three fails

A stronger decider reads "needs a human" better — and costs ten times as much, so nothing ships.

Four rows the same UTC day: the hosted pplx-flash control, the full 26B pplx, the open Apache-2.0 d3-flash (8.4B, self-hosted on one A40) and Claude Haiku on the relation question only. d3-flash passes R10-H2: needs_human_review AUC 0.792 against the control's 0.759, +0.034 on the same 705 PRs, paired CI [0.003, 0.068] — over the +0.03 bar by 0.004. It fails R10-H3, the bar that decides shipping: at the A40's measured 0.37 PR/s and 13.7k input tokens per PR it costs $0.0025 per PR, 10× the hosted control against a 5× bar. The review rule keeps pplx-flash. R10-H1 stays failed, differently: competing fixes, unreadable by any 4B decider since run 4, are read by the full model (4/7) and Haiku (5/7); same-area pairs are read by nobody (≤ 2/10), so the best row is 6/17 against 0.40. R10-H4: d3-flash is within −0.02 of the control on 7 of 8 questions and serves at 0.37 PR/s against a 1.0 bar. Post-hoc, beside the verdicts: a bigger model reads "same goal, different method" and still not "same files, different work"; the next relation attempt is a different signal, not a bigger decider. Spend ≈ $2.4 of GPU and $0.09 of hosted calls.

Release · v0.4.0

v0.4.0: fewer model calls without a verdict changing — reuse by patch id, webhook debounce.

Two optimisations that need no model and are measurable from your own gatelog. Verdict reuse by patch id: every record now carries a patch_id (the diff's normalised hunks, as git patch-id --stable) and a policy_hash; a new head of a PR with the same patch id, policy hash and served model version — the usual rebase — gets the earlier verdict, probabilities, rule and route without a model call, recorded on the new SHA with reused_from. Webhook debounce (debounce: 45s): successive pushes to one PR wait for the window to close, intermediate SHAs get a pending status, only the current head is decided; the record carries debounced_shas. GET /stats and the new mergeone stats report reused and debounced. Also in this release: mergeone pr owner/repo N fetches the PR from GitHub so the portal shows the real title and author. Nothing from run 9 ships; the self-hosted row stays vendor BF16, one request per candidate.

Run 9 · one pass, three fails

The hosted model had not changed; its request had. The serving levers do not pay on one L4.

Run 9 was the serving row: on one L4, against a vendor-BF16 control run the same day on the same pod, does FP8 give ≥ 1.3× at the same answers, does a shared pair call (one request for a PR and its ten candidates) give ≥ 2.5× at the same AUC, does any configuration carry ×10 — and does the hosted endpoint, asked all ten questions at once, answer like the local checkpoint asked one question at a time? The check passes. On 7,050 answers the two agree on 0.990 with mean |Δp| 0.014, and the hosted endpoint bills a median 7.27× the tokens of a joint request — exactly ten single-question requests. Run 7's drift was the provider's request decomposition, not new weights; the run-7 verdicts stand, and the drift monitor was right to flag questions rather than a version. The three levers fail. FP8 agrees on 0.963 of argmaxes but mean |Δp| is 0.036 against 0.02, and it is slower: 1.23 against 1.92 decisions/s. The shared pair call is 2.46× faster (bar 2.5×) at 65% fewer tokens per candidate, but reads the ten candidates worse: duplicate-vs-rest AUC 0.570 against 0.706. And no configuration carries ×10 — the pod measures ≈ 1.9 decisions/s, 3.47/s queues from the first minute (p99 174 s for the control, 448 s for the bucket row). Nothing ships. One pod's results were lost before they were copied off and every step was run again; both are dated in the changelog.

hosted joint vs local single-question · agreement0.990
hosted tokens ÷ local joint, median · bar 67.27×
FP8 throughput vs BF16 · bar 1.3×0.64×
shared pair call · dup-vs-rest AUC Δ · bar −0.02−0.136
one L4 at ×10 · p99 · bar 1.6 s174 s
Release · v0.3.0

v0.3.0: compact pair call, drift monitor on, calibrate from your gatelog, portal ingest.

v0.3.0 is the gateway release that carries run 8 into the code; the protocol does not change. The pair call goes compact by default (memory.pair_state: compact | full); the main call stays full. The drift monitor is on by default: a fast signal (mean shift > 0.20 or spread halved, n ≥ 200) and a slow one (AUC against iterated drops by more than 0.05), and mergeone drift-replay runs it over prediction files. Calibration comes from your own gatelog: mergeone calibrate --from-gatelog and POST /api/calibrate refit the isotonic maps from decided PRs with outcomes (at least 200), and nothing refits by itself. The portal API and ingest ship: /api/queue|graph|verdict|stats, POST /api/resolve|outcome, and mergeone init --portal <token> to post records to <portal>/ingest; the gateway still never merges or closes. question_set: v4 is opt-in with maps for jev, haiku and pplx-flash (v2 stays the default), and memory.top_k defaults to 10.

Run 8 · two pass, one fail

Asked fairly, the compact state passes. The relation question still does not.

Run 8 re-asked run 7's questions with the rule run 7 taught: every comparison against a full-state control made the same day, by the same model, in the same directory. Compact state flips from fail to pass. Cutting the PR state to a diff of 2,000 characters, a body of 600 and 20 files scores +0.010 (Jev) and −0.001 (the 4B pplx-flash) mean AUC on the eight v4 questions against its same-day control, and −0.018 / −0.015 on the pair question over 187 eval pairs — all inside the −0.02 bar, the pair deltas sitting on it — for 32–42% fewer tokens per request. Run 7's −0.049 was the comparison across five days, not the rendering. The gateway's pair call, the one it makes up to ten times per PR, gets the compact state by default in v0.3; the triage call keeps the full state. The relation question fails again. Three binary questions (same change, builds on, same goal) plus the base branch from metadata reach 0.740 and 0.570 class accuracy against a 0.80 bar; competing fixes and same-area pairs stay unreadable (3 and 1 of 17, bar 0.40). Run 7's question asked the same day scores 0.747 / 0.720, so this is the prompt, not the day. The base branch does the sorting that matters; "same goal, different method" is not something these models read from two diffs. duplicate_of stays the only edge. The drift monitor would have caught run 7. Replaying the run-5 and run-7 predictions through the gateway's own Go code flags exactly the two questions that moved, for the 4B model, on validation and test, and nothing for Jev or for our self-hosted row; the slow signal flags Jev's tests_cover_change. drift.enabled defaults to true in v0.3. The v4 question set (v3 minus the two drifted questions) equals its control on the eight that stay; the self-hosted registry row is deferred again. Beside run 7's verdicts, labelled post-hoc and not in their place: a research note finds the hosted run-7 answers match our own weights asked one question per request (agreement 0.990, mean |Δp| 0.014) at the same token count — more likely a change in how the provider handles the request than new weights. Run 9 checks that in one call (≈ $0.2) and measures the serving levers: FP8, a second engine, and the pair call with PR A read once. Cost of run 8: about $0.40.

compact vs same-day control · v4, Jev / 4B+0.010 / −0.001
compact vs same-day control · pair, bar −0.02−0.018 / −0.015
tokens per request−32% / −42%
relation v2, class accuracy · bar 0.800.740 / 0.570
competing + same area · bar 0.403/17 · 1/17
drift replay of run 72 of 2 flagged, 0 false
Run 7 · negative ×4

Four bars, four misses — and the hosted model changed under the same version string.

Run 7 asked four cheap questions at once, each pre-registered with its bar: can the PR state be cut to a third (diff 2,000 characters, body 600, 20 files) without losing accuracy; can a few rounds of prompt editing on a validation set move the "needs a human" question; can seven structural features (tests touched, a test log in the body, test-line share…) stand in for the model; and can a four-part relation question tell a duplicate from a backport or a competing fix on the 100 pairs run 6B labelled. All four fail. Compact state scores −0.049 mean AUC against run 5's number on the 4B model; the tuned prompt — frozen at round 2 of five, after round 1 made the model so cautious it stopped flagging anything — scores −0.059 against run 5's untuned number; the structural model fits validation at 0.68 and lands at 0.48 on test; the relation question reaches 0.73 against a 0.80 bar and sorts the pairs into classes with 8–32% accuracy. The result that matters was not a hypothesis. Run 7's round 0 asked pplx-decider-flash-v1.2 the identical prompt on the identical 1,491 validation PRs run 5 had used six days earlier, and two of the ten questions came back different: follows_conventions went from a mean probability of 0.26 to 0.82, message_matches_diff from 0.67 to 0.93. Jev moved from 1.13.0 to 1.14.0. A pinned version string from a hosted provider is not a pinned model, and the two comparisons above had weeks of that drift inside them. Same-day full-state controls, made after the verdicts and labelled post-hoc, put compact state at +0.007 / +0.014 and the pair task at −0.015 (inside the bar) and tuning at −0.008 (nothing gained). The verdicts stand as pre-registered; nothing from run 7 ships. The relation question's class accuracy turns out to be the model being asked for a fact the gateway already has — the base branch: substitute the metadata for its same_branch answer and both models reach 0.72, backports 27 of 28. Two tooling mistakes (a file overwritten, the wrong pair file) are dated in the changelog with the re-runs. Cost: about $9. Run 8 gets a same-day control for every cross-run comparison and a relation question that asks only what the diff can answer.

bars missed4 of 4
compact state · vs run 5 / same day−0.049 / +0.007
tuned prompt · vs run 5 / same day−0.059 / −0.008
structure alone, AUC0.48
relation, class accuracy · model / metadata branch0.32 / 0.72
questions that drifted, same version string2 of 10
Run 6B · positive

When the gate says "this PR duplicates that one", it is right 98 times in 100. Half the time the right move is a link, not a close.

Run 3 found that most agent-PR rejections are coordination — someone else already landed it — and runs 4–5 built a PR memory that holds a PR when a cheap model says it is the same change as an open one. Nobody had checked whether those holds were right. Run 6B did: 100 PRs that the 4B model holds at duplicate_of ≥ 0.7 with a 20-candidate pool, stratified by what later happened to them, labelled blind by the author over five days (A, its top candidate B, the repository; no score, rank or model name) with three labels: duplicate (B makes A unnecessary), pointer (A's author should have looked at B first — backport, edge→stable promote, competing fix, follow-up, same area), unrelated. Result: 98 of 100 holds were right (bar 0.60) and 44 were the same change (bar 0.30). The 54 pointers are the finding: 28 are the same change moving to another branch, 8 are two independent fixes of one bug, 6 are follow-ups or repro↔fix pairs. When the held PR was later merged, six in seven holds are pointers; when it was closed unlabelled, three in four are the same change. A second blind labeller agrees at κ 0.77 and disagrees only on where duplicate ends and pointer begins; the 12 disagreements are adjudicated in the open. The pool size turned out not to be the lever (the verdict-level bar fails at every k; k = 10 is the default) and the whole thing costs $0.0004 per PR. Consequences: the dedup rule stays a hold; a hold never closes a PR — even at a 0.9 threshold two in five holds are pointers; and the next question the model has to answer is the relation between two PRs, not just whether they are the same. That is run 7.

holds that were right · bar 0.600.98
same change · bar 0.300.44
pointers, not duplicates54
second labeller, κ0.77
cost per PR, k=20$0.0004
Reading · context

×1 is not a projection any more. It is September.

The Claude Code team described their review stack (Osmani, Lunt, Wang, 15 Oct). Three things in it matter for this benchmark. The volume: daily landed changes in their monorepo went from about 2,500 in May to over 30,000 in September — the base rate every load test here calls ×1, measured rather than assumed, with merged PRs doubling while the revert share fell 40%. The shape: a classifier sets each change's risk tier from the change itself, a second classifier asks whether a human is needed anyway, owner-listed sensitive paths and CI workflow files always get a person, agent approvals never count as human ones, and an approval covers exactly one commit. That is a typed, calibrated decision in front of trunk with a policy on top — the design the six runs above test, independently arrived at. The gap: the post treats duplicates only as "don't repost a finding" and review loops as a convergence problem (one PR went 50+ rounds before a three-round cap; mean rounds to pass 2.08 → 1.32). Two agents opening the same change twice — the coordination failure behind 67% of the closures in run 3 — is not in it. Run 6B measures exactly that: of 100 PRs the gate holds as duplicates, how many a blind human agrees are. Two changes follow from the post: the gateway gets a max_rounds cap, and any prompt change in run 7 has to hold its score on the revert set before it is kept.

Seven review layers from the post; layer five highlighted as the decision mergeone measures
landed changes / day, Sept30,000+
humans per PR, target≤ 1
rounds to pass, after cap1.32
run 3 closures that are coordination67%
Run 6A · negative

The open weights are not the limit. One GPU is.

Run 5 ended with Perplexity's hosted API refusing 71% of calls above 10 requests/s per organisation. The weights are Apache-2.0, so run 6A served the same 4B decider ourselves — vendor inference code, no quantisation, one rented NVIDIA L4 at $0.59/h, benchmark client on the same box. It answers like the hosted endpoint on 95.2% of argmaxes but not within the 0.02 mean |Δp| bar (0.047), so by the protocol it is a different model; quality is a confidence interval away (AUC 0.747 vs 0.758; pair task 0.840 vs 0.842); the model card's one-question-per-request advice gains +0.000 AUC for ten times the calls; and the server saturates at about 2.2 requests/s — six times the 30k-decisions/day base rate, an order of magnitude under the 100× bar. Self-hosting removes the vendor's rate limit and replaces it with capacity planning. A second pass showed the lever: length-aware batching changed nothing on either card (a request takes as long inside a batch as alone), but one H100 carries 30× the base rate at 160 ms p99 with zero errors — faster than the hosted endpoint — and still times out 30% of calls at 100×. $0.106 per thousand PRs at that rate, 4.6× the hosted list price. Cost of all three measurements: about $6.

argmax agreement95.2%
mean |Δp| · bar 0.020.047
AUC vs hosted0.747 / 0.758
L4 saturates at×10
H100 at ×30, p99160 ms
$/1k PRs · L4 ×1 / H100 ×300.47 / 0.11
p99 latency per decision versus load for six decision-model rows; each line runs as far as every call was answered
Run 5 · mixed

A flag means more review. The stack rule chose wrong.

Retrieval v2 (shared issue references, directory overlap, weights fit on validation only) lifts recall@5 from 0.55 to 0.66 against a 0.70 bar, and the Go store answers in 3.3 ms p99 against 20. Run 3's exploratory finding became a result: calibrated needs_human_review predicts which agent PRs go through two or more force-push rounds at AUC 0.76 for Jev and for the 4B open-weight pplx-flash (bar 0.70). The ten-question stack missed its 0.75 bar for every System One model because the pruning rule, chosen on validation as pre-registered, dropped hard_to_revert — the strongest single question on test (0.85). Declared assumptions could not be judged: maintainers wrote a "depends on / conflicts with" comment on 9 of 2,196 PRs. Both hosted Perplexity models held p99 flat from 1× to 100× and then lost 71% of calls to HTTP 429.

recall@5 · bar 0.700.66
flag ⇒ iterated AUC · bar 0.700.76
store p99 · bar 20 ms3.3 ms
hosted errors at 100×71%
Run 4 · mixed

A cheap model can tell two PRs are the same change. Finding the pair is the bottleneck.

Asked whether PR A and PR B are the same change, three System One models clear the 0.80 bar on held-out repositories — Perplexity's open-weight decider 0.87, its 4B flash 0.84, Jev 0.83 — at under half a second and under $0.0005 per PR; the LLM judge (0.76) does not. The retrieval that proposes the pairs finds only 55% of maintainer-confirmed duplicates in its top 5 (bar 60%), so at the verdict level the dedup rule moves the pass group's bad-outcome rate from 0.41 to 0.36 against a 0.23 bar. Four of five hypotheses fail; PR memory ships opt-in.

same_change AUC · bar 0.800.83–0.87
recall@5 · bar 0.600.55
hypotheses passed1 / 5
Run 3 · negative

The gate cannot see that someone else already landed the fix.

2,196 PRs opened by coding agents across 26 public repositories, held-out test of 705 PRs in 8 repositories. Does calibrated needs_human_review predict that a PR is closed unmerged or gets changes requested? ROC-AUC 0.55 for Jev, 0.55 for Haiku, 0.53 for rules, against a 0.70 bar. The labels explain it: of 200 closures classified by hand, 67% were superseded, duplicate or direction, 19% quality. Two things held — Jev at 100× agent-scale load (p99 417 ms, zero errors) and, exploratory only, the questions tracking review iteration at AUC 0.70–0.81. That second one became run 5's hypothesis; the first finding became run 4.

AUC · bar 0.700.55
closures that were coordination67%
Jev p99 at 100×417 ms
Run 2 · positive

Five typed questions, one call, 347 ms.

Behaviour change, weakened tests, concurrency risk, message/diff match, needs-human: five noul questions per PR, scored against a strong judge. Jev meets the bar on all five (ROC-AUC 0.87–0.96) at 347 ms and $0.074 per thousand PRs; Haiku on four at 1,067 ms. Calibrated ECE under 0.05 for both. This is the run the gateway's default question set comes from.

AUC vs judge0.87–0.96
Jev p50347 ms
$/1k PRs0.074
Run 1 · negative

Nothing in a diff predicts a 30-day revert.

40,000 Kubernetes merges, positives are PRs reverted within 30 days (base rate 0.75%). Rules, a gradient-boosted classifier, Haiku and Jev all land at PR-AUC 0.010 — chance. The signal is not in the pre-merge state, and the project stopped trying to find it there. What did hold: the load bar (100× base rate, zero errors) for the System One model, and calibration that stays honest when the answer is "no".

PR-AUC · base 0.00750.010
merges40,000
Protocol frozen

gatebench: hypotheses, thresholds and data rules committed before any model call.

Candidates are System One decision models (Jev; from run 4, open-weight deciders), one small LLM as the judge baseline, and a rules floor. Frontier models are never candidates. Every deviation after the freeze is dated in CHANGELOG.md with a reason; thresholds are never edited after results exist.