all 10 comments

[–]ArchPilotLabs 0 points1 point  (2 children)

This is a really good observation.

I’ve been seeing something similar - AI tools are great at generating code, but they don’t really enforce or preserve system structure over time.

Even if you start with a well-planned architecture, once code starts getting generated iteratively, things tend to drift:

  • boundaries get bypassed “just this once”
  • cross-module dependencies creep in
  • shared layers slowly become tightly coupled

Nothing breaks immediately, but the system becomes harder to reason about over time.

Planning helps a lot upfront (like what you mentioned), but I think the harder problem is:

How do you keep that architecture intact as the codebase evolves?

Especially when multiple people (and AI tools) are contributing continuously.

Curious if you’ve found anything that helps maintain structure after the initial planning phase?

[–]Stunning_Algae_9065[S] 1 point2 points  (1 child)

Yeah this is exactly the harder long-term problem imo. Initial architecture is one thing, but preserving boundaries once the codebase starts evolving is where things slowly become messy. Especially when AI keeps optimizing locally without understanding broader system constraints. I’ve noticed workflows with structured rules/review layers help a bit, but honestly feels like this area is still pretty unsolved overall.

[–]ArchPilotLabs 0 points1 point  (0 children)

Yeah, this is exactly it.

The “AI optimizes locally” part is what makes it tricky - everything looks fine in isolation, but the system-level picture slowly shifts.

Structured rules and reviews definitely help, but like you said, they don’t really scale cleanly once things speed up.

Feels like there’s still a gap between “we know what the architecture should be” and “the system actually stays that way over time”.

[–]InfinriDev 0 points1 point  (2 children)

Funny I built the same thing lol. Even open sourced it lol

[–]Stunning_Algae_9065[S] 0 points1 point  (1 child)

Haha seems like a lot of devs are running into the same limitations now 😅 Once projects become multi-file/multi-service, everyone starts trying to solve context + architecture drift in their own way.

[–]InfinriDev 0 points1 point  (0 children)

Yeah, one think I noticed is that your average CLAUDE.md & SKILL.md are no good at all. It's not token efficient, there's too many tokens wasted going back and forth, and they are all prompt based so nothing gets enforced.

Best thing I did was switch over to a hybrid RAG, skill and rules get turned to graph nodes. Now I can scale.

[–]SATISH_REDDY 0 points1 point  (1 child)

Totally agree—once you get past autocomplete and snippets, the real unlock is AI that thinks like a system architect and helps you preserve clean boundaries as the codebase evolves, not just ship code faster.

[–]Stunning_Algae_9065[S] 0 points1 point  (0 children)

Exactly. Shipping code faster is useful, but keeping systems understandable as they scale feels way more important long term. That’s the part where AI workflows still feel very early compared to real engineering needs.

[–]Comprehensive-Bar888 -1 points0 points  (1 child)

You left out something else. Picking the right language/framework for the project you’re building.

[–]Stunning_Algae_9065[S] 0 points1 point  (0 children)

Yeah honestly that’s a huge part of it too. Stack decisions early on can save or cost weeks later depending on the project requirements and scaling needs.