You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .claude.json architectural failure: When "vibe coding" meets production reality
Dear Anthropic team,
After months of watching critical architectural issues go unresolved (#5024, #1449, #6394), while your competitors prepare to launch competing products, I feel compelled to address the elephant in the room with the technical rigor this problem deserves.
The Fundamental Architectural Failure
The .claude.json issue is not a "bug" - it's a textbook violation of basic software engineering principles that any CS undergraduate would recognize:
1. Violation of Single Responsibility Principle (SRP)
Even Bash - a tool from 1989 - understands separation of concerns:
"It worked for a small dataset, but as soon as real-world traffic hit, the system slowed to a crawl"
This literally describes the .claude.json problem.
"No one could trace what was connected to what... There was no mental model, just vibes"
Is this how Claude Code was developed?
"This isn't engineering, it's hoping"
We're not hoping anymore. We're demanding proper engineering.
The Competition Isn't Waiting
DeepSeek is launching their AI coding agent by end of 2025 (Bloomberg, Sept 2025). They're not dealing with config files that corrupt themselves. Microsoft's Copilot Workspace doesn't mix settings with chat history. Even open-source alternatives understand basic data management.
While you're debating whether to move a broken implementation to a different folder, your competitors are building actual solutions.
If you need help understanding why this is wrong, perhaps ask Claude to explain the Single Responsibility Principle. Or better yet, ask it to review your codebase - it might be horrified by what it finds.
P.P.S.
What is the choice of TS for writing Claude Code worth, when the TS compiler itself is already being rewritten in Go!
The .claude.json architectural failure: When "vibe coding" meets production reality
Dear Anthropic team,
After months of watching critical architectural issues go unresolved (#5024, #1449, #6394), while your competitors prepare to launch competing products, I feel compelled to address the elephant in the room with the technical rigor this problem deserves.
The Fundamental Architectural Failure
The
.claude.jsonissue is not a "bug" - it's a textbook violation of basic software engineering principles that any CS undergraduate would recognize:1. Violation of Single Responsibility Principle (SRP)
Even Bash - a tool from 1989 - understands separation of concerns:
.bashrc→ configuration (static settings, aliases, environment).bash_history→ logs/history (dynamic, growing data)Claude Code violates this fundamental principle by mixing:
This is not an "expected behavior" - it's an architectural antipattern.
2. Performance Degradation (O(n) Operations)
Current implementation:
3. Data Integrity & Concurrency Issues
Multiple reports of corruption (#3117, #2593, #6181) because:
Solution exists since 1970s: Use a database (SQLite would work perfectly).
4. Security & Privacy Nightmare
"Moving to cache" is NOT a Solution
Your proposed "fix" of moving to
~/.cache/is cosmetic theater, not engineering:This is hiding garbage under the bed, not taking it out.
Your Own Article Describes This Problem
From ["Vibe coding is not the same as AI-Assisted engineering"](https://addyo.substack.com/p/vibe-coding-is-not-the-same-as-ai):
This literally describes the .claude.json problem.
Is this how Claude Code was developed?
We're not hoping anymore. We're demanding proper engineering.
The Competition Isn't Waiting
DeepSeek is launching their AI coding agent by end of 2025 (Bloomberg, Sept 2025). They're not dealing with config files that corrupt themselves. Microsoft's Copilot Workspace doesn't mix settings with chat history. Even open-source alternatives understand basic data management.
While you're debating whether to move a broken implementation to a different folder, your competitors are building actual solutions.
The Professional Solution (Not Rocket Science)
Benefits:
Questions for Leadership
Resource Allocation: With $2B+ funding, why can't you fix a config file issue that any mid-level engineer could resolve in a sprint?
Quality Assurance: Do you have:
Accountability: Who approved shipping production code that:
Call to Action
Option 1: Fix It Properly
Option 2: Open Source It
Option 3: Continue Ignoring
Final Technical Assessment
You're asking developers to trust you with AI-assisted coding while demonstrating inability to:
This is not just a bug. It's a competence crisis.
The community has been patient. We've provided workarounds. We've even quoted your own articles back at you.
What we need now is engineering, not excuses.
Respectfully but urgently,
[Anfrey Kolkov]
Technical References:
.claude.jsonis trucated directly, and so occasionally gets corrupted #2593, ~/.claude.json file JSON Configuration File Corruption with Chat Sessions #6181 - Data corruption reportsCommunity Evidence:
P.S.
If you need help understanding why this is wrong, perhaps ask Claude to explain the Single Responsibility Principle. Or better yet, ask it to review your codebase - it might be horrified by what it finds.
P.P.S.
What is the choice of TS for writing Claude Code worth, when the TS compiler itself is already being rewritten in Go!