Agents In Use
What’s new todayLast update
108 use cases added today

How to rewrite a platform with AI

The author reports a two-month rewrite with fewer bugs, strong performance and easier feature development, while describing difficult reviews and substantial overtime.

Source published news.ycombinator.comFable
OUR ADAPTATION

Suggested prompt

Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.

Plan a rewrite of [existing platform] into [target API] and [target frontend]. Propose core architecture changes and [quality invariants]. Implement with meaningful tests and deterministic checks, report review risks, and track architectural improvements in [issue tracker].

Evidence at a glance

Sourced account
Source author
enraged_camel
Original account
Read the source ↗
Published
Source link checked
Reported result
The author reports a two-month rewrite with fewer bugs, strong performance and easier feature development, while describing difficult reviews and substantial overtime.
Human involvement
The team invested heavily in code review, trained colleagues on AI development, and held weekly reviews of fixed bugs.

A linked account supports attribution. It does not mean we independently reproduced its result.

Report an issue with this caseOpen correction email

Opens your email app with the case link included. Nothing is sent automatically.

How the agent did it

  1. Replace the old platform with separate API and frontend codebases.
  2. Re-architect core functionality and remove accumulated technical debt.
  3. Enforce coverage, test quality and deterministic checks.

The author describes a complete workplace platform rewrite that replaced a Phoenix LiveView codebase with separate Phoenix API and Vue with TypeScript codebases. No code was shared with the abandoned application. The team used the opportunity to redesign core functionality and remove technical debt accumulated over six years.

They report finishing in two months, with a little over 700,000 lines of code, and attribute 95% of planning, orchestration, and writing to AI. Quality controls included a requirement for full test coverage on both client and server, AI review rules requiring non-vacuous tests, and deterministic checks enforcing invariants, formatting, and other constraints. Weekly meetings examined fixed bugs and considered checks to prevent recurrence.

A dedicated Fable agent managed an Architecture epic, tracking initiatives such as accessibility, shared helpers, and common patterns. The author reports fewer bugs, strong performance, and easier feature development despite the combined codebases being roughly 35% larger. They also describe difficult reviews, team training, and long hours under an external deadline. These are the author's reported results, rather than independently verified measurements.

Who it's for: Teams undertaking a substantial rewrite with capacity for rigorous review and enforceable quality requirements.

Prompt
Suggested prompt (written by Agents In Use, not the author's)

Source: Hacker News · enraged_camel

Frequently asked questions

What stack replaced the old platform?

The team replaced Phoenix LiveView with two new codebases: a Phoenix API and a Vue frontend using TypeScript.

How did the team address code quality?

They required full client and server test coverage, non-vacuous tests, deterministic invariant checks, and weekly review of fixed bugs to identify additional preventive checks.

More details

Remaining steps

  1. Review fixed bugs weekly for additional preventive checks.

About this account

The author attributes 95% of planning, orchestration and code writing to AI, with a Fable agent tracking architecture initiatives.

Platform: Hacker News. Attribution: https://news.ycombinator.com/item?id=49679798. Prompt: Suggested (written by Agents In Use, not the author's). Sourced by the Agents In Use pipeline.

Credit: enraged_camel on Hacker News

Source published

Added to Agents In Use

Source checked

Tools and topics

Fable · Phoenix · Vue · TypeScript · Deterministic checks

Platform rewrite · Code quality

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.