Stale Git branches bring back retired decisions
A branch can carry assumptions that predate a project decision. New copy, regenerated files, a revert or a deploy from that old tree can publish retired facts without a textual conflict. A normal three-way merge does not automatically restore unchanged old lines.

Version control makes a promise that feels complete: if the merge is clean, the result is correct. A clean merge only means the text combined without conflicts, and Git has no way to check whether that text is still true.
A branch is a frozen set of assumptions
A branch can retain old contact details, names, claims and source inputs while the main line changes. Git compares both tips with their common ancestor. If main changes a line and the feature branch leaves that line untouched, a normal three-way merge carries main’s change forward; the stale copy alone does not restore it.
The risk is semantic work based on old assumptions: a new FAQ repeats the retired name, a generator emits old metadata, a conflict is resolved with old content, or an old build directory replaces the live deployment. These can publish the wrong facts even when the merge reports no textual conflict.
Git’s merge documentation explains the three-way behaviour. The contamination-sweep template distinguishes branch additions, merged results and a whole-tree deployment.
Parallel agents make this an everyday problem
Long-lived branches used to be a rare problem, and a human one. Running several agents in parallel makes them ordinary. Each session opens its own branch, works for hours and lands later, sometimes after a decision has changed the rules it was working under.
The dangerous branch is the tidy one: cut before the change, touching unrelated files and merging without complaint. Parallel agents need collision rules, and this is a collision that no tool reports.
Sweep the branch before you merge
Review what the branch adds against its merge base, then inspect the integrated result and built output for retired facts. A whole-tree scan also matters when that tree will be copied or deployed directly. An unchanged stale line in the branch is not by itself proof that a true merge will restore it.
BEFORE MERGING A BRANCH OLDER THAN A DECISION
RETIRED IDENTIFIERS
Old contact routes, handles, endpoints, and channels.
RETIRED VOCABULARY
Words the current direction no longer permits.
RETIRED ENTITIES
Names, labels, and descriptions that were replaced.
RETIRED SURFACES
Links to pages, files, or routes that no longer exist.
REGENERATED ARTEFACTS
Anything derived from a source that has since changed.
Every decision should leave a search list
The sweep works only if the removed facts are written down somewhere searchable. When a direction changes, record the retired strings next to the decision word for word, so a search can match them. A summary of the reasoning will not match anything.
With that list, the sweep is a search you can run in a minute. The list also outlasts the person who wrote it. An agent picking up the work six weeks later can run the same search without knowing why any of it matters. A decision ledger is the natural place to keep it.
Sort branches by age against the decision
Branch age is a triage clue, not a correctness test. Commit ancestry and whether the current decision and generator inputs are included matter more than a date; rebasing can move a base without fixing old content, and new work can still repeat an old claim. Use dates to prioritise review, then run the policy check on every integrated result.
| Decision included | Conflicts | Action |
|---|---|---|
| Includes the current decision | Any | Normal review and the policy gate on integrated output. |
| Predates or omits the decision | Yes | Resolve against current intent, then sweep the integrated result. |
| Predates or omits the decision | None | Check new and regenerated content, then sweep the integrated result. |
Turn the search list into a test
A sweep that depends on discipline starts to slip as soon as someone is in a hurry. Once the retired strings are written down, a check can assert that none of them appear, and a merge that reintroduces one fails on its own. Encode the decision as a test, and the sweep no longer depends on anyone remembering to run it.
Use this

← Previous: Liveness checks: when a monitor’s subject disappears
Want this inside your team’s workflow? The Verified AI Operations Sprint tests one workflow in ten working days. See the sprint →