r/ClaudeCode • • 6d ago

Built with Claude Making Claude Code list the decisions it made without asking me

When Claude Code builds a feature, it makes a lot of small choices along the way, like which file a new function goes into or what happens on an empty input. Most of them are fine. The ones that hurt are the choices I never saw, because I only found them later in a big diff.

So I changed where those choices show up. Before any code exists, Claude Code writes a plan that I approve. Besides the design and what done means, the plan has two sections I read first. Decisions made for you lists every choice the agent made on its own, so I can overrule one in a sentence instead of in a rewrite. Not doing lists what it will leave alone, which gives the later review something to check scope against. Risky or unsure items are marked so I look there first.

After the build, an agent that did not write the code checks the result against that plan with evidence, and anything that went beyond the plan shows up as a finding. My own review then starts from a plan I already agreed to.

I built QualityLayer around this loop and I'm the developer. It runs on top of Claude Code, which does the planning, building and checking inside it. Repo: https://github.com/maxritter/qualitylayer

3 Upvotes

7 comments sorted by

•

u/AutoModerator 6d ago

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. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/ItsMaGenetics 6d ago

I swear every time I see a post written by AI i get a brain bleed. 

1

u/Legal_Aspect_1606 6d ago

Maybe there will come a day where a post written by AI doesn't read that way. The people who use AI most recognize its writing style.

1

u/ItsMaGenetics 5d ago

I think the opposite is happening and i'm seeing people start to naturally take on ai'isms.

1

u/Legal_Aspect_1606 4d ago

At some point then, modern human and AI language will become indistinguishable

1

u/carstenkoch 5d ago

Hey, we do something close to this in a factory of coding agents on an open-source database, and seeing the agent's own choices before the diff paid off for us too. One step further that helped: when I accept one of those decisions and it binds later work, it goes into the decision log as its own file, with the option it rejected. Otherwise the next session makes the same choice again from scratch, sometimes the other way.

That log needs pruning, though. We keep only decisions that still bind work, so an agent never reads a superseded one next to the current one. How do you decide which of a plan's decisions are worth keeping beyond the one feature?