實施 100% AI 政策一年後,沒有人看得懂公司的程式碼
在强制实施100% AI政策一年后,没人能看懂我们的代码了
一家公司強制要求所有工作經 AI Agent 處理一年後,程式碼庫規模增至原來約 3 倍,員工已難以説明大部分程式碼的運作方式。Agent 會重複建立已有的輔助程式,管理層本月開始要求員工重新多寫程式碼,但不少人一年來沒有寫過複雜程式碼。
Skip to main contentA year after the 100% AI mandate nobody understands our code : r/ClaudeCode
Open menu Open navigationGo to Reddit Home
r/ClaudeCode
Sign UpSign up for RedditLog InLog in to Reddit
Expand user menu Open settings menu
r/ClaudeCode•3d ago
A year after the 100% AI mandate nobody understands our code
A year ago leadership told us everything goes through agents now. Hand written code needed a reason. It felt great for about 6 months, we shipped more than we ever had.
Now the codebase is around 3x the size it was and nobody can explain how most of it works. The agents struggle too, they keep re-implementing helpers that already exist somewhere else because there are 4 versions of everything.
The part that actually hurts is who is left. The two people who used to read every PR and push back left in the spring, one quit, one was "restructured".
coderabbit still comments on every PR, but there's nobody left who can tell if a comment matters or not, so people just resolve them all.
This month management started quietly asking us to "write more of it ourselves" again. Except half of us haven't written anything non trivial in a year and it shows. I spent 2 days on something I would have done in an afternoon in 2024.
Not sure what I want from posting this.
Is anyone else at the point where the mandate is being walked back, and how did you get the understanding back?
Share
Get paid up to USD 3.38% interest on idle cash and take control of your returns. Open your Interactive Broker’s account today. Get Started.
Sign Up
interactivebrokers.com.hk

Your agent wrote 4,000 lines before lunch. You're still reviewing yesterday's. In Delta, review the reasoning behind every change, with the agent there to answer for it.
Download
delta.dev

Collapse video player
Nail your next pitch with our FREE Media Pitch Template 💪
Download
accessnewswire.com

Sort by:
Best
Open comment sort options
- Best
- Top
- New
- Controversial
- Old
- Q&A
Comments Section
Moderator Announcement Read More »
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Pleasecontact the moderators of this subredditif you have any questions or concerns.
Refactor using agents
Reply Share
Top 1% Commenter
we'll never get paid to write code again unfortunately. But we will get paid to understand it, make the agents evolve it, and keep it secure.
Reply Share
59 more replies
59 more replies
115 more replies
115 more replies
You’re not gonna get any sympathy here as this sub is fully of people who have bet their life on LLMs writing everything. But I do resonate with your experience. It gets to a point where there is so much slop that it’s better to just treat the project as a black box and continue dumping slop into it.
The project will continue to get more and more bloated until the token cost per change is extortionate and the understanding of the codebase is so diluted that you won’t even be able the guide the agent. You will get bugs in edge case that you didn’t even know existed and relatively small changes before such as dependency upgrades become major tasks.
41 more replies
41 more replies
There is one solution to this problem, and that's to slow down.
To accept that productivity can increase but it can't be 3x or higher, it can maybe be +50% productivity sustainably.
Most businesses can afford to go slower to be sustainable.
Do that, retain expertise and then it'll be great. Push everyone really hard and it'll be a disaster.
Can you tell my boss that thanks
1 more reply
1 more reply
11 more replies
11 more replies
That’s kind of what I’d expect happen. Leadership only cares about the NOW, nobody seems to be worrying about a few months from now or what’s gonna happen when shit hits the fan a year from now and an agent can’t fix it...
Don’t get me wrong I use Claude a lot but at the end of the day we have a responsibility to understand and have ownership of the code for this very reason. I’ve pushed back massively against a lot of the AI reviews to make sure people still understand our codebase and to limit recklessness.
Comparing my team to a separate team that’s completely AI pilled, we deliver more sustainable and stable software.
Before anyone comments and disagrees with that I said, this is my own experience delivering large scale systems. I don’t really understand how anyone can just completely detach themselves from their work and let an agent deliver everything.
It’s just unsustainable to me. Just like this post suggests. At the end of the day, if you don’t understand what you’ve added to the codebase, you are adding technical debt and you will eventually not understand how to fix an issue.
21 more replies
21 more replies
There will be many bankruptcies in the IT sector due to reckless integration of AI and honestly this is what they deserve.
5 more replies
5 more replies
•3d ago• Edited 2d ago
A concern I have is, what if, AI companies are running at a loss?
What if they need to increase the pricing so they are profitable? (or at least lose less)
What if that means plans increase 500%, and api costs 25%?
Alot of companies have made, and are actively making decisions based on the pricing we have now as being long term stable and viable. Core and key staff have been let go, you can just go back.
EDIT: I meant to say "you can't just go back".
146 more replies
146 more replies
Pre-AI era we had the same problems, no accountability just like now with the agents.
This is either a very small piece of software or everyone here seems to work on NASA projects. 95% of software is poorly written, not documented or difficult to maintain if John who wrote most of the code is on Holiday.
Also, what is the "wider context" mentioned here and where is this documented? Or still in people heads?
3 more replies
3 more replies
yeah, I don't entirely get this. Sure it's easy for shit to fall apart but that was true with humans too - now it can just happen much faster. You say it is reimplementing helpers again bc they are in 4 different places...then give it the instruction to "search for existing functionality before implementing a new function" and "find duplicate code and refactor" (it takes about an additional 4 or 5 lines to tell it to orchestrate the changes and so on but you get the idea). I feel like this is either generated bait, or just a lack of problem solving.
52 more replies
52 more replies
Your agent wrote 4,000 lines before lunch. You're still reviewing yesterday's. In Delta, review the reasoning behind every change, with the agent there to answer for it.
Download
delta.dev

Collapse video player
You don't maintain any specifications/business requirements in the repo itself? That's the only way I found you can manage repos at ~500k lines of code
9 more replies
9 more replies
Not sure what you want either, but agents rewriting multiple helpers is definately bad AI architecture, lack of documentation, RAG, DRY directives ...so on and so forth.
My codebase has about 600.000 lines of code, with about 40 - 50% of them being documentation...not even a single function is duplicated anymore (and yes, i had plenty of number formatters and such duplicated before).
10 more replies
10 more replies
Most systems need a rewrite after a decade of constant development, especially, if the teams working on it rotate. If AI can do it 5x - 10x faster, you need a rewrite that much more often.
If we concede writing code to an LLM, maybe it’s time to look at new language or paradigms.
2 more replies
2 more replies
I don't understand this at all. This literally makes no sense to me.
A major part of using AI is to better organize and document the code base. The idea is that all of the knowledge of the code base now lives in the documentation. And everything is cleanly, structured in a kind of hierarchical format. CLAUDE.md points to the documentation index, and this way Claude is able to pretty much instantly understand how anything and everything works.
I hate to use this phrase, but it sounds like you guys have been "doing it wrong". It's fine to use AI for working on individual features in isolation, especially at first when you're just starting to adopt it.
But the solution now isn't to drop AI. It's to use Claude to audit the entire code base and start to write up hierarchical documentation on all of it that is perfectly up-to-date and correct.
And then to have Claude start refactoring. Have a conversation with it about how the architecture can be improved and how redundant parts can be removed so that it follows modern coding and architecture standards. Including creating all of the unit tests necessary to ensure that refactoring doesn't break anything.
This is all extremely easy. I find it unfortunate and baffling that there are companies that are not doing this. Your entire repository or repository is need to be architected and documented in a way that Claude always knows exactly where everything lives at all times. Then, basically all of the problems you are describing simply go away.
Remember that Claude isn't just for writing code. It's also for understanding codebases.
•2d ago• Edited 2d ago
It actually makes perfect sense. OP's company determined its priority was to ship as fast as possible and to not worry about code quality. The outcome was as expected. Now this has caught up with them and they've realized that code quality matters. However it seems like the management is detached and has unrealistic expectations.
This has happened at many companies that think AI is magic. Why wouldn't you use magic if it's available for $50/month?
2 more replies
2 more replies
45 more replies
45 more replies
This was expected. The people who can't code mandated that the technical specialists work against their own best practice in the hopes of replacing you with LLMs
Union up if you can.
1 more reply
1 more reply
They just vibe coding at scale. That's 100% not the way to build real world software.
4 more replies
4 more replies
I 100% thought this was satire when I first started reading. Anyway it sounds like the people who make decisions don’t understand how these processes work. Color me shocked. Use a capability registry and architecture decision records log.
Strongly agree with this. Agents create code really really fast and produce 90% good code with 10% madness. If you're not weeding out the madness as you go the next tasks starts with slightly mad code and makes it a little madder. So the first agent PR feels like magic, as does the 30th. But by the time you get to the 100th you've lost control and it's madness built on top of madness.
I hand write very little of my code, but it's really important to remain in control and understand (at a high level) what it's doing
7 more replies
7 more replies
The code mess is by design, now it can only be supported by ai
1 more reply
1 more reply
Agentic development is a new dogma. It reminds me of agile. You can document how some of the practices are hurting projects all you want, but execs want to believe in the free money they were sold ever so badly.
Fighting it isn’t how I’m going to spend my time. I’m going to work on improving processes with the dogma. And this time I think it’s really pointless to fight it, because (a) the agents are rapidly improving and (b) I figure over 50% of software engineering jobs will be cut within 5 years. Won’t matter how good you are, it will be damn hard to find work that won’t churn you out every couple of years.
At any rate, the code will be shite and there will be days where nobody knows how to fix problems by hand. So you’ll likely be piling agentic fixes on agentic messes.
3 more replies
3 more replies
Nail your next pitch with our FREE Media Pitch Template 💪
Download
accessnewswire.com

We’re 100% AI shop, I do some studying on system design, and now what I do is ask Claude to investigate a sub system or path and build out a document explanation with flow diagrams of just that section and I can often point out arrows to areas that don’t make sense or multiple paths made for the same flow through that and high level tell it how I want it to be structured and if does a good job of fixing it. Also I often ship logs and a shadow in v1, where it runs beside the current system and logs what happened and what the new system would have done, then have Claude review the logs after a week and workflow the new system vs old and I can often see if there were any edge cases I would have missed. It’s not the same as coding but in finding this method is improving our code that’s been ravaged from a year of fast prs only AI reviewed.
2 more replies
2 more replies
•2d ago• Edited 2d ago
I’m honestly not shocked that this is happening, but I’m amazed to see it getting so much traction on the ‘coding is solved’ subreddit. Well done on presenting this in a reasonable and pragmatic way.
We need more skilled developers speaking from experience about the long term consequences of throwing away oversight and expertise. These tools can be great assistants but they sacrifice sustainability for speed, as do so many other technologies we use.
3 more replies
3 more replies
You need to set up plugins, agents, skills and reference files to put guidelines and guardrails up for the A.I. I.E. context engineering and use of context primitives. Use the PROSE methodology.
The problem you’re seeing is that likely no one is using the same agents or there’s too much flexibility in what an agent can/can’t do. You can only blame so much on hallucinations.
If you all agree on a programming standard, architecture, patterns etc… then you should be setting up agents to hook into that.
I did all of this and while I haven’t read the code in over 1 year it takes me less than 10 minutes to wrap my head around entire systems. It’s because the patterns are being adhered to. And when they’re not you just point it back to the source context architecture and it fixes it.
What you’re seeing is akin to bringing on a team of junior engineers who have never worked on a team together. They will introduce 4 different architectures and varying styles. The difference now is it’s all automated and at hyper speed. So something you may catch 6 months down the road before it’s a problem is introduced in 30 minutes.
1 more reply
1 more reply
People also ask about section
People also ask about
Discussion on AI code mandates in ClaudeCode
Companies implementing AI code mandates, especially with tools like Claude Code, often face challenges like code bloat and maintainability issues, leading to debates about productivity versus code quality.
Challenges of AI Code Mandates
Codebase Bloat and Lack of Understanding: Mandating AI for all code can triple codebase size and make it difficult for human developers to understand how most of it works. "Now the codebase is around 3x the size it was and nobody can explain how most of it works."
Difficulty in Maintaining Quality: AI agents struggle with consistency, often re-implementing existing helpers and leading to "slop" that makes the codebase harder to maintain and debug. "It gets to a point where there is so much slop that it’s better to just treat the project as a black box and continue dumping slop into it."
AI Ignoring Rules and Instructions: Even with explicit rules in
CLAUDE.md, Claude Code has been observed to ignore instructions, skip steps, and provide incorrect summaries of its actions. "It ignores EVERY. SINGLE. RULE."
Strategies for Effective AI Integration
Implement Strict Configuration Files: Utilize configuration files to deny unwanted actions, such as
docker runordocker-compose up, to prevent AI from making critical errors. "PSA this is why we have config files"Maintain Human Oversight: Developers should remain in control and critically review AI-generated code, as agents can be "confidently incorrect" and require significant human intervention to avoid compounding errors. "Agents create code really really fast and produce 90% good code with 10% madness. If you're not weeding out the madness as you go the next tasks starts with slightly mad code and makes it a little madder."
Use AI for Specific Tasks: AI tools are highly effective for documentation generation, recalling syntax, and simple SQL queries, which can significantly boost productivity in these areas. "Things that the tool is really good at, though, help me out a lot, even to the point that I would dread not having access to this tool going forward: \- documentation: oh, my god, this is so good."
Corporate and Ethical Concerns
Executive Pressure and FOMO: Companies often push AI mandates due to fear of missing out (FOMO) on perceived productivity gains, sometimes leading to unrealistic expectations and increased incidents. "But when AI turned into a FOMO thing, now executives forcing us using AI to increase productivity."
Policy Ambiguity and TOS Violations: Anthropic's policies regarding Claude Code usage, particularly with SDKs and automated processes, can be unclear, leading to confusion among developers about what constitutes a terms of service violation. "Anthropic really needs to explain this. I’ve created a study app for myself that uses claude -p in the backend to help generate study guides for me to review. Am I technically violating TOS by doing this now?"
Are you considering implementing an AI code mandate in your organization?
Recommendations for model routing platforms
Sandboxing techniques for Claude code
Grok bot usage limits and resets
More posts you may like
Related posts
- I thought Claude was just another LLM and then I discovered recently how much you can do with Claude Code and now I'm genuinely addicted
r/claude•4d ago ### I thought Claude was just another LLM and then I discovered recently how much you can do with Claude Code and now I'm genuinely addicted 791 upvotes ·206 comments
RockstarGames_GBP •Ad 把握在 PS5 上預購 GTAVI 的最後機會,並取得罪惡市復古包。
rockstargames.com Order Now
- Claude ai usage is INSANE! (See body post)
r/ClaudeAI•3d ago ### Claude ai usage is INSANE! (See body post)
152 upvotes ·121 comments
- Everyone says trading is 90% psychology. I ran the version with zero psychology and I'm not sure what to make of the result.
r/Daytrading•2mo ago ### Everyone says trading is 90% psychology. I ran the version with zero psychology and I'm not sure what to make of the result. 25 upvotes ·41 comments
- Nooo, I did the work and Claude is taking all the credit 😭
r/antiai•3mo ago ### Nooo, I did the work and Claude is taking all the credit 😭
2.4K upvotes ·489 comments
- Claude is driving me nuts
r/ClaudeAI•12d ago ### Claude is driving me nuts
124 upvotes ·23 comments
- S2C is exploding online. Where is the pushback?
r/slp•2mo ago ### S2C is exploding online. Where is the pushback? 112 upvotes ·62 comments
- Claude ai is cooking too much !!!
r/ClaudeAI•2mo ago ### Claude ai is cooking too much !!!
1.3K upvotes ·158 comments
- I’ve been insulting AI every day and calling the agent an idiot for 6 months. Here’s what I learned
r/ClaudeCode•9mo ago ### I’ve been insulting AI every day and calling the agent an idiot for 6 months. Here’s what I learned 191 upvotes ·175 comments
- Just FYI this is the future we're heading towards.
r/ClaudeCode•10d ago ### Just FYI this is the future we're heading towards.
417 upvotes ·462 comments
- Claude code has me trapped
r/ClaudeCode•7d ago ### Claude code has me trapped 62 upvotes ·47 comments
- Literally me when claude codes
r/ClaudeAI•2mo ago ### Literally me when claude codes
2.8K upvotes ·93 comments
- Why is only ONE user getting slow speeds after our network upgrade?
r/PrepHQ•1mo ago ### Why is only ONE user getting slow speeds after our network upgrade? 2 upvotes ·2 comments
- I feel like such an idiot for not using Claude sooner
r/ClaudeAI•14d ago ### I feel like such an idiot for not using Claude sooner 182 upvotes ·33 comments
- New AC has given us nothing but problems
r/hvacadvice•2mo ago ### New AC has given us nothing but problems 36 upvotes ·65 comments
- Claude Code will become unnecessary
r/ClaudeCode•9mo ago ### Claude Code will become unnecessary 804 upvotes ·559 comments
- I'm worried Claude will become less and less useful for what I use it for.
r/ClaudeAI•7d ago ### I'm worried Claude will become less and less useful for what I use it for. 309 upvotes ·200 comments
- We just took T:0 out of beta. Ask us anything about how it works.
r/AirwallexOfficial•2mo ago ### We just took T:0 out of beta. Ask us anything about how it works.
1 upvote ·1 comment
- Claude Code is insane!!
r/ClaudeAI•10mo ago ### Claude Code is insane!! 32 upvotes ·39 comments
- Are we becoming dependent on Claude Code?
r/ClaudeAI•13d ago ### Are we becoming dependent on Claude Code? 130 upvotes ·170 comments
- 4 months of Claude Code and honestly the hardest part isn’t coding
r/ClaudeAI•8mo ago ### 4 months of Claude Code and honestly the hardest part isn’t coding 978 upvotes ·341 comments
- Burned ~600M tokens in 48 hours. Is this really an "efficient agent harness"?
r/GrokBot•20d ago ### Burned ~600M tokens in 48 hours. Is this really an "efficient agent harness"?
10 upvotes ·16 comments
- This technology is limitless
r/ClaudeAI•3mo ago ### This technology is limitless
1.5K upvotes ·84 comments
- AI took my job, and it's okay.
r/ClaudeCode•23d ago ### AI took my job, and it's okay. 351 upvotes ·214 comments
- Is this the future?
r/ClaudeAI•3mo ago ### Is this the future? 116 upvotes ·64 comments
- “Claude writes about 90% of Claude Code's code.”
r/AgentsOfAI•24d ago ### “Claude writes about 90% of Claude Code's code.”
106 upvotes ·95 comments
View Post in
See more See fewer
you are out of usage credits.
Public
Anyone can view, post, and comment to this community
0 0
- Home
- Popular
- News
- Explore
- Best of Reddit
- Best of Reddit in Portuguese
- Best of Reddit in German
- Reddit Rules
- Privacy Policy
- User Agreement
- Accessibility
- Reddit, Inc. © 2026. All rights reserved.
Join the most real place on the internet
Continue with Phone Number
Continue with Email
By continuing, you agree to our User Agreement and acknowledge that you understand the Privacy Policy.

來源:Hacker News 熱門(buzzing.cc 中文翻譯) · reddit.com