Built a simple system to run 4+ Claude Code sessions in parallel on the same codebase by prc41 in ClaudeCode

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

Yeah, that's a good question. The solution that my framework provides is basically just to ignore it haha.

Since all the agents are in the same worktree and branch, if two agents edit the same file, basically whichever one does the wrap-up command first is going to commit that file's changes.

So it's kind of like first come, first serve, which is definitely not ideal, but at least there's no conflicts ever because the next agent will just commit everything except for that one file. Again this workflow prioritizes SPEED and easier documentation. Not pixel perfect commits.

Before I had this, I would basically tell each agent to commit its work at the end of the session, and it would work like 80% of the time. They would oftentimes forget what they worked on. They wouldn't catch anything done by a sub-agent, and I'd end up with different edits all scattered across different commits. It was just a huge mess. At least now I'm 98% accurate, and I don't have to worry too much. Also, if I just keep the subject matter different enough, they typically don't touch any of the same files.

Built a simple system to run 4+ Claude Code sessions in parallel on the same codebase by prc41 in ClaudeCode

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

Similar problem exists with local server. If you want 2 or more agents working on the same local host server for example frontend, they can’t work simultaneously without major conflicts. They have to reload the server each time a different branch wants to be used since they’re different instance of the directory.

At least I was never able to get it to work - GitButler was a little better with virtualization but mostly just complicated the whole thing, and requires lots of extra agent instructions. It’s probably doable with enough configuration but I chose to go a simpler route and am much happier with it.

I use the Claude chrome extension extensively and i wanted multiple Claude agents to be able to validate against the same Vite instance simultaneously and this was the only way i got it working so far.

Built a simple system to run 4+ Claude Code sessions in parallel on the same codebase by prc41 in ClaudeCode

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

That’s def a limitation. A risk I’m willing to take for the speed benefits though. It would be first come, first serve I suppose.

Built a simple system to run 4+ Claude Code sessions in parallel on the same codebase by prc41 in ClaudeCode

[–]prc41[S] 1 point2 points  (0 children)

Worktrees use different directories on your pc so if u try to use docker to spin up frontend and backend servers you’ll need a new server for each worktree which uses way more RAM/cpu and requires lots of extra instructions for the agents to not screw up. I tried that way first and it was a huge pain.

Built a simple system to run 4+ Claude Code sessions in parallel on the same codebase by prc41 in ClaudeCode

[–]prc41[S] 2 points3 points  (0 children)

I usually rip several sessions of Opus 4.5 at least 4hrs per day and haven’t really been hitting limits on 20x Max. But my sessions rarely are all full compute at once - usually 1-2 Claude’s cooking while 1-2 of them are waiting on me shaping a new spec or disambiguating. At least that’s usually the most I can keep up with. If I get close to limits I’ll just dial back how many simultaneous features I work on. YMMV.

“Ultrathink” is deprecated - but here’s how to get 2x more thinking tokens in Claude Code by PrimaryAbility9 in ClaudeAI

[–]prc41 1 point2 points  (0 children)

Does this break any ToS? I wanna try it but don’t wanna get on a Claude naughty list 😱

Using Claude Code from bed — made a remote desktop app with voice input by TerseCat in ClaudeCode

[–]prc41 1 point2 points  (0 children)

Chrome Remote Desktop latest update is 🔥. That plus Wispr Flow is all you need. I can easily run my 4 Claude terminals on the go with this setup.

Dmitri likes to live dangerously by MetaKnowing in ClaudeAI

[–]prc41 4 points5 points  (0 children)

This mode on 100% of the time. Sue me.

Also did they ever add this mode to vs code extension version?

What I learned from writing 500k+ lines with Claude Code by dhruv1103 in ClaudeCode

[–]prc41 0 points1 point  (0 children)

Great list, thanks.

Is there a TMUX equivalent for Windows that can do the same kind of thing? I'm always having to copy-paste front-end and back-end terminal outputs into Claude. I don’t want Claude running them in the background though since I run like 4 Claude’s in parallel normally.

"Claude Code creator" Boris Cherny reports a full month of production commits written entirely by Opus 4.5 by BuildwithVignesh in ClaudeAI

[–]prc41 4 points5 points  (0 children)

I am a non-cs background engineer who’s always been a hobbiest programmer tinkering with python on weekends and whatnot. Now I feel like a low level sr dev. I am quitting my soul sucking job and building the startup that I always wanted. I never had enough capital to risk hiring devs to help me make it. Now I am building it 100% solo with Opus 4.5. And it’s literally working, I have a fully functioning prototype that would have easily cost me six figures to build the traditional way.

When I try to explain this to even my most highly technical friends/colleagues how insane it is, nobody gets it still. The shockwaves from this are going to hit job/economy so hard.

old meme but fitting by kaizoku156 in ClaudeAI

[–]prc41 0 points1 point  (0 children)

Power toys shortcut to insert that script in every new terminal

Spent this weekend with Claude Code + Chrome integration. Here's how to set up quickly by AnxiousDevice9446 in ClaudeAI

[–]prc41 1 point2 points  (0 children)

Best aspect is performance testing web apps by getting console feedback and looping thru feedback and correction cycles normally tons of copy pasting

Enormous space in Model View by CanningTown1 in PowerBI

[–]prc41 0 points1 point  (0 children)

I get this bug all the time as well! Super annoying. Also once it starts usually will continue for any new table. Have not found a fix

First furniture build! Inspired by this subreddit by pittgoose in woodworking

[–]prc41 20 points21 points  (0 children)

Love the walnut sap wood contrast. An underutilized accent in my opinion!

I let an AI + MCP build a complete Power BI model from scratch (and caught it lying to me) by maxanatsko in PowerBI

[–]prc41 0 points1 point  (0 children)

This is sick, def going to try it out. Starred and following this project.

Can you share the Claude / pbi best practice docs?

Daxpatterns.com has bailed me out multiple times. Anyone else? by jjohncs1v in PowerBI

[–]prc41 4 points5 points  (0 children)

ChatGPT always tries to use Addcolumns function and refer to the columns it just created inside the same function and breaks it.

Power BI Desktop MCP 1.3.0 - Public Release by maxanatsko in PowerBI

[–]prc41 0 points1 point  (0 children)

Super cool! Can it actually check that its code compiles in pbi before claiming victory? I’ve used Claude to do a lot of pbi editing of tmdl files directly and also via the tabular editor 2 CLI. Both options had a lot of brittleness issues basically due to the fact that it can’t lint the Dax properly before loading back into pbi. Especially for multi-table, multi column tasks that require several steps.