Repository navigation
Description
Problem
The grades of the stage and implement jobs (devops roadmap eval grades, docs/roadmap/job-success.md) count only the result of each attempt: stage succeeds when it opens a plan pull request with no open finding, and implement succeeds when its pull request reaches the ready mark. They do not show what happened to the pull request after the attempt. From 2026-11-09 to 2026-11-16 the bot opened 69 plan pull requests (57 merged) and 44 delivery pull requests (33 merged), while the 7-day grades were 43/94 for stage and 6/28 for implement.
No gate gives a pull request of the bot one verdict that says whether its work can be used.
Expected behavior
The pull request review gate gives each plan and delivery pull request of the bot one verdict, and the verdict scores the attempt of the job that made it (owner, 2026-11-16):
| Verdict | Meaning | Score |
|---|---|---|
| Mergeable | The pull request can merge as it is. | success |
| Needs fix | The work is usable after a fix of the pull request. | partial success |
| Discard plan, plan again | The plan cannot be built; the stage job plans the item again. | failure (stage) |
| Discard implementation, implement again | The code cannot be fixed; the implement job builds the plan again. | failure (implement) |
| Issue changed | The issue was updated or related work merged, so the work must be updated to match. | not scored |
- The verdict is a record that a program reads (a label, a result line or a job record), so the grade reads it with no model.
devops roadmap eval gradesshows, for stage and implement, the share of each verdict and a score (success 1, partial a setting such as 0.5, failure 0; not scored left out), beside the attempt ratio it shows now.- A later verdict on the same pull request (for example
needs fix, thenmergeableafter the fix) keeps the history, and the score of the attempt uses the first verdict.
Owner, 2026-11-16: the split of the plan and implement jobs into smaller deterministic jobs (#5474, #5014) gives more useful per-step metrics. This gate scores the pull request, the product of the whole chain, and stays useful after the split.
Related
- feat(roadmap): track the Service step jobs #5014 (Service step jobs), feat(roadmap): grade stage by the plans that build #5603 (stage graded by the plans that build), fix(roadmap): grade the refine judge by verdicts that hold #5905 (refine judge graded by verdicts that hold),
plan/needs-fix(today's label for a plan that needs a fix).
Activity
dan-petty commentedon Nov 16, 2026
Both improve the stage grade in the roadmap eval, but #5603 grades by whether the plan builds while the candidate adds lagging merge credit to the attempt ratio.dan-petty commentedon Nov 16, 2026
Owner, 2026-11-16: the split of the plan and implement jobs into smaller jobs (#5474) gives more useful metrics, because a failure of stage or implement today can come from any of many steps that can run as deterministic, isolated jobs, each with its own result line and grade. So this item stays small: a lagging merge credit for the two jobs as they are now, read from the merge of the pull request, with no new per-step metrics. The step jobs of the split bring their own grades. No builder is started for now.
[-]feat(roadmap): credit stage and implement for merged PRs[/-][+]feat(roadmap): the PR review gate scores each bot PR[/+]dan-petty commentedon Nov 16, 2026
The owner set the verdicts of the pull request review gate on 2026-11-16 (mergeable, needs fix, discard plan, discard implementation, issue changed). The body now states them, and they replace the merge-only credit of the first version.
dan-petty commentedon Nov 16, 2026
PR #5975 delivers the verdict labels and the verdict score of stage and implement in
devops roadmap eval grades.Out of scope of this item:
plan/needs-fixis the needs-fix verdict of a plan, so a plan never getsverdict/needs-fix. The stage review and the rowplan_driftalso setplan/needs-fix, so a plan whose first verdict comes from them scores as needs fix.docs(openspec): archive #5968 pr-verdict-score
dan-petty commentedon Nov 16, 2026
Owner direction, 2026-11-16: the verdict Needs fix has two labels, one for each kind of pull request, and
verdict/fix-planreplacesplan/needs-fix.verdict/mergeableverdict/fix-plan(replacesplan/needs-fixand the plannedverdict/needs-fixfor a plan)verdict/fix-implementation(replaces the plannedverdict/needs-fix)verdict/discard-planverdict/discard-implementationverdict/issue-changedplan/needs-fix(the stage job, the step and rowfix-plan, plan drift, the implement selection, the ready step, the row cadence, the settings text, the specs and the docs) usesverdict/fix-plan. Archived OpenSpec changes and recorded eval fixtures stay as they are.plan/needs-fixtoverdict/fix-plan(onePATCHof the label), so each open pull request keeps its mark; thendevops gh sync-labelscreates the other labels. A stage Job that started on the old image can add the old label again: the agent checks for it one hour later.Pull request: #5975.
docs(openspec): plan #5968 score each bot pull request by its first v…
docs(openspec): archive #5968 pr-verdict-score
docs(openspec): archive #5968 pr-verdict-score
dan-petty commentedon Nov 16, 2026
PR #5975 now follows the owner direction of 2026-11-16:
verdict/fix-planreplacesplan/needs-fixin each reader and writer, andverdict/fix-implementationis the needs-fix verdict of a delivery. My earlier note aboutplan/needs-fixandverdict/needs-fixno longer applies.verdict/fix-planon a delivery, leaves the pull request unscored, and the read logs the pull request and the label.plan/needs-fixstill read.chore(main): release 0.165.0 (#5980)
devops-cli-service commentedon Nov 16, 2026
Released in v0.165.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.165.0
devops-cli-service commentedon Nov 16, 2026
Live since 2026-11-16 14:50 UTC
feat(roadmap): Give each bot PR one verdict with a review step (#6015)