Blog

Multi-agent coding for real software teams.

Practical, tested guidance for people and coding agents working in parallel: how to divide work, coordinate shared code, review the result, and keep consequential decisions with a person.

Topic

Parallel agent engineering

Architecture and repository workflows for people and coding agents working at the same time.

Agent orchestration guide
A branch cleanup chart shows a merged branch eligible for deletion, a squash-merged branch to review, and an unmerged branch whose upstream is gone to keep.

How to Prune Local Git Branches Safely

Prune local Git branches by checking merge ancestry, missing upstreams, and worktrees. Verify squash-merged branches before approving them for deletion.

Jake7 min read
Diagram of a cached Git removal showing the local file retained and a second worktree marked for review before it receives the deletion.

Git rm --cached: Stop Tracking a File and Keep It

Use git rm --cached to keep a local file while removing it from Git tracking. Verify the ignore rule and see what happens when another worktree merges.

Jake7 min read
Light technical illustration contrasting a loopback port collision with two live Git worktree servers that return different branch markers.

Git Worktree Add: Create and Run a Second Checkout

Use git worktree add to create a second checkout, start two branches on different local ports, and verify which branch each URL actually serves.

Jake8 min read
Light SyncStaff field-guide graphic showing a Codex remote handoff receipt for host, project, thread, Git state, approval, and controller, with review diff, deny, and approve once controls.

Codex Remote Control for Teams: Safe Task Handoffs

Use Codex remote control across a team without losing the correct host, task thread, approvals, evidence, or ownership when work changes hands.

Jake11 min read
Coding-agent paths converge on a shared repository while a benchmark panel contrasts a coordinated green result with a collision and failed red result.

Multi-Agent Benchmarks: Collaboration vs Collision

Compare eight multi-agent benchmarks for coding, conflict resolution, dependencies, resource contention, teamwork, and coordination cost.

Jake12 min read
Worker A holds the lease on db/client.json while Worker B is denied that shared path and continues on db/cache.json.

Agent Orchestration for Multi-Agent Coding Teams

A practical guide to orchestrating multi-agent coding: choose a parallel-work pattern, prevent collisions, test the combined result, and keep humans in control.

Jake12 min read
A git commit graph: main checked out in ~/project, with branches feature-a and fix-issue-456 each checked out in their own linked worktree folder. Checking out one branch in two worktrees is refused.

Git Worktree vs Branch: When You Need Both

Git worktree vs branch explained: what each is, the commands, the one-branch-per-worktree rule, and why parallel AI agents need worktrees, not just branches.

Jake7 min read
METR 2025: experienced developers expected AI to make them 24% faster and believed afterwards it had made them 20% faster, but measured task time was 19% slower.

The AI Productivity Paradox: Why Teams Don't Get Faster

Developers feel faster with AI, but teams don't ship proportionally more. What METR and DORA found, and why coordination is the real bottleneck.

Jake6 min read
A terminal running two codex exec --worktree sessions on the same line: git worktree list shows two detached worktrees, and git merge agent-b ends in a merge conflict in greet.js.

Codex Worktrees: Parallel Agents Without Overwrites

We ran two Codex agents on the same line with --worktree. See where worktrees live, why the agents couldn't commit, and where the conflict surfaced.

Jake8 min read

Topic

Claude Code operating model

Choose a parallel mode, set team policy, and keep Claude Code sessions predictable.

Claude Code agent teams guide
Developer onboarding checklist showing a passing baseline, local configuration boundary, denied protected path, and required human decision

Developer Onboarding Checklist: Clean Checkout to Review

Use this developer onboarding checklist to move from a clean checkout to a review-ready first change with tested setup, scoped access, and shared agent rules.

Jake10 min read
A long Claude Code session compressing into a smaller summary while five labeled decision cards remain intact: owner, decision, constraint, review gate, and next action.

Claude Code Compact: Preserve Decisions After /compact

Learn what Claude Code compact keeps, what it summarizes, and how to preserve owners, constraints, review gates, and next actions across long sessions.

Jake8 min read
A memory folder diagram with MEMORY.md as the index and feedback.md as a topic note to review for scope, beside the words Claude Code memory audit.

Claude Code Memory: Audit What Survives the Session

Audit Claude Code memory with a tested read-only Python script. Check saved preferences, missing notes and index limits before the next team handoff.

Jake10 min read
A nine-item team checklist for Claude Code: agents run the tests, plan first, CLAUDE.md under 200 lines, shared settings, ask rules, a worktree per session, fresh-context review, watch the cost, and check in before edits.

Claude Code Best Practices for Teams Running Many Agents

Anthropic's Claude Code best practices, from verification to context management, plus the team layer: shared config, human checkpoints and coordination.

Jake7 min read
Claude Code hooks at fixed points: SessionStart registers, PreToolUse checks the file lease before each edit, and a fail-closed check refuses when unsure.

Claude Code Hooks: Guardrails That Always Run

How Claude Code hooks work, the events worth knowing, five hooks every team should commit, and the fail-closed preflight hook we run on every agent.

Jake7 min read
Plan mode as five steps: Shift+Tab turns it on, Claude writes a plan listing its files, Ctrl+G edits the plan, you approve it, and the build starts with those files claimed so other agents can see them.

Claude Code Plan Mode: Plan, Approve, Then Build

How Claude Code plan mode works: entering it, approving and editing plans, when to skip it, how it behaves in agent teams, and using plans to claim files.

Jake7 min read
The Claude Code sandbox as a boundary inside your machine: shell commands like npm test and git commit run inside, writing only to the project and temp and reaching only allowed domains, while file tools, hooks, MCP servers and ! commands sit outside it.

Claude Code Sandbox: What It Protects and What It Doesn't

How the Claude Code sandbox works: what it restricts, how to enable it, what runs outside it, its documented limits, and how it fits with permissions.

Jake7 min read
A tmux screen split into four panes: Claude Code sessions in their own worktrees for api and web, a Codex session for review, and the three ~/.tmux.conf lines that make Claude Code work inside tmux.

Claude Code in tmux: A Terminal Setup for Many Agents

The best terminal for Claude Code, the three tmux lines that fix Shift+Enter and notifications, split panes for agent teams, and a layout for many agents.

Jake6 min read
A receipt for Claude Code per developer: about $13 per active day, 90% of users under $30 a day, $150-250 a month in enterprise, roughly 7x tokens for agent teams in plan mode, and rework from collisions paid twice.

Claude Code Token Cost: What a Team Really Spends

Claude Code token cost explained: Anthropic's per-developer averages, how to check usage, billing by plan, where tokens go, and the waste parallel agents add.

Jake7 min read
A folder tree: the main checkout, where session edits are blocked, and .claude/worktrees/ holding feature-auth and bugfix-123, each on its own worktree- branch, plus a .worktreeinclude file for ignored files.

Claude Code Worktrees: Run Parallel Sessions Safely

Run parallel Claude Code sessions with --worktree: setup, how strictly isolation is enforced, cleanup and resume, and why conflicts still meet at merge.

Jake9 min read
Diagram: a Claude Code team lead and two teammates around one file, api/routes.ts. Task claims are locked; api-dev owns the file and its edit goes through; frontend-dev's edit is refused by a hook.

Claude Code Agent Teams: What Breaks When Teammates Collide

Set up Claude Code agent teams, keep teammates from overwriting each other's files with an ownership hook, and see where a team's coordination stops.

Jake13 min read
Three columns of Claude Code permission rules: deny (Read of .env, force push), ask (git push, billing edits, migrations) and allow (npm test, git status). Ask rules reach a person even in auto mode.

Claude Code Permissions for Teams: Modes, Rules, Limits

The six Claude Code permission modes, what auto mode's classifier catches and misses, and how to set permissions so the right decisions reach a person.

Jake7 min read
Four stacked Claude Code settings files in order of precedence: managed-settings.json, .claude/settings.local.json, the committed .claude/settings.json, and ~/.claude/settings.json. Deny rules always win.

Claude Code Settings for Teams: What to Commit and Enforce

Where each Claude Code setting belongs, how the files combine, what a team should commit, and the few settings worth enforcing with managed settings.

Jake9 min read
Subagents versus agent teams: subagents run inside one session and report to the main agent, and in our same-line test one edit was refused; agent teams are separate instances on a shared task list, and same-file edits overwrite.

Claude Code Subagents vs Agent Teams: Which to Use

How Claude Code subagents work, how they differ from agent teams, and what happened when two subagents edited the same line, shared and in worktrees.

Jake9 min read
A CLAUDE.md file open in an editor: line one imports @AGENTS.md, followed by build and test commands and where things live, so Claude Code, Codex and Gemini share one set of rules.

CLAUDE.md Best Practices for Teams Running Many Agents

What belongs in a team CLAUDE.md, what to keep out, the AGENTS.md trap for mixed-tool teams, and why your most important rules also need a hook.

Jake7 min read

Topic

Review and delivery assurance

Test agent output, review changes, and keep accountable human decisions in the delivery loop.

AI agent testing guide
A cache decision chart shows an exact hit at version 1.0.0, a fallback with a skipped install still at 1.0.0, and the corrected install at 2.0.0.

GitHub Actions Cache: Test the Current Lockfile

Configure a GitHub Actions cache that keeps CI on the current lockfile. Tell exact hits from fallback restores and run the right install before tests.

Jake7 min read
A diagram traces a repository pull request template through a Markdown file with test evidence to a draft PR created with the body-file flag.

GitHub Pull Request Template for CLI and Agent PRs

Set up a GitHub pull request template, fill it with tests and review evidence, and pass the finished Markdown to GitHub CLI when an agent opens a PR.

Jake8 min read
Four-row chart compares total logical queue wait in the local fixture. Gitflow release batch took 12 ticks, Gitflow daily and the one-slot trunk queue each took two, and the two-slot trunk queue took zero.

Trunk-Based Development vs Gitflow for Agent Teams

Compare trunk-based development vs Gitflow in 48 local runs. See how merge cadence, review queues, and CI cost change for teams running parallel coding agents.

Jake7 min read
Agent pull request paths flowing through a CODEOWNERS map to two independent human reviewers and a protected merge gate

CODEOWNERS for Agent Pull Requests: A Tested Pattern

Configure CODEOWNERS for agent pull requests, route changes by path, add independent human approvals, and test the policy before protecting branches.

Jake11 min read
Requirements traceability matrix showing seven evidenced rows and one blocked missing requirement before human approval

Requirements Traceability Matrix for Agent-Written Code

Build a requirements traceability matrix that maps every requirement to code, tests, evidence, ownership, and a human approval gate before merge.

Jake10 min read
Side-by-side recovery paths comparing a merge revert that preserves later commits with a fix-forward correction.

GitHub Rollback to Previous Commit Without Losing Work

Safely roll GitHub back to a previous commit with revert, preserve later work, handle merge conflicts, and choose rollback or fix forward with tests.

Jake8 min read
Three dependent pull-request layers, with a failed middle layer repaired before the upper layer advances.

GitHub Stacked Pull Requests for Coding Agents

Use GitHub stacked pull requests to review dependent coding-agent changes, recover from a failed middle layer, and keep merge order explicit.

Jake10 min read
Two coding-agent pull requests pass separately, enter a merge queue, and fail a combined CI policy check before reaching the main branch.

GitHub Merge Queue Guide for Coding-Agent PRs

Set up GitHub's merge queue for coding-agent pull requests, test combined changes before merge, and keep CI fast without weakening required checks.

Jake10 min read
Diagram separating Claude Code pull request review from team coordination, with a human-controlled merge gate between them.

Claude Code Review: What It Is and How Teams Use It

Learn what Claude Code Review does, how hosted PR reviews differ from local checks, and where tests, team policy, and human approval still fit.

Jake12 min read
Three columns compare baseline and changed artifact requirements: Chrome.xml becomes chrome.xml, an offset timestamp becomes UTC Z, and CSV columns beta,alpha become alpha,beta.

AI Agent Testing: Catch Changed Requirements

Use AI agent testing to check changed requirements, inspect real output files, and expose stale graders with a runnable Python lab before a team handoff.

Jake10 min read
Three stages connect a reviewed spec and its decisions to an implementation plan and eight acceptance checks, with the final verification stage highlighted.

Spec-Driven Development With Claude Code: Verify the Spec

Use spec-driven development with Claude Code to review requirements, run eight acceptance cases, and catch changed tests before approving the implementation.

Jake9 min read
Three stacked cards distinguish the model proposing an action, the tool committing an effect, and the harness saving a receipt for recovery.

What Is an AI Agent Harness? A Recovery Example

Learn what an AI agent harness does, then run a Python recovery example that separates committed tool effects from receipts and exposes unsafe replay behavior.

Jake10 min read
568 decisions SyncStaff agents couldn't make alone, from August 3 to October 18, 2026: 356 answered by the founders and 161 resolved by the Chief of Staff.

Human in the Loop for AI Agents: 568 Escalations Later

How to keep a person in the loop for AI coding agents without drowning in prompts: decide by importance, route to chat, and check what you delegate.

Jake7 min read

Topic

Security, identity, and auditability

Define access boundaries and retain the evidence needed to explain what each agent did.

AI guardrails guide

Topic

Cross-tool decisions

Compare execution tools and decide where a coordination layer fits across a mixed stack.

Compare coordination options