frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: How would you harden AI changes to a 1M-line legacy SaaS before review?

1•thegreatkahuna•56m ago
I’m not a software engineer, but I’ve been running an experiment to see whether agentic development could produce a useful prototype on top of an existing SaaS codebase.

The codebase is 1M+ lines, 15 years old, hosted on Azure, and primarily written in C# and React.

The prototype needs to be available for customer testing in September. No developers were available to work on it full-time, although I could occasionally get help with specific technical issues. An engineer will evaluate the implementation in August and decide how much confidence we can have in the AI-generated code so that we can decide how to “convert” the code to production-grade.

My question is what I can do before August, primarily using AI tools and manual testing, to make the code as robust and reviewable as possible. I want to increase the likelihood that the AI-generated code would be so good that the path to production-grade would be closer to “copy-paste” than building everything again from scratch.

Environment The prototype is being developed in a separate branch, deployed to a separate internal environment, and connected to its own database and schema.

Planning process We interviewed customers in June and turned the resuls into an MVP spec.

The process was approximately: 1. Write a PRD. 2. Use an LLM to convert the PRD into an architecture document, which was reviewed by an architect. 3. Create product designs consisting of screen images and md files containing interaction details ans edge cases with Claude Design. 4. Use an agent to break the work into epics using the PRD and architecture document as guardrails.

The epics were the most granular planning artifacts that received review by me and the architect.

Development process The development flow was intended to run with little intervention: 1. A planner agent converted epics into md story files and Jira stories 2. A coding agent implemented the stories including tests and opened PRs 3. A reviewer agent reviewed the PRs, requested changes, and merged them into the prototype branch

The coding agent polled PRs for review comments and could escalate issues back to the planner.

Agents also had a “stop and ask” list for decisions they were not allowed to make autonomously. I (and a few times an engineer) were involved by resolving those escalations and by manually testing the accumulated changes end to end each day.

Most implementation and initial review were done with Claude-based agents. For riskier PRs, I also used Codex as a reviewer. The second-model review found substantially more relevant issues in the Claude-generated code, but token quotas limited the use.

I had separate refactoring and harden runs for the code as well.

Results The planning and setting up the environment and agentic flow took about two weeks and then the agents built the whole MVP in about two weeks. Size-wise it was 13k lines of functional code + the same amount for tests.

What I would like advice on Assuming that I cannot get substantial developer involvement before the review, how can I increase the likelihood that the code is as close to production-grade as possible?

Here are some of the questions I have been thinking about: 1. What checks or development loops would give the largest improvement in confidence before an engineer reviews the code? 2. How would you use independent agents or models to reduce the risk that the coder and reviewer make the same incorrect assumptions? 3. Should tests be generated by a separate agent from the one that wrote the implementation? 4. What documentation or evidence would make the eventual engineering review faster and more reliable? 5. If you had only a few weeks to improve this prototype before handing it to an engineer, what would you prioritize?

Amazon cuts some jobs in its artificial general intelligence unit

https://www.cnbc.com/2026/07/22/amazon-lays-off-some-employees-in-its-agi-unit.html
2•mgh2•1m ago•0 comments

Show HN: TS Compiler Knowledge Graph reducing AI tokens about 90%

https://github.com/samchon/ttsc/tree/master/packages/graph
2•autobe•2m ago•0 comments

Canadian woman who was NATO intern arrested in Belgium on spying charge

https://www.reuters.com/world/china/canadian-woman-who-was-nato-intern-arrested-belgium-spying-ch...
3•doener•2m ago•0 comments

Rhythm 0

https://en.wikipedia.org/wiki/Rhythm_0
2•hopelessluca•5m ago•0 comments

General Resolution: LLM Usage in Debian

https://www.debian.org/vote/2026/vote_002
4•ckastner•9m ago•0 comments

MouthPad is now available – control devices with your tongue [video]

https://www.youtube.com/watch?v=xReyIF5pwRo
2•Barbing•12m ago•1 comments

Lucky 13 Starship sends out satellites and stays intact

https://cosmiclog.com/2026/07/24/lucky-13-starship-sends-out-satellites-and-stays-intact/
2•ColinWright•15m ago•1 comments

When Notion Becomes Too Much and Obsidian Not Enough

https://rizz.dev/blog/guides/notion-versus-obsidian
1•rizzdev•17m ago•0 comments

Watching Go's new garbage collector move through the heap

https://theconsensus.dev/p/2026/07/19/observing-gos-garbage-collector-old-and-new.html
2•matheusmoreira•21m ago•0 comments

Escaping the Sandbox

https://netwars.pelicancrossing.net/2026/07/24/escaping-the-sandbox/
2•ColinWright•23m ago•0 comments

DOE Launching First Fault-Tolerant Quantum Computer Initiative

https://www.energy.gov/science/articles/energy-department-announces-initiative-create-and-deploy-...
1•donutloop•24m ago•0 comments

Why Sodaslim Is Becoming a Popular Healthy Beverage

https://finance.yahoo.com/healthcare/articles/sodaslim-releases-updated-2026-highlights-122400710...
1•marlonfoltz•24m ago•0 comments

MouthPad: A Tongue-Controlled Touchpad

https://www.augmental.tech/
2•ZaninAndrea•25m ago•0 comments

Secretary Wright Announces First AI "Genesis Mission" Projects

https://www.energy.gov/articles/secretary-energy-chris-wright-announces-first-genesis-mission-pro...
3•donutloop•26m ago•0 comments

At the altar of AI capex, Google is sacrificing the golden goose

https://twitter.com/i/status/2080229375773941871
1•Michelangelo11•26m ago•0 comments

How the Other Half Scams

https://netwars.pelicancrossing.net/2026/07/17/how-the-other-half-scams/
1•ColinWright•27m ago•0 comments

Show HN: Elizabeth Line Guide (London) – Live departures, timetables, fares

https://elizabethlineguide.com
1•ahallan•28m ago•0 comments

Pennsylvania roads are being coated in radioactive wastewater

https://theconversation.com/pennsylvania-roads-are-being-coated-in-radioactive-wastewater-heres-w...
1•geox•28m ago•0 comments

The Library and the Librarian: Why AI Needs Two Different Brains

https://www.innerkore.com/blog/library-and-librarian/
2•gagan2020•36m ago•0 comments

PostgreSQL Extension Catalog

https://pgext.cloud
1•theanonymousone•37m ago•0 comments

The Cretan Method

http://hintjens.com/blog:81
1•thunderbong•38m ago•0 comments

Show HN: BlazeRules – YAML rule engine for streaming data, 5M records/SEC

1•jspuri•38m ago•0 comments

TurboPrefill: 3.27× Prefill Speedup in Llama.cpp

https://devpost.com/software/turboprefill
1•trykhlieb•43m ago•1 comments

Man convicted of child sex crime by added _ char "Fus Ro Dah" Skyrim username

https://www.cbc.ca/news/canada/nova-scotia/how-a-single-underscore-led-to-an-innocent-halifax-man...
10•walrus01•44m ago•4 comments

Instella-Moe: An Open Mixture-of-Experts Language Model

https://rocm.blogs.amd.com/artificial-intelligence/instella-moe/README.html
2•ilreb•44m ago•0 comments

Prompt Caching

https://earendil.com/posts/prompt-caching/
1•lebek•54m ago•0 comments

The Psychopath Code – By Pieter Hintjens [pdf]

https://hintjens.wdfiles.com/local--files/books/psychopathcode.pdf
3•gurjeet•55m ago•0 comments

Ask HN: How would you harden AI changes to a 1M-line legacy SaaS before review?

1•thegreatkahuna•56m ago•0 comments

AP2 and A2A: two agents working together and getting paid (in tokens)

https://blog.owulveryck.info/2026/06/25/from-isolated-agents-to-agentic-mesh-orchestrating-sdlc-w...
1•owulveryck•58m ago•0 comments

Substack adds AI text detection to all notes and posts

https://post.substack.com/p/against-claudefishing
2•meander_water•1h ago•0 comments