Building with agents, lesson 6.2
Scoring a repo for readiness
A checklist says what good looks like. A score says where you are. This lesson turns the readiness checklist into a score you can run on any repo, with proof behind every answer.
Every example below changes to fit what you pick. The businesses are made up for teaching.
The picture, one step at a time
Each box is one stage. The picture lights up as you scroll.
Scoring a repo, from the checks to the next fix
1Pick the checks
Three to five yes-or-no questions for each of the five areas from lesson 6.1.
2Find the proof
For each check, the command and its output, the file or the setting that shows it.
3Score each area
Yeses out of the total, area by area. Never added up into one number.
4Read the level
The weakest area sets how much the agent may do alone.
5Fix the lowest, then rescore
Close one or two checks, run the same list again, and keep both scores.
Yes-or-no checks, grouped in five areas.
Step 1 of 6
A score you can run again
The checklist from lesson 6.1 says what good looks like. A score says how far you are, and whether it is getting better. Write each check as a yes-or-no question. "How good are the tests?" gets a different answer every time. "Does one command run the tests?" does not.
Step 2 of 6
Proof, not memory
Every yes needs proof: a command run on a fresh copy of the repo (a clean download, with nothing from your own laptop), a file, or a setting. "I think so" counts as no until someone shows it. You can hand an agent the list and a fresh copy of your shop's website, and ask for the command and output behind each answer.
The team says the tests pass. Nobody has run them on a fresh copy. How do you score it?
Step 3 of 6
Score each area on its own
Count the yeses in each area out of its total. Here is a made-up repo: find its way 3 of 4, set up 1 of 4, check its work 4 of 5, see what happened 2 of 3, stay safe 3 of 4. Keep the areas apart. One total of 13 out of 20 would hide that set-up is broken.
Step 4 of 6
Read it as a level
The weakest area sets how much the agent may do alone. A repo with strong tests and weak safety is ready for small changes that a person reviews. It is not ready for an agent working alone overnight. Raise the lowest area, and you can let it do more.
Factory's published readiness model works in levels too: a repo reaches each level by passing 80% of the checks at the level below (as of November 2026).
Step 5 of 6
Score it the same way every time
If an AI does the scoring, it can give the same repo different scores on two runs. Two habits help. Use checks a machine can run, so the answer does not depend on who asks. And give the scorer last time's report, so it only changes what has actually changed.
Factory reported in January 2026 that its AI scorer's results for the same repo varied by 7% on average between runs, and by 0.6% once each run started from the previous report.
Step 6 of 6
Fix the lowest, then score again
Pick the weakest area. Close one or two of its checks. Run the same list again, on a fresh copy, and keep the old score beside the new one with their dates. A score you never rerun is a guess with a number on it.
Your scores: find its way 4 of 4, set up 1 of 4, check its work 5 of 5, stay safe 3 of 4. What do you fix first?
How do you score it?
Here are four checks on your repo, each with the proof someone found. Sort each one by what the proof supports.
1Check: the tests run with one command. Proof: the agent ran it on a fresh copy of the repo and got a pass-or-fail answer.
2Check: a sample settings file names every setting. Proof: on a fresh copy, the shop refused to start, asking for a setting the sample does not mention.
3Check: no secrets in the repo. Proof: the developer says "I'm pretty sure there are none."
4Check: the live branch needs a person's approval. Proof: the repo's settings show branch protection with one approval required.
0 of 4 right so far, 4 to go.
A readiness scorecard
This is what you keep: how to build the scorecard, run it and read it, on one card.
A readiness scorecard
- Write the five areas, with three to five yes-or-no checks each: find its way, set up, check its work, see what happened, stay safe.
- Score on a fresh copy of the repo, never on your own laptop.
- Every yes needs proof: the command and its output, the file, or the setting. No proof counts as no.
- Write each area as yeses out of its total. Do not add the areas into one number.
- The weakest area sets how much the agent may do alone.
- Keep every score with its date, and rerun the same list after each fix.
Fix the lowest area first, and only count a fix when the rerun shows it.
Next: Lesson 6.3: Common gaps that block agents. The gaps that show up most when you score a repo, and how to close each one.