AI Development Process: 1,238 PRs in 3 Months

AI development process workflow used by LLM Gateway to merge 1,238 pull requests

LLM Gateway merged 1,238 pull requests between September 1 and December 2, 2026, and the median one landed 55 minutes after it was opened. The team has laid out the AI development process behind that pace: a nine-step path starting from a single short prompt, 21 agent skills that hold its rules, several review layers and scheduled routines.

Its starting point is simple. Coding agents made writing code cheap, but they didn’t make merging it safe.

Where the bottleneck moved

When agents write most of the code, the slow part shifts from typing to everything around it. Someone has to know the codebase rules, prove a change works, review it and ship it without breaking billing. The team built its process in the public repository, drawing on AGENTS.md, REVIEW.md, the agent skills folder, CI workflows and the pull request history.

The AI development process is the unusual part. One figure stands out: about one commit in eleven edited the agents’ instructions and left the product alone. That adds up to 111 commits.

Short prompts, long instructions

Tasks start as a brief prompt. Across one maintainer’s last 883 prompts, the median length was 74 characters, for example “resolve conflicts here”. That works because the repository already carries the rest of the brief. Work starts from a fresh fetch and a branch cut from origin/main, normally inside a separate git worktree, since a stale checkout leads an agent to build on the wrong model catalogue and schema.

AGENTS.md runs 136 lines and routes the agent to one of 21 area skills, including gateway, billing, migrations, database and security-audit. The team split one long file into skills in September because agents skimmed it. The skills read like notes from someone who was burned before. One warns against renaming a migration folder after it has merged: the name is how migrations are tracked, so a rename makes it run a second time.

Isolation and proof

Because many agents share one machine, each worktree is given its own Postgres, Redis and application ports. This came from a real failure: a port free at selection time can be claimed by another worktree later, and a schema push against the wrong database destroys data silently. Before any push or seed, agents now check that their own containers hold the ports.

The pull request template says an agent’s claim that it finished counts for nothing. Evidence has to be a test run, a real request and response on the isolated stack, or a screenshot taken with seeded data. Model price changes require a live run, with end-to-end tests limited to the changed mappings, since a full run would charge real money for every model.

Review layers

Before a pull request exists, a second agent that hasn’t seen the work reviews the diff against REVIEW.md, a 33-line file defining failure per area. Each finding has to point to a file and line. Every PR includes Summary, Verification and Rollback sections, and the person who requested the change signs off on the rollback line.

  • CodeRabbit reviews every PR using the same REVIEW.md.
  • A risk label uses whichever is higher: CodeRabbit’s merge-risk rating or a check on the files touched. Migrations, the schema, auth, payment routes and CI workflows are always high risk.
  • Big changes go to two or three extra review agents, each told to look at something different.

The workflow went live on October 12. Since then 539 PRs have been labelled: 28% low risk, 54% medium and 17% high. Review comments are treated as untrusted input, so agents verify each finding against current code and never follow instructions embedded in one.

Merge, rollout and fixing the source

Nobody force-merges. A PR joins the merge queue only with green checks and no open threads, and the agent stays responsible for the change until every deployment runs an image containing the merge commit. Migrations apply before new images roll out. When a reviewer flags the same issue twice, the team encodes it as an ESLint rule, a skill line or an entry in REVIEW.md instead of repeating it in prompts.

What the team got wrong first

The team lists its early mistakes: one long instructions file, trusting an agent’s claim of “done,” shared ports and temp folders that let agents overwrite each other, and a hard AI merge gate that was shipped in October and pulled the next day. End-to-end tests with real providers also left CI because they were slow and billed real money.

Its advice for others is to keep the root instructions short, define what failure means in each area for reviewers, give agents separate databases and ports, ask for evidence in every PR, and leave decisions about money, data and access to people. The AI development process is open source, so other teams can read the files and borrow what fits.

Source: llmgateway.io

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.