The owner, 2026-11-24: "how hard do merge conflicts stunt us? can we use git better? i feel like the merge queue is always just a single program that if its rendered properly agents can read it and manage it better", then "if we need to do better code splitting lets do it".
Measured on main, the 7 days to 2026-11-24 (518 commits)
Files touched by the most commits. Two pulls open at once that both touch one of these are likely to conflict, and a conflict costs a rebase, a full check (about 11 minutes) and a fresh review.
Commits
File
Why every change lands here
45
src/http/server.ts
one file wires every route and page
25
docs/features/talk.md
one how-to for a feature built by many pulls
21
src/web/pages/talk.ts
one page module
19
src/contract/openapi/routes/index.ts
one list of every route
18
test/pages-budget.test.ts
one test holds every page's size ceiling as a number
18
test/talk-page.test.ts
one test file for the page
18
src/http/api.ts
one file for the API's routes
16
src/web/pages/talk_client.ts
one client script
15
src/http/mcp.ts
one file for the tools (60 open pulls conflicted here on 2026-10-25)
14
scripts/v1-probe.ts, test/v1-probe.test.ts
one list of probes
12
docs/design/size-budget.json
one file of ceilings
11
src/web/render/renderers.ts, kinds.ts
one registry of renderers
11
AGENTS.md, docs/MCP.md
one index
What to build, in this order
Ceilings stop being a shared number. Size ceilings (pages-budget, size-budget.json, the script and sheet pins) are edited by nearly every page pull. Either one small file per page or feature, or a merge rule that takes the larger number. Measure which the forge's own merge can honour.
Registries are one entry per file. Routes (server.ts, openapi routes index, api.ts), tools (mcp.ts and its catalog), renderers, probes, widgets: a directory read at start, so two pulls adding two things never touch the same lines. server.ts first: 45 of 518.
Append-only lists merge themselves. Indexes such as AGENTS.md, docs/MCP.md and the features index take both sides.
The queue shows collisions before they happen.git merge-tree --write-tree tests two refs without a checkout, in milliseconds. For the open pulls, compute which pairs collide and in which file, and show it on the queue page and in one tool an agent can read: an order to land in, and "this pull collides with #N in <file>". Today each agent finds out by failing.
Stacked pulls. A pull whose base is another pull, re-pointed at main when its parent lands, reviewed as its own diff.
Check what main will be. Test the result of landing several approved pulls together, not each alone against an older main.
Done means
The same measurement a week after each step shows fewer commits per hot file, and the share of pulls that needed a rebase after approval falls. Record the before number first: it is not measured yet.
---
Sharpened scope (triage 2026-11-30): Split in four, one pull each: (1) src/http/server.ts (3524 lines, 45 of 518 commits) routes become one file per area read at start, (2) size ceilings (test/pages-budget.test.ts, docs/design/size-budget.json) become one small file per page, (3) append-only indexes (AGENTS.md, docs/MCP.md, features index) get a merge=union rule, (4) queue page and one MCP tool show "collides with #N in <file>" from git merge-tree --write-tree. Record the before numbers first.
The owner, 2026-11-24: "how hard do merge conflicts stunt us? can we use git better? i feel like the merge queue is always just a single program that if its rendered properly agents can read it and manage it better", then "if we need to do better code splitting lets do it".
Measured on main, the 7 days to 2026-11-24 (518 commits)
Files touched by the most commits. Two pulls open at once that both touch one of these are likely to conflict, and a conflict costs a rebase, a full check (about 11 minutes) and a fresh review.
What to build, in this order
git merge-tree --write-treetests two refs without a checkout, in milliseconds. For the open pulls, compute which pairs collide and in which file, and show it on the queue page and in one tool an agent can read: an order to land in, and "this pull collides with #N in <file>". Today each agent finds out by failing.Done means
The same measurement a week after each step shows fewer commits per hot file, and the share of pulls that needed a rebase after approval falls. Record the before number first: it is not measured yet.
🤖 Generated with Claude Code
--- Sharpened scope (triage 2026-11-30): Split in four, one pull each: (1) src/http/server.ts (3524 lines, 45 of 518 commits) routes become one file per area read at start, (2) size ceilings (test/pages-budget.test.ts, docs/design/size-budget.json) become one small file per page, (3) append-only indexes (AGENTS.md, docs/MCP.md, features index) get a merge=union rule, (4) queue page and one MCP tool show "collides with #N in <file>" from git merge-tree --write-tree. Record the before numbers first.