NewsCrawler.org

Relearning development process and review for AI-written code: one year on a new business

AIが書く前提で、開発プロセスとレビューを学び直した ― 新規事業、ゼロから1年の実録
コンテキスト境界ごとに担当者とAIが並走し、ドキュメントはリポジトリに集める
実装が加速し、PRが増えてレビューがボトルネックになった
ボトルネックは実装、レビュー、なぜ・何を作るのかへと移った
Image: zenn.dev

The author is a senior architect at atama plus, a company that previously provided AI learning materials to cram schools and now runs a new business teaching job skills to companies. With a fixed launch date and a small team, the team went from deciding what to build to release in six months, and it has kept developing on the assumption that AI writes the code. The product is a multi-tenant SaaS with several Next.js frontends, TypeScript and Python services, and AWS CDK[1] infrastructure, all in one repository alongside its documentation so that AI and people work from the same information.

The bottleneck moved first from implementation to review and then to deciding what to build. Design discussions now start from prototypes built by AI instead of wireframes, and implementation uses functional domain modeling, with rules such as discriminated unions[2] that rule out invalid states at the type level. Each morning the team assigns the waiting PRs to reviewers one by one. AI review runs first, and a PR gets an approval from Auto Approve[3] when the AI review says it can be merged and its size label is size/S. Monthly merged PRs rose from 126 to 273 and then to 535, and median lead time fell from 31.9 hours to 21.7 and then to 4.3 hours, though the author notes that other factors, such as model updates, are included in these figures.

AI review costs rose because the review ran on every push and kept flagging new issues. The team now runs it automatically only on the first review, checks only the diff afterward, and moved rules that can be checked mechanically into scripts. AI reviews per PR fell from 4.9 to 2.2, and monthly AI cost in CI dropped to about a quarter. For verification, an AI agent deploys a PR to an environment called edge, checks the UI in a browser, and pastes screenshots into the PR, judging against completion conditions written in each ticket, which people review.

Read the original zenn.dev

Sources

  • Zenn JA

    AIが書く前提で、開発プロセスとレビューを学び直した ― 新規事業、ゼロから1年の実録

    7 likes2 bookmarks0 comments

Published: First seen: Читать по-русски

Open as a page