AI agents write code, notes and pull requests with our engineering team every day. We work with them by a short set of written rules. This post is about the ideas behind those rules, why we chose them and what they cost. We leave out the detail of our own setup on purpose.
The problem
An agent starts every task knowing nothing about us. Left alone, it guesses how things stand from whatever note it finds. It repeats a mistake someone corrected last week. It hands back work it could have done itself.
Each of these wastes a person’s time, and the first is the worst. A confident answer built on an old note can send someone the wrong way.
We wanted three things. Every agent should start from what the team already knows. No agent should mistake a note for the truth. And a person should stay in charge of what ships.
What makes it hard
Notes drift. The day a note says how something stands, it starts to fall behind the real system. An agent cannot tell an old note from a fresh one by reading it, and it reads both with the same confidence.
Agents forget. A correction made in one session is gone in the next, unless it is written down somewhere the next agent will read.
Agents are quick. That is the point of them, but it also means a wrong change can be made faster than a person would spot it.
The principles we chose
Notes are memory, not state. People and agents share one set of plain notes. It holds what no other system holds: rules, how-tos, the reasons behind decisions, and dated records of what was done by hand or found. It never holds a copy of live state, such as where a task stands or what is running. That lives in the task tracker, the code and the running systems, and a note says where to read it.
Read the source before you say how things stand. Before an agent says how anything stands, it reads it from the system that holds it. A note is a way in, never proof. When a note and its source disagree, the source is right and the note gets fixed. Notes that describe code fall behind too, so the agent checks them against the code.
A correction becomes a rule. Before a task, every agent reads what the team has learned. When a person corrects it, or says how they want something done, the agent writes that down as a rule. When something fails, or works in a way worth keeping, it writes that down as well. The next agent starts from there, so nobody makes the same correction twice.
Short asks. When one agent hands work to another, the ask is a few lines: the goal, what to read and where to stop. It does not repeat what the notes already say. A plan handed to a person is short enough to read in a minute.
A person approves what ships. An agent can propose almost anything, and if it can do a piece of work, it does it rather than handing it back. But a person reviews what ships, and changes to live systems stay with people.
The trade-offs
Each of these rules costs something. We chose them knowing that.
| Choice | What it costs | Why we accept it |
|---|---|---|
| Read the real system, not the note | A lookup before every answer | A fast wrong answer costs more |
| Write every correction down | Rules to keep tidy | Nobody repeats the same fix |
| A person approves what ships | Work waits for a review | Nothing runs that nobody has read |
Rules also take upkeep. A set of written rules grows, and old ones stop being true. We made the agents responsible for keeping the shared notes in shape: when a task runs into stale text, the agent fixes it then. We keep what agents learn short and drop old lessons, and a lesson that keeps coming back becomes a firm rule.
What we would tell another team
Fix the cause, not the case. When an agent gets something wrong, the fix is a general rule or a fix to the data, never a prompt patch for that one case.
Keep each fact in one place. A decision that changes a fact is written into every note that states it, in the same change, so the notes never disagree. If the same fact has had to be corrected twice, stop correcting it. Write down where the real answer lives instead.
Build what any agent could use once. A capability that more than one agent could use is built as a shared feature that agents switch on, not inside one agent.
Some of this work is public. Our website runs on plain files that agents and people change the same way, and AI assistants can find a Hubble gift card through our MCP server. If you would like to work like this, see careers at Hubble.