
How You Split Your Repos Is How You Split Your Teams: A Practical Development Lifecycle for the AI-Native Era, Through the Lens of Conway's Law
Split your repositories by runtime layer, and Conway's law splits your teams too. Starting from the monorepo as an inverse Conway maneuver, this post walks through a per-feature development lifecycle where specs and implementation are merged together.
Introduction
How you split your repositories is how you end up splitting your teams. As Conway's law tells us, the structure of a system and the structure of the organization that builds it tend to mirror each other.
We are now in an era where AI agents write specs, implement them, and run the tests. With Superpowers, a plugin for Claude Code, the agent digs into requirements before writing any code and writes a design spec and an implementation plan into the repository. Even so, who reads those specs, when they get merged, and how they stay alive are decided by your organization and your process, not by the tool. There are plenty of articles introducing Superpowers, but very few of them talk about this.
In this article, I start from what layer-split repositories do to a team, then cover the monorepo as an inverse Conway maneuver, and finally the spec lifecycle that runs on top of it, all as I actually run them in practice.
Layer-split repositories split your teams too
In much of agile development, writing user stories per feature is considered best practice. Yet I have seen many teams that fail to put it into practice.
The common cause is organizational design. Those teams split their repositories by runtime layer: frontend, backend, infra. Every time a new microservice was added, they created yet another set of per-layer repositories.
The problem is that, following Conway's law, the organization itself gets carved up by layer. Teams and people become divided along layer lines. A Scrum Master may say, "What we have on this team are roles, not assignments, and anyone can take on any role," but in reality that usually stays an ideal.
With a layer-split setup, a single feature is split into as many PRs as there are repositories, and the team splits along the same boundaries.
The monorepo as an inverse Conway maneuver
The ideal organization for AI-native development is one that can build software feature by feature. Thinking in terms of the inverse Conway maneuver, simply managing your product code in a monorepo can have a big effect.
In a multi-repo setup, it is very hard to bring the PRs and commits for one feature together. A monorepo solves most of that. And AI has greatly reduced the cognitive load of managing a large codebase.
If you start a project as a monorepo, the team structure naturally shifts toward an efficient shape. On my team, for example, nobody is assigned to a runtime layer. There is simply no need to split that way.
Once you start building per feature, PRs become per feature, and the scope each engineer needs to keep in mind becomes the feature. If agile is working properly, a push naturally emerges to standardize how specs and test documents are managed, and how testing and review are done, so that the lifecycle runs smoothly. Over time, the organization rationalizes itself into a shape where this design runs efficiently.
For that standardization, I recommend Superpowers. It packages the whole flow, from brainstorming to the design spec, the implementation plan, test-driven implementation, and review, as skills, and the agent follows those steps without skipping them. My team uses it too, and it works far better than a half-baked harness you build yourself.
Conversely, switching to a monorepo partway through a project will be painful. Seeing that commitment through may well be exactly what we should expect of a Scrum Master.
Merge specs and implementation together
Once your organization can build per feature, the development lifecycle can run per feature too. At its center is how you handle specs.
Spec-driven development (SDD) does not mean we push specs or test documents first. We make it a strict rule to push specs and the feature in the same PR and merge them at the same time.
A spec with no implementation. An implementation with no spec. Both states breed unnecessary rules to manage them. And a workplace with too many rules badly damages the developer experience.
Merging them together has one more benefit. The specs published on GitHub Pages always describe what is actually running right now. That is why non-engineers can read them with confidence.
So when does spec review happen? In two stages:
- The overall direction: discussed when the task is created, or during refinement
- The details: checked in PR review
This fits well with Superpowers. Because the spec is written to the branch during brainstorming, "review first, merge together" happens naturally.
Getting specs to non-engineers
The source of truth for our specs is Markdown files in the repository, and the pages people read are generated from them. The flow looks like this:
- Write specs as Markdown in the repository (including the ones Superpowers generates, used as-is)
- Convert them to a web format with velite, into pages that are easy to read visually
- Host them on GitHub Pages with restricted access, so only members on GitHub can read them
This setup has three advantages:
- One source of truth: the Markdown the AI reads and writes never drifts from what people see
- Readable by non-engineers: if dated Markdown files just pile up in a directory, PMs and planners cannot follow them
- Access control handled by GitHub: read access to the repository becomes read access to the site, with no separate authentication system to run
A few caveats if you want to copy this. Private visibility for Pages is only available for project sites published from private or internal repositories owned by an organization on GitHub Enterprise Cloud (GitHub Docs). Making the repository private does not make the Pages site private, so after publishing, open the URL while signed out to check. Non-engineer readers also need a GitHub account with read access.
The development lifecycle at a glance
Here is everything so far, put together as one development lifecycle. All eight steps, from creating the issue to release, run per feature.
The spec is written during Plan, its details are checked in PR review, it is merged together with the implementation, and it is published on Pages with the release. There is no step where the spec runs ahead of the code, and none where the code runs ahead of the spec.
Answers to common objections
Won't we lose the ability to release each layer safely?
The benefit most often cited for splitting repositories by layer is that each repository can be released safely on its own. But in practice, you almost never release one layer by itself. If anything, isn't the split creating extra release overhead?
When several milestones are in development in parallel, a branching strategy that manages separate frontend and backend release branches tends to get very complicated. If you develop per feature, you basically never split a release by layer. If you do need to split a feature's release, use feature flags rather than layers.
Isn't it wasteful to run CI on every layer every time?
In a monorepo, every CI run tests, analyzes, and deploys all layers. That is a real drawback. But now that test automation is widespread, it also becomes a benefit: it catches cross-layer bugs and gaps in the spec.
Especially today, when security matters so much, even a frontend-only change should be checked for vulnerabilities in combination with the backend. If you are a PM or a project lead, don't treat CI time and cost as simple waste. See it as a trade-off against quality assurance, and think about how to make the most of it.
What if we need different permissions per directory?
I find it hard to imagine a situation that requires per-directory permissions. If you truly need one, that boundary is not a directory inside a repository. It is the boundary of a separate service.
Closing
How you split your repositories is how you split your teams, and it is also how your development lifecycle runs. With tools like Superpowers, AI now writes the spec before it writes the code. But whether that spec is actually useful is decided by your organization and your process.
- Split repositories by runtime layer, and Conway's law splits your teams too
- Manage your product in a monorepo from the start, and build an organization that can work per feature
- Cut tasks per feature, and merge the spec and implementation in the same PR
- Deliver merged specs in a form non-engineers can read
If you are starting out with AI-native development, begin by taking a hard look at how your repositories are structured.