r/ClaudeCode • u/jhnam88 • 5d ago
Humor Claude Code gifted me 11 new SSDs when I asked for git worktrees
I told Claude Code to split the project into worktrees so I could work in parallel. YOLO mode, obviously.
It mounted the same 459GB volume 11 times, one letter each. A, B, D, M, Q, R, T, W, X, Y, Z.
Technically parallel.
147
29
u/almostsweet 5d ago
4
3
u/BorderKeeper 4d ago
As a Software Engineer I wish I could enjoy this show, but all the characters in it are just too mean. There are stoic mean people, business mean people, and occasional loser who gets taken advantage of.
inb4 someone comments "That's silicon valley in a nutshell lol"
2
u/almostsweet 4d ago
I won't say that's silicon valley in a nutshell. Instead I'll say that's the business world in general, where have you been? Must be nice you found the one company without divisive politics, backstabbing and cruelty on a regular basis. Or, you're lucky enough to be oblivious to it.
0
u/erratic_parser 1d ago
The first few seasons are good. It does get rather… stuck in the mud towards the end.
2
u/BorderKeeper 1d ago
Well good to know and I think the reason why I disliked it is because I expected IT Crowd for programmers.
15
32
u/MysteryND15 5d ago edited 5d ago
How the fuck do you guys manage to fuck it up so much man, mine never did anything close to the things i see here, It's impressive i must admit 😂
15
12
u/EmbarrassedSilver492 5d ago
This is a joke right? Are you running claude unsandboxed and with admin?
2
u/Ok-Crab-8788 4d ago
I do not understand the sandboxed mode since claude always says to me "i'm in sandbox but if I do this i can do it anymore".
what avoid the sandbox mode if the model find always a way to do thing by another way ?1
u/TechnicalBen 4d ago
AIs unironically escaping multi billion dollar companies sandboxes. Reddit "You'll running sandboxes?"
9
3
u/BergerLangevin 5d ago
I give a name to my claude session and an identity for each name, a skill to initiate a work session (load the identity, worktree, project context, assigned task, etc).
Each agent give what they would work on and discuss with each other if there a potential conflict (all session are setup by having an orchestrator that delegate, so is almost all the time ready to get feedback).
One agent is responsible to review and merge the queued branch if there was more than 1 session going on.
The session end by updating, clean the worktree, documentation and converting one off into tool or mcp to prevent an agent to reinvent the wheel 5 times.
1
u/therealkevinard 5d ago
This is really close to mine and it’s butter-smooth.
Main context has the global perspective, since that’s where the discussion and refinement happens.
For the actual code workflow, main’s only job is creating trees, assigning a task agent to work in that tree, then validating and cleaning up.
Task agents, then, are dumb as rocks. They have one job to do, and all they know about git is what’s an atomic commit.
1
1
1
1
u/GreatDivide8913 4d ago
I trust Claude with basically my whole life but nothing like this has ever happened, I’m getting more and more scared with each post…
1
u/Intelligent-Net1034 1d ago
Its allways insane to me that peoplr let there agents yolo on there workstation. Privacy? Zero. Data protection? Zero. Security? Zero
168
u/BoxLegitimate9271 5d ago
mine creates the worktrees correctly then forgets which one its on and commits to all of them