The starting point
Several engineers were building one platform with AI coding agents. Without shared rules every agent session starts from zero: it guesses the conventions, can run commands nobody wants it to run, and produces changes that were never planned or reviewed.
What we were responsible for
We set up how the team works with the agents, from the written rules to the checks before a merge, and showed the team how to use it day to day.
What we built
-
Rules the agent reads first
One instruction file for the repository and one for each module: API, dashboard, website, contracts, core, data and infrastructure. Eight files, about 900 lines, covering what is not obvious from the code itself.
-
Shared permissions
One settings file checked into the repository: 80 actions the agent may take on its own, 26 it must ask about first, such as pushing or rebasing, and 66 it may never take, such as reading secrets and keys or forcing a push. Personal settings are kept apart.
-
Plan before code
A stronger model writes the plan and a faster one carries it out. Features start as a design spec and an implementation plan kept in the repository; 13 of them are there today.
-
Task by task, with review
Larger work is split into tasks. Each task has a brief, a report on what was done and a review of the change before the next one starts.
-
Checks no change can skip
The same five checks run on an engineer's machine and in the pipeline: formatting and lint, the migration journal, the infrastructure build, route identifiers, and the build with tests. Commit hooks cannot be bypassed.
-
A map of the codebase
A generated graph of the repository, 676 files at the last run, that agents use to find their way instead of reading everything again.
The result
The platform was built this way between April and August 2026, in about 400 commits, with development and production environments deployed through the pipeline.