Repository navigation
Description
Problem
The bot's pull requests wait for a person. On 2026-11-16 at 13:30Z the bot had 11 open pull requests, all drafts: 7 with every check green that no job moved on (#5963, #5959, #5946, #5945, #5936, #5929, #5904), 2 that failed only Semantic PR title (#5940, #5920), 1 plan with plan/needs-fix and a failed Plan Check (#5958), and 1 blocked with no failed check (#5868). The owner wakes up to about 20 such pull requests a day (owner, 2026-11-16: "I want to work more issues, not less").
The fix steps exist (devops roadmap step fix-checks, fix-conflict, fix-plan), and #5027, #5028 and #5412 start them from the watch row. No job looks at a bot pull request as a whole and decides what it needs.
Expected behavior
A review job takes each open bot pull request that no live unit works on, and gives it one verdict of #5968 with a short reason in a pull request comment:
| Verdict | Next step |
|---|---|
| Mergeable | Mark it ready (devops roadmap step ready); a person merges. |
| Needs fix | Mark the due fix: fix-checks, fix-conflict or fix-plan, for the watch row to start. |
| Discard plan, plan again | Close the plan pull request and return the item for a new plan. |
| Discard implementation, implement again | Close the delivery pull request and let the implement job build the plan again. |
| Issue changed | Mark the work for an update to the new issue text or the merged work; not scored. |
- The verdict uses the facts that a program reads first (checks, mergeable state, labels, the issue's update time, merged related pull requests), and a model only for what they cannot decide (does the diff match the plan and the issue). A verdict cites its evidence.
- Modes off, plan and on, as the fix steps have; a cap of tokens for each review.
- The verdict labels of feat(roadmap): the PR review gate scores each bot PR #5968 record each verdict, so the grades score stage and implement.
Related
- feat(roadmap): the PR review gate scores each bot PR #5968 (the verdict labels and the score), feat(roadmap): track the Service step jobs #5014 (Service step jobs), feat(roadmap): the watch row starts fix-checks Jobs #5027, feat(roadmap): the watch row starts fix-conflict Jobs #5028, feat(roadmap): the watch row starts fix-plan Jobs #5412.
Activity
dan-petty commentedon Nov 16, 2026
Both work on bot PR verdicts; #5968 defines the verdict labels and the score, the candidate is the job that assigns the verdict to each PR.dan-petty commentedon Nov 16, 2026
Owner direction 2026-11-16 adds the loop and the end (see the pipeline on #5014):
needs fixverdict sends it back to the fixer. Fix and review repeat at most 2 or 3 times (a setting). A pull request that is not mergeable after the last round getsdiscard implementation(ordiscard plan) and goes back to its job, or waits for a person; the plan decides which.mergeableverdict ends the Service pipeline for the issue: no job takes the item or its pull request again until a person merges it, or the issue changes.dan-petty commentedon Nov 16, 2026
Owner rule 2026-11-16: every job gets generous token limits. Give the review job a generous token cap from the start (16,000,000 new tokens per review is the default of the fix Jobs of #5027), as a setting.
dan-petty commentedon Nov 16, 2026
Owner direction, 2026-11-16: the review job writes the verdict Needs fix as
verdict/fix-planon a plan pull request andverdict/fix-implementationon a delivery pull request.verdict/fix-planreplacesplan/needs-fix, so the rowfix-planstarts on it. The full label set is on #5968 (#5968 (comment)); the labels come in #5975.dan-petty commentedon Nov 16, 2026
Pull request #6015 delivers the step
devops roadmap step reviewand closes this item. The Job launcher and the watch-row trigger wait for #5027, so they are the follow-up item #6011.plan(roadmap.review.mode) and writes nothing. A person sets the modeonafter a week of plan-mode result lines (jobreview), and addsai.tasks.reviewto the ConfigMap; until then the code default is DeepSeek with a window of 256,000.devops roadmap eval gradesscores them with no other change (a test holds this).feat(roadmap): Give each bot PR one verdict with a review step
chore(main): release 0.168.0 (#6016)
devops-cli-service commentedon Nov 16, 2026
Released in v0.168.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.168.0
devops-cli-service commentedon Nov 16, 2026
Live since 2026-11-16 20:17 UTC