Rolling it out
8 min read
By the end you can run agents safely in a real repository and start a rollout the way most successful ones start: with one engineer.
TL;DR
- Isolate concurrent or conflicting work, use local checks for feedback and protected server gates for enforcement, and retain normal human review.
- One engineer can start a rollout: use it yourself, record outcomes, teach a peer, then recruit the lead and manager. Measure the pace rather than assuming a fixed productivity curve.
- Give skepticism a constructive role, make review accountable and plan for vendor outages.
Guardrails for a real repo
The agent is one more author with write access, so give it the boundaries every author gets.
These repo-level habits sit on top of Chapter 2's five layers and matter most on yellow codebases (Chapter 8). The human review floor that no review bot replaces is Chapter 5's.
Worktrees
Isolate concurrent agent work from unfinished local changes.
A worktree is a separate checked-out copy of the repository on its own branch. It is useful for concurrent tasks or when an agent would otherwise touch unfinished local work. A clean dedicated checkout or an already isolated environment can satisfy the same purpose. Worktrees prevent working-copy collisions; they are not a security sandbox, and all work still goes through normal review.
Two kinds of hooks
Hook the agent, hook the repository, and run the same checks in CI.
- The agent hook (hookify, or your agent's equivalent) checks covered actions and allows them, requests approval or blocks them. Use it for sensitive areas such as cryptography, payments or migrations. Its configuration and failure behavior need protection (Chapter 2); a repository file the agent can rewrite is not a firm boundary.
- The git hook runs for whoever is committing - you, a teammate or the agent - so one check covers every author. Fast checks (format, lint, typecheck, secret scan) run at commit, tests and the build at push, and a hook manager with versioned config makes sure the hooks are installed on every clone.
- Local bypasses include
--no-verifyand changing Git's hook configuration. A deny rule can catch some attempts; it does not make local hooks mandatory.
Local hooks are fast feedback: skippable and not guaranteed on every machine. Enforce acceptance with required server checks, protected workflow changes and required owner approval. Verify that the agent's credentials cannot change or bypass those rules; moving an editable check into CI does not by itself protect it.
Keeping it alive
Rules rot, so someone owns pruning them.
The mistake journal and its champion are Chapter 6. For process mistakes, keep a failure watchlist: recurring failures, what triggers them and the team's standard response. Review it every month or so and retire what is fixed.
The outer loop
Run the agent unattended only under a written contract.
The outer loop re-invokes the agent until a condition holds. It adds attempts, not judgment, so it multiplies whatever your inner loop permits (Chapter 4). Use it only when every unit meets Chapter 8's task prerequisites and can be independently verified and recovered, with controls suited to unattended work. A green preparation score alone is insufficient. Review the resulting pull requests before release.
Before the first unattended run, record a machine-evaluable stop condition, budget, protected acceptance gate, durable state and context handoff, and isolation sized for absence. Use a dedicated branch and working copy, verify each tool's sandbox coverage, keep production credentials out and test network restrictions. Appendix B.6 is the form, with the four signs that mean stop before relaunch.
How do you roll out AI coding agents on a team?¶
Start with one engineer who refuses to give up, not with a program.
The first time I taught the three-role rubric, an engineer in the back row said: "My manager has not heard of agentic AI. My lead does not have time. I am the only person on my team who cares. What do I do?"
The three-role arc would stall for him in month two, when the procurement conversation never happens. The grassroots arc would not, and it is how most successful adoptions in 2025 and 2026 started: one person plays champion, then de facto lead, then manager-advocate, in sequence. I have watched it succeed twice.
- Month 1: use it on your own work. Architecture reviews, AGENTS.md drafts and the six-phase loop on code you own, inside existing policy. No announcement; build evidence quietly.
- Month 2: write it up. A one-page memo: stories shipped, time saved, honest notes where the agent did not help. Share what you did; do not pitch adoption.
- Month 3: teach the peer who asks. Write a bigger case together and invite your tech lead to a walkthrough.
- Months 4-6: the lead recruits the manager with evidence and two engineers asking for the same workflow.
By month six it looks like the ideal arc at month three, in twice the time. The trade-off: the grassroots arc is fast to start and fragile, because if the one engineer leaves before peers and management are recruited, the practice dies with them. The three-role arc starts slower and survives a departure. With a manager who knows agents, an engaged lead and budget, run three roles; with only your own hours, run the grassroots arc.
The 90-day arc
The 90-day arc is one workable schedule, not a productivity law.
Before starting, establish an approved service and account, permitted repositories and data, a responsible owner, initial tested controls and a spending limit. Existing policy applies to a grassroots pilot too. The example then gives setup and a bounded pilot the first month, expansion the second, and operational ownership the third. Later governance work reviews expansion and recurring ownership; it is not the first approval. Track elapsed and human touch time, quality, review/rework and total cost from the start. Add instructions, skills and hooks for a demonstrated need or justified risk. The reusable calendar and measurement card are Appendix B.5.
Role commitments
Agree an explicit time budget and adjust these example commitments to the team.
The champion learns the workflow first. They need protected time and willingness to investigate failures; seniority alone does not select them. They run the architecture review (Chapter 7) on a familiar codebase, tighten the instruction file, and use Chapter 4's loop on a few features sized to each, logging friction in the mistake journal. By day 90 another engineer runs the workflow as fluently. Appendix B.5 has the week-by-week calendar.
The lead decides which work gets the agent.
- [ ] Week 1: select proposed tasks, establish their prerequisites and record preparation gaps (Chapter 8).
- [ ] Months 2-3: track cycle time, defect rate and reviewer time (noisy; measure anyway), then present honest results, including where the agent did not deliver.
The manager owns pilot eligibility and budget before work begins, then procurement, expansion decisions and recurring governance. Appendix A provides an illustrative twenty-engineer scenario and a complete hypothetical cost calculation; it does not supply measured adoption or cycle-time outcomes.
Dissent and overconfidence
Separate justified dissent from unexamined delegation, using evidence and the normal engineering process.
The principled skeptic may be identifying a real failure mode. Invite them to define representative tasks, consequential mistakes, evidence needed to expand scope and stop conditions. A demanding reviewer can improve the pilot without choosing to use the agent personally. Distinguish evidence-based dissent from obstruction through the normal engineering process. Resolve ownership and conduct disputes there; do not route around required expertise or approvals to preserve adoption momentum.
The uncalibrated delegator skips the careful read because "the agent always does it right". Defects compound, the team blames the agent instead of the missing review step, and eventually the engineer cannot debug what the agent helped build. Every agent-led PR gets the same human review as a human-led one. For the first month, pair them with a senior who reads the output line by line.
The vendor will have a bad week
Plan for the agent being unavailable.
I watched a team's velocity halve for a week when their primary model was rate-limited. In June 2026 the largest vendor's newest flagship tier was pulled worldwide days after launch and stayed unavailable for nearly three weeks; teams with fallbacks ran them for real; teams without rediscovered their old setup under deadline. Keep a non-agentic fallback for time-sensitive work, a senior who can still ship a hotfix at three in the morning, and a runbook for "the agent is throttled and the customer is waiting".
When it breaks
| It breaks when | What happens | Fix |
|---|---|---|
| A champion, no lead | The champion does all the agent work alone; the agent is labeled "interesting but limited" | The lead's checklist, above |
| A champion and lead, no manager | Procurement stalls, yellow projects stay yellow; the classification has no buyer | The manager's page, Appendix A |
| A lead and manager, no champion | Committed in theory, stuck in practice | The champion's checklist, above |
| Local hooks treated as enforcement | Skipped, edited or never installed | Protected required server checks and reviewed policy changes |
Do this Monday
- [ ] Check that the agent's workspace is isolated from concurrent work and unfinished local changes; use a worktree or dedicated checkout where needed.
- [ ] Pick your role - champion, lead or manager - make the first commitment from its checklist this week, and put it on a calendar.
- [ ] Check required server checks and sensitive-path approval, including who can bypass them. Test any policy hook's blocking response and failure behavior; local hooks are additional feedback.
- [ ] Write the fallback for a vendor outage week: who ships the hotfix without the agent.
Go deeper
- Templates: Appendix B.5, the 90-day calendar with the manager track; B.6, the outer-loop contract; B.4, the kill-signal worksheet.
- Deep dive: Appendix D, Chapter 9 - the outer loop's lineage and vendor timeline, and the two kinds of hooks in full.
- For managers: Appendix A.
- Sources: Appendix C.