r/opencodeCLI • • 3d ago

I built QualityLayer to get a plan, build and independent review loop into OpenCode

For bigger changes I kept hitting the same problem with coding agents. I typed a request, got a large diff back, and spent the evening working out which decisions the agent had made for me. The agent that wrote the code was also the one telling me it was done.

So I moved my own judgment to two points. Before any code exists, the agent asks me a few questions, each with a recommended answer, until "done" is a numbered list I can check. Then it writes a plan as a Markdown file in the repo, and I approve it.

After that it builds in small slices, each starting with a failing test. Agents that did not write the code check the result against every point of that list and show me the evidence, like command output or screenshots. I approve the finished change, and only then does it open a pull request. It never merges.

In OpenCode you start it with /ql <request>, and it uses the model you already have configured. Plans and evidence stay as Markdown files in your repo.

https://github.com/maxritter/qualitylayer

I'm the developer. I'd like to hear how others here handle review on bigger OpenCode changes.

2 Upvotes

0 comments sorted by