News for hackers. Stuff that matters.
Re:Resisting Cognitive Surrender by mixedbit on Tuesday November 03, 2026 @02:53AM (#50349261)
Maybe things will evolve into projects having a well-defined, hard boundary between agents generated code and human generated code. Where agents generated code is strictly separated from human engineered code and and can call only a strictly defined set of APIs designed by humans.

Think of platforms like Shopify. Shopify allows huge number of external users to write code customizing their web shops. But Shopify engineers do not need to review and understand the users' code, because there is a boundary which limits what the external code can do. The external code can be A Big Ball of Mud without making the whole platform a A Big Ball of Mud.

Re:Resisting Cognitive Surrender by smodo on Tuesday November 03, 2026 @03:01AM (#50349307)
I think so too. And it is how codebases are managed implicitly anyhow. You don’t let anyone PR against core functionality, you keep that API under lock and key.

But UI on top of a good API should be unable to cause problems; the API must prevent invalid state etc. So letting LLM’s write UI code for CRUD-apps (which is most of them…) seems fine to me.

Re:Resisting Cognitive Surrender by virgilp on Tuesday November 03, 2026 @04:17AM (#50349766)
Well. One of the things that's critical in all that analogy is that the BigBallOfMud that one user creates on Shopify cannot impact the other users - that's why Shopify can keep the platform from becoming ABigBallofMud.

In order to be able to enforce this hard boundary, it means that one "agent generated code" in one place, not only "can call a strictly defined set of APIs" - but, more importantly, it implements an isolated piece of functionality. Think something like: I let the AI write the dashboards, so the dashboards may be slow, crappy, incorrect, whatever - but it doesn't impact the rest of the product. However, I can't let AI write "metrics collection" because that not only impacts dashboard, but potentially impacts core product efficiency too (memory consumption, cpu, IO, etc.)

Re:Resisting Cognitive Surrender by zaphirplane on Tuesday November 03, 2026 @04:35AM (#50349874)
[delayed]
Re:Resisting Cognitive Surrender by Gareth321 on Tuesday November 03, 2026 @05:21AM (#50350162)
We are leaning into a kind of federated model. The core applications and vibe-coded satellites. The core apps have stricter requirements and carefully considered API guardrails. Go ham on the AI apps. If you break something, the scope of destruction is much more limited.

That said, the core apps are still full of AI code. I don't see a reality where hand-written code can or will be curated and sequestered. It's unenforceable, too slow, and too expensive.

Re:Resisting Cognitive Surrender by krapp on Tuesday November 03, 2026 @06:08AM (#50350490)
>Maybe things will evolve into projects having a well-defined, hard boundary between agents generated code and human generated code.

The only way things will evolve is towards maximizing AI generated code and minimizing human involvement because that is the most efficient mode for getting product to market. Any trend to the contrary is temporary. We'll just have to hope things don't break too much and when they do, we'll just have to accept it because no human will be capable of (or allowed to) fix it.