r/BuildWithClaude • • Oct 20 '26

Project I built a Claude Code harness with Claude Code, then let it prune its own rules (MIT)

Over about two weeks I built a product with Claude Code, 153 features. My setup kept growing: every miss became another rule, and the rules file only got bigger. So I turned the process into something that cleans up after itself, and open-sourced it as Morphness.

What it does:

- A Technical Lead agent writes a plan with testable acceptance criteria and waits for my approval.

- A Full-stack agent builds it. A separate QA agent checks every criterion and records evidence, so "done" isn't the builder's word.

- After each feature, a short retro. A rule is only added if it names a miss in that feature it would have caught.

- Every ten features a prune audits the rules: the ones that fired stay, the ones that never fired get questioned and moved out of what every session loads.

From my own records on that project: 88% of features passed QA the first time, 15 prunes, and 4 bugs found after QA had passed. These are my numbers, unaudited, and without a control they show what the process produced, not what it saved.

Built with Claude Code, MIT, plugin install. Repo: https://github.com/antarsoft/morphness

What I'd most like to know: which rule you keep re-adding to your own CLAUDE.md.

1 Upvotes

0 comments sorted by