VibeCommit MCP catches 94% of the rewritten commits git can't see
In a pre-registered ablation on 8 constructed repos, with our MCP server’s read verbs available, Claude Code stated the counterpart of a rewritten commit in 30 of 32 fresh-clone tasks in each direction. With git alone and a matched nudge it managed 1 of 32 and 0 of 32, and the gap is close to true by construction. In teammate clones, where git could see the rewrite, both setups scored 32 of 32, a ceiling.
By Alexander Cohan, Ph.D., Founder of VibeCommit
TL;DR
Amend, rebase or squash a commit and its sha changes, breaking links filed only under the old sha. We build an MCP server serving an agent’s past conversations; we pre-registered a test of whether its read verbs help Claude Code (claude-sonnet-5-5, CLI 2.1.289) say what replaced a rewritten commit, on 88 held-out tasks in 8 constructed repos from 4 designs. In fresh clones, with no reflog or old objects, Claude with the read verbs available (Arm A) named the right commit in 30 of 32 tasks each way, against 1 of 32 and 0 of 32 with git alone and a matched nudge (Arm C). The paired difference A − C was 0.91 [0.78, 1] and 0.94 [0.84, 1] (95% intervals). That gap is close to true by construction, as the pre-registration said. In teammate clones, where git sees the rewrite, both arms scored 32/32: a ceiling, not evidence of no effect. Repo 7 failed the pre-registered integrity check, which ran only after the readout, and an exploratory re-run without it reached the same four verdicts. The study doesn’t show how Claude got its answers: utilization (A runs calling blame_commit) was 0.45, and 40% of read-verb calls returned an error.
Why rewritten commits break the link
When a coding agent makes a commit, the conversation that came before it holds what you asked for and what the agent ruled out along the way. Keeping that conversation means filing it under something, and the obvious handle is the commit’s sha.
Developers don’t leave commits alone, though. You amend one to fix the message. You rebase a branch onto the latest main, and before you merge, you squash a run of work-in-progress commits into one. Each of these gives the work a new commit with a new sha, and the diff can come through almost untouched while the sha the conversation was filed under is no longer the one on the branch.
So we tested the link directly: hand an agent one side of a rewrite and ask for the other. We asked it both ways. Given an original commit, what happened to it, and which commit replaced it (pre → post)? Given a commit, did it come from rewriting earlier work, and from which commit (post → pre)? For a squash, naming any one of the squashed originals counts. An answer counts only if it states the true relationship, including the right counterpart sha.
Whether git alone can answer depends on which copy of the repository you’re in. Git keeps a reflog, a local log of where each branch tip used to point. It’s never copied to another clone, so a brand-new clone’s reflog starts at the moment it was cloned. The study built three states of each repo from one origin history.
- Witness is the builder’s own clone.
- Teammate is a clone that was made before the rewrites and fetched them afterwards, so its remote-tracking reflogs keep the old branch tips.
- Fresh is a --no-local clone made after the rewrites, with .git/logs dropped. It has no reflog, and the old objects are absent.
Figure · three repo states
Show the data: The three repo states, from one origin history
| State | What the clone is | What is there or absent |
|---|---|---|
| witness | the builder’s own clone | git has what it needs here |
| teammate | a clone that was made before the rewrites and fetched them afterwards | remote-tracking reflogs keep the old branch tips |
| fresh | a --no-local clone made after the rewrites, .git/logs dropped | no reflog; the old objects are absent |
A fresh clone over git’s normal transport, which --no-local forces even for a local path, gets only the commits its branches and tags still reach, so commits that only a reflog kept alive don’t come along. That makes the fresh-state advantage close to true by construction. It’s only close because on some fresh tasks git can still recompute the counterpart from what the clone holds, and the study counts those separately.
What the pre-registration predicted, state by state
We wrote the claim down before any score was opened, and it depended on the repo state from the start. With the MCP read verbs available (Arm A), Claude would state the true supersession relationship more often than with git alone plus a matched nudge (Arm C), and only in some states. Supersession here means which commit replaced which, and with what sha.
- Witness. Git has what it needs here, so the prediction was A ≈ C, and A scoring below C would count as harm.
- Teammate. The pre-registration committed in advance to reading a tie here as a ceiling, not as evidence that the read verbs don’t help.
- Fresh. The prediction was A > C, and the pre-registration itself calls that close to true by construction: git can’t see what the clone doesn’t hold.
The falsification sat in fresh. If A and C had come out about even there, the core claim would have failed. C was expected to fail there, except on tasks where git can recompute the counterpart. The open question in fresh was A: whether Claude, with the read verbs available, would state the right counterpart. What fresh can’t tell you is how big the gap would be in organic history.
How we set it up
Every run used one model, claude-sonnet-5-5, under one pinned Claude Code CLI, 2.1.289. The three arms differ only in what that agent is handed.
- Arm A (read verbs) gets Bash, Read, Glob, Grep and ToolSearch, plus our MCP server’s 5 read verbs: search_history, blame_commit, commit_coverage, get_conversation and diff_conversation.
- Arm B (git only) gets the same built-in tools with no MCP server and no added instructions (no server instructions, no nudge).
- Arm C (git plus nudge) is Arm B plus a 52-word git-archaeology nudge, matched to A’s server instructions in length and register.
The nudge is there for fairness. A’s server comes with its own instructions, and an agent that’s been told how to approach the problem, set against one that hasn’t, would tilt the test before it started. We aren’t printing the nudge text here. The confirmatory comparison is A against C. B, run once per task, is a secondary reference outside the four confirmatory tests (no alpha claim).
Corpus. There are 8 held-out repos, built from 4 designs, and two pairs of them share a slug (the same repo name). Together they hold 88 tasks: 64 rewrite tasks (32 per direction) and 24 decoys. A decoy is a task with no rewrite behind it, such as a commit that was never changed or a sha that never existed, asked in the same two forms. In each direction, 16 rewrite tasks come from rewrites Claude made inside a recorded construction session (in-session) and 16 from scripted git commands run outside any session (terminal). Each rewrite is asked from both sides, one task per direction. All 16 in-session rewrite attempts succeeded: amend 8, rebase 4, squash 4.
Runs. A and C made k = 3 attempts per task in each state, and B made k = 1, for 88 tasks × 3 states × 7 attempts = 1,848 runs, in 8 batches of 231. For A and C, a task counts as correct when a majority of its 3 attempts are right. That’s a vote, stricter than counting any single success, and it holds for both arms: one lucky attempt doesn’t score.
Figure · the study at a glance
Show the data: The study at a glance
| Stage | Count | What it is |
|---|---|---|
| Repos | 8 | built from 4 designs |
| Tasks | 88 | 64 rewrite tasks (32 per direction) and 24 decoys |
| States | 3 | witness, teammate, fresh |
| Attempts per state and task | 7 | A k = 3, B k = 1, C k = 3 |
| Runs | 1,848 | 8 batches of 231 |
Analysis. The confirmatory family is four exact McNemar tests on paired per-task outcomes: A against C, in fresh and teammate, in each direction, with n = 32 tasks per cell (a cell is one state and one direction). Holm’s correction holds the chance of even one false positive across the four tests to family α = 0.05. No task was excluded. McNemar looks only at the discordant pairs, the tasks where the two arms disagree, which suits a design where every task ran under both. Witness gets its own one-sided harm test, C > A at 0.05 in each direction, outside the family. The analysis code was frozen before any score was opened and mutation-tested: 269 of 296 patches were killed and 26 survived, none of them fail-open, and the remaining patch is a no-op control that the runner rejects by design. It was checked against its own test suite (1816/1816) and then run exactly once for the pre-registered result.
Power. At n = 32, with exact McNemar power at α = 0.0125 and treating A and C as independent, the design detects 0.9 vs 0.4 with power 0.94 but 0.8 vs 0.5 with power only 0.37. So “no significant difference” is never a finding of equality here. The 0.0125 is the pre-registered sensitivity table’s α; the family itself is Holm at 0.05.
Everything below comes from one model, claude-sonnet-5-5, one CLI version, 2.1.289, and a constructed corpus of 8 repos from 4 designs. None of it is evidence about other models, real-world rewrite mixes, organic history or multi-repo orgs.
Results
Every pre-registered test in this section has n = 32 held-out tasks per cell and 0 exclusions.
Fresh clones: no reflog and none of the old objects
In a fresh clone, with the read verbs available, Claude stated the right counterpart in 30 of 32 tasks in each direction. With git alone and the matched nudge it managed 1 of 32 and 0 of 32. The gap is large, and it’s close to true by construction.
Figure · correct answers by arm
Show the data: Correct answers by arm, fresh and teammate states
| State | Direction | A correct | C correct | only A right | only C right | Holm-adjusted p |
|---|---|---|---|---|---|---|
| fresh | pre → post | 30/32 | 1/32 | 29 | 0 | 1.1 × 10⁻⁸ |
| fresh | post → pre | 30/32 | 0/32 | 30 | 0 | 7.5 × 10⁻⁹ |
| teammate | pre → post | 32/32 | 32/32 | 0 | 0 | 1 |
| teammate | post → pre | 32/32 | 32/32 | 0 | 0 | 1 |
| Direction | A correct (read verbs) | C correct (git + nudge) | only A right | only C right | Holm-adjusted p |
|---|---|---|---|---|---|
| pre → post | 30/32 | 1/32 | 29 | 0 | 1.1 × 10⁻⁸ |
| post → pre | 30/32 | 0/32 | 30 | 0 | 7.5 × 10⁻⁹ |
Both tests reject at the pre-registered Holm-corrected family α = 0.05. The evidence is in the discordant pairs: 29 tasks in pre → post and 30 in post → pre where only A’s majority was right, and none in either direction where only C’s was. With every discordant pair on one side, an exact test’s p-value depends only on how many pairs there are, so it adds nothing beyond those counts; read the size of the effect from the interval instead. As a paired difference in rate, A − C is 0.91 [0.78, 1] in pre → post and 0.94 [0.84, 1] in post → pre, 95% intervals from 10,000 paired task resamples. Those intervals resample tasks rather than repos, so the independence caveat under Limitations covers them too.
On fresh rewrite runs C abstained (answered “cannot tell”, which scores wrong) on 105/192 and B on 42/64, against 4/192 for A. At the attempt level, sha-correct in fresh was 91/96 and 88/96 for A against 10/96 and 0/96 for C. And C isn’t a broken baseline: in teammate, where the clone keeps its branch-tip reflogs, the same git-plus-nudge arm scored 32/32 in both directions.
The pre-registered leak criterion asks whether a git-only arm ever answered a task that git can’t. On the 152 strict fresh cells (here a cell is one B or C attempt on a task git can’t answer from the clone, not a state and direction), B and C had 0 successes. The code that scored the criterion counted over a wider set than the pre-registration names, a mismatch covered under What went wrong.
Teammate clones: both arms at the ceiling
Teammate clones keep their branch-tip reflogs, and there both arms stated the right counterpart in 32 of 32 tasks in both directions. That’s a ceiling, not evidence of no effect: this study can’t say whether the read verbs help where git already can.
Both arms got every task right by majority vote, A 32/32 and C 32/32 in each direction, with 0 discordant tasks and p = 1 for both tests. We wrote down before the run that a tie here would be read as a ceiling and wouldn’t mean the read verbs don’t help. With both arms at the top of the scale, the test can’t see a benefit, and it would see a loss only where A lost a task’s majority vote. The bootstrap interval for A − C is 0 [0, 0] in both directions. That’s the ceiling again, read off a different instrument: when both arms get every task right, every resample does too.
One detail runs the other way. In teammate post → pre, C had 2 more correct attempts than A, while the per-task majorities tie at 32/32; sha-correct shows the same thing, A 94/96 against C 96/96. It’s small, not significant (sign-flip p = 0.5), and it favors C.
Figure · paired difference with intervals
Show the data: Bootstrap A minus C with 95% intervals
| Analysis | State | Direction | n | A − C (95% CI) |
|---|---|---|---|---|
| pre-registered | fresh | pre → post | 32 | 0.91 [0.78, 1] |
| pre-registered | fresh | post → pre | 32 | 0.94 [0.84, 1] |
| pre-registered | teammate | pre → post | 32 | 0 [0, 0] |
| pre-registered | teammate | post → pre | 32 | 0 [0, 0] |
| exploratory, without repo 7 | fresh | pre → post | 28 | 0.893 [0.750, 1.000] |
| exploratory, without repo 7 | fresh | post → pre | 28 | 0.929 [0.821, 1.000] |
| exploratory, without repo 7 | teammate | both | 28 | 0 [0, 0] |
Witness clones and decoys: no harm found, and little room to find it
The harm test found no significant harm in the builder’s own clone, but it had little room to detect anything: the two arms never disagreed on a rewrite task. No arm over-claimed on any decoy, in any state, though A abstained on more decoys than C in witness and teammate.
Witness is where git suffices, so A doing worse than C would have counted as harm. The one-sided harm test found 0 discordant pairs in either direction, p = 1. With no discordance at all in the witness rewrite cells, the test had nothing to work with, so “no harm found” is all it says. It doesn’t show the read verbs are harmless.
The 88 tasks include 24 decoys, and no arm over-claimed on any of them. None answered a decoy with a rewrite that didn’t exist: 0 in every arm × state cell, over 72 decoy runs per state for A and for C, and 24 for B. An abstention is an answer of “cannot tell”. It scores wrong, and it’s also counted on its own, so abstentions don’t hide among the wrong answers. No arm abstained on a witness or teammate rewrite run. On decoys every arm abstained some of the time. In witness, teammate and fresh, A abstained on 13/72, 25/72 and 18/72, C on 6/72, 19/72 and 19/72, and B on 5/24, 8/24 and 7/24. A abstained on more decoys than C in witness and teammate, so read its zero over-claim count beside that.
Figure · abstention and decoy over-claims
Show the data: Abstention on rewrite runs and decoy over-claims, by arm and state
| Arm | State | all runs | decoy-only | rewrite-only |
|---|---|---|---|---|
| A | witness | 13/264 | 13/72 | 0/192 |
| A | teammate | 25/264 | 25/72 | 0/192 |
| A | fresh | 22/264 | 18/72 | 4/192 |
| B | witness | 5/88 | 5/24 | 0/64 |
| B | teammate | 8/88 | 8/24 | 0/64 |
| B | fresh | 49/88 | 7/24 | 42/64 |
| C | witness | 6/264 | 6/72 | 0/192 |
| C | teammate | 19/264 | 19/72 | 0/192 |
| C | fresh | 124/264 | 19/72 | 105/192 |
What the usage measures don’t show
The pre-registered utilization measure is the share of A runs with at least one blame_commit call. It came to 360/792 = 0.45, pooled over every state, both directions and the decoys, and it was pre-registered only as that aggregate, so a per-cell figure would be post hoc. Separately, and not pre-registered: A made 881 read-verb calls, and 355 of them (40%) returned an error result. That bears on how A reached its answers. We make no claim about how it got them.
Those two numbers use different units. The 0.45 counts runs that called blame_commit at least once, not runs that called any read verb, and the 40% is of calls, not runs. Because 0.45 also pools the decoys and the witness and teammate runs, where git can see the rewrite, it can’t be set against the 30 of 32 in fresh. A also differs from C in two things at once, the read verbs and the server instructions that come with them, so the study compares the MCP as installed, not any single verb. With the read verbs available, Claude stated the right counterpart; the study doesn’t show, cell by cell, that those answers came through blame_commit.
Turns, output tokens and wall time
Pooled over every state, A’s runs took more turns, used more output tokens and ran longer than B’s or C’s on average. We haven’t priced that difference.
| Arm | runs | turns: mean / median / p90 / max | output tokens: mean / median | wall time, mean |
|---|---|---|---|---|
| A | 792 | 5.59 / 5 / 9 / 17 | 1053 / 1036.5 | 18.4 s |
| B | 264 | 3.93 / 4 / 6 / 8 | 840 / 815 | 14.6 s |
| C | 792 | 3.85 / 4 / 5 / 9 | 855 / 852 | 14.7 s |
No run was truncated, and no run is missing its token count.
Figure · turns, tokens and wall time
Show the data: Turns, output tokens and wall time per arm
| Arm | n | turns mean | turns median | turns p90 | turns max | output tokens mean | output tokens median | wall mean |
|---|---|---|---|---|---|---|---|---|
| A | 792 | 5.59 | 5 | 9 | 17 | 1053 | 1036.5 | 18.4 s |
| B | 264 | 3.93 | 4 | 6 | 8 | 840 | 815 | 14.6 s |
| C | 792 | 3.85 | 4 | 5 | 9 | 855 | 852 | 14.7 s |
The table pools all three states, so it doesn’t say where A’s extra turns fall. It counts output tokens only, with no input tokens and no prices, so it isn’t a spend figure. And it doesn’t say why A took more turns; we don’t tie them to any particular call.
Sensitivity checks
No sensitivity check, pre-registered or not, reversed a confirmatory verdict, though none of them removes a design that two or three repos share.
Leave-one-repo-out. Dropping each of the 8 repos in turn (n = 28 per drop) changed no test’s verdict. But the 8 repos come from 4 designs, and it never drops a design that two or three repos share, so it can’t rule out that a result depends on the design.
Intermediate commits. Squashing with an interactive rebase can leave an in-between commit behind. The primary scoring accepts naming it as the earlier work on post → pre, and a stricter rule scores those attempts wrong. The stricter rule changed 3 attempts in fresh and 0 in teammate, and none of the four verdicts flipped.
Each attempt, counted on its own. A secondary exact sign-flip test uses every attempt, paired by task. In fresh it agreed with the confirmatory tests: S = 88 over 32 nonzero tasks, p = 4.66 × 10⁻¹⁰, and S = 88 over 31, p = 9.31 × 10⁻¹⁰. But in teammate post → pre it leaned the other way, weakly: S = −2 over 2 tasks, p = 0.5. Those are the same 2 attempts as above, not a second finding.
Without repo 7 (exploratory, not pre-registered, post-readout). Repo 7 failed the corpus integrity check, which ran only after the readout. Alexander ruled that the pre-registered result stands as computed, with repo 7 in it, and that an exploratory re-run without repo 7 is reported beside it. The pre-registered leave-one-repo-out analysis above had already dropped repo 7 without changing a verdict.
We re-ran the whole analysis without repo 7’s 11 tasks, leaving n = 28 per cell, with the frozen analysis code unmodified. All 5 pre-stated cross-checks passed before any number printed. The re-run reached the same four verdicts: fresh 26/28 vs 1/28 and 26/28 vs 0/28 (Holm-adjusted p = 1.8 × 10⁻⁷ and 1.2 × 10⁻⁷), and teammate 28/28 vs 28/28 in both directions. Repo 7’s own cells look like the others: fresh A 4/4 vs C 0/4 in both directions, so C didn’t gain in the repo whose files held study-term matches (see What went wrong). A is the arm that could reach repo 7’s conversation text, and without repo 7 it still scored 26/28 and 26/28 in fresh. The re-run is reported beside the pre-registered result, not instead of it, and it doesn’t stand in for the admission check the pre-registration required.
What went wrong
Two material parts of the pre-registration weren’t carried out as written. We changed no score after finding either, and whether repo 7’s text reached any run wasn’t measured. The corpus integrity check was supposed to report N/N before any repo was admitted, and it ran only after the readout. The problem was found while the study’s write-up was in draft, and Alexander ruled that the check should run then, with the result reported exactly as found. Its first attempt stopped on a client connection error, most likely a keep-alive race between the check’s HTTP client and the study server. The second, on Alexander’s ruling, ran one process per repo instead of the single run the pre-registration describes. It came back 1076/1077.
Every other part of that check passed in all 8 repos. The one failure was repo 7’s construction conversation text, which held one of the study’s own design or cell names. On Alexander’s ruling, a later scan of all 8 repos found matches in two of repo 7’s files and none in the other 7 repos, so the rule that no study term appears in any repo wasn’t met there. Under the pre-registration, repo 7 wouldn’t have been admitted, and by its letter the check gates the whole corpus, so repo 7 would have had to be rebuilt or replaced before any repo was admitted. That conversation text is what A’s read verbs serve, through get_conversation and search_history, and the two files were readable by every arm in repo 7’s batch, B and C included. Exposure wasn’t measured: nobody checked whether any run read either.
Separately, the code that scored the leak criterion counted git-only successes over all 244 labeled cells, recomputable ones included, where the pre-registration scopes it to the 152 strict ones. It found 4, all on tasks git can legitimately recompute, and exited with a failure code. A note we’d added before the run described that exit code as “criterion failed”, which missed the difference in scope. Alexander ruled that the criterion held on the pre-registered strict set, with no code change and no re-run. Smaller declared mismatches are listed under Disclosures in the appendix.
The validity and leak audit
The audit found no git-only success on the pre-registered strict set and no isolation breach, and the scope mismatch above is declared. Repo 7’s exposure wasn’t measured. The pre-registration’s own wording is that the leak criterion and its exclusion rule “apply ONLY to STRICT cells. On a git_recomputable cell a B/C success is legitimate (‘heroic git’), never excluded, and is reported as its own descriptive stratum.” The 4 successes the code counted were Arm B 1 and Arm C 3, all on recomputable tasks, so they’re reported as that stratum.
All 8 sealed batches completed 231/231, with invalid 0, flagged 0, host_leak 0 and truncated 0, and 0 hits for planted canary strings in Arm A’s tool results. Before the evidence run, a pre-registered adversarial leak probe made 576 runs over the 64 rewrite tasks, 38 of them strict. It found no leak-derived success and left the exclusion ledger empty, and its runs are separate from the 1,848 counted evidence runs. Every git-only attempt on a fresh rewrite task also went through a check that traces where the counterpart sha first appears in the attempt’s tool results. Either the agent’s own git command created it, which is fine, or it was read from somewhere, which would be a leak. On 11 attempts over 5 batches the check couldn’t tell. Each was settled under a rule committed in advance. All 11 came out NONE (the sha had no genuine appearance), not READ. An identity-keyed isolation re-check of every Arm A run found 0 exposures to another repo’s records.
Three detector false positives stopped live batches during the evidence run (a detector is code that checks each finished run and can stop the runs after it). The 274 aborted calls were kept on disk and excluded. Each restart came after a fix, with every score still sealed. The three versions of the run code differ only in a post-run detector file that no arm sees.
Related work
Git has never promised that a commit keeps its name. Bird and colleagues’ study of mining git put it plainly: “Git history is revisionist: a repository owner can rewrite it.” They also noted that git records rebases in local logs, and the reflog documentation still says those logs record updates “in the local repository.”
Existing tools can follow a rewritten change if they’re in place before the rewrite. Gerrit’s Change-Id lets a review follow a change “even across cherry-picks and rebases.” Git notes are copied to the new commit only once notes.rewriteRef is configured, and the post-rewrite hook hands a local script each old and new commit name. If both versions survive, git patch-id and git range-diff can pair them by diff. SWHIDs answer a different question: they pin one exact object, so an amended commit just gets a new name.
Other version-control systems can keep the link themselves. Mercurial’s changeset evolution, which Mercurial still labels experimental, records which changesets were made obsolete and their potential successors in obsolescence markers. Those markers “can be propagated between repositories.” In Jujutsu, a rewritten commit gets a new commit ID, “but the change ID generally remains the same.” Jujutsu also writes that ID into a git commit header, which git commit --amend keeps and git rebase doesn’t.
AI attribution sits on the same plumbing. The Agent Trace RFC records git revisions as commit shas and leaves rebase handling to each implementation. Git AI says it carries line-level attributions through rewrites in git notes. Robbes and colleagues found that agents’ traces in repositories “offer only a partial view of the activity of coding agents.”
On method, we borrowed from critiques of agent and NLP evaluation. We used held-out tasks, since Kapoor and colleagues found many agent benchmarks have “inadequate holdout sets”. We also took the Agentic Benchmark Checklist’s line between task validity and outcome validity; Miller’s paired, question-level comparisons; and pre-registration as van Miltenburg and colleagues argue for it.
Agents’ git skills have benchmarks of their own. GitGoodBench includes interactive rebases among its tasks, and GitKraken’s GitBench has a fixture that tests whether a model can “find original commits before a squash rebase using reflog.” That fixture sits where our witness clones do, with the reflog in reach.
What’s new here is narrow. The version-control and attribution tools above write, carry or recompute links, and the benchmarks test what an agent can do with git. We didn’t find a controlled test of whether a coding agent with read access to recorded agent conversations names the commit that replaced a rewritten one. This is one: pre-registered, held out, one model, a constructed corpus, split by repo state.
Limitations
Every claim here is scoped to one model, claude-sonnet-5-5, run by one Claude Code CLI version, 2.1.289, with one MCP build and one version of the session-recording client. The corpus is constructed: 8 single-repo tenants (each repo in its own org on the server) with synthetic rewrites, from only 4 designs, with two pairs sharing a slug. The confirmatory tests treat each task as independent, but tasks cluster within repos and repos within 4 designs, so the exact p-values assume more independence than the corpus has. So do the bootstrap intervals, which resample tasks rather than repos. Each rewrite was asked from both sides, one task per direction, so the two directions aren’t separate replications. Leave-one-repo-out never drops a design that two or three repos share, so it can’t rule out that a result depends on the design.
The fresh-state advantage is close to true by construction. Teammate is at the ceiling for both arms, 32/32, so the study can’t say whether the read verbs help where git already can, and none of the confirmatory tests is an equivalence test. The harm test has little room to detect anything. Utilization is pre-registered only as an aggregate (0.45), so the study doesn’t show per cell that A’s correct answers came through blame_commit. And 355 of 881 read-verb calls (40%) returned an error result. One of the 8 repos, repo 7, didn’t meet the corpus rules: the integrity check, run only after the readout, came back 1076/1077, and exposure wasn’t measured. Its runs are in the pre-registered result, and the exploratory analysis without it reaches the same verdicts.
Where the result applies
For one model on constructed repos, the answer depends on what the clone still holds. Where it holds no reflog and none of the old objects, with git alone Claude almost never named the counterpart, and with the read verbs available it did in 30 of 32 tasks each way. That gap is close to true by construction, so what it shows is that the arm with the read verbs could state answers the git-only arms almost never reached. But it doesn’t tell you how often a real clone ends up in that state, since organic history and real rewrite mixes were out of scope. Nor does it tell you how often, in real use, the MCP server’s record holds the rewrite you ask about: these repos were built for the study, and in all 8 the checks on that record’s rewrite links passed.
Where git still holds the branch-tip reflog, both arms scored 32/32, and this study can’t say whether the read verbs add anything there. That leaves a clear brief for the next study: a teammate state hard enough to leave room above git, harm cells with room to move, usage measured per cell, repos from more than 4 designs, and an integrity check that gates admission in code before any task runs.
We build VibeCommit. It records your coding-agent sessions from a client that runs on your own machine. Its MCP server is optional: your coding agent can call it during a session to reach that record. The server isn’t tied to Claude Code; the docs give setup for other MCP clients too, all pointing at the same endpoint. This study tested one client, Claude Code, with one model, on repos we constructed. Every batch used the same scoped build, run locally, so the numbers above describe that setup and nothing wider. If you’d like to try it, the one-paste line is on the install section of the docs.
Appendix
Appendix: glossary, full tables, construction and disclosures
Glossary
- pre → post. The task names a commit from before the rewrite and asks what happened to it. A right answer says it was superseded and names the commit that replaced it.
- post → pre. The task names a commit and asks whether it came from rewriting earlier work, and from which commit. A right answer says so and names an original. For a squash, any one of the squashed originals counts, and so does the squash intermediate (see Intermediate commit).
- Counterpart. The commit on the other side of a rewrite: the replacement, when the task names an original (pre → post), or an original, when it names the replacement (post → pre).
- Supersession. The relationship a rewrite creates: the new commit supersedes, or replaces, the one it was rewritten from.
- Cell. One state and one direction, such as fresh pre → post, with n = 32 tasks. The leak criterion’s strict cells are a different unit: one B or C attempt on a task git can’t answer from the clone. Decoy over-claim counts use a third grouping: one arm in one state, with both directions pooled.
- Holm correction. A step-down adjustment of the four confirmatory p-values that keeps the chance of any false positive across the family at α = 0.05 or below. A Holm-adjusted p at or below 0.05 is a rejection.
- In-session and terminal rewrites. In-session means Claude made the rewrite (amend, rebase or squash) inside a recorded construction session. Terminal means a scripted git command made it outside any session.
- Decoy. A task with no rewrite behind it, asked in the same two forms. A decoy names a commit that was never changed, a well-formed sha that never existed, a commit that lives only on another branch, or a commit on main that didn’t come from a rewrite. Each kind has its own right answer.
- Over-claim. Answering a decoy with a rewrite status, which claims a counterpart that doesn’t exist.
- Abstention. Answering “cannot tell”. It scores wrong, and it’s also counted on its own.
- sha-correct. A secondary, attempt-level score: whether the attempt’s answer named the right counterpart commit, whatever status it gave. As in the primary scoring, naming the squash intermediate also counts (see Intermediate commit). An answer that didn’t parse scores wrong and stays in the denominator.
- Intermediate commit. Squashing with an interactive rebase can leave an in-between commit behind. The primary scoring accepts naming it as the earlier work on post → pre; the sensitivity rule scores it wrong.
- The source check (CREATE, READ, UNCLEAR, NONE). Run on every B or C attempt on a fresh rewrite task, it traces where the counterpart sha first appears in the attempt’s tool results. CREATE means the agent’s own git command made it, which is fine. READ means it was read from somewhere, which would be a leak. UNCLEAR means the source can’t be attributed, and the attempt is then settled under a rule committed in advance as CREATE, READ or NONE. NONE means that, once a failed lookup’s echo is discounted, the sha has no genuine appearance.
Confirmatory tests
| State | Direction | A correct | C correct | only A right | only C right | exact p | Holm-adjusted p | Verdict |
|---|---|---|---|---|---|---|---|---|
| fresh | pre → post | 30/32 | 1/32 | 29 | 0 | 3.7 × 10⁻⁹ | 1.1 × 10⁻⁸ | difference found, A higher |
| fresh | post → pre | 30/32 | 0/32 | 30 | 0 | 1.9 × 10⁻⁹ | 7.5 × 10⁻⁹ | difference found, A higher |
| teammate | pre → post | 32/32 | 32/32 | 0 | 0 | 1 | 1 | no significant difference found |
| teammate | post → pre | 32/32 | 32/32 | 0 | 0 | 1 | 1 | no significant difference found |
Harm test (witness, one-sided C > A, each direction at 0.05, outside the family): 0 discordant pairs, p = 1 in both directions, no significant harm found.
Paired bootstrap intervals
95% intervals from 10,000 paired task resamples, nearest rank. An interval that collapses to a single value appears when every resample gives the same value; it doesn’t mean the rate is known exactly.
| Cell | rate A | rate C | A − C |
|---|---|---|---|
| fresh pre → post | 0.94 [0.84, 1] | 0.03 [0, 0.09] | 0.91 [0.78, 1] |
| fresh post → pre | 0.94 [0.84, 1] | 0 [0, 0] | 0.94 [0.84, 1] |
| teammate pre → post | 1 [1, 1] | 1 [1, 1] | 0 [0, 0] |
| teammate post → pre | 1 [1, 1] | 1 [1, 1] | 0 [0, 0] |
Rewrite shape
Descriptive, n = 16 per stratum.
| Cell | A in-session | A terminal | C in-session | C terminal |
|---|---|---|---|---|
| fresh pre → post | 14/16 | 16/16 | 0/16 | 1/16 |
| fresh post → pre | 16/16 | 14/16 | 0/16 | 0/16 |
| teammate pre → post | 16/16 | 16/16 | 16/16 | 16/16 |
| teammate post → pre | 16/16 | 16/16 | 16/16 | 16/16 |
sha-correct at the attempt level
A run whose answer didn’t parse scores wrong and stays in the denominator.
| Cell | A | B | C |
|---|---|---|---|
| fresh pre → post | 91/96 | 5/32 | 10/96 |
| fresh post → pre | 88/96 | 0/32 | 0/96 (1 null) |
| teammate pre → post | 96/96 | 32/32 | 96/96 |
| teammate post → pre | 94/96 | 28/32 | 96/96 |
A vs B, secondary
Exact two-sided McNemar, nominal 0.05, no alpha claim. A is a majority of 3 and B a single attempt, so these are different statistics.
| Cell | A | B | only A right | only B right | p |
|---|---|---|---|---|---|
| fresh pre → post | 0.9375 | 0.03125 | 29 | 0 | 3.73 × 10⁻⁹ |
| fresh post → pre | 0.9375 | 0 | 30 | 0 | 1.86 × 10⁻⁹ |
| teammate pre → post | 1 | 1 | 0 | 0 | 1 |
| teammate post → pre | 1 | 0.875 | 4 | 0 | 0.125 |
Power
Exact McNemar power at α = 0.0125 and n = 32, treating A and C as independent; the confirmatory family itself is Holm at 0.05. Treating attempts as independent flatters power.
| Effect | Power |
|---|---|
| 0.9 vs 0.4 | 0.94 |
| 0.9 vs 0.5 | 0.77 |
| 0.8 vs 0.4 | 0.68 |
| 0.8 vs 0.5 | 0.37 |
| 0.7 vs 0.3 | 0.66 |
Construction
12 slot-level build attempts: 8 ok, and 4 setup session failures whose mechanism is undetermined. One slot was replaced by a new build that repeats its design. The in-session rewrite attempts were all ok (16/16; amend 8, rebase 4, squash 4), and the pre-registered stop rule didn’t fire.
The pre-registered falsification table
| Outcome that would count against the claim | Result |
|---|---|
| A ≈ C in fresh | Didn’t occur: A 30/32 vs C at most 1/32 in both directions, Holm reject |
| A ≈ C in teammate | Occurred, a ceiling; pre-committed as not meaning the read verbs don’t help |
| A wins but its runs don’t call blame_commit | Not decidable by cell (utilization 0.45, aggregate only) |
| A wins on turns or tokens but not correctness | Didn’t occur |
| A over-claims more than C on decoys | Didn’t occur (0 vs 0) |
| A < C in witness | Didn’t occur (harm test, 0 discordant pairs) |
| B or C succeeds on a git-impossible fresh cell | Didn’t occur on the strict set (0 of 152) |
| Integrity check below N/N | Occurred, by the letter: 1076/1077, run after the readout |
| Canary in a non-content field of an A tool result | Didn’t occur |
| In-session constructions fail often by mechanism | Didn’t occur (16/16 rewrite attempts ok) |
Exploratory re-analysis without repo 7 (not pre-registered; post-readout)
| State | Direction | A correct | C correct | only A right | only C right | exact p | Holm-adjusted p | Verdict |
|---|---|---|---|---|---|---|---|---|
| fresh | pre → post | 26/28 | 1/28 | 25 | 0 | 6.0 × 10⁻⁸ | 1.8 × 10⁻⁷ | difference found, A higher |
| fresh | post → pre | 26/28 | 0/28 | 26 | 0 | 3.0 × 10⁻⁸ | 1.2 × 10⁻⁷ | difference found, A higher |
| teammate | pre → post | 28/28 | 28/28 | 0 | 0 | 1 | 1 | no significant difference found |
| teammate | post → pre | 28/28 | 28/28 | 0 | 0 | 1 | 1 | no significant difference found |
Harm test, n = 28: 0 discordant pairs, p = 1. Decoy over-claims: 0 in every cell (A and C 63 decoy runs per state, B 21). Bootstrap A − C: fresh 0.893 [0.750, 1.000] and 0.929 [0.821, 1.000]; teammate 0 [0, 0]. Leave-one-repo-out over the remaining repos (n = 24 per drop): both fresh tests reject at every drop, and neither teammate test rejects.
Calls of record
3,443 claude -p calls of record over the whole study: 1,321 before the evidence run, then 1,848 counted evidence runs and 274 aborted.
Disclosures
The study’s write-up keeps a running list of declared code and pre-registration mismatches, detector and run-code events, host noise and process slips by session. In its words, none of them “changed a score or a verdict.” The two material ones are covered under “What went wrong” above. The others include two amendments whose measured values were filled in after the batches but before the analysis, and an analysis-before-readout gate that no code enforced until the final build. The late filling was declared before the readout, and the missing gate was noticed before it too, when Alexander ruled “Build analysis first”.