Audit how easy it is for a coding agent to do correct work in this repository. Examine the repository, not the instructions for the agent. An agent copies the first pattern that it finds, so the repository must show the correct pattern first.
The way in. Start at the root and use no search. Can you tell what the project is, where its main parts are, and where a change of each usual type goes? List what you had to guess.
Size and noise.
Names and copies.
old, v2, backup, copy).Contracts. Find the places where no machine check protects a change: boundaries with no types, any, config as free text, and API shapes with no schema.
Errors. Find failure messages that do not say what to do, errors that the code hides, and scripts that exit with 0 after a failure.
Traps.
Parallel work. Can two agent sessions work at the same time in two worktrees? Look for fixed ports, a shared local database, and global state.
History. Use git to find the files that change most frequently, and the files that change together but are far apart in the tree. These show where the structure works against the work.
Rules:
Output: a scorecard with one row for each of the 8 areas: good, partly, or poor, with the most important finding. Then the ten fixes that give the most value for the least work, in order.