It is 5:40 p.m. The evening support shift starts in twenty minutes. Your support manager has 43 tickets open for one customer, but only 12 need a reply tonight. She is picking those 12 out by hand and copying them into a spreadsheet for the next shift.
You want to spare her that routine tomorrow. You ask one coding agent to add a Needs reply filter to the ticket screen. You ask another to add a Download CSV button so she can hand the filtered list to her colleague. Each agent finishes. Both pull requests are green.
Before you merge, picture her using both features. She selects Needs reply and sees 12 tickets. She clicks Download CSV. Will that file contain the same 12 tickets, or all 43? The export agent built its feature before the new filter existed. Its checks never asked that question.
If the file contains 43, the next shift may work from the wrong list and miss a ticket that needs an answer. Two green checkmarks cannot tell you whether the handoff works. You need to see the changes together.
This is an imagined release, but it is a useful question to bring to your own repository: If two agents finish at once, how do you know their work will still behave when you combine it?
First, where did each agent work?
Imagine both agents editing the ticket screen in the same folder on your laptop. The export agent adds the download button. Before it commits, the filter agent adds the new filter to that screen. Now whose change is in the file? Which uncommitted lines belong to which task?
You could ask the agents to sort it out afterward. But you have already lost the clean view you need to review their work.
Give each task its own working directory and branch. A Git worktree is one way to make another working directory connected to the same repository. The filter agent works in one; the export agent works in another. You can inspect each diff against its own task.
That separation solves one problem: their unfinished file edits do not land in the same folder. It does not make the CSV follow a filter that did not exist when export was built. Worktrees also do not isolate credentials or processes; use a separate execution environment if you need that boundary.
So what should you look at next?
Can you explain what each change is meant to do?
Open the export pull request. Its task was to let authorized support managers download the tickets they are looking at. Does it send the screen's selected filters when it requests the CSV? Does its test try downloading a filtered list, or only all 43 tickets?
Now open the filter pull request. How does the new Needs reply choice reach the ticket list? Does the CSV request carry that choice too?
This is the review that a green check cannot do for you. A test can show that the cases it ran passed. It cannot tell you whether the agent misunderstood what your support manager needs. A small task brief and a readable diff give you something concrete to judge.
You may find that the export task does not know about Needs reply. That is not a reason to throw away either change. It tells you what to do next: pass the selected filter into the export, then check that the file matches the screen.
What happens when the changes meet?
Suppose you review both pull requests and they look right. Each passed its checks against an earlier version of the main branch. You merge the filter change first. Is the export checkmark still evidence about the code you are about to ship?
Only if the export was checked with the new filter change in place. Run the relevant checks on the combined version before merging it. Include a case that mirrors the support manager's handoff: select Needs reply, see 12 tickets, download the CSV, and check that it contains those same 12.
from request
If your team merges many approved pull requests every day, GitHub's merge queue can check a proposed change against the latest target branch and earlier queued work. That can help with a busy branch, but it only runs the checks you configure, and the required checks must run for merge groups. For two occasional agent tasks, a deliberate merge and a check of the combined result may be enough.
You still decide what is safe to release. The queue does not know whether the CSV contains the 12 tickets your support manager meant to hand over.
Then why did Anthropic build something beyond Git?
You may have read about Anthropic's Scion and wondered whether your agents need a new source control system too.
Look at the problem Anthropic describes. It reports more than 30,000 code changes merged per day by September 2026, a main-branch history nearing 100 GB, and about 25 million code checkouts per day for CI. At that scale, moving and querying the repository itself became expensive. Anthropic built Scion for that workload and built review, search, access control, and integration tools around it. Those are Anthropic's reported figures and decisions, not measurements from our team.
Now return to your release. Was your delay caused by millions of checkouts? Or did you need to know whether the download carries the new Needs reply filter?
Those answers lead to different work. If the repository itself is consuming measurable time and capacity, investigate that cost. If your agents are stepping on each other's edits or their pull requests break when combined, give their tasks clear boundaries and check the joined result. You do not need to solve Anthropic's scale problem to give the next shift the right ticket list.
Try this on your next agent task
Before you start another pair of agents, write down the user action you need to protect. In this story it is: “A support manager selects Needs reply, sees 12 tickets, and downloads a CSV with those same 12 tickets for the next shift.”
Give each agent one bounded task and its own working directory. When the changes arrive, ask yourself three questions:
- Can I tell which task produced each change?
- Does the download use the filter selected on the screen?
- Has the user action passed on the version we will actually release?
If you cannot answer one of them, you have found your next step. You might need a clearer task, a change to the export request, or a check of the combined code. Which of those is slowing your team down today?
In Part 2 of this series, we will set up the separate working directories and look at where worktrees help and where they stop helping.