Day 14: Turn your quality gate into a workflow. #16
Replies: 14 comments 5 replies
My policyProject and repository: ghostcheck, a CLI + MCP tool that stops coding agents from installing packages that don't exist, typosquats or brand-new packages: https://github.com/Ankith-m1006/ghostcheck My protected pathExisting workspace-wide guards I checked and preserved: none existed before today (the Approval guards panel was empty; no author guards). My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit: Ankith-m1006/ghostcheck#45 (ticket #43): the CLI now fails closed on requirement files named inside Second outside-path PR, added to test the fix: Ankith-m1006/ghostcheck#47 (the Day 10 diagram update, docs only). Its reviews found 4 real Medium gaps in the diagram (the guard didn't cover the MCP verdict, guarded PRs looped at Gate 4, the named agent could merge guarded PRs, guarded PRs could merge before CI); all fixed. Final review on Inside-path PR URL, useful change, changed paths and reviewed commit: Ankith-m1006/ghostcheck#46 (ticket #44): a package the registry can't date now gets a MEDIUM What changedPredicted versus observed results and explanation of differences: #45 was predicted to get the label and didn't. I checked: the review was complete and clean on the head commit, the workflow was Active and scoped correctly, and no |
My policyProject and repository: tracenotes, release notes where every line links to its commit. Saved Day 9 gate (contents or link): Workflow name, exact conditions, action and repository scope: "tracenotes gate: no Medium+ findings → Qodo approved label", scoped to Repository → "In plain words" summary and saved/active status evidence: "When Qodo finishes reviewing a PR, Qodo adds the 'Qodo approved' label if it matches: no findings of medium severity or higher." I created it with Active off, read it back, then turned it on. The Workflows page shows it Active under the repository scope, and it's absent from another repository's view. Low findings left for my judgment: none on the final heads. Any Low goes into the gate report and doesn't block the label. The two inactive workspace templates are still there, untouched. One of them, "Label clean PRs", would block on a single Low, which is stricter than my gate. My protected pathExisting workspace-wide guards I checked and preserved: none existed. The Approval guards panel was empty, with no author guards. Repository and exact guarded path, and why it needs human review: Guard configuration evidence: the panel reads "ubayouski/tracenotes · Only these paths · .github/workflows/**", confirmed after a full page reload. The first save lost the path. I typed it, added it, and the panel showed "Only these paths"; after Save guards and reopening, it said "Whole repository". That would have blocked the label on every PR. I re-added it, saved, reloaded, and it held. It's the same thing Ankith saw today. Other repository/path/author guards relevant to either PR: none. My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit: #33 (T-031). Usage errors now escape whatever the user typed. Before, Prediction recorded before review: in the PR body, before the first review: label if the complete review of the head has no Medium+ finding. Complete Qodo review evidence and findings: run 2061091 at Observed label or qodo-bot approval (or absence), with provider evidence: label "Qodo approved" added by PR Triage workflow activity evidence: "Standard review · Reviewed on d4bae4c", Findings 0 open, merge risk Low, next action "Needs review · No reviewers yet". PR Triage has no entry for the workflow itself, so the GitHub Inside-path PR URL, useful change, changed paths and reviewed commit: #34 (T-034). Every action in Prediction recorded before review: in the PR body: no label and no qodo-bot approval, even if the review is clean. Complete Qodo review evidence and findings: the first review (run 2061636 at Observed label and approval state, with provider evidence: no label and no PR Triage workflow/guard activity evidence: "Reviewed on 4099677", Findings 0 open, merge risk Medium (both agent lanes and the required checks are in the blast radius), next action "Needs review". The priority panel says "The change trips an approved review standard", which is the nearest it gets to naming the guard. Its priority text was stale: it still cited the High that had already been fixed. What changedPredicted versus observed results and explanation of differences: both held. #34 needed care, though. Its first review had a High and two Mediums, so "no label" at that point proved nothing about the guard, because the workflow's own condition already failed. Only the clean re-review with still no label shows the guard working. Findings investigated, fixes and completed re-review (or unresolved blocker): T-034 went through five local reviews and two PR reviews. Each one found another way past a pin check written as line regexes over YAML: a space before the colon, flow mappings and sequences, a
The PR fix round was a recorded exception to my three-round limit. One local High stayed listed with an unchanged description after its fix; I accepted it as "fixed, reviewer stale". In the portal, besides the lost guard path: I first created the workflow at Workspace scope by accident. The card's badge just shows whichever tab you're on, and the Edit dialog has no scope field. I recreated it at Repository scope and deleted the workspace copy before any PR was opened. Lesson: settings that live only in the portal have to be read back after every save. Updated Day 10 diagram showing workflow and human approval route: Separate CI, test and acceptance-check results: What remains for my decision: whether to guard COMPLETE or INCOMPLETE, with reason: COMPLETE. One workflow, one guard, two useful PRs with predictions written before review. Outside the guard the PR was labelled, and the label was removed and re-added on a new head. Inside the guard the PR was clean and got no label. If access was unavailable, intended policy and access blocker (not configured/tested): n/a. Access worked on the trial workspace, on its last day. |
My policyProject and repository: HN Radar, Saved Day 9 gate (contents or link): AGENTS.md, "Quality gate": every valid High and Medium finding is fixed (including Medium bugs, with a test that fails before the fix); Low findings are reported, not silently fixed or dropped; and the review must be a completed one on the current head commit. Only a person dismisses a finding. Workflow name, exact conditions, action and repository scope:
Action: label only (no Auto approve), so a person still decides on Low findings, approval and merging. "In plain words" summary and saved/active status evidence: "When Qodo finishes reviewing a PR, Qodo adds the "Qodo approved" label if it matches: no findings of medium severity or higher in Correctness, Security, Reliability, Performance, Observability, Maintainability, Quality, Testability, Compliance, Architecture or Accessibility of type skill insights, team insights, cross-repo conflicts, UX issues, UI issues, requirement gaps, rule violations or bugs." Saved inactive first, then switched Active after reading it (screenshots Low findings left for my judgment: No Low findings appeared on either PR; every finding was High or Medium. The label would not have blocked on a Low finding, so a Low finding stays my call. ## My protected path Existing workspace-wide guards I checked and preserved: None. The Approval guards dialog was empty (no repositories or paths, no authors) before I added mine ( Repository and exact guarded path, and why it needs human review:
Guard configuration evidence:
Other repository/path/author guards relevant to either PR: None. No author guard, so the PRs from my own account were not blocked for that reason. ## My two PRs Outside-path PR URL, useful change, changed paths and reviewed commit: researchsite/hn-radar#51: Prediction recorded before review: Recorded in a file before PR #51 existed: "A label appears only if the review at the current head has nothing at Medium or higher; a Medium or higher finding means no label until it is fixed and re-reviewed. Low findings do not block it." Complete Qodo review evidence and findings: Review 1 on Observed label or qodo-bot approval (or absence), with provider evidence: "Qodo approved" label, added by PR Triage workflow activity evidence: None to show. PR Triage lists #51 (Priority Medium, Merge risk Medium, Findings 0 open, Next action "Needs a reviewer") but its details pane has no timeline and no workflow or label entry ( Inside-path PR URL, useful change, changed paths and reviewed commit: researchsite/hn-radar#53: an unwritable HN cache no longer fails a successful fetch (ticket #52). Paths: Prediction recorded before review: "Review may be clean, but no label and no qodo-bot approval, because the guard matches a changed path." Complete Qodo review evidence and findings: Review 1 on Observed label and approval state, with provider evidence: No label, no label events at all, and no Qodo approval. A person approved it: reviewDecision APPROVED by a second GitHub account on PR Triage workflow/guard activity evidence: Is attached ## What changed Predicted versus observed results and explanation of differences: Both outcomes matched the predictions: label on #51 once nothing at Medium or higher was open, no label on #53 with a clean review. Two caveats: #51's label came after I dismissed a Medium finding, so a dismissed finding does not block the workflow, and the clean-review test of the guard is #53; and PR Triage did not show the workflow's label action at all. Findings investigated, fixes and completed re-review (or unresolved blocker): 13 findings across the two PRs, all valid, 12 fixed with tests and re-reviewed at the new head, 1 dismissed by me with a reason (#51). A re-run of the review did not read an edited PR description, so evidence that a finding asks for has to be in the code, the tests or the description before the first review. Updated Day 10 diagram showing workflow and human approval route: See the diagram below (the Day 10 flow with the workflow and the guard added). Separate CI, test and acceptance-check results: The repo has no CI, so GitHub shows no checks. Tests ran locally: 650 passed on #51's head, 669 passed and 1 skipped on #53's head (the read-only-directory test is skipped on Windows). The label means the workflow criteria were met, not that those passed. Real-data runs are in the PR bodies. What remains for my decision: Whether to switch the action to Auto approve (not now: no CI, and I want to decide on Low findings myself); whether to add a CI job so a label can stand for passing checks; whether to widen the guard to COMPLETE or INCOMPLETE, with reason: COMPLETE, with one gap: PR Triage did not show the workflow's label action, so the workflow evidence is the GitHub label event. If access was unavailable, intended policy and access blocker (not configured/tested): Not applicable: I had admin access and configured and tested both.
Updated approval step (the Day 10 flow, with the workflow and the guard): flowchart TD
C["PR opened with live evidence"] --> R["Qodo PR review"]
R --> RR["Review Resolver: read findings,<br/>review must cover the CURRENT head"]
RR --> G2{"Gate: no High/Medium open?<br/>Low reported"}
G2 -- "fix, push, re-review" --> C
G2 -- "disagree" --> H2{{"Human decides: fix or dismiss"}}
H2 --> G2
G2 -- "yes" --> WF["Workflow hnradar-medium-gate:<br/>no Medium+ findings, all categories and types"]
WF --> GD{"Approval guard:<br/>changed path in src/hnradar/sources/** ?"}
GD -- "no" --> LB["Add Qodo approved label"]
GD -- "yes: no label, no auto-approval,<br/>even when clean" --> H3
LB --> H3{{"Human: reads the PR, decides on Low findings,<br/>approves and merges"}}
CI["Separate requirements, not covered by the label:<br/>tests, real-data run, acceptance criteria<br/>(no CI yet: run locally)"]:::planned -.-> H3
H3 --> M["main"]
classDef planned stroke-dasharray: 5 5,fill:#f6f6f6
The label means a PR met the workflow's conditions. It does not prove tests, real-data runs or acceptance criteria passed. |
Day 14 · Turn the quality gate into a workflowMy policy
My protected path
My two PRsOutside the guard
Inside the guard
What changed
Question for Qodo Where can trial participants see which workflow added the label or which guard withheld it? The guide points to PR Triage, where I could see the findings but no approval activity. Qodo workflow guide @filiphric |
|
Here’s the Day 14 solution video. It walks through setting up one approval workflow, protecting a path that needs human review, and checking the outcomes on two useful PRs. Share your policy and predicted vs. observed outcomes below. Small correction to the narration: “automatically merge” should be “automatically approve or add the Qodo approved label.” Merging still follows your repository’s process and requirements. day-14-solution-vertical-v4.mp4 |
My policyProject and repository: A builder where you make a pfp for your coding agent out of art layers. https://github.com/CamDuncalfe/agent-pfp Saved Day 9 gate (contents or link): https://github.com/CamDuncalfe/agent-pfp/blob/64cd23a/AGENTS.md#quality-gate. Every High and Medium gets fixed, Lows come to me Workflow name, exact conditions, action and repository scope: "Agent PFP gate: label clean PRs". If no findings of Medium or higher, every category and type. Then add the Qodo approved label. This repo only. I do the merge “In plain words” summary and saved/active status evidence: "Qodo adds the “Qodo approved” label if it matches: no findings of medium severity or higher." Saved with Active off, then switched on Low findings left for my judgment: None today My protected pathExisting workspace-wide guards I checked and preserved: None, and the two starter workflows were already off Repository and exact guarded path, and why it needs human review: The Guard configuration evidence: The panel after a reload: agent-pfp, Only these paths, Other repository/path/author guards relevant to either PR: None My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit: CamDuncalfe/agent-pfp#77. The scaleDown function makes the 500 px GitHub download, and now it checks the size first. It changes Prediction recorded before review: Label, no approval. On ticket #52 before the PR existed Complete Qodo review evidence and findings: "Symbol sizes throw the wrong error" (Medium), fixed by the factory with tests Observed label or qodo-bot approval (or absence), with provider evidence: Qodo approved, added by qodo-code-review[bot]. No approval. Merged as 5db168d PR Triage workflow activity evidence: Needs a reviewer, 0 open, seen just before the label. It merged before I saved its record
Inside-path PR URL, useful change, changed paths and reviewed commit: CamDuncalfe/agent-pfp#78. The runner pulled main before taking its lock, now it pulls under the lock. It changes Prediction recorded before review: No label and no approval even when clean. On ticket #16 first Complete Qodo review evidence and findings: 4 Mediums, all fixed with tests. My first test only read the source, and two flags could skip the pull Observed label and approval state, with provider evidence: No label, no approval, CI green PR Triage workflow/guard activity evidence: Workflow ran on de6d7e0, decision surface, ineligible What changedPredicted versus observed results and explanation of differences: Both match now, but #78 got the label once. Tidying the guard I took out the wrong entry, and that took the guard off. Writing the prediction first is how I caught it! I saved it again, took the label off and asked for a fresh review Findings investigated, fixes and completed re-review (or unresolved blocker): Every fix got a full review, the last one clean Updated Day 10 diagram showing workflow and human approval route: In the Evidence block Separate CI, test and acceptance-check results: CI green on both, 403 and 411 tests, render check passed What remains for my decision: Merging #78 COMPLETE or INCOMPLETE, with reason: Complete Try the builder: https://camduncalfe.github.io/agent-pfp/ 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 EvidenceDay 10 diagram with the approval step flowchart TD
T["I write a ticket with acceptance criteria"] --> L{"Mine, labelled,<br/>criteria listed?"}
L -- no --> H
L -- yes --> W["Codebase Wisdom checks<br/>the ticket"]:::hand
W -- "an assumption is off" --> T
W --> B["Claude Code builds it"]
B --> C{"Tests + render check pass?<br/>factory/ and .github/ untouched?"}
C -- "no, rounds left" --> B
C -- yes --> LR{"Qodo local review, staged + unstaged:<br/>High or Medium open?"}:::hand
LR -- "yes, rounds left" --> B
LR -- no --> PR["Commit, push, open the PR"]
PR --> Q{"CI green? Qodo's review run<br/>on the head completed?"}
Q -- "run failed, or 15 min" --> H
Q -- yes --> G{"High or Medium open?<br/>Unreadable severity = High"}
G -- "yes, round 1 or 2" --> F["Fix with a test,<br/>or dispute with evidence"]
F --> Q
G -- "still open after round 2" --> H["agent-needs-help + reason"]
G -- no --> R["agent-review, Lows listed for me"]
R --> WF{"Qodo workflow: no Medium or higher?<br/>Guard: touches factory/** ?"}:::qodo
WF -- "clean, not guarded" --> LB["Qodo approved label"]:::qodo
WF -- "guarded path" --> HR["No label: a person reviews it"]:::qodo
H --> ME{"Me: CI, tests, acceptance criteria,<br/>disputes, Lows, web changes in Chrome"}
LB --> ME
HR --> ME
ME -- "needs more" --> T
ME -- "gate met" --> M["I merge into main"]
classDef hand stroke-dasharray: 6 4
classDef qodo stroke-width: 3px
PR #77 CamDuncalfe/agent-pfp#77 state merged · head Qodo review run 2054683 on
Factory runner log, ticket #52: CI on PR #78 CamDuncalfe/agent-pfp#78 state open · head Qodo review run 2055301 on
CI on |
My policyProject and repository: Agent Factory, Saved Day 9 gate (contents or link):
Workflow name, exact conditions, action and repository scope:
Action: label only (no Auto approve), so a person still decides on Low "In plain words" summary and saved/active status evidence: "When Qodo finishes reviewing a pull request in agent-factory and finds Status: CREATED and ACTIVE in the Qodo portal on 20 Nov 2026, 21:34 WIB. Low findings left for my judgment: None. Neither PR's latest review has any findings at all — PR #5's review My protected pathExisting workspace-wide guards I checked and preserved: The Qodo portal WAS opened on 20 Nov 2026, 21:34 WIB (saved Google Repository and exact guarded path, and why it needs human review:
Guard configuration evidence: Created 20 Nov 2026, 21:34 WIB, in the Qodo portal (Workflows → One nuance: the guard dialog text says "Qodo won't auto-approve PRs that Other repository/path/author guards relevant to either PR: None known. No author guard is intended, so the PRs from my own account My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit: opelphantom96/agent-factory#5 — branch Prediction recorded before review: Recorded in Complete Qodo review evidence and findings: Three completed reviews on this PR, all on 20 Nov 2026 (WIB):
Between reviews 1 and 2, a Observed label or qodo-bot approval (or absence), with provider evidence: Label "Qodo approved" ADDED by qodo-code-review Bot at 22:19 WIB, after PR Triage workflow activity evidence: The portal shows NO run history for the workflow (its edit dialog holds Inside-path PR URL, useful change, changed paths and reviewed commit: opelphantom96/agent-factory#4 — branch Prediction recorded before review: Recorded in Complete Qodo review evidence and findings: Two completed reviews on this PR, both on 20 Nov 2026 (WIB):
Getting review 2 took work: a Observed label and approval state, with provider evidence: Label at 22:33 WIB: "None yet" — NO "Qodo approved" despite a clean PR Triage workflow/guard activity evidence: The portal's guard dialog holds configuration only, with no per-PR block What changedPredicted versus observed results and explanation of differences: Both predictions were fulfilled exactly as recorded before any review:
The only difference from the plan was process, not outcome: the Findings investigated, fixes and completed re-review (or unresolved blocker): All findings were on PR #5 (outside-path). Each was investigated and
No unresolved blocker remains. Updated Day 10 diagram showing workflow and human approval route: The label means a PR met the workflow's conditions. It does not prove tests, Separate CI, test and acceptance-check results: Outside-path PR #5 (head Inside-path PR #4 (head What remains for my decision: Whether to switch the action to Auto approve (not now: I want to decide on COMPLETE or INCOMPLETE, with reason: COMPLETE — the workflow If access was unavailable, intended policy and access blocker (not configured/tested): Not applicable — portal access DID work. The earlier blocker (the agent Assistance and third-party materialAI coding agents did the work from my brief: Muse wrote the gate fix, the |
Observed resultBoth PRs had clean Qodo reviews. GitHub recorded the Qodo approved label on outside PR #18. Protected PR #22 stayed unlabeled. Under my prior assignment, the Codex orchestrator checked the evidence and recorded the decision to merge #22. Individual human sign-off on that commit is unverified. Outside label event · Protected PR timeline · Recorded decision My policyQuotaline’s saved gate requires valid High and Medium findings fixed across all finding types, Low findings reported, and independent checks plus completed Qodo review on the current head. The project orchestrator set up Quotaline quality gate for My protected pathThe portal showed no pre-existing workspace repository, path, or author guards. Two inactive workflow templates stayed untouched. The orchestrator added one guard for My two PRs
What changedThe same repository workflow and path guard were active for both reviews. PR Triage showed zero open findings, Low merge risk and Needs a reviewer on #22. Neither the PR detail nor Background activity displayed a decision naming the guard. The difference between the two label histories supports the inference that the guard applied. Protected head’s Qodo review · Decision and audit observations Independent CI passed all eight cases on the protected head. All 335 repository tests passed, and Claude Code Sonnet at medium effort found no issue on that commit. During local Qodo review we corrected the summary to acknowledge that exit 1 can also indicate a checker error. Locally, the historical lost-zero replay exited 1 and a run with Docker unavailable exited 2. Both still failed the checker step and produced distinct summaries. Independent CI · Source and checks · Updated Day 10 diagram The earlier protected PR #19 retained two historical Medium records. We disclosed that inconclusive first attempt and used a fresh, legitimate change to test the same guard with a clean review. Earlier decision |
My policyProject and repository: Ghostline, a change-centric control room for PR evidence. https://github.com/felixgeelhaar/ghostline Saved Day 9 gate (contents or link): AGENTS.md rule 9 and docs/factory-verification.md. Confirmed High and Medium findings must be fixed with a test that fails first; every Low is reported to the engineer. Warden, hosted CI, Nox and a completed Qodo review must cover the exact PR head, and the engineer decides the merge. Workflow name, exact conditions, action and repository scope:
"In plain words" summary and saved/active status evidence: "When Qodo finishes reviewing a PR, Qodo adds the "Qodo approved" label if it matches: no findings of medium severity or higher." Saved and Active; see the screenshot. The built-in workspace workflows "Auto-approve low-risk PRs" and "Label clean PRs" were left inactive. Low findings left for my judgment: yes. The condition ignores Lows. My gate requires the agent to report every Low to me, and I decide on them at merge. My protected pathExisting workspace-wide guards I checked and preserved: none existed. The workspace had no repository, path or author guards. Repository and exact guarded path, and why it needs human review: Later the same day I extended the guard to the other files that control a gate: Guard configuration evidence: Approval guards → Other repository/path/author guards relevant to either PR: none. There are no author guards. My two PRsOutside-path PR: felixgeelhaar/ghostline#85
Prediction recorded before review: the label is added if the hosted review finds nothing Medium or higher. Complete Qodo review evidence and findings:
Observed label or qodo-bot approval (or absence), with provider evidence: labelled. GitHub issue events show PR Triage workflow activity evidence: listed with next action "Needs a reviewer", priority Low, merge risk Medium (blast radius Small, potential damage Medium, behavioral complexity Medium). See the screenshot. PR Triage showed no separate workflow-run entry. Inside-path PR: felixgeelhaar/ghostline#86
Prediction recorded before review: no label, even with a clean review, because the guard applies. Complete Qodo review evidence and findings: hosted "Code Review by Qodo" on Observed label and approval state, with provider evidence: no label and no approval. GitHub issue events show only the effort label ("🕐 Less than 10 minutes"). PR Triage workflow/guard activity evidence: listed with next action "Needs a reviewer", priority Low, merge risk Low. PR Triage showed no guard or workflow-run entry. What changedPredicted versus observed results and explanation of differences: both test PRs matched their predictions. I then checked the label on later clean PRs, and it was inconsistent:
So #86's missing label can't be credited to the guard alone. #87 got no label on a clean review outside the guard. Its comment format wasn't the cause either, because #88 had the same format as #85. The portal shows no workflow run history, so the cause is unresolved. Until the label behaves predictably, my gate ④ ignores it and relies on the SHA-matched review from gate ③. Findings investigated, fixes and completed re-review (or unresolved blocker):
Updated Day 10 diagram showing workflow and human approval route: docs/factory-verification.md. The label is a dotted, advisory branch off gate ③ ("Qodo approved label · not yet relied on"). Gate ④ (engineer approves) stays on the merge path for every PR, guarded or not. CI, tests and Warden remain separate requirements in gates ② and ③. Separate CI, test and acceptance-check results: on both reviewed heads, Go checks, frontend checks, the production container smoke test, Security (Nox) and What remains for my decision: why the label is applied inconsistently, which I'd raise with Qodo. Also whether the label should ever feed gate ④. COMPLETE or INCOMPLETE, with reason: COMPLETE. The workflow and guard are configured and active, and both PRs were tested with complete reviews and recorded predictions. The label's inconsistent behaviour is documented as an open issue, not hidden. If access was unavailable, intended policy and access blocker (not configured/tested): not applicable; workflow access was available on the trial. Assistance and third-party materialBuilt with Claude Code (Anthropic) as the coding agent, under my direction. I made the decisions on findings and merges. Qodo provided code review. There is no third-party code beyond the project's existing dependencies. |
My policyProject and repository:
My protected pathExisting workspace-wide guards I checked and preserved: Checked
My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit:
Inside-path PR URL, useful change, changed paths and reviewed commit:
What changedPredicted versus observed results and explanation of differences:
flowchart TD
A[1. Ticket Created] --> B[2. Codebase Wisdom Investigation]
B --> C[3. Implementation & Local Skill Check]
C --> D[4. Local Qodo Reviewer - Staged & Unstaged]
D -->|Valid High/Med| C
D -->|Pass| E[5. Commit & Push to PR]
E --> F[6. Qodo PR Review & Ticket Context Check]
F -->|Valid High/Med| C
F -->|0 Medium+ Findings| WF{7. Qodo Workflow & Approval Guard}
WF -->|Protected Path Guard Applies| H[Human Review & Explicit Approval Required]
WF -->|Unprotected Path & 0 Medium+| L[Add 'Qodo approved' Label]
L --> CI{8. Required CI, Local Checks & Low Findings Review}
H --> CI
CI -->|Checks Pass & Human Approves| M([9. Merge into main])
|
My policyProject and repository: LamedDB (omerts/LamedDB), small TypeScript database with an HTTP API My protected pathExisting workspace-wide guards I checked and preserved: there were no guards before. The two workspace workflows that were already there (auto-approve and label clean PRs) are still inactive and I didn't touch them. My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit: PR #23, a small MCP server with one read-only Inside-path PR URL, useful change, changed paths and reviewed commit: PR #22, the What changedPredicted versus observed results and explanation of differences: both matched in the end. The auth PR was clean and still got no label, which is the guard doing its job. The MCP PR first had 7 Medium findings, so no label. Once they were fixed and re-reviewed, the label appeared. A push alone didn't trigger the re-review for me, so I asked for one.
|
My policyProject and repository: RuleProof, zeyusuntt/ruleproof. Saved Day 9 gate (contents or link): Workflow name, exact conditions, action and repository scope: "In plain words" summary and saved/active status evidence: "When Qodo finishes reviewing a PR, Qodo adds the "Qodo approved" label if it matches: no findings of medium severity or higher." Saved inactive, activated at 02:31 UTC on 11-21; the card reads Active, with Approval guards 1. Low findings left for my judgment: three on PR 90, open and unchanged, as the gate says: 33627d86, an escaped My protected pathExisting workspace-wide guards I checked and preserved: none. Approval guards for the whole workspace was empty: no repositories, paths or authors. Two workspace workflows already existed, both Inactive ("Auto-approve low-risk PRs" and "Label clean PRs"); I left them off. Repository and exact guarded path, and why it needs human review: zeyusuntt/ruleproof, Guard configuration evidence: reopened after saving, it lists one entry under Repositories and paths: zeyusuntt/ruleproof, Only these paths, Other repository/path/author guards relevant to either PR: none: no author guard, and no other repository or path. My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit: PR 90, Prediction recorded before review: eligible; a Medium or higher finding likely on the first review, so no label until it's fixed and re-reviewed clean. Complete Qodo review evidence and findings: on Observed label or qodo-bot approval (or absence), with provider evidence: from the PR's timeline, all by PR Triage workflow activity evidence: PR Triage has no workflow, label or guard column, and its activity lists only PR events and Qodo's reviews: "Qodo review completed: 2 new findings" at 00:43, then "Qodo resolved 1 finding" at 01:10 and "Qodo review completed: No new findings" at 01:13. Nothing in it names the workflow. Inside-path PR URL, useful change, changed paths and reviewed commit: PR 89, an Prediction recorded before review: no label whatever the findings; it stays for a person. Complete Qodo review evidence and findings: Qodo's review at 00:41 UTC on Observed label and approval state, with provider evidence: no label and no approval through 01:36 UTC. Its event list holds only the ready mark, at 00:40:08. PR Triage workflow/guard activity evidence: "Qodo review completed: No new findings", merge risk Low, 0 open, with no workflow, label or guard entry. PR Triage doesn't show guard decisions, so it can't name the guard as the reason. What points to it: in the same hour the workflow labelled PR 90 twice, while PR 89, with no findings at all, got nothing. What changedPredicted versus observed results and explanation of differences: the labels went as predicted: none on PR 90's first review, which had a Medium; the label after the fix; none on PR 89 with 0 findings. Two predictions missed. PR Triage was to show the workflow skipping PR 89 for the guard, and it shows no workflow activity at all. Prediction 4 said the label might land on a head RuleProof reads as Findings investigated, fixes and completed re-review (or unresolved blocker): the Medium was real: 6 tests failed first, then Updated Day 10 diagram showing workflow and human approval route: below. Separate CI, test and acceptance-check results: CI is separate from the label. On What remains for my decision: both merges: PR 90 meets my gate (checks pass, review COMPLETE or INCOMPLETE, with reason: COMPLETE. The workflow and the guard are configured and active, both PRs had a complete review of their current head, and the label appeared and stayed off where predicted. Limit: PR Triage can't show the guard acting, so its part rests on GitHub's events and the contrast with PR 90. If access was unavailable, intended policy and access blocker (not configured/tested): Not applicable. The Day 10 diagram, with the approval step updated (new parts dashed). Accepting an flowchart TD
T["Ticket by the owner, labelled ready-for-agent"]:::taken --> CL{"Tick: nothing else agent-working?<br/>Written by the owner?"}:::taken
CL -- no --> H
CL -- yes --> WIS["PLANNED: Codebase Wisdom checks the ticket"]:::planned
WIS --> A["Agent implements in its sandbox,<br/>reads AGENTS.md, tests first"]:::taken
A --> K{"Checks in the sandbox:<br/>pytest, then the mutation check"}:::taken
K -- "fail, round under 3" --> A
K -- "fail at round 3, timeout, no change" --> H
K -- pass --> LR["PLANNED: Qodo local review,<br/>staged and unstaged"]:::planned
LR --> P["Commit, push, draft PR, ask Qodo"]:::taken
P --> R{"Qodo's comment names the pushed commit<br/>within 10 minutes, findings readable?"}:::taken
R -- no --> H
R -- yes --> G{"Quality gate: High or Medium open?<br/>Unreadable severity counts as High"}:::taken
G -- "yes, round under 3" --> F["Blocking findings back to the agent:<br/>reproduce, fix with a failing test.<br/>PLANNED: Review Resolver"]:::taken
F --> K
G -- "yes at round 3, fixed or disputed" --> H
G -- no --> S{"Review of that commit shown?<br/>current, not unconfirmed"}:::taken
S -- unconfirmed --> H
S -- current --> D["agent-done, Low findings listed for me"]
H["needs-human, with the reason<br/>and any Low findings"]:::taken --> ME{"Me: the ticket's criteria<br/>on a fresh clone"}:::taken
D --> ME
ME -- "a criterion fails" --> T
P -. "each time Qodo finishes a review" .-> WF{"NEW: Qodo workflow 'ruleproof quality gate':<br/>no finding at Medium or higher,<br/>any category or type?"}:::new
WF -- "the PR changes AGENTS.md:<br/>approval guard" --> PERSON["No label. A person reviews:<br/>AGENTS.md holds the rules and the gate"]:::new
WF -- "Medium or higher open" --> NOLABEL["No label"]:::new
WF -- "none, and no guard applies" --> LBL["Qodo approved label:<br/>the workflow's criteria were met,<br/>not proof the checks passed"]:::new
ME -- holds --> MG{"Merge gate, ruleproof ready, separate from the label:<br/>CI passes on the head, review current,<br/>no High or Medium open"}:::taken
LBL -.-> MG
PERSON --> MG
MG -- "exit 0" --> MAIN["Merge into main, by a person"]
MG -- "unconfirmed only: I may accept it,<br/>recorded on the ticket" --> MAIN
MG -- "exit 1" --> H
classDef planned stroke-dasharray: 5 5
classDef taken stroke-width: 3px
classDef new stroke-width: 3px, stroke-dasharray: 2 2
My predictions as recorded, and the evidenceRecorded before either pull request was reviewed; the file's sha256 begins Recorded 2026-11-19T09:52:38Z, before either pull request was reviewed and before the workflow or the guard existed. Configuration these assume (to be set up in the portal):
Outside the guarded path: the issue 88 pull request (collect --json)Changed paths: src/ruleproof/cli.py, tests/test_collect.py, docs/setup.md (and scripts/mutation_check.py only if needed). None is AGENTS.md.
Inside the guarded path: pull request 89 (AGENTS.md)Changed path: AGENTS.md only.
What happened, UTC on 11-23, from GitHub's events and PR Triage:
RuleProof's reading of each head, from The third line is the one PR Triage contradicts: a review of Assistance and third-party materialAI coding agents did the work from my brief: Claude Code wrote the plan, the |
|
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 "Qodo Approved" label + another human-gate 🤖Two real fixes went through Qodo today. One stopped the review panel from losing your place, and it got the "Qodo approved" label on its own. The other hardened my local server, and the guard kept it for me, even though Qodo found nothing.
My policyProject and repository: Commet, ephemerallyCaden/qodo-2026. Saved Day 9 gate (contents or link): the "Definition of done" in Workflow name, exact conditions, action and repository scope: "In plain words" summary and saved/active status evidence: "When Qodo finishes reviewing a PR, Qodo adds the "Qodo approved" label if it matches: no findings of medium severity or higher." The workflow is saved and Active.
Low findings left for my judgment: one on #193, "Text-scale redraw lands the diff on different lines". My call was to ticket it as #196 and merge. My protected pathExisting workspace-wide guards I checked and preserved: there were none, for repositories, paths or authors. Repository and exact guarded path, and why it needs human review: Guard configuration evidence:
Other repository/path/author guards relevant to either PR: none. I left author guards empty, because both PRs are opened under my account. My two PRsOutside-path PR URL, useful change, changed paths and reviewed commit: PR #193 (#170). A refused captain's log note used to redraw the review panel and throw the diff back to the top. Now the diff stays where you were. It changes Prediction recorded before review: "if Qodo's review of the head is complete with 0 findings at Medium or higher, the "Qodo approved" label is added. If the review is skipped or incomplete, no label." I wrote that at 22:07:41Z, in a local file outside the repo, so you'll have to take my word on the time. The PR was opened at 22:08:24Z. Complete Qodo review evidence and findings: run 2101424 on Observed label or qodo-bot approval (or absence), with provider evidence: ✅ PR Triage workflow activity evidence: PR Triage lists #193 as "Qodo review completed: 1 new finding", with Low priority and Low merge risk. The list shows no workflow or label column, so the label event above is the evidence that the workflow ran.
Inside-path PR URL, useful change, changed paths and reviewed commit: PR #194 (#184). My server quietly turned bytes that weren't valid UTF-8 into "�" and saved the note, when the contract says to refuse it. Now it answers 400. It changes Prediction recorded before review: "no "Qodo approved" label and no approval, even if the review is clean, because the src/server/** guard applies. It stays for a person." That's from the same file, at 22:07:41Z. The PR was opened at 22:08:26Z. Complete Qodo review evidence and findings: run 2101423 on Observed label and approval state, with provider evidence: ✅ there's no "Qodo approved" label, only Qodo's blast-radius label. The same workflow labelled #193 a minute earlier, so a clean review with no label on #194 points to the guard holding it. PR Triage workflow/guard activity evidence: the same view lists #194 as "Qodo review completed: No new findings", with Low priority and Low merge risk. It shows no guard entry either, so the label events are the evidence. What changedPredicted versus observed results and explanation of differences: both matched. #193 got the label within a minute of its review, and #194 didn't. Both reviews were complete, so the "skipped or incomplete" case wasn't tested. Findings investigated, fixes and completed re-review (or unresolved blocker):
Updated Day 10 diagram showing workflow and human approval route:
Separate CI, test and acceptance-check results: CI passed 4/4 on both heads, with #194's after the one rerun. Each PR's tests failed first, without its fix. The label only means the workflow's conditions were met; it doesn't stand in for these checks. What remains for my decision: I reviewed #194 as the person the guard routes to, and approved it. Both PRs are merged into my session branch, with their reviewed heads kept as they are. COMPLETE or INCOMPLETE, with reason: COMPLETE. The workflow and guard are configured and active, both PRs were reviewed in full at their heads, and the labels matched the predictions. |
ChallengeDay 14 (2026-11-19): Turn your quality gate into a workflow. — Status: INCOMPLETE Project
Intended Workflow Configuration (Blocked)
Access Blocker
|




























Uh oh!
There was an error while loading. Please reload this page.
Thursday, November 19, 2026
Your Day 9 quality gate tells your agent which findings must be resolved before it can call a task done. Today, give that gate a next step in Qodo: a workflow that adds the Qodo approved label when a PR meets your conditions, while a protected path still needs a person to review it.
You mapped the route from ticket to main on Day 10, customized review on Day 11, added source context on Day 12, and wrote a reusable skill yesterday. Today, work on the approval step. Keep this to one workflow, one protected path, and two useful PRs.
You need portal admin rights to configure workflows. Access for hackathon trial participants hasn't been confirmed. If you can't use Workflows, document your intended conditions, action, repository scope and protected path, include the access blocker, and mark the challenge INCOMPLETE. Don't claim configuration or testing you couldn't perform.
Today's challenge
Read your saved gate. Find the Day 9 policy your factory actually uses. Start with zero Medium or higher findings across all categories and finding types, and preserve any stronger saved policy. Keep Low findings visible for your judgment. Don't narrow the filter to Bugs or one category to make a PR qualify.
Protect one real path. In Qodo's Workflows → Approval guards, inspect the existing guards first. They apply to the whole workspace, even when your workflow covers one repository. Preserve unrelated guards. Select your repository and add one meaningful path that needs human review, such as
auth/**,migrations/**or your deployment directory, or confirm an existing guard covers it. Guards take precedence and prevent both the Qodo approved label and automatic approval, even when the PR has no findings.Build one workflow. Follow the workflow guide. Open Workflows → New workflow, enter a name, and scope it to your one repository. Under If, choose no findings at Medium or higher, with every category and finding type included. Carry over any stronger conditions from your saved policy. Read In plain words and check that it describes your intended gate. New workflows have Active on by default; turn it off while you check the configuration, action and guards before saving or activating it.
Choose the action. Under Then, use Add the Qodo approved label so you still decide on Low findings, approval and merging. If you're ready to delegate approval, Auto approve is optional and requires admin confirmation when saving. It approves as
qodo-bot; your Git provider's required approvals and checks still apply. The label action isn't available on Bitbucket Cloud, Bitbucket Data Center or Perforce. If that blocks your chosen action, document it rather than switching to automatic approval by default. Check the final In plain words summary before saving and deliberately activating the workflow for testing.Predict two useful PRs. Choose two small, legitimate changes your project needs: one outside the guarded path and one inside it. For example, a useful UI fix and a real improvement to authentication validation could fit, if those match your project and guard. Write down each expected outcome before running review. The outside PR is eligible only when it meets the conditions and no repository, path or author guard applies. The inside PR must stay for human review even when clean. Avoid typo-only tests: Qodo can skip very tiny PRs, and a skipped review cannot receive automatic approval.
Compare with what happened. Get a complete Qodo review of each current PR head. Check the actual label or
qodo-botapproval in your Git provider, then inspect workflow activity in PR Triage. Record any skipped or incomplete review as incomplete evidence. Investigate blocking findings, fix valid issues and rerun review; don't weaken the gate or assume the author dismissing a finding makes the PR eligible. Use legitimate changes throughout, without planting vulnerabilities or merging known defects to test the guard.Show what happened
Reply below with your saved gate, workflow name, conditions, action and repository scope, plus the protected path and why it needs human review. Include both PRs, the reviewed commits, your predictions and the observed labels or approvals, with review and PR Triage evidence. If a result differed, explain what you investigated and what remains unresolved.
Update the approval step in your Day 10 ticket-to-main diagram to show the workflow and the route to a person when a guard applies. Keep your existing CI, tests and acceptance checks visible as separate requirements. The Qodo approved label means the PR met the workflow criteria; it doesn't prove that all verification passed.
Use this template for your reply:
All reactions