At Google, working in a shared codebase was part of everyday engineering. Code search, dependency management, testing and ownership were integrated into the development workflow. It was easy to discover existing implementations and make changes across components.
It's easy to take that for granted until you work somewhere without the same infrastructure.
In many organizations, teams start new projects in separate repositories. That gives them freedom to experiment, choose dependencies and move independently. As the organization grows, though, discovering and reusing work becomes harder. Shared libraries need versioning, standards diverge and changes spanning teams require coordination.
Coding agents add a new dimension: repository boundaries can also become boundaries around the context an agent can discover.
The question I find interesting is no longer simply monorepo or multiple repositories? It is what needs to be shared—code, knowledge or capabilities—and how do we do that without losing team autonomy?read more →