Why my studio rulebook stops at twelve rules
My studios are repos where AI agents build a product while I play the client. What an agent knows about how to work is its rulebook: CLAUDE.md, the studio’s rules and its own role brief. After three weeks and 347 ticks, the rulebook of my first studio, the one building Rich to Richer, held about 600 rules. One agent’s reading list came to about 170,000 tokens, and the decisions file alone was 493 KB. So it was not read.
The caps
On 8 November 2026 I rebuilt the studios around features, slices and a merge queue, and put the rulebook on a diet. These are the caps:
CLAUDE.mdat most 8 KB- the studio’s rules,
LEAN.md, at most 12 - each of the five role briefs at most 4 KB
- each feature’s notes file at most 2 KB
- each feature 3-8 items on my checklist
A kit test enforces the first three. It renders every kind of studio’s CLAUDE.md and role briefs as a new studio would get them, and fails if one is over its cap. For the count, a rule is a line that starts with a number and a full stop.
Know-how now goes into the brief it changes, not into a new file. The decisions file became a reference with a topic index at the top, and no agent is told to read it whole. The rules for in-game QA were parked in their own docs rather than deleted, until that QA is switched back on.
Caps this site breaks
The test checks the kit’s own templates. It checks a studio’s copies only when it is run against that studio. This site’s studio added its project, stack and design sections to CLAUDE.md, which is now about 18 KB, more than twice the cap. Three of its five role briefs are over 4 KB too: the designer brief is about 5 KB, and the builder and lead briefs are each just over 4 KB. All four were counted on 30 November 2026.
Updates meet tailored briefs
Each studio edits its own role briefs: this site’s designer writes about pages, not game features. So a kit update cannot simply overwrite them. Until 28 November an update listed every tailored brief as different from the kit, and left the merging to me.
Since kit 0.8.5 the update keeps the kit’s brief as the studio last got it, in studio-kit/agents/<role>.md. When the kit’s brief changes, it runs a three-way merge of the studio’s text, that old copy and the kit’s new text:
git merge-file -p mine base theirs
A clean merge is written into the studio’s brief, and the old copy moves on to the kit’s new text. Where both sides changed the same lines, the brief is left alone and named, and the old copy is kept, so the next update names it again until the brief is merged by hand. A brief that is only tailored, with no change from the kit, is no longer reported.
This site runs kit 0.8.6 and keeps an old copy for each of its five role briefs.