03. Breakout: What does the agent need to know?
Imagine a new colleague. They are fast, and they have read every file in the repository. They were in none of your meetings. Tomorrow morning they remember nothing of today.
That colleague is your agent. This session is about what you tell them, and where you write it so that you only say it once.
Your task: Find the things your team knows that an agent cannot learn by reading the repository. For each one, decide where it belongs.
Groups: 4 groups.
| Minutes | What you do |
|---|---|
| 0 to 15 | Part 1. Discuss scenario 1, then pick one more. |
| 15 to 30 | Part 2. Find an example from your own work. |
| 30 to 45 | Part 3. Share one example with the room. |
Before you start
Ask two questions before you write anything down for an agent:
- Could the agent find this by reading the code?
- Would it actually go and look?
If both answers are yes, write nothing. If not, choose a place:
| Place | The agent sees it | Use it for | The cost |
|---|---|---|---|
| Your prompt | In this task only | A detail for one job | You say it again next time |
AGENTS.md |
In every session | Commands that check the work, code that misleads, team decisions | Every line takes attention, also on unrelated tasks |
A skill (SKILL.md) |
When the task calls for it | A procedure the team repeats | Someone must keep it current |
docs/ |
When it finds the file, or when you point to it | Reasons, decisions, agreed behavior | It can go out of date |
| Code, tests, CI | When it reads the code or runs the check | A rule that must hold every time | More work than a sentence |
Part 1. Six things that went wrong (15 min)
These stories are fictional. Every group starts with scenario 1, so the room can compare answers. Then pick one more, the one closest to something that has happened to you.
Each story ends with something a teammate says. For each story:
- Decide if you agree with the teammate.
- Write the sentence the agent was missing.
- Say where you would put it. "Nowhere" is a valid answer.
You do not need to agree with each other. If you disagree, write down why. Bring that to Part 3.
1. The file that describes the repository
A teammate opens a pull request with this instruction file. It is the sample from GitHub's own documentation. Assume that package.json has these scripts, tsconfig.json has strict on, and every component in the codebase is already a functional component.
## Build Commands
- `npm run build` - Build the project
- `npm run test` - Run all tests
- `npm run lint:fix` - Fix linting issues
## Code Style
- Use TypeScript strict mode
- Prefer functional components over class components
- Always add JSDoc comments for public APIs
## Workflow
- Run `npm run lint:fix && npm test` after making changes
- Commit messages follow conventional commits format
- Create feature branches from `main`
Someone says: "Looks thorough. Approve it."
- Go through it line by line with the two questions. Which lines survive?
- Which line is missing that only your team could write?
2. The example that points the wrong way
The agent adds a settings screen. Eight screens use an old component. One screen uses its replacement. The team agreed in a meeting that all new screens use the replacement. The agent copies what it sees most. The review catches it, for the third time.
Someone says: "Let's document the new component in AGENTS.md."
- What does the agent already know about the new component? What is the one thing it cannot know?
- Could the old component carry the message itself?
3. The tests that pass too easily
The agent reports "all tests pass". It ran the unit tests. The integration tests need a device simulator running and one environment variable set. One person on the team knows this by heart. Everyone else asks that person. The agent asks nobody.
Someone says: "I just tell it in the prompt when it matters."
- How many times do you say it before you write it down?
- A new teammate needs the same line. Do you write it in one place or two?
4. The release notes
For each release, someone gathers the merged changes, separates customer-facing fixes from internal work, and drafts the release notes. The steps are in a release guide in the wiki. The last two drafts from the agent included internal changes, because nobody pointed it to the guide.
Someone says: "Paste the guide into AGENTS.md. Then it can't miss it."
- What does that cost on all the days you do not release?
- The alternatives are a link in the prompt, or a skill that points to the guide. How often must you release before the skill is worth the work?
5. The decision nobody made
The ticket says: "Add a Reset button to the equalizer screen." Nobody decided whether Reset restores the preset you are editing or all saved presets. The agent picks one. The code is clean, the tests it wrote pass, and the pull request looks fine.
Someone says: "The agent should have asked."
- Where is the missing information right now?
- Write one example that lets a reviewer see whether the agent built the right thing.
6. The code that looks wrong
The reconnect code waits 300 ms before it tries again. It looks like a leftover. During a refactor, the agent removes it, and the tests pass. A week later, older speakers stop reconnecting. The reason for the delay is in a ticket that closed two years ago.
Someone says: "Add a rule to AGENTS.md: never remove the reconnect delay."
- Where would the next agent, or the next teammate, meet the reason at the moment they are about to delete the line?
- A sentence asks the agent. What would stop it?
Part 2. Find your own (15 min)
As a group, think of recent tasks you know well. Look for one of these:
- A decision your team made in a meeting
- A process that one person knows by heart
- Something you have corrected an agent on twice
- Something you had to explain to a new teammate
- Code that looks wrong but is right
Write down the sentence that was missing. Be specific. "It needs more context" is not a sentence the agent can use.
For each sentence, ask someone in the group who does not work on that code: "Where would you look for this?" If they can find it, the agent probably can too. Is there still a reason to write it down?
Then choose one example to share with the room. Use it to finish this sentence:
For this task, we would put ___ in ___ because ___. We would leave out ___ because the agent can find it in ___.
Part 3. Back in the room (15 min)
Each group has two minutes. Read your finished sentence and say what you disagreed about.
Then compare scenario 1 across the groups: which lines survived?
While you listen to the other groups, look for a choice you would have made differently.