Shared Standards as Alignment by kirupa (https://www.kirupa.com/me/index.htm) | filed under Teams & Leadership (https://www.kirupa.com/teams_and_leadership/index.htm) TL;DR: An agreement about how a team handles something that keeps coming up, written where every person and agent reads it, with a reason, an owner, and an automatic check wherever possible, is called a shared standard. The best one to start with is a definition of done: a short checklist every change passes before anyone calls it finished. - NASA lost the Mars Climate Orbiter in 1999 because one team's software wrote thruster pushes in pound-force seconds and another read them as newton-seconds. A written spec said metric, it wasn't followed, and no check caught it in time. - After Crumb & Co. bought Rolling Pin, the coding agent, Wren, and Yara each meant something different by done. Biscuit's first 41 pre-orders were skipped over a date format nobody wrote down. - Agents only know what we write down. Keep one set of standards that people read as pages and agents read through files like AGENTS.md. - Turn one line of your definition of done into a check, give every standard exactly one owner, and give every rule its why. On September 23, 1999, NASA's Mars Climate Orbiter fired its engine to slip into orbit around Mars, passed behind the planet, and was never heard from again. Two teams had built software that steered it. One team's software wrote down the push from each small thruster firing in English units, and the other team's software read those same numbers as metric. Neither program crashed or complained. They just disagreed about what the numbers meant, and nothing the teams had in place caught it in time. Every growing team runs into a smaller version of this, and AI agents speed it up, because every agent we add is one more builder with its own idea of what finished looks like. In this article, we'll look at how a team of people and agents can agree on what good work looks like, write it down where everyone reads it, and check it automatically. Onwards! Two Bakeries, One Team Our bakery, Crumb & Co., just bought Rolling Pin Bakeries, a chain of six shops that has run on the same ordering system since 2011. That system is called Pinwheel. It has no tests and no API, and Yara, who leads Rolling Pin's two-person ordering team, has kept it running for years. Overnight, our team got a lot bigger: [Image: Three groups now build things customers see. From Crumb & Co.: Wren, the web developer, Tess in support, and Rosa, the shift lead. From Rolling Pin: Gus, who heads its 6 shops, and Yara, who keeps its ordering system, Pinwheel, running. And the agents: Biscuit answers customers, Rye handles back-office jobs, and a coding agent writes code with Wren.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_team.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_team.png?v=d6156f0623ba) Everyone in this picture ships something our customers will see, and three of them aren't people. Our first big project together is having Biscuit, our help desk bot, take holiday pie pre-orders for all six Rolling Pin shops. Pinwheel has no API, so every night at 2am, Biscuit's new pre-orders travel to Pinwheel in a file. Wren's coding agent is going to build the part that writes that file. When is this work done? It depends on who we ask: [Image: Biscuit's pre-orders for Rolling Pin's shops move through six stages: code written, tests pass, merged, taking orders, in Pinwheel the next day, and shops told. The coding agent plants its Done! flag at tests pass, Wren plants theirs at taking orders, and Yara's Done! flag sits at the very end, after the shops are told.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_done_flags.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_done_flags.png?v=72b53d219854) Our coding agent calls it done when its tests pass. Wren calls it done once Biscuit is live and taking orders. Yara doesn't call anything done until the orders show up in Pinwheel the next morning and the shops know about them. Pinwheel has no tests, so checking the real result is the only safety net Rolling Pin has ever had. All three answers are reasonable, and nobody wrote any of them down. Biscuit starts taking Rolling Pin pre-orders in mid-October, a couple of weeks before Rolling Pin's yearly change freeze. That night, everything looks great. Here is what Yara finds the next morning: [Image: On the left, the file Biscuit sends Pinwheel overnight, biscuit_preorders.csv, with columns for the order, the shop, and the pickup date. Its rows read P-1001, shop 2, 2026-11-24; P-1002, shop 5, 2026-11-25; P-1003, shop 1, 2026-11-24; and 38 more rows. An arrow marked 2am leads to Pinwheel's pre-order list the next morning, which says Import complete and shows 0 new pre-orders. A handwritten note asks: where did all 41 go?] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_morning.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_morning.png?v=c52603eecbb9) Biscuit took 41 pre-orders on its first day, and Pinwheel imported none of them. Did Pinwheel complain? Nope. Our coding agent wrote dates the way most modern software does (2026-11-24), and Pinwheel only reads dates like 11/24/2026. When Pinwheel can't read a date, it skips the whole row and moves on. Yara's team spent the morning retyping 41 pie orders by hand. Everyone did their job by their own idea of done. Yara's idea of done is the one that caught the problem, and that idea lived only in Yara's head. The Orbiter Had the Same Problem Remember the Mars Climate Orbiter? NASA's investigation board (https://llis.nasa.gov/llis_lib/pdf/1009464main1_0641-mr.pdf) traced its loss to a piece of ground software called Small Forces. Small Forces wrote the push from each thruster firing into a file, and the navigation team's software read that file to work out where the spacecraft was going: [Image: The spacecraft team's ground software, called Small Forces, wrote each thruster push into a file in pound-force seconds, shown as 1.00 lbf-s. The navigation team's software read the same number in newton-seconds, as 1.00 N-s. One pound-force second is 4.45 newton-seconds, so every push looked 4.45 times smaller than it really was.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_units.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_units.png?v=3ebf5982c5e1) The file was supposed to be in newton-seconds. It was written in pound-force seconds, and one of those is 4.45 newton-seconds. Every push looked 4.45 times weaker than it was. Over the months it took to fly to Mars, those small errors added up: [Image: Three altitudes above Mars, drawn to scale. The planned closest pass was 226 km. The lowest altitude the spacecraft could survive was 80 km. Its actual pass was about 57 km, below the survivable line, and the spacecraft was never heard from again.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_orbit.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_orbit.png?v=01258daaa0de) The plan was to pass 226 km above Mars. The spacecraft couldn't survive anything below 80 km, and it went in at about 57 km. That was a $125 million orbiter (https://www.cnn.com/TECH/space/9909/30/mars.metric.02/), lost over the units in one file. What I find most useful is what the board found next. The two teams did have an agreement. A document called the Software Interface Specification said the file had to be metric, and the board's report says that specification "was not followed." The project also had reviews and checks that usually catch mistakes like this one, and the board found that none of them caught it before it mattered. A rule like that reminds me of how Captain Barbossa explains the pirate code in Pirates of the Caribbean: [Image: A gag. A pirate captain stands next to a thick book labeled The Code. A sticky note slapped on its cover says, in marker: more like guidelines.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_barbossa.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_barbossa.png?v=c8daf6fbfdf2) Barbossa's take is that "the code is more what you'd call 'guidelines' than actual rules." That works fine for pirates. It works a lot less well for spacecraft and pie orders. What Is a Shared Standard? What our team needs (and what those NASA teams needed) is an agreement about how we handle something that keeps coming up. It has to be written where every person and every agent will read it. It needs someone who decides when it changes, and as much of it as possible should be checked automatically. An agreement like that has a name, and it's called a shared standard. Here is the first one we wrote after our pre-order mix-up: [Image: One standard written as a card with four parts. The rule: dates in files we send Pinwheel look like 11/24/2026. The why: Pinwheel skips any date it can't read, without an error, and it skipped all 41 of Biscuit's first pre-orders. The owner: Yara decides when this rule changes. The check: a test reads every export file before it's sent.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_anatomy.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_anatomy.png?v=b3ce00cc229f) The why tells people and agents what problem the rule solves, so they can handle cases the rule never mentions. The owner decides when it changes, and the check catches the times someone (or something) forgets. When people hear "standards," a lot of them picture a UI kit full of buttons and colors. That's a great kind of standard, and we covered it in Why AI Factories Need a Design System (https://www.kirupa.com/ai_fundamentals/design_systems_for_ai_factories.htm). Our team actually runs on a whole shelf of them, from a formats page to a checklist that every change has to pass before anyone calls it finished: [Image: Five books on a shelf. Design system: how our work looks. Style guide: how it sounds. Definition of done: when work is finished. Formats: dates, prices, and units. How we ship: reviews and freezes. A handwritten note points at the design system: what most people picture.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_shelf.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_shelf.png?v=38ef952f590b) Formats cover the small details that cause big confusion, like dates and units (hi, Mars). How we ship covers code reviews and Rolling Pin's change freeze from November 1 to January 5. The book we needed most this October is the one in the middle, that finished-or-not checklist. The Definition of Done Scrum, a popular way of running software teams, has a name for that middle book. The Scrum Guide (https://scrumguides.org/scrum-guide.html) calls it the Definition of Done: a short checklist that every change has to pass before anyone gets to call it done. The guide also says that when several teams work on the same product, they "must mutually define and comply with the same Definition of Done." That's us. Wren, Yara, Gus, and Tess sat down for 45 minutes and merged their ideas of done into one list: [Image: A checklist titled Done means, with six lines and where each came from. Tests pass, from Crumb & Co. Someone besides the author reviewed it, from Crumb & Co. Files for Pinwheel follow our formats page, which is new. The orders show up in Pinwheel the next morning, from Rolling Pin. Biscuit can answer what customers will ask, from Crumb & Co. The shops hear about anything they'll see, from Rolling Pin.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_dod.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_dod.png?v=58b7290ad06b) Tests and a second reviewer are Crumb & Co. habits. Checking Pinwheel the next morning and telling the shops are Rolling Pin habits, and Wren had never heard of either one. The formats line is new, and it came straight out of our 41 retyped orders. When we talk about aligning two teams, this is what we mean. We kept the best habits from both sides and wrote them down where everyone can see them. Agents Only Know What We Write Down People pick up a lot of standards without anyone writing them down. Yara mentioned the next-morning check to Wren in passing, and after those 41 orders, Wren will never forget it. Our coding agent wasn't around for any of that: [Image: On the left, Yara tells Wren in passing: always check Pinwheel the next morning! On the right, the coding agent reads its instructions file, AGENTS.md, which says to run the tests and follow our formats page, and says nothing about checking Pinwheel. A handwritten note points at the agent: never heard it!] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_hallway.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_hallway.png?v=360c7d870062) A coding agent starts every task knowing only what's in its instructions and whatever it reads along the way. If "check Pinwheel the next morning" only lives in Yara's head, we can't count on our agent to do it. It might guess right, but guessing is how we ended up with 41 skipped orders. We have to write the requirement down, and then check that it actually happened. This is why many teams keep a file of instructions next to their code. A popular convention is AGENTS.md (https://agents.md/), which its own site calls "a README for agents." We don't want two rulebooks, though. If our wiki says one thing and our agents' instructions say another, we'll drift apart again. We'll keep one set of standards and let people and agents each read it their own way: [Image: In the middle, one set of standards: design system, style guide, definition of done, formats, and how we ship. An arrow to the left leads to people, Wren, Tess, and Yara, who read it as pages. An arrow to the right leads to agents, Biscuit, Rye, and the coding agent, who read it as AGENTS.md and instructions.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_rulebook.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_rulebook.png?v=8e514d258b24) Our people read the standards as pages, and our agents read the same files through AGENTS.md. kirupa.com's own design system, ROFL (https://www.kirupa.com/design/), works this way too. Turning a Line Into a Check A standard that depends on everyone remembering it will slowly stop being followed. That's part of how the orbiter got into trouble. What we're going to do is go through our definition of done one line at a time and ask one question: could a script check this? [Image: Our six lines sorted into two columns. A script can check it: tests pass, someone besides the author reviewed it, and files for Pinwheel follow our formats page. A person checks it: the orders show up in Pinwheel the next morning, Biscuit can answer what customers will ask, and the shops hear about anything they'll see.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_sort.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_sort.png?v=8dd75980e7e8) Three of our six lines can be checked by a script on every change. The other three need one of us, at least for now. Lines can move left over time, too. Right after those 41 retyped orders, Wes, a Rolling Pin developer who now works on Wren's team, spent two days building a check that runs at 6am and compares Biscuit's orders with what Pinwheel actually imported. Yara still looks every morning, and now a script also taps her on the shoulder when the two don't match. We are going to automate the formats line first, because it already burned us once. Here is the check in JavaScript: // Formats page: dates in files we send Pinwheel look like 11/24/2026 const PINWHEEL_DATE = /^(0[1-9]|1[0-2])\/(0[1-9]|[12]\d|3[01])\/\d{4}$/; function checkPinwheelExport(rows) { const bad = rows.filter((row) => !PINWHEEL_DATE.test(row.pickup_date)); if (bad.length > 0) { throw new Error(`${bad.length} rows have dates Pinwheel can't read, like ${bad[0].pickup_date}`); } } PINWHEEL_DATE describes the only date shape Pinwheel can read. It checks the shape and not the calendar, so a date like 02/31/2026 would sneak through, but the shape is the mistake that burned us. Our checkPinwheelExport function refuses the whole file if even one pickup date doesn't match. Here it is running on the first night's file and on the fixed one: [Image: Our new check runs on two of Biscuit's export files. On the first night's file, it fails: 41 rows have dates in a shape Pinwheel can't read, like 2026-11-24. On the fixed file, it passes: all 41 rows have dates in Pinwheel's shape, like 11/24/2026.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_check_run.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_check_run.png?v=fe7b30c7051c) Wren adds this check to the tests that run before every export goes out. It runs for Wren, for Yara's team, and for our coding agent alike, and a file like that first night's will never reach Pinwheel again. Every Standard Needs an Owner Standards go stale. Without an owner, every proposed change turns into a long thread where nobody can say yes. That's why every standard on our shelf gets exactly one owner. Yara owns the formats page, Tess owns the style guide, and Wren owns the definition of done. Here is what happens when Arlo, who runs our newsletter, wants Biscuit's emails to show dates differently: [Image: Arlo asks: can Biscuit's emails show dates like Tue, Nov 24? Tess, who owns the style guide, says yes. In one change, she updates the style guide page and the check that reads Biscuit's emails. From then on, people and agents follow the new rule.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_owner_flow.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_owner_flow.png?v=2a5f17b885fb) Tess updates the style guide page and the check in the same change. If only the page changed, the check would start failing good emails, and we'd learn to ignore it. If only the check changed, our agents would keep reading the old rule. (We'll dig into owning work alongside agents in Ownership When Humans and Agents Co-Author (https://www.kirupa.com/teams_and_leadership/ownership_with_agents.htm).) How Many Rules Is Too Many? There's a catch. Every rule we add is one more thing for people to remember and for agents to read, and agents only have so much room (their context window (https://www.kirupa.com/ai_fundamentals/context_window_limits.htm)). A rulebook with 300 rules gets skimmed. Ours has 23. Our rule of thumb is that a rule earns its place once we've been burned without it, and every rule carries its why. The why matters even more for agents than for people. Here is what our coding agent does when it adds a new date column to Biscuit's file: [Image: Two versions of the same rule, each followed by what the coding agent does when it adds a new deposit_paid_on column. With only the rule, pickup_date looks like 11/24/2026, the agent writes the new column as 2026-11-03, and Pinwheel skips it. With the same rule plus its why, pickup_date looks like 11/24/2026 because Pinwheel skips dates it can't read, the agent writes 11/03/2026, and Pinwheel reads it.] (https://www.kirupa.com/teams_and_leadership/images/shared_standards_why.png) (https://www.kirupa.com/teams_and_leadership/images/shared_standards_why.png?v=d5b631f888e0) With only the rule, our agent formats pickup_date correctly and writes the new column the modern way, because the rule never mentioned it. With the why, the agent knows Pinwheel is the problem, so it writes the new column the same way. When nobody remembers why a rule exists, we ask its owner. If the owner can't remember either, we don't delete it on the spot. We find out what still depends on it, try a change without it, and retire it only when nothing breaks. Pinwheel has taught us that a forgotten rule can still be holding something up. Try It This Week Pick one kind of work your team (and its agents) does over and over, and let's write down what done means for it: 1. Ask two or three people who do the work when they'd call it done, and write down every answer. 2. Merge the answers into one list of five or six lines, and give the list an owner. 3. Put the list where your agents read their instructions, and link to it from wherever your people look. 4. Pick the one line that has burned you before, and turn it into a check that runs on every change. Frequently Asked Questions What Is a Shared Standard? A shared standard is an agreement about how a team handles something that keeps coming up, like date formats, reviews, or what done means. It’s written where every person and agent will read it, it has an owner who decides when it changes, and as much of it as possible is checked automatically. Each rule also carries its why, so people and agents can handle cases it never mentions. What Is a Definition of Done? A definition of done is a short checklist every change has to pass before anyone calls it done. The Scrum Guide says that teams working on the same product must agree on the same one. Ours merged habits from two teams, like tests passing and checking Pinwheel the next morning. Why Did the Mars Climate Orbiter Crash? NASA’s investigation board traced the 1999 loss to ground software called Small Forces, which wrote thruster data in pound-force seconds while the navigation software read it as newton-seconds. Every push looked 4.45 times weaker than it was, and the spacecraft passed about 57 km above Mars instead of the planned 226 km. A written specification said the file should be metric, it wasn’t followed, and the project’s checks didn’t catch the mismatch in time. How Do You Get AI Agents to Follow Team Standards? Agents only know what’s in their instructions and what they read along the way, so you can’t count on them to follow unwritten habits. Keep one set of standards that people read as pages and agents read through files like AGENTS.md, give every rule its why, and turn the most important lines into checks that run on every change. Conclusion Ok, it's time to wrap things up. When a team grows, and especially when it grows by adding agents, everyone brings their own idea of what good work looks like. Most of those ideas are perfectly reasonable. The trouble starts when they live only in people's heads, where the agents (and the people who weren't in the room) can never see them. A shared standard is an agreement we write down where people and agents both read it, with a why, an owner, and as many checks as we can automate. A definition of done is the best place to start. The board that investigated the Mars Climate Orbiter found an agreement that wasn't followed and checks that didn't catch it. Our team now has its agreement written down and its first check running, and Pinwheel hasn't skipped a single pie order over a date since...though Yara still opens Pinwheel every morning, just to be sure. 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, Ownership When Humans and Agents Co-Author (https://www.kirupa.com/teams_and_leadership/ownership_with_agents.htm), or check out some related content: - Why AI Factories Need a Design System (https://www.kirupa.com/ai_fundamentals/design_systems_for_ai_factories.htm). The standard for how our work looks, written down so agents can read it. - Meet ROFL, an AI-First Design System (https://www.kirupa.com/design/introduction.htm). Meet ROFL, the design system that people and agents both read on kirupa.com. - Specs Agents Can Build From (https://www.kirupa.com/product_thinking/specs_for_agents.htm). Writing specs an agent can follow without having to guess. 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. [Mastery Quiz] Test your knowledge! Take the Shared Standards as Alignment Quiz: https://www.kirupa.com/quizzes/shared_standards.htm Practice with 6 multiple-choice questions and an explanation after every answer. [/Mastery Quiz]