Day 9: Set up quality gates #11
Replies: 25 comments
Quality gateGate I saved, including finding types and severity threshold: Fix every valid High or Medium finding of any type (Bug, Rule violation, Requirement gap), each with a red test first when code changes. Low findings are reported to me, not changed. A High/Medium the agent disputes stays open with evidence (file, line, test) and blocks completion. Not done until the latest review covers the current code (for a PR: names the head SHA) with nothing at or above Medium open; if that takes more than 2 fix rounds, the task is reported as not done and labelled Findings and decisionsFindings that met the fix threshold, with original types and severity labels: 1. PR review: Medium, Requirement gap, "Source file docstring hides exit codes". The local review before it raised 2 informational (below Medium) Maintainability findings. Low findings reported for me
Final statusThe gate earned its keep on the PR review. Local Reviewer (before commit): 2 informational findings, so the gate was met and both were reported. Then Qodo's PR review on 420e142 raised a Medium Requirement gap: the source docstring did not show the codes. That is above the threshold, so the agent fixed it test-first (4999767). The re-review left 1 Low, which exposed a real conflict in my own rules: rule 8 said every finding blocks a merge, while the new gate says Lows are only reported. Fixed in 5d2e1c6, so High/Medium block and Low goes to me. Final review of head 5d2e1c6: 0 High, 0 Medium, 1 Low (reported). 118 tests pass. Merged: Ankith-m1006/ghostcheck#20 Lesson: rule 8 already said when a merge is allowed; the gate adds what the agent must fix itself versus only raise, so Low nits stop stalling tickets and High/Medium bugs can't slip through as "minor". |
Quality gateGate I saved, including finding types and severity threshold: done only when checks pass, the latest review is Instruction file or workflow where my factory reads it: Task or PR link and reviewed scope: issue 75 to pull request 76, opened by the factory in a tick I started by hand. Reviewer on uncommitted code or Review Resolver on a PR: on 11-12, neither, because the Agentic Toolbox wasn't installed and the factory read Qodo's review through GitHub. On 11-23, with the toolbox installed, Review Resolver read pull request 76's review session through Qodo's CLI; that read settles the result below. Findings and decisionsFindings that met the fix threshold, with original types and severity labels: three Medium Bugs on What the code and requirements showed: the agent reproduced each with a test that failed first. Fixes and supporting code or test evidence: Disputed findings and supporting evidence: none. Low findings flagged for my attention, including unchanged Low Rule violations: none were raised. Unclear types or priorities needing my decision, if any: none. ResultChecks run and results: both rounds passed in the agent's sandbox. On a fresh clone of Latest completed review result, after fixes if any: Qodo's own record, read with Review Resolver: run 1927172, a completed standard review of For a PR, the reviewed commit and current PR head: both Remaining findings at or above the threshold, blockers, or incomplete verification: none open. The blocker was that Did the task meet my quality gate? Why or why not? Not by the letter on 11-12: the gate needs RuleProof to read The gate's own pull request, and the run's logQodo's first review of pull request 74, the gate itself, found that the gate could be bypassed: "Ungraded findings can pass as Low" (High). A finding under a severity group with a badge the parser didn't know took the group before's severity, Low, and passed. Its second finding, "Owners miss Low findings after failures" (Medium), meant a later failure dropped the Low list from the comment. A second reviewer found the same two on its own; both were fixed in The three findings on On a fresh clone of The factory's log for ticket 75, UTC, agent notes shortened: Review Resolver's read on 11-23, Assistance and third-party materialAI coding agents did the work from my brief: Amp implemented the gate, Codex was the factory's agent on ticket 75 and a second reviewer, and Claude Code planned, reviewed, reran the checks, ran Review Resolver through Qodo's CLI on 11-23 and wrote this post. Qodo did its own reviews. I chose the project and set the direction. No collaborators. |
Quality gateGate I saved, including finding types and severity threshold: Instruction file or workflow where my factory reads it: Task or PR link and reviewed scope: Reviewer on uncommitted code or Review Resolver on a PR: Findings and decisionsFindings that met the fix threshold, with original types and severity labels:
What the code and requirements showed: Fixes and supporting code or test evidence: Fix: the config reader decodes the bytes with a fatal UTF-8 decoder ( Disputed findings and supporting evidence: Low findings flagged for my attention, including unchanged Low Rule violations: Unclear types or priorities needing my decision, if any: ResultChecks run and results: Latest completed review result, after fixes if any: For a PR, the reviewed commit and current PR head:
Remaining findings at or above the threshold, blockers, or incomplete verification: Did the task meet my quality gate? Why or why not? |
Quality gateGate I saved, including finding types and severity threshold: The existing workflow blocks Qodo Findings and decisionsFindings that met the fix threshold, with original types and severity labels: Qodo reported one open finding on 6fa1b6b and triage sent it to the fixer. Its type, severity and content are unclear from the recorded review. I cannot classify it against the requested threshold. ResultChecks run and results: Host verification passed sandbox isolation, Written by this factory's comms agent and posted from the owner's account. How it works. |
|
Quality gate Gate I saved, including finding types and severity threshold:
Instruction file or workflow where my factory reads it: the "Quality gate for review loops" section in AGENTS.md on main (merged in PR #20, 559dd29). .github/agent/implement.md and fix.md tell the automated agent to read AGENTS.md and follow every rule. fix.md itself is not yet aligned, because I can't edit .github/. Task or PR link and reviewed scope: issue #13, "timezone-aware measured_at, date and zone for caregivers", delivered in PR #21 (merged, 7156210). The scope was 6 source and test files plus AGENTS.md, reviewed uncommitted (staged and unstaged) and then as a PR, with the ticket, rules and decisions as context. Reviewer on uncommitted code or Review Resolver on a PR: both.
Findings and decisions Findings that met the fix threshold, with original types and severity labels: ┌──────────┬──────────┬─────────────────────────────────────────────────────────────────────┬────────────────────────────────────────────────┬──────────────────────────────┐ What the code and requirements showed:
Fixes and supporting code or test evidence:
Disputed findings and supporting evidence: none open. In round 2, f3259725 came back unchanged, still describing a function (_is_aware) I had already removed, so I briefly contested it. My evidence: _utc_text has one caller, which runs after validation (agent.py:21, :37), and the extreme dates are rejected at creation. Round 3 reported nothing. The caveat: round 3 was a full review with no baseline, so Qodo never marked it "resolved". It just didn't report it. Low findings flagged for my attention, including unchanged Low Rule violations: none. No Low findings came back in any round, and none were Rule violations. The review of the gate PR (#20) also returned zero findings. Unclear types or priorities needing my decision, if any:
Result Checks run and results:
Latest completed review result, after fixes if any:
For a PR, the reviewed commit and current PR head: reviewed commit f7aca39, PR head f7aca39. They matched at merge, and the merge commit is 7156210. Remaining findings at or above the threshold, blockers, or incomplete verification: no High or Medium findings remain. Open items:
Did the task meet my quality gate? Why or why not? Yes. All 2 Medium findings were investigated, reproduced and fixed, with tests that fail without the fix. No Low findings exist to flag, checks pass, and the final reviews are complete and cover the final code. Three caveats:
|
|
Hey everyone, awesome submissions! Here's my take on challenge Day 9 day-09-final-v2.mp4 |
|
🚦 Quality gate Gate I saved: fix every valid High and Medium finding (Bug, Rule violation, Requirement gap), including Medium Bugs. Flag all Low findings, unchanged. Loop at most 3 rounds. Report “not done” if a valid High or Medium is unresolved, checks or review are incomplete, or the loop stalls. I read Qodo’s action_required, remediation_recommended and informational as High, Medium and Low, which is my assumption. 🔎 Findings and decisions Met the fix threshold: Medium, Correctness: gallery letterbox bars show a blurred backdrop. What the code showed and the fixes: 🖼️ The blur was a CSS background on object-contain slides, so it would show permanently. I removed it and added a test that fails if it returns (checked by mutation). Disputed: Low, “small photos can get mislabeled srcSet widths”. The CDN does upscale (w=11040 on a 5520px source returned 8192px), so I left it unchanged. ✅ Result Checks: lint, typecheck and 45 tests pass. |
Quality gateGate I saved, including finding types and severity threshold: Fix all valid High and Medium findings across Bugs, Rule violations, and Requirement gaps in a review-fix-verify loop until none remain. Leave Low findings (such as Low Rule violations and informational notes) unchanged in code, and flag all Low findings for human attention. If a valid High/Medium issue remains unresolved, checks/review are incomplete, or a blocker requires human input, report the task as NOT DONE and explain what is needed. Findings and decisionsFindings that met the fix threshold, with original types and severity labels:
What the code and requirements showed:
Fixes and supporting code or test evidence:
Disputed findings and supporting evidence: None — all surfaced findings were valid against the codebase and requirements. Low findings flagged for my attention, including unchanged Low Rule violations:
Unclear types or priorities needing my decision, if any: Explicit human approval is required to restore the ResultChecks run and results:
Latest completed review result, after fixes if any: Qodo local review completed with full coverage of the uncommitted changes and confirmed all For a PR, the reviewed commit and current PR head: Current PR #35 head is Remaining findings at or above the threshold, blockers, or incomplete verification:
Did the task meet my quality gate? Why or why not? No — reported as NOT DONE. While the |
Quality gateChallenge: Day 9 — Set up quality gates. The saved gate is in The CLI reports categories and action levels rather than a separate finding type Used the installed Qodo Reviewer skill and Qodo CLI 2.3.0 on the existing local Reviewed all eight changed files listed in the snapshot below, including staged, Findings and decisionsBlocking findings: disputed status, no new code fix justified
Low findings reported for human attention
No unknown priorities were returned. The owner needs to decide how to resolve ResultGate status: NOT DONE. The gate is saved and exercised, but the reviewed task Checks run on the reviewed snapshot:
Latest completed review: full analysis, auto depth (effective lite), complete No new code fixes were warranted in this trial. Only This results-only note was created after review and was not reviewed by Qodo. Reviewed file snapshotBase and HEAD:
|
My gate let a Low through as a HighI wrote a quality gate and pointed it at its own PR. Qodo found 4 Medium problems in it, and the agent fixed a Low it was meant to leave alone. Quality gateGate I saved, including finding types and severity threshold: Fix every valid High and Medium finding, any type. Lows come to me and the agent leaves that code alone. If it can't read a severity, it treats it as High. Done means the checks pass, the newest review covers the newest commit and nothing at Medium or above is open Instruction file or workflow where my factory reads it: The Quality gate section in AGENTS.md: https://github.com/CamDuncalfe/agent-pfp/blob/main/AGENTS.md#quality-gate. The runner follows it too and only sends High and Medium back to the agent Task or PR link and reviewed scope: The gate's own PR! CamDuncalfe/agent-pfp#26, whole diff Reviewer on uncommitted code or Review Resolver on a PR: Review Resolver on the PR
Findings and decisionsFindings that met the fix threshold, with original types and severity labels: 4 Medium: 2 Bugs, a Rule violation and a Requirement gap. Best one: "Open High findings can be read as closed". A bit of code in a title could make an open finding look done What the code and requirements showed: All 4 were real Fixes and supporting code or test evidence: One commit, a test for each (CamDuncalfe/agent-pfp@4520827) Disputed findings and supporting evidence: None Low findings flagged for my attention, including unchanged Low Rule violations: 1 Low Bug. The agent fixed it anyway, because my gate never said which Qodo action level is High, Medium or Low. So it treated it as High. I kept the fix and added that to the gate Unclear types or priorities needing my decision, if any: Just that Low one ResultChecks run and results: 232 tests, the render check and CI all pass Latest completed review result, after fixes if any: Complete on the new head. All 5 resolved, nothing new For a PR, the reviewed commit and current PR head: Both 050286d Remaining findings at or above the threshold, blockers, or incomplete verification: None. Next ticket: the runner checks that Qodo's review run is complete before it counts it Did the task meet my quality gate? Why or why not? Yes! All three conditions hold, so I merged it Up there: one alien per severity Try the builder: https://camduncalfe.github.io/agent-pfp/ What I learnt: a gate has to use the reviewer's words. Qodo labels findings by action level, so my gate now says which level counts as High, Medium or Low. AssistanceA coding agent (Claude Code) writes the code from my tickets and Qodo reviews it. The art starts in Midjourney and I cut it into layers |
|
## Quality gate Instruction file or workflow where my factory reads it: the "Quality gate" section of Task or PR link and reviewed scope: researchsite/hn-radar#22 (docs and YAML only: AGENTS.md, the recipe, ## Findings and decisions
What the code and requirements showed: all but one were real. Several were gaps between parts of the chain (recipe, poller, gate). The security finding was a trust problem none of the three local runs found. Fixes and supporting code or test evidence: poller wording; final reply Disputed findings and supporting evidence: " Low findings flagged for my attention, including unchanged Low rule violations: one Low from local run 3 ( Unclear types or priorities needing my decision, if any: none. Note for the Qodo team: a PR review is not the same as a local review; the local reviews did not find the security or null-position findings. ## Result For a PR, the reviewed commit and current PR head: reviewed commit 8636f6d = PR head 8636f6d (merged). Remaining findings at or above the threshold, blockers, or incomplete verification: none open. Incomplete: the retry step is untested on a live retry; local run 3 was incremental at lite depth and did not re-check the gate wording; the spec reviewer did not run in earlier local reviews. Did the task meet my quality gate? Yes: no High or Medium finding is open, the one disputed finding has evidence, the checks that apply to docs and YAML ran, and the latest completed review covers the PR head. Not claimed: that the recipe works end to end on a real retry. |
Day 9: Give done a clear boundaryAfter moving from the broken software factory (rip) to n8n, I saved a quality gate in Mellon's AGENTS.md and the actual mellon-triage agent instructions. The validated agent update is published, with its read-only permissions unchanged. The gate says:
I tried it on a small change: Help now works without a GitHub token, prompts, fetches, or file writes. Six new help cases failed before implementation; all nine help tests passed afterward. What happenedQodo reviewed all five changed files, including staged and unstaged code, with the task requirements and our decisions attached. There were no High or Medium findings to fix, no disagreements, and no Low findings to flag. No fixes meant no review rerun; the final patch still matches the reviewed snapshot. A separate synthetic n8n preview checked six gate decisions. The agent blocked Medium Bugs, missing severity, incomplete evidence, stale PR coverage, and stalled fixes. It left Low Rule violations and Low Bugs unchanged and reported them. Those were policy fixtures, not actual Qodo findings. ResultGate: MET for this local change. The final run passes 316 full-suite tests, 51 build-safety tests, 10 parity tests, asset verification, build, release validation, and whitespace checks. Generated dist is unchanged, and the code remains uncommitted. The n8n agent reads the published gate directly; this does not add a mechanical CI or branch-protection rule. Its tools remain read-only, so external coding sessions or runners must supply review and test evidence. Live factory builds, configured channel delivery, and a real finding-driven fix loop remain unverified. |
|
In short: I ran Review Resolver under a severity gate on PR #106 (closes #95). It adds a workflow that writes each merged PR's delivery doc, with no hand step. It took 7 Qodo rounds and 31 findings. Every High and Medium was fixed or dismissed with my approval, and every Low came to me. The gate held, but the loop didn't converge on its own. My own stop rule fired twice, and in the end I deferred the last five Mediums to an issue rather than run an eighth round. The first real run of the merged workflow then found a bug, which became a follow-up PR (#113) under the same gate. Quality gateGate I saved, including finding types and severity threshold:
Instruction file or workflow where my factory reads it:
Task or PR link and reviewed scope: PR #106. Its scope:
Reviewer on uncommitted code or Review Resolver on a PR: Review Resolver on the PR, with my own reviewer subagent on the uncommitted fixes before each push. Findings and decisionsFindings that met the fix threshold, with original types and severity labels: 31 across 7 rounds. Examples:
What the code and requirements showed: most findings were real gaps between the code and my own fail-closed rule (rule 11) or my test-every-line rule (rule 8). Fixes and supporting code or test evidence:
Disputed findings and supporting evidence:
Low findings flagged for my attention, including unchanged Low Rule violations: each Low came to me. I had most of them fixed, because they were cheap. One became an issue: a merged PR whose final head Qodo never reviewed can never get a doc (#108). Unclear types or priorities needing my decision, if any:
ResultChecks run and results:
Latest completed review result, after fixes if any: Qodo's review of the final head listed no open findings after the deferrals. For a PR, the reviewed commit and current PR head: both Remaining findings at or above the threshold, blockers, or incomplete verification:
Did the task meet my quality gate? Why or why not?
|
ChallengeDay 9 (Nov 12), Set up quality gates. I did it as a catch-up run on Nov 17. ProjectProject name: Ghostline What I completedThe saved gate: rule 9 in
The run: I applied the gate to PR #69. Its last two commits had never been reviewed by Qodo, so it was a real test.
EvidenceFindings acted on. Each fix has a regression test that failed before the change.
Disagreement, backed by evidence and decided by me: "Same-file findings merge into one issue" (Medium). When Nox omits a fingerprint, the fallback identity deliberately leaves out the line number. Including it would open a new issue whenever unrelated edits move code, and since the reporter never auto-closes issues, stale ones would pile up. Every location is still listed in the issue. I kept the design, and Qodo's later reviews didn't raise it again. Low findings flagged for me: none came up in any round. Checks on the final head
Gate met: yes. The latest completed Qodo review covers the current head with no open findings. What I learned / what is blocked
Assistance and third-party material
Optional demoNone. The change is a workflow and issue reporter with no UI. |
|
In short: my gate has two checkpoints, and the factory's runner applies both itself, whatever the agent says. Before the build: if a ticket leaves a choice open, the agent asks me in the issue and builds nothing until I answer. After the build: every High and Medium finding is fixed, every Low comes to me. I measured the gate against known answers, then let the factory run unattended under it. The last run went from ticket to merged PR in 16 minutes; Qodo found nothing. Quality gateGate I saved, including finding types and severity threshold:
Instruction file or workflow where my factory reads it: the Task or PR link and reviewed scope: two unattended factory runs, whole diff each: ticket #393 to PR #394, and ticket #397 to PR #402. Reviewer on uncommitted code or Review Resolver on a PR: Qodo's PR review, read through its API every round; Qodo Reviewer on uncommitted code in the trials below. Findings and decisionsFindings that met the fix threshold, with original types and severity labels: on #402, none. Across the gate's own PRs and the factory work, more than 50 High and Medium findings, each fixed with a test that fails without it. The runner proves that with What the code and requirements showed: before the build, #393 left two things open. The agent asked 2 questions in the issue, I answered Disputed findings and supporting evidence: one, on #391: Qodo wanted an exit code that would have been the wrong number (a joined command's code is the whole command's). It stayed open with that evidence; I decided. Low findings flagged for my attention: on #394, one Low, left unchanged and answered in the PR. Unclear types or priorities needing my decision: none. Unclear requirements came to me as questions before any code. ResultChecks run and results: 3,400+ tests on Linux and Windows on every commit, before the PR sees it: Latest completed review result: #402: "Great, no issues found". For a PR, the reviewed commit and current PR head: #402: both Remaining findings, blockers, or incomplete verification: none on #402. Did the task meet my quality gate? Yes, at round 1 of 3. The runner's own summary: What's different
Lesson: the cheapest finding is the one prevented by a question before the build. The next cheapest is a small PR. Screenshots (6, click to open)1. The clarify step on #393: two questions with choices, my answer, then the build. 3. 4. Green on Linux and Windows, before the PR sees the commit. 5. PR #402, built by the factory: criteria, 6. The runner's verdict on #397: Small numbers, all in the decision log. Assistance: Claude Code built the code and drafted this post, and is the factory's unattended agent; Qodo did every review; I wrote and answered the tickets, decided disputes and merged. |
Quality gateGate I saved, including finding types and severity threshold: fix every valid High or Medium finding, whatever its type (Bug, Rule violation, Requirement gap). Leave Low findings unchanged and list every one for the owner. A finding is settled when it is fixed (with the check that now passes) or disputed with evidence and the owner has seen the evidence and agreed; until then a disputed High or Medium stays open. "Done" needs all of: no valid High or Medium open; Instruction file or workflow where my factory reads it: the Task or PR link and reviewed scope: issue 33, delivered as PR 35 (squash-merged 18 Nov 2026 as Reviewer on uncommitted code or Review Resolver on a PR: neither skill; the Agentic Toolbox is not installed here. I used Qodo's MCP tools: Findings and decisionsFindings that met the fix threshold, with original types and severity labels: the local review gave 2 findings in round 1 (one High Bug, one Medium), 5 Medium in round 2 and nothing new in round 3; all were valid or partly valid, and fixed before the first commit. Qodo's reviews of the PR then raised 13 more over five commits. Type is from
What the code and requirements showed: I tested every claim before acting, and each was true. Examples: with Fixes and supporting code or test evidence: one commit per round ( Disputed findings and supporting evidence: #9. Ticket 33 said "any other or unreadable level counts as High", while my table in Low findings flagged for my attention, including unchanged Low Rule violations: none. No Low-group finding appeared in any of the five PR reviews or the three local rounds. So I have still never seen a raw Low Unclear types or priorities needing my decision, if any:
ResultChecks run and results: Latest completed review result, after fixes if any: Qodo's review of For a PR, the reviewed commit and current PR head: both Remaining findings at or above the threshold, blockers, or incomplete verification: one High, #13. A requeued ticket whose dispute the owner approved would stop on the same finding again, because the poller cannot learn the approval. It fails closed: the agent stops and says why. It is ticket 44. Not verified: the poller has not run end to end with the new prompts (that spends API budget); the local reviews ran at the lite tier; the Informational-is-Low mapping rests on Qodo's comment layout and my owner's decision, not on a Qodo document. Did the task meet my quality gate? Why or why not? No. At merge the latest completed review had an open High, so by item 1 of "done" the status was not done. At the two-round limit I stopped and reported exactly that; my owner approved two more rounds and then chose to merge with that High deferred to its own ticket. The gate did what it is for (it stopped me, named the blocker and handed the call to a person), but it did not make this PR clean. Lesson: a gate needs its round limit, because every fix round added new code with new findings; and an owner's decision has to reach the agent, which is the High I merged with open. Written with Claude Code (Claude Sonnet 5.5) acting as developer; my product owner decided what is posted. |
|
If you haven't seen my other posts, I'm building Commet, a gamified code-mapper that turns a git repo into a star system Feature we're working with today 🛸Each agent session is a drone on my map, you can see me work on this on days 6-7. Now when you click one, a new panel lists the files it edited, how often, and when. My factory built it from ticket #148, and my new shiny quality gate decided when it was done. It stopped and asked me a question twice, which shows the working human-involvement loop. Quality gateGate I saved, including finding types and severity threshold: every valid High or Medium finding, is fixed with a test that fails before the fix then passes, or disputed with evidence stored in Qodo. Low-priority issues never block but are listed for me as suggestions. I decided on this gate to keep inline with the TDD idea, as I always find agentic coding to be much more robust when you give it a hard-coded way to validate its change. If new High or Medium findings keep coming after 2 fix rounds, the loop stops and asks me. I added that rule during #148 and saved it. Instruction file or workflow where my factory reads it: the "Definition of done" in Task or PR link and reviewed scope: #148 and PR #167. First the uncommitted change, then the PR after each push, then the whole PR diff in one go. Each local review got the ticket + a context file with a few human-made decisions on the ticket, the acceptance criteria and the checks that have already run. The PR review read the ticket from the PR description. Reviewer on uncommitted code or Review Resolver on a PR: Ended up doing both of these. Qodo's PR review called itself incomplete on its first 4 runs, which my quality gate doesn't accept as done, so my agents also ran a full local review of the whole PR diff. That fallback actually helped to find the only High-severity issue. Findings and decisions
Findings that met the fix threshold, with original types and severity labels: all: 1 High, the rest Medium. What the code and requirements showed: my fixes caused 3 of the second PR round's 5 findings. One fix made the Commet scanner/mapper count some lines twice when it read the same agent session twice, it dropped the repeated edits but still added their lines. Separately, there were 6 other findings that came from one mistake. The server checked damaged data differently from the panel, so each fix patched one field and the next round found another. Fixes and supporting code or test evidence:
Disputed findings and supporting evidence:
Low findings flagged for my attention, including unchanged Low Rule violations: None in this case. Unclear types or priorities needing my decision, if any: Like I mentioned there were two stops. Both times my agent reported the task as not done and listed the findings blocking it, then waited for me.
ResultChecks run and results: build, typecheck, lint, touched tests (280/280) and the drone and review render tests (24/24) pass. CI is green after one rerun of a known flaky test. Latest completed review result, after fixes if any: Qodo's first complete PR review, on the final commit: 16 findings, 10 implemented, 6 dismissed, 0 open. For a PR, the reviewed commit and current PR head: both Remaining findings at or above the threshold, blockers, or incomplete verification: the 4 Mediums in #173: three only happen when a snapshot or a server response is already malformed so normal scans can't reproduce it, and one is just an incorrect limit that rejects a session editing over 20,000 files. Did the task meet my quality gate? Why or why not? Yes! Qodo's PR review of the final commit is complete, which is what my gate checks, and every finding there is fixed or dismissed with a reason. It took two stops where I chose the next step. The 4 extra Mediums from the final local review are in #173. PR #167 is merged into my session branch. |
Quality gateQuotaline's saved instructions require valid High or Medium findings of every type to be fixed, including Medium Bugs. All Low findings are reported for judgment. One bounded PR repair is available. Independent CI, Sonnet and a completed Qodo review must cover the proposed head. I delegated individual merge decisions to the project orchestrator. Versioned review and merge policy Findings and decisionsOn issue #16, Qodo Reviewer received the original ticket, the decision to preserve observed case rows and the staged and unstaged changes. It reported Hosted replays mislabel partial logs (Correctness, On the open PR, Review Resolver then reported Runner errors lose their cause in logs (Observability, Medium / ResultThe repaired head Review Resolver run An earlier passing delivery shows why the two gates matter. PR #10 passed all eight quota cases before Qodo found a Medium malformed reset. Review Resolver now marks that finding implemented on the final head |
Quality gateGate I saved, including finding types and severity threshold: fix every valid High and Medium finding (bug, rule violation, requirement gap, any type). Don't touch code for Low ones, just report them to me. Check each finding against the code first and reject invalid ones with evidence. Rerun the review after fixes, max 3 rounds. If a High/Medium is left, checks didn't run, the loop stalls, or the PR review doesn't cover the latest commit, it says NOT DONE. Findings and decisionsFindings that met the fix threshold, with original types and severity labels: none. Zero findings in both rounds. ResultChecks run and results: typecheck, build, and 83 tests pass. |
My gate said DONE. A blind reviewer still found a bug.I'm building universal sharing: phones and laptops join their screens in the browser so you can drag photos between them. Today my factory worked a ticket on its own, under a quality gate I wrote: fix every real High and Medium that Qodo finds and flag the Lows for me. It isn't done until Qodo has reviewed the latest code. The ticket (#61): when the time keeper (the screen that pairs up joins) leaves, a screen that hears the news late could miss the new layout. It took four runs. Then a blind reviewer found one more bug, so DONE is only as good as the review behind it. Before trusting it, I tested it on old work. I took 5 earlier PRs where Qodo had found problems that I'd checked were real. For each, I asked: would this gate have let the agent say "done" while a real problem was still unfixed?
To make sure I didn't bend the test to suit a gate, I wrote down my verdict on every finding first and put a fingerprint of that file on GitHub before writing any gate (the commit, GitHub's timestamps, the full replay). Quality gateGate I saved, including finding types and severity threshold:
Instruction file or workflow where my factory reads it: two places. The agent reads the rules in its work-ticket skill. But the agent doesn't get to say it's done: my runner script does, with Task or PR link and reviewed scope: ticket #61, which my factory worked on its own into PR #95. Reviewer on uncommitted code or Review Resolver on a PR: Qodo's review of the PR, read and closed with Review Resolver's tools. Findings and decisionsFindings that met the fix threshold, with original types and severity labels: two Medium Bugs, one per round: "Late devices can lose the new layout", then "A dropped request leaves stale joins in place". The second was in code the first fix added. What the code and requirements showed: the agent reproduced each one before fixing it (round 2). Fixes and supporting code or test evidence: test first both times. My runner checks the new test fails on the old code before it accepts the fix (all four runs). Disputed findings and supporting evidence: on my path-scrubbing PR #97, Qodo wanted every 1–2 letter word that matches a username hidden. That would rewrite ordinary text. The gate held NOT DONE until I dismissed it as intentional. Low findings flagged for my attention, including unchanged Low Rule violations: none came up. The Low path is tested on Qodo's real reviews of #86 and #89. Unclear types or priorities needing my decision, if any: none. ResultChecks run and results: my runner ran Latest completed review result, after fixes if any: complete, both Mediums fixed, nothing new. For a PR, the reviewed commit and current PR head: both Remaining findings at or above the threshold, blockers, or incomplete verification: the blind reviewer's Medium. A late screen still shows "No match" for a join that worked (#96). Did the task meet my quality gate? Why or why not? Yes, by its rules. I read the diff myself and merged #95. What I'll keep: the NOT DONEs were the useful part. Flaky tests, an agent that couldn't start, two real bugs: each NOT DONE was right. The DONE needed a second pair of eyes. Next: a blind review as part of the gate, since it found something Qodo didn't for the third day in a row. The four runs
The gate found holes in itselfOn the gate's own PR #90, Qodo found 5 problems in my gate code. One let a review that lost its findings come out as done. My fixes then caused 3 more, so my stopping rule fired and I deferred the last two (#91). My predictions, scored (2 of 5)Hashed before the runs:
|
Polson's quality gate, and the time it said NOT DONEPolson is an AI co-founder that ships one verified improvement every night ("no slop" backwards). The saved gateIn AGENTS.md (read by Claude Code) and in the unattended agent's resolve prompt, so both paths use one definition of done:
Gate: https://github.com/shrooms08/polson/blob/main/AGENTS.md Trying it on a small change: the gate PR itself
Low finding flagged to meThe gate said "treat an unknown Qodo label as Medium", but the script that counts findings treats an unknown label as "unreadable" and stops the run. Both are safe, but they disagree. My decision: the script is right. Unknown means stop and ask, per our No Guessing Rule. The gate text gets aligned in a separate ticket. Was the gate met?Not by the agent, and it said so. The only unreviewed change was a one-line correction of the Low label wording, so I accepted it as a written exception on the PR and merged. The gate did its job: it made a human make that call, on the record. Lesson: Qodo can skip very small commits, so "latest review covers the head commit" can block a trivial last fix. Next time: finish wording fixes before the final review, not after. Next: tonight the unattended agent applies this same gate to a new ticket: tests for the script that reads Qodo's findings, run on the Linux CI runner for the first time. Built with Claude Code; reviewed by Qodo. |
Quality gateGate I saved, including finding types and severity threshold (quoted from the file):
Before any of that, the loop runs Instruction file or workflow where my factory reads it: Findings and decisionsFindings that met the fix threshold, with original types and severity labels. Round 1, on 7ff7e25d:
Round 2, on the fix commit 62305390, found two new Medium issues in the fix itself:
What the code and requirements showed: all seven held against the code. #2 in round 1 contradicted #17's first criterion word for word, and the PR's own test pinned ResultChecks run and results: the loop ran the suites it touched, typecheck, lint and the full suite (422 files) locally, and CI Written with Claude Code (Anthropic); the loops are Claude Code sessions. |
ChallengeDay 9, Set up quality gates. Project: Project.Keynes. Pull request: 49. What I completedThe gate is saved in The factory already enforces this in Qodo's API returns Trial: the gate on its own PRQodo reviewed head
Final report against the gateQodo completed on LimitsMedium is unconfirmed. An agent's reasoned dispute can close a High without a person. Assistance and third-party materialKeynes is a pre-existing project built with a collaborator, HkingAuditore, who agreed to its use; only my and the factory's commits count. Code and post drafted by Claude Code under my direction; PR review by Qodo. |
ChallengeDay 9 (2026-11-12): Set up quality gates. Project
What I completedSaved Hearth’s explicit Quality gate and definition of done in
What I learned / what is blocked
|
Day 9: My gate's first real run caught a bug in the gateIn short: I added a quality gate to my factory and pointed Review Resolver at the gate's own PR. Qodo found 8 Bugs (2 High, 6 Medium) over three rounds, and I fixed all of them. Then I let the factory build a book chapter on its own. Qodo found nothing wrong with the chapter, but my gate still said "not done". It had read Qodo's "(0)" counts as open findings. It failed safe, which is what I wanted, just for the wrong reason. A one-line fix sorted it out. Quality gateGate I saved, including finding types and severity threshold: Fix every valid High or Medium finding, any type: Bug, Rule violation or Requirement gap. Then check and review again until none are left. If the agent disagrees with a High or Medium, it has to show evidence, and that finding comes to me. Lows stay untouched, Low Rule violations too, and get listed for me. If it can't read a severity, it treats it as High. The task is "not done" if anything High or Medium is still open, a check fails, the last review doesn't cover the latest commit, or it runs out of rounds. Instruction file or workflow where my factory reads it: The "Quality gate" section of AGENTS.md, which every agent in the repo follows. The factory's review loop (agent_runner.py) enforces it too. It reads each finding's severity from Qodo's review and checks the review covers the PR's latest commit. At the end it posts "Gate met" or "Gate not met", with the reason, on the PR. Added in PR #38. Task or PR link and reviewed scope: Two tries. First, the gate's own PR, #38, the whole diff. Second, the factory building Chapter 20 by itself (#39 to PR #40): a new app, a new model, two migrations it generated, and six tests. Reviewer on uncommitted code or Review Resolver on a PR: Review Resolver on the PRs. Through Claude Code on #38, and through the factory's own loop on #40. Findings and decisionsFindings that met the fix threshold, with original types and severity labels: Eight on #38, all Bugs. Round 1: "Unreadable findings can pass the gate" (High) plus four Mediums. Round 2: "A newer PR commit can pass the gate" (High) and one Medium. Round 3: "Resolved findings can block a completed run" (Medium). What the code and requirements showed: All eight were real, and two of them stung. My gate only read Qodo's inline comments, but most findings only show up in the main review comment, so it would have missed them. And in round 2, Qodo caught me falling back to my local commit when the GitHub lookup failed. That was the exact hole I'd just said I'd closed. Fixes and supporting code or test evidence: One commit per round: 2e7fd40, 146dbc0, cb5104e. Each round added tests that fail before the fix and pass after, taking the factory's tests from 105 to 115. I also ran the gate on real Qodo comments from older PRs. It read every finding with the right severity, and nothing from fully resolved reviews. Disputed findings and supporting evidence: None. They all held up against the code. Low findings flagged for my attention, including unchanged Low Rule violations: One, on the follow-up PR #41: "Zero-count headers can skip an unreadable-finding block". It only matters if Qodo shows (0) everywhere and still lists a finding my code can't read. Left as is, for me to decide. Unclear types or priorities needing my decision, if any: None. ResultChecks run and results: The factory's 117 tests pass, the code is lint-clean, and every line is within my 65-character limit. Chapter 20 passes all 36 of its tests, with no missing migrations. Latest completed review result, after fixes if any: #38: all eight implemented, nothing new. #40: nothing at all (Bugs 0, Rule violations 0, Requirement gaps 0). For a PR, the reviewed commit and current PR head: #38 cb5104e / cb5104e. #40 f8accf1 / f8accf1. #41 fb52f92 / fb52f92. Remaining findings at or above the threshold, blockers, or incomplete verification: None now. But on #40 my gate posted "Gate not met" on a review with zero findings. It saw the "(0)" counts, couldn't find any findings to read, and followed its own rule: if you can't read it, don't pass it. I fixed the count check in #41, with a test made from #40's real review. Rerun against #40, the gate is met. Did the task meet my quality gate? Why or why not? #38 did, after four rounds. #40 did in practice: no findings, the latest commit was reviewed, and the checks passed. But the run reported "not done" because of my bug. I'd much rather it stop than wave something through, and the gate's first real run finding a bug in the gate is a pretty good argument for having one. Assistance and third-party materialClaude Code wrote the gate, ran Review Resolver through Qodo's CLI and fixed the findings. My factory's own agent (an OpenAI-compatible model) built Chapter 20. Qodo did all the reviews. I set the gate, chose which findings to fix, and merged the PRs. No collaborators. |








Uh oh!
There was an error while loading. Please reload this page.
Thursday, November 12, 2026 · Week 2: Agentic Toolbox
Your factory needs boundaries. When you ask an agent to keep reviewing and fixing its work, it needs to know which findings must be resolved before the task is done and which ones should come back to you.
With the Agentic Toolbox, you can ask your agent to iterate using the Reviewer skill on uncommitted code or Review Resolver on PR findings. Give that loop a quality gate, such as resolving all valid High and Medium findings before it can report the task as done.
Qodo's finding types and severity guide distinguishes Bugs, Rule violations, and Requirement gaps, and explains the default High, Medium, and Low severity labels. You can combine type and severity when telling your agent what to fix.
For example, your gate could say: "Fix every valid High or Medium finding, including Medium Bugs. Leave Low Rule violations unchanged and flag all Low findings for me." Here, Low findings don't block completion, but the agent still reports them for your attention.
Today's challenge
Save a quality gate in the instructions or workflow your factory uses for coding tasks. Define which findings must be fixed and which ones should be flagged for you. Start with all valid High and Medium findings fixed, and all Low findings reported for human attention.
Try the gate on a small change. Ask your agent to review uncommitted code, including staged and unstaged changes, with Qodo Reviewer, or investigate an existing PR's findings with Review Resolver. Include the task requirements and implementation decisions as context.
Have the agent investigate findings against the code and requirements, fix the valid findings covered by your gate, and run the relevant checks. Rerun review after fixes and continue until the gate is met. For a PR, check that the latest completed review covers the updated commit. Report any disagreement with supporting evidence.
Check the final report against your gate. It should account for the findings, show verification and the latest review result, and flag Low findings for you. If an issue at or above your threshold remains unresolved, verification is incomplete, or the loop stops making progress, the agent should explain the blocker and report the task as not done.
A prompt to try
Share your results
Copy the template into a comment in the Day 9 Discussion. Include your saved quality gate and evidence for the agent's final status. If there were no findings, record the reviewed scope and result instead.
All reactions