# Team Rituals at Agentic Speed by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Teams & Leadership](https://www.kirupa.com/teams_and_leadership/index.htm) **TL;DR:** Team rituals are the recurring habits, like code review, standups, and demos, that keep a team's work honest. Built for people typing, they break when agents write many times more code. Keep quality high by shrinking changes, reviewing by risk, reading real AI conversations together, and retiring rituals that can't name their job. - Careful review tops out around 400 lines an hour, so 2 reviewers with an hour a day can read about 4,000 lines a week. - Small pull requests that explain what changed, why, and how we know it works are easy to review. Giant ones get rubber-stamped. - A weekly eval review of 30 real conversations finds problems no test covers yet, and each one becomes a new eval case. - More process isn't more quality. A second required approver cut the average review from 9 minutes to 4. On a Monday morning in July, Wren opened our Biscuit team's review queue and found **47** pull requests waiting. Most of them had been written by coding agents over the weekend. Back in January, our whole team merged about 11 pull requests in a typical week, and every one of them got a careful read. Nobody on our team got extra hours in their day. The habits that kept our work honest (reviewing every change, checking in every morning, demoing on Fridays) were built for the speed of people typing. In this article, we'll rework those habits so quality holds up when agents produce many times more work, and we'll retire the ones that stopped earning their time. Onwards! ## Forty-Seven Pull Requests on a Monday To see how we got here, let's look at how much code our team produced each week, compared with how much of it anyone could actually read carefully: [![A bar chart of lines of code the Biscuit team's agents and people wrote each week, January to July: Jan 2,100, Feb 3,200, Mar 6,100, Apr 8,900, May 11,200, Jun 13,600, Jul 14,800. A line at 4,000 lines marks how much Wren and Wes can read carefully in a week. Everything above that line gets a quick LGTM.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_queue.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_queue.png?v=5775467ff46a) In January, we wrote about **2,100** lines of code a week, and all of it got a careful review. In February, everyone started running agents in the background on every ticket, and the bars took off. By July, we were writing **14,800** lines a week. The dashed line is how much code Wren and Wes can read carefully in a week. It hasn't moved at all. Everything in the pink part of each bar got a quick look and an "LGTM" (looks good to me). A quick LGTM is how, last November, a giant pull request titled "updates" got merged with a bug that let a pickup slot take 15 holiday pies. Slots hold 12. ## What Are Team Rituals For? Every team has a handful of things it does over and over, on a schedule, to keep the work on track. Here are ours, along with the job each one is supposed to do: [![The Biscuit team's week. A 15-minute standup every morning helps people unblock each other. Code review on every pull request catches bugs before customers do. A 30-minute status meeting on Tuesdays keeps the owner informed. A 30-minute demo on Fridays shows the work running. A 45-minute retro every other Thursday helps the team get better.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_week.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_week.png?v=0c68e6678338) These recurring habits are called **team rituals**. The word sounds a little mystical, but there is nothing magic going on. Each ritual exists to do one job, like catching bugs before customers do or keeping the owner in the loop. When that job stops getting done, the ritual is just a calendar entry that we sit through. What changed for us was the tempo. All of these rituals were tuned for code written at people speed, and the agents changed the beat completely: [![Two metronomes. The left one ticks slowly, labeled Largo, the speed of people typing. The right one swings so fast it blurs, with sweat drops flying off, labeled Prestissimo, the speed of agents.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_metronome.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_metronome.png?v=70908c385b37) Our rituals were written for the metronome on the left. Our work now arrives at the speed of the one on the right. ## How Much Code Can One Person Review? Code review is the ritual that broke first, so that's where we'll start. How much code can a person review well? [SmartBear studied a programming team at Cisco Systems](https://smartbear.com/learn/code-review/best-practices-for-peer-code-review/) and found that reviewers should look at no more than 200 to 400 lines at a time. They should go slower than 500 lines an hour, and they should stop after about an hour. Past those limits, people find fewer and fewer of the problems. Here is what those limits are going to mean for our team in July: [![The review math for a week in July. 2 reviewers times 1 hour a day times 5 days times 400 lines an hour is 4,000 lines a week. The team wrote 14,800 lines that week, so only 4,000 of them, about 27%, got a careful read, and the other 10,800 got a quick LGTM.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_capacity.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_capacity.png?v=adf3c090f0ec) Wren and Wes each have about an hour a day for careful review. At 400 lines an hour, that's **4,000** lines a week. We wrote 14,800. This means only about **27%** of July's code got a real read. The other 73% got waved through. Agents don't need one-on-ones, but their work still needs somebody's yes, which is why they count toward a leader's [span of control](https://www.kirupa.com/teams_and_leadership/span_of_control.htm) too. What makes this dangerous is that waving things through doesn't feel like waving things through. After 30 agent pull requests in a row that looked fine, the 31st looks fine too. People slowly stop checking work that is usually right, which is a well-studied effect called [automation bias](https://www.kirupa.com/human_behavior/automation_bias.htm). Asking reviewers to try harder won't fix it. We have to change the ritual itself. ## Make Every Change Easy to Review Our first fix will be the size of what lands in the queue. Here's the pull request from last November, next to the same work split the way we ask agents to split it now: [![On the left, one pull request titled updates, 2,140 lines across 31 files. On the right, the same work as four small pull requests: Enforce the 12-pie slot limit (86 lines, high risk), Holiday menu items (240 lines, low risk), Confirmation email copy (35 lines, low risk), Slot picker screen (310 lines, high risk). The other 1,469 lines were reformatting nobody asked for, and they get dropped.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_split_pr.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_split_pr.png?v=a34edd1de7b3) The "updates" pull request was **2,140** lines spread across 31 files. Split into one change per pull request, the actual work came to four small pull requests, and the biggest is just 310 lines. The other 1,469 lines were reformatting that the agent did on its own. Nobody asked for it, so it got dropped. Look at that 86-line slot limit fix. Buried inside a 2,140-line pull request, it's exactly the kind of change a tired reviewer scrolls right past. On its own, it's impossible to miss. Size isn't the only thing that helps. SmartBear also found that reviews go better when the author explains the change before the review starts. Agents are great at writing, so every pull request an agent opens now has to describe itself in the same shape: [![The description on the pull request Enforce the 12-pie slot limit, 86 lines, high risk. What changed: checkout refuses a 13th pie in any half-hour slot. Why: last November a slot took 15, and slots hold 12. How we know it works: a new test that orders a 13th pie and fails on the old code, plus a screenshot of the message customers see. What could go wrong: orders already over the limit stay as they are.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_pr_template.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_pr_template.png?v=4d04887ab342) The "How we know it works" section matters most. A test that fails on the old code and passes on the new code is proof that the change does what it says. A screenshot shows the reviewer what customers will see, without anybody having to run anything. ## How Do You Review AI-Generated Code at Scale? Even small, well-described pull requests add up at agent speed. We stopped giving every pull request the same review, and we started sorting them with one question: [![One question sorts every pull request: does it touch money, limits, cutoffs, customer data, or another system? If no, it goes in the low-risk lane: automated checks plus a skim, for example holiday menu items, confirmation email copy, and a test cleanup, and 1 in 10 still gets a full read. If yes, it goes in the high-risk lane: a careful human read, for example the 12-pie slot limit, the slot picker screen, the Make it right store credit, and the overnight sync into Second Rise's Square register.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_risk_lanes.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_risk_lanes.png?v=1edd37d6a084) Low-risk changes, like holiday menu items or the wording of a confirmation email, get automated checks plus a quick skim. Nell handles those. One in ten of them, picked at random, still gets a full careful read, which keeps the skims honest. High-risk changes get a careful human read every single time. That includes anything that touches the slot limit or the "Make it right" store credit. It also includes the overnight sync Wes built to send Biscuit's pre-orders into the Square register at Hattie's bakery, Second Rise. Here is how our review math works out in October, compared with July: [![Hours of careful review a week, against the 10 hours Wren and Wes have. In July, reading everything carefully would have taken 37 hours. In October, small pull requests sorted by risk need 7.1 hours for the 19 high-risk ones plus 1.7 hours of spot checks, 8.9 hours in all, which fits.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_capacity_after.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_capacity_after.png?v=a60082210d5b) Reading all of July's code carefully would have taken 37 hours a week, and Wren and Wes only have 10. In October, our pull requests are small and sorted by risk. The 19 high-risk ones take about 7.1 hours, and the spot checks add about 1.7. The total of **8.9** hours fits, with a little room left over for the week when something goes wrong. ## Eval Reviews: Reading What Biscuit Actually Said Code is only half of what our team ships. The other half is what Biscuit says to customers, and no amount of code review catches a reply that's technically correct but useless. Every Wednesday, Tess (our support lead) brings 30 Biscuit conversations from the past week, picked at random, and we read them together: [![Tess brings 30 Biscuit conversations from last week, picked at random, and the team tags each one. Fine: 24, Wrong pickup time: 3, Too long: 2, Offered credit it shouldn't: 1.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_eval_review.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_eval_review.png?v=c06c0c33d022) This week, **24** of the 30 were fine. Three gave the wrong pickup time, two were way too long, and one offered store credit to a customer who didn't qualify for it. Reading real conversations together like this is called an **eval review**. It's how we find problems that nobody has written a test for yet. What makes it a ritual (and not just a reading club) is what happens to each problem afterward: [![A loop of four steps. Read 30 chats together. Tag what went wrong. Turn each tag into an eval case. Every change, from a person or an agent, runs against the evals. Then back to reading next week's chats.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_eval_loop.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_eval_loop.png?v=50def02f8163) Each tag turns into a new eval case, which is a saved conversation plus a check for the right behavior. From then on, every change to Biscuit will run against those evals before it ships, whether a person or an agent made it. Our articles on [error analysis on traces](https://www.kirupa.com/ai_fundamentals/error_analysis_on_traces.htm) and [golden datasets](https://www.kirupa.com/ai_fundamentals/golden_datasets.htm) go deeper into turning tagged conversations into evals. ## Demos Over Status Updates We also changed how we show our work. Here's what the status update said one week in June, next to what Friday's demo showed that same week: [![On the left, a status slide: Slot picker, 90% done, on track. On the right, the Friday demo: Tess picks a pumpkin pie for pickup on November 26 at 9:30, the screen says Added! 1 pumpkin pie, Nov 26, and Tess says: Wait, pickup is only the 24th and 25th.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_demo.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_demo.png?v=96ccbd0ceb35) The status slide said the slot picker was 90% done and on track. At Friday's demo, Tess clicked through it the way a customer would. She picked up a pie on November 26, a day when there are no pickups at all, and the screen happily said "Added!" A demo shows the work actually running, in front of people who know what customers expect. A status update only shows what someone believes about the work. With agents writing the code, those two things drift apart much faster than they used to. We killed the Tuesday status meeting, and Wren now sends the owner a short written update every week instead. The Friday demo stayed, and it got more important. ## Keep, Change, or Kill Rituals are easy to add and weirdly hard to remove. On the first working day of 2023, Shopify [cancelled every recurring meeting with three or more people](https://www.fastcompany.com/90888605/shopify-exec-this-is-what-happened-when-we-canceled-all-meetings), nearly 10,000 calendar events in all. Teams had to wait two weeks before adding back only the meetings that were truly necessary. We did a smaller version of the same thing, one ritual at a time: [![Wren's audit of the Biscuit team's rituals, with the time each takes a week. Daily standup (75 min a week): Change, Mondays and Thursdays, blockers only. Same review for every PR: Change, Small PRs, sorted by risk. Owner status meeting (30 min a week): Kill, Wren's written weekly update. Friday demo (30 min a week): Keep, Tess clicks through like a customer. Retro, every other week (23 min a week): Keep, Same as before. Monthly architecture slides (15 min a week): Kill, Nobody could name its job. Eval review, Wednesdays (45 min a week): Add, Tess's 30 chats, tagged together.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_audit.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_audit.png?v=5efa2dc4fcea) Every ritual had to answer one question: what's your job, and are you still doing it? The daily standup became twice a week and covers blockers only, because the agents' work is already visible in the queue. The owner's status meeting became a written update. The monthly architecture slides got killed, because nobody (including the person who made the slides) could name what they were for. One ritual got added, and that's the Wednesday eval review. Even with that new meeting, each of us now spends about **45** fewer minutes a week in rituals. ## More Process Isn't More Quality Before we settled on all of this, Wren tried the obvious fix first. In June, every pull request started needing two approvals instead of one. It seemed like it had to help: [![One pull request, Slot picker screen, needs two approvals. Wren thinks: Wes will read it closely. Wes thinks: Wren will read it closely. Both approve. The average review dropped from 9 minutes to 4, and a bug slips through between them.](https://www.kirupa.com/teams_and_leadership/images/team_rituals_two_approvers.png)](https://www.kirupa.com/teams_and_leadership/images/team_rituals_two_approvers.png?v=75dab4dd9899) Nope. It made things worse. The average review went from **9** minutes to **4**, because each reviewer assumed the other one was reading closely. SmartBear's guide warns about this exact temptation: it's easy to rush through a review when we assume someone else will catch whatever we miss. Adding a second approver added a step to every pull request, and it didn't add any attention. What actually raised our quality was less process in the right places. We made changes smaller, gave each review one clear owner, and saved careful reading for the changes that can hurt someone. If you're wondering how we could tell any of this was working, our article on [measuring team impact](https://www.kirupa.com/teams_and_leadership/measuring_team_impact.htm) follows the same months through Biscuit's numbers. ## Try It This Week Run your own keep, change, or kill audit: 1. List every recurring meeting and review your team has, and how much time each one takes a week. 2. Next to each one, write the single job it's supposed to do. 3. Mark each one keep, change, or kill, and kill anything whose job nobody can name. 4. Sort last week's pull requests into low and high risk, and count how many of the high-risk ones got a careful read. ## Frequently Asked Questions **What Are Team Rituals?** Team rituals are the recurring habits a team uses to keep its work on track, like code review, standups, demos, retros, and eval reviews. Each one should do a single job, such as catching bugs before customers do. A ritual that can’t name its job is just a calendar entry. **How Many Lines of Code Should a Code Review Cover?** SmartBear’s study of a Cisco Systems team suggests reviewing no more than 200 to 400 lines at a time, at under 500 lines an hour, for no more than about an hour. Past those limits, reviewers find fewer and fewer of the problems. **How Do You Review AI-Generated Code at Scale?** Ask agents for small pull requests that explain what changed, why, and how we know it works. Then sort changes by risk. Low-risk ones get automated checks, a skim, and random spot checks, and anything touching money, limits, customer data, or another system gets a careful human read. **How Do You Decide Which Meetings to Cancel?** List every recurring meeting, write the one job each is supposed to do, and mark it keep, change, or kill. Kill anything whose job nobody can name, and replace status meetings with written updates where you can. Shopify did a bigger version in 2023, cancelling recurring meetings with three or more people and making teams justify adding any back. ## Conclusion Phew! We started with 47 pull requests on a Monday and a review ritual that was slowly turning into a rubber stamp. Agents changed the tempo of our work, and rituals built for people typing couldn't keep up. We made changes small and self-explaining, sorted reviews by risk, and started reading Biscuit's real conversations together every Wednesday. We kept the demo, and we retired the meetings that couldn't name their job. Our team now spends less time in rituals than it did in January. The rituals that are left run at the right tempo for a team where agents do most of the typing...and people still do most of the judging. Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, [One-on-Ones That Matter](https://www.kirupa.com/teams_and_leadership/one_on_ones.htm), or check out some related content: - [Automation Bias and Vigilance: Why People Stop Checking AI](https://www.kirupa.com/human_behavior/automation_bias.htm). Why people stop checking AI work that is usually right. - [Hiring for Taste and Judgment](https://www.kirupa.com/teams_and_leadership/hiring_for_judgment.htm). Hiring people who can tell good agent work from bad. - [Error Analysis on Real Traces](https://www.kirupa.com/ai_fundamentals/error_analysis_on_traces.htm). Reading real AI conversations to find what’s going wrong. 3. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out. ## Test your knowledge! [Take the Team Rituals at Agentic Speed Quiz](https://www.kirupa.com/quizzes/team_rituals.htm). Practice with 6 multiple-choice questions and an explanation after every answer.