frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: An external governance system for large AI-generated codebases coherent

https://github.com/altheahfy/AI_Controller
1•altheahfy•1h ago

Comments

altheahfy•1h ago
Hi HN,

I'm a non-engineer, and over the last year I built an application with a codebase on the order of ~70,000 lines, almost entirely with AI-generated code. What surprised me wasn’t that AI could write code — it was that as the codebase grew, design constraints slowly eroded, even when prompts and instructions were carefully written. Over time, violations accumulated, and the system eventually broke in ways that were hard to reason about.

In practice, this emerged only as the codebase grew well beyond what prompt-only workflows usually survive.

I found that prompt-level control wasn’t enough. So instead of relying on code reviews (which I wasn’t capable of doing properly anyway), I ended up building external governance mechanisms that constrain AI-generated changes at the project level.

Concretely, this includes: - gates that block changes when project rules are violated - snapshot comparisons to detect structural drift - dynamic checks (e.g., snapshot-based regression detection) that act as substitutes for manual review

This doesn’t mean “no review is needed” in general. What I’m claiming is narrower: in this specific case, external gates reduced the need for human code review enough for a non-engineer to keep a large system coherent.

Here are the things you can actually inspect: - a working demo (two variants; sanitized for IP reasons) - before/after code comparisons - a public GitHub repo showing the architecture and integration

I’m not claiming this approach is optimal or general-purpose. There are scenarios I haven’t validated yet, and I’m sure there are failure modes I haven’t seen.

What I am interested in is feedback on: - whether this kind of external governance could realistically reduce review burden in AI-assisted development - where it would obviously fail - whether others have observed similar breakdown patterns in large AI-generated codebases

If I’m missing something obvious, I’d genuinely appreciate corrections.

Thanks for reading.

Trump says he'll stop health care fraudsters. Last time, he let them walk

https://tennesseelookout.com/2025/04/02/trump-says-hell-stop-health-care-fraudsters-last-time-he-...
1•everybodyknows•52s ago•0 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
1•i5heu•1m ago•0 comments

Eli_kinsey_prefrontal_cortex.exe

https://ekinsey.dev/
1•Twixes•3m ago•0 comments

Wall Street Is Paywalling Your Kids' Sports

https://www.levernews.com/wall-street-is-paywalling-your-kids-sports/
1•ripe•3m ago•0 comments

MCP Directories or Gateways

https://mcpstatus.io/blog/202601-mcp-server-directories
1•s-xyz•3m ago•0 comments

AMD's 96-core beast with watercooling engraved into CPU

https://www.tomshardware.com/pc-components/cpus/amds-96-core-beast-with-watercooling-engraved-int...
1•rbanffy•3m ago•0 comments

256 TB/s data rates over 200 km distance on single mode fiber optic

https://twitter.com/ID_AA_Carmack/status/2019839335382790342
1•tosh•4m ago•0 comments

Pushing the Intel Panther Lake CPU Performance Further on Linux Review

https://www.phoronix.com/review/intel-panther-lake-linux-power
1•rbanffy•4m ago•0 comments

Quantum Twins: Silicon's Leap in Analog Simulation

https://spectrum.ieee.org/quantum-twins
1•rbanffy•5m ago•0 comments

Fun with Shell Emojis

https://www.lasantha.org/blog/fun-with-shell-emojis/
1•kiriberty•5m ago•1 comments

AI-invented cryptocurrencies and a dark GitHub

https://darksource.ai
1•DarkSource•6m ago•1 comments

Clelp – AI skills directory where AI agents write the reviews

https://clelp.ai
1•jhaugh•6m ago•2 comments

Virtualization Support to Ironclad

https://blog.ironclad-os.org/introducing-virtualization-support-to-ironclad/
1•jaypatelani•7m ago•0 comments

0-Days \ Red.anthropic.com

https://red.anthropic.com/2026/zero-days/
3•msolujic•8m ago•0 comments

An archaeologist's guide to Christopher Nolan's 'The Odyssey' trailer [video]

https://www.youtube.com/watch?v=4gxpQ6G3y6E
2•incomplete•8m ago•0 comments

Agentic NetOps: How to beat the cloud monsters at their own game

https://www.kentik.com/blog/agentic-netops-how-to-beat-the-cloud-monsters-at-their-own-game/
1•oavioklein•9m ago•0 comments

Show HN: Generate Amazon product images from a photo in 30 seconds

https://greenonion.ai
1•yanjiechg•9m ago•0 comments

Choose Boring Technology

https://boringtechnology.club/
2•fanf2•9m ago•0 comments

The Economics of Noncompete Clauses

https://pubs.aeaweb.org/doi/pdfplus/10.1257/jep.20251457
1•paulpauper•10m ago•0 comments

JetBrains: Wayland by Default in 2026.1 EAP

https://blog.jetbrains.com/platform/2026/02/wayland-by-default-in-2026-1-eap/
2•tosh•11m ago•0 comments

China's Disappearing Generals

https://www.nytimes.com/interactive/2026/02/03/world/asia/china-xi-military-purge.html
1•paulpauper•13m ago•0 comments

Apple Is Scaling Back Plans for New AI-Based Health Coach Service

https://www.bloomberg.com/news/articles/2026-02-05/apple-is-scaling-back-plans-for-new-ai-based-h...
4•brandonb•16m ago•1 comments

Show HN: Null0 – AI Clone; Open-source CLI that gives AI your personal context

https://github.com/amaar-mc/null0-cli
1•amaarc•17m ago•1 comments

MCP-Scan: A Security scanner for AI agents, MCP servers and agent skills

https://github.com/invariantlabs-ai/mcp-scan
1•lbeurerkellner•17m ago•0 comments

I Hired 5 People to Sit Behind Me and Make Me Productive for a Month

https://www.simonberens.com/p/i-hired-5-people-to-sit-behind-me
1•pinkmuffinere•17m ago•1 comments

The Discovery Phase Is All There Is

https://worksonmymachine.ai/p/the-discovery-phase-is-all-there
1•Stwerner•18m ago•0 comments

End-to-End Transformer Acceleration Through Processing-in-Memory Architectures

https://arxiv.org/abs/2601.14260
1•PaulHoule•18m ago•0 comments

Linus Torvalds interview the week Windows 98 released [video]

https://www.youtube.com/watch?v=N3s0_yf2mS4
1•tzury•19m ago•0 comments

Scientists in Colorado prepare for Artemis II mission to space

https://www.cbsnews.com/colorado/news/scientists-noaa-colorad-artemis-ii-mission-space/
1•bookmtn•19m ago•0 comments

Show HN: An open-source system to fight wildfires with explosive-dispersed gel

https://github.com/SpOpsi/Project-Baver
1•solarV26•21m ago•0 comments