SPECIMEN No. 002 ยท Repository doctrine
Monorepo
The belief that proximity of code can create proximity of teams, builds and arguments.
๐ Expanding- ๐ Habitat
- Organizations that share code
- ๐ฆ Natural predator
- Team autonomy
- ๐ค Common symptom
- One pull request changes everything
๐ Would reach for it
RileyThe MinimalistโOne repo, one commit. A shared type changes once, and both sides compile against it.โ
JoThe CowboyโIf two things always ship together, she edits both and deploys, no package release to wait on.โ
TaylorThe AI NativeโHer agents search, edit and test the whole product from one context, no cross-repo choreography.โ
HugoThe PerfectionistโGoogle keeps everything in one repository with one build system, so that is the proper way.โ
๐ Would push back
AlexThe ArchitectโTeams should version independently; one repo makes every change everyone's change, and every CI queue shared.โ
GregThe HedgerโSeparate repos keep separate release cadences, so one team can roll back without dragging the other.โ
RuthThe MaintainerโShe remembers when one repo meant a 45-minute build and tooling only one person could fix.โ
โ GOOD FIT
- Code that always ships together, edited by one team
- Shared types consumed by both frontend and backend
- Agents need the whole product in one context
๐ฉ TOO FAR
- A one-line README fix waits 45 minutes for CI
- Only one person on earth can fix the build
- Every team's rollback drags three other teams along
๐ฏ SWEET SPOT
Super Reasonable
Keep code that ships together in one repo, with a build that only tests what changed. When a team needs its own release cadence and rollback, give it a separate repo and a versioned contract instead of a shared queue.
IN THE WILD ยท 1 STORY
