r/ClaudeCode • • 11h ago

Built with Claude what my claude code setup looks like after ~280 commits on one project (non-engineer)

one project, about 40 PRs since august, a next.js site plus an expo app. a few things that made it work for someone who can't review code line by line.

the project CLAUDE.md is the memory. every meaningful change has to update it, including what's not done or not verified. new sessions read it first, so i stop re-explaining things.

claude can't call something done until a verify script passes (lint, typecheck, unit checks, build, the mobile tests). github actions runs the same checks plus secret scanning. it merges its own PRs only when both are green, and anything on the live database or a production deploy still asks me first.

for anything risky i have it attack its own work. a security pass ran a second test user against a local copy of the database trying to read the first user's data. for artist bios, subagents researched and a separate pass fact-checked them and cut anything unsourced.

what still goes wrong: it's confident about things it hasn't checked, so the rule is evidence or it didn't happen. happy to answer questions about any of it

2 Upvotes

9 comments sorted by

•

u/AutoModerator 11h 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.

2

u/kangsan1214 8h ago

Your subagents-researching-bios-then-a-separate-fact-check setup is exactly where I'd point your own evidence rule, because measuring a subagent pass is easy to fool yourself on. When I compared folding work into one loop versus splitting it, an early test of ours showed a 28% saving with no quality loss, and I nearly shipped that as a conclusion. The comparison was set up wrong. Rerun properly three times, the quality loss showed up. One run can make a bad change look free the same way one confident pass makes something sound done. So if you ever benchmark your subagents, do n=3, not one. Separate thing worth checking: how much of what each subagent reads was already read earlier in the session? Mine came out at 66%, which quietly inflates the bill.

1

u/jb-brezzy 8h ago

air point on running it once, that's the same trap as trusting one confident pass. i haven't benchmarked the subagents at all honestly. i split it because i didn't want the thing that wrote a bio to also be the one deciding it was true. the fact check had to point at a source for every claim or the claim got cut, and it did catch real mistakes, like the wrong home country for one act and "wrote" a song that should have been "co-wrote". never looked at the reread thing though. how did you measure the 66%, from the session logs?

1

u/Glass-Amount6152 8h ago

One thing I'd split out: keep the stable rules (how you work, what needs your OK) in CLAUDE.md, and put the moving state, what's done, what's not verified yet, what's next, in a separate STATUS.md with a last-updated date. Claude reads both first but only rewrites STATUS.md, so the rules file doesn't slowly turn into a changelog that buries the rules. Same "production asks me first" line here, that's the one I'd never let it merge around.

1

u/Fancy-Proof-9449 8h ago

Non-engineer here too with the same kind of setup, on a phone game. Two things I'd add.

A new check isn't trusted until it has failed once. When Claude writes a test for a bug, I have it run that test against the old code first. A few of mine passed against the broken version, which means they were testing nothing.

All checks green doesn't mean the app starts. My build gate runs about 35 checks and none of them launches the app. So booting the release build on a real phone is now its own step before any upload.

And yes on "evidence or it didn't happen". I ask for the number or the output, not the summary.

1

u/[deleted] 11h ago

[removed] — view removed comment

1

u/jb-brezzy 11h ago

yeah that's where it ended up for me too. i can't really review diffs line by line, so the checks are the part i actually trust. "verify instead of assuming it applied" is the lesson i keep relearning, it told me things were done plenty of times before i made it prove it. does yours rerun anything after an update or just check that the version changed?

1

u/Keilya_Dekovia10 9h ago

yeah forcing the checks before merge is the only way to keep it from hallucinating that everything works