Single pusher: Using CAM to organize multi-agent version control
in Harness engineering
With 15 to 20 AI chats committing to one repo, every chat can push, so pushes pile up, collide and each one runs the full test gate.
- Why name one pusher?
- What you need
- How did the role work?
- What did the git timeline show?
- Why did a second chat still offer to push?
- What would make the rule hold?
- Strong and weak points
- Summary
Why name one pusher?
Because any chat that can push will push, at a time that suits its own task. On busy days I run 15 to 20 Claude Code chats in one repo, ai-wow, which holds my agent tooling. Each chat commits its own files to the shared main. At the end of September, four different chats pushed in two days. One push carried 84 commits from every chat at once. Earlier that week, chats pushed copies of their commits by id instead of the branch, and GitHub's history split from ours until a merge joined them (the last post on serializing pushes tells that story).
The push is also where everyone's mistakes come due. The pre-push gate ran about 25 test suites plus a scan for private names over the whole tree. Seven commits in three days were titled "unblock push" or "scrub": the chat that happened to push was fixing other chats' files to get the gate green.
So on 30 September I tried a rule with no code behind it: one chat pushes, every other chat only commits.
What you need
| Tool | Used for |
|---|---|
| Claude Code (desktop app) | 15 to 20 chats on one checkout |
| git | one shared main, pushed to GitHub |
| CAM | the journal and pins every chat reads at start (how it works) |
push-main |
the one script that pushes main, under a lock |
| the wrap-up skill | the end-of-chat steps, which offer a commit and a push |
The idea needs no tooling to try. Any team of agents, or people, can name one pusher for a day.
How did the role work?
The operator, me, names one chat the pusher for the day, and that chat tells the others.
- I open a chat titled as today's pusher.
- It sends each open chat a CAM message: commit, but don't push.
- Each chat reads its message on its next prompt, and only commits. Chats opened later get none.
- At its own wrap-up, the pusher chat runs
push-main. - One push sends the whole day's commits from every chat.
The dashed arrow is the leak, covered in the next section.
On 30 September the first pusher chat wrote "Push owner today" into the journal after its 84-commit push. Twenty-four minutes later another chat landed a commit and noted "not pushed, push owner" instead of pushing. The rule worked on its first day with nothing enforcing it.
I ran it on at least five days between 30 September and 22 October, each time opening a chat titled for the job ("you are single pusher today"). The rule travelled as CAM messages, which each chat reads on its next prompt. In find-work the message read: "Commit to main as usual, but do not run push-main or git push." On 17 October the ai-wow pusher sent it to 14 open chats, then to 2 more, then to 2 more that evening: 18 chats told one by one. Chats opened later never heard it. That gap is why CAM pins were built the same afternoon: a pin heads every new chat's start-up block until the day ends.
What did the git timeline show?
The batching shows up in git-timeline, a local page that logs every git command the chats run, per repo. Its Push and Pull panel lists each push with its commit count. Its Chats panel lists each chat with the commits it made and the pushes it ran. Clock times on the screenshots are local.
- 13:50 to 16:30: four pushes of 62, 9, 3 and 3 commits, before a pusher was named.
- 23:27: one push of 80 commits, at the pusher chat's wrap-up.
On 17 October, four pushes went out before lunch and early afternoon: 62, 9, 3 and 3 commits. Then the pusher chat was opened, and the next push came at its wrap-up: 80 commits in one go. Its CAM note sixteen minutes later reads "push batched to 389's wrap-up".
- 17 chats made between 1 and 13 commits each, and none pushed.
- All 5 pushes, 157 commits, sit on the "outside agents" row.
The same day from the chats' side: 17 chats made between 1 and 13 commits each, and every one of them shows 0 pushes. All 5 pushes, 157 commits, sit on one row, "outside agents". That row means the page could not tie those pushes to a chat, so the pusher chat gets no credit by name.
- 22:50: one push of 164 commits.
- The same minute, the chat titled "single pusher, push to main" fetches.
22 October was the biggest day. One push at 22:50 carried 164 commits, in the same minute that the chat titled "single pusher, push to main" fetched origin to check it.
Why did a second chat still offer to push?
Because the message was prose, and the push question comes from a skill step that a script triggers. The message said two things: one chat is the only pusher, and don't push from here. Some chats skipped it. Some still asked.
- Wrap-up runs
push-main --preview. Onoffer: nothe chat asks only to commit. - On
offer: yesthe agent weighs the skill step, which says to ask, against the CAM message, which says not to. - If the skill wins, it asks to push
main, and a yes makes a second pusher that day.
The wrap-up skill's step 6 has the agent run push-main --preview. The script prints the commits waiting and ends with offer: yes or offer: no. On offer: yes, the skill says to ask me "push main?". The script knows nothing about the message. So a chat at wrap-up holds two instructions that disagree. The skill step is long, specific and in front of it right now. The message is one line it read hours and many tool calls ago. Sometimes the step won.
When it did, I got a push question in a chat that was not the pusher. A tired "yes" would make a second pusher that day, which is the thing the rule existed to stop. The push-main lock means a second push can't race the first. It still breaks the batching and runs the full gate again.
I did not count how often this happened.
What would make the rule hold?
Code that reads the rule, so no agent has to. A pin is already stored as data in .git/cam/pins.json, so the rule can live there. Two small changes, neither built:
push-main --previewprintsoffer: no (chat X is today's pusher)when a live pusher pin names another chat. The wrap-up step already handlesoffer: noby asking only to commit, so the skill text needs no change.push-mainitself refuses to push from any chat but the named one, with a flag for me to override.
The first change turns the prose rule into an output the skill already obeys. The second makes it hold even if an agent ignores both.
The name of the game is making more deterministic code-driven harness to rely less on agents reading and executing harness engineering instructions, minimizing the risk and volatility of the non-deterministic nature of LLMs.
That is the lesson I took from this run. An agent that reads an instruction usually follows it. A script that checks a condition always does. Every rule that matters enough to repeat in 20 chats belongs in the script.
Strong and weak points
Where it wins:
- Zero build to start. A day's rule in one sentence fixed the scattered pushes on its first day.
- One push a day. The gate runs once, on the whole day's commits, instead of at every wrap-up.
- One chat owns gate failures, so nobody fixes a peer's files by surprise.
Where it loses:
- The role dies with the chat. When the pusher chat ends, "push owner" points at nobody.
- Prose leaks. The message told chats not to push, and some still offered to.
- Commits wait. Work sits unpushed on one disk until the pusher wraps up.
I don't run it today. It was useful on the days I had 15 to 20 chats open at once.
Summary
- One named pusher turns many scattered pushes into one batched push and one gate run a day.
- Delivering the rule by message misses chats opened later; a pin fixes delivery.
- A message or a pin is still prose. A skill step triggered by a script can outweigh it, and did.
- Rules that must hold belong in the script the agent already runs, not in text it may weigh.
- Make
push-main --previewprintoffer: nowhen a pin names another pusher. - Make
push-mainrefuse a push from any chat but the named pusher. - Give pins a typed field (
pusher: chat X) so scripts don't parse prose.